作者 王旭宇

1814

... ... @@ -87,7 +87,7 @@
</view>
<view wx:if='{{goodsList.length==0&&promotion.length==0}}' class='gogogo'>
<image src='../imgs/noCart.png'></image>
<view>您暂时没有消息哦~</view>
<view>您暂时没有需要结算的商品哦~</view>
</view>
</view>
... ...
... ... @@ -30,8 +30,10 @@
<text class='iconfont icon-fenlei'></text>
</view>
</view>
<block wx:if='{{nav==0}}'>
<swiper next-margin='40rpx' previous-margin='10rpx' circular='true' autoplay='true' display-multiple-items='1' class='swiper_banner_box' interval='5000'>
<view class='zuida'>
<block wx:if='{{nav==0}}'>
<view class='yyh'>
<swiper next-margin='40rpx' previous-margin='10rpx' circular='true' autoplay='true' display-multiple-items='1' class='swiper_banner_box' interval='5000'>
<block wx:for='{{special}}' wx:key='{{item.id}}'>
<!-- <swiper-item > -->
<swiper-item bindtap='jump_special_list' data-specialid='{{item.id}}'>
... ... @@ -39,9 +41,13 @@
</swiper-item>
</block>
</swiper>
<view class='safe_box'>
</view>
<view class='real_save'>
<view class='safe_box'>
<view bindtap='go_mind_detect'>
<image src='../imgs/anxin.png' class='anxin'></image>
<view class='real_anxin'>
<image src='../imgs/anxin.png' class='anxin'></image>
</view>
<text>安心检测</text>
</view>
<view bindtap='go_selectSource'>
... ... @@ -53,6 +59,7 @@
<text>赔付保证</text>
</view>
</view>
</view>
<!-- <navigator url='{{banner.url}}'> -->
<view class='classfy' bindtap='go_hi_carousel'>
<image src='{{banner.image}}'></image>
... ... @@ -120,7 +127,7 @@
<view wx:if='{{product_item.length>0}}'>
<view wx:if='{{wangge==0}}'>
<view wx:for='{{product_item}}' wx:key='{{item.id}}'>
<view class='classfy' bindtap='jump_web' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;'>
<view class='classfy' bindtap='jump_web' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
<image src='{{item.more.banner}}' bindtap=''></image>
</view>
<view class='goodbox'>
... ... @@ -198,7 +205,7 @@
</view>
<view wx:if='{{wangge==1}}' class='wangge_box'>
<view wx:for='{{product_item}}' wx:key='{{item.id}}'>
<view class='classfy' bindtap='jump_web' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
<view class='classfy' bindtap='jump_web' wx:if='{{item.more.banner!=""}}' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
<image src='{{item.more.banner}}'></image>
</view>
<view class='collocation collections'>
... ... @@ -289,7 +296,7 @@
</view>
<view wx:if='{{wangge==2}}'>
<view wx:for='{{product_item}}' wx:key='{{item.id}}' class='back_white'>
<view class='classfy' bindtap='jump_web' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
<view class='classfy' bindtap='jump_web' wx:if='{{item.more.banner!=""}}' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
<!-- <navigator to='{{item.more.banner_url}}'> -->
<image src='{{item.more.banner}}'></image>
<!-- </navigator> -->
... ... @@ -438,9 +445,10 @@
</view>
<block wx:if='{{wangge==0}}'>
<view wx:for='{{packageList}}' wx:key='{{cellindex}}' wx:for-item='cell' wx:for-index='cellindex'>
<view id='NAV{{cellindex}}'></view>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' style='padding-top:40rpx;' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}' >
<image src='{{cell.more.banner}}' bindtap='get_contant'></image>
<!-- <view id='NAV{{cellindex}}'></view> -->
<view class='classfy classfydd' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}' >
<image src='{{cell.more.banner}}'></image>
<!-- <image src='{{cell.more.banner}}' bindtap='get_contant'></image> -->
</view>
<view class='goodbox'>
<view bindtap='get_packageDetial' class='good_item' wx:for='{{cell.child}}' wx:key='{{item.id}}' data-goods='{{item.id}}'>
... ... @@ -476,16 +484,16 @@
</block>
<block wx:if='{{wangge==1}}'>
<view class='wangge_box1'>
<view wx:for='{{packageList}}' class='float' wx:key='{{item.id}}' wx:for-index='cellindex'>
<view id='NAV{{cellindex}}'></view>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' style='padding-top:40rpx;' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<view wx:for='{{packageList}}' class='float' wx:key='{{cell.id}}' wx:for-index='cellindex' wx:for-item='cell'>
<!-- <view id='NAV{{cellindex}}'></view> -->
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}'>
<!-- <navigator url='{{item.more.banner_url}}'> -->
<image src='{{item.more.banner}}'></image>
<image src='{{cell.more.banner}}'></image>
<!-- </navigator> -->
</view>
<view class='collocation collections'>
<view bindtap='get_packageDetial' data-goods='{{item.id}}' class='collocation_box' wx:for='{{item.child}}' wx:key='{{item.id}}'>
<view bindtap='get_packageDetial' data-goods='{{item.id}}' class='collocation_box' wx:for='{{cell.child}}' wx:key='{{item.id}}'>
<view class='collocation_imgs'>
<image src='{{item.thumbnail}}'></image>
</view>
... ... @@ -518,7 +526,7 @@
<view>
<view wx:for='{{packageList}}' wx:key='{{item.id}}' class='back_white' wx:for-index='cellindex'>
<view id='NAV{{cellindex}}'></view>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' style='padding-top:40rpx;' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<!-- <navigator to='{{item.more.banner_url}}'> -->
<image src='{{item.more.banner}}'></image>
<!-- </navigator> -->
... ... @@ -608,7 +616,7 @@
<!-- <view bindtap='get_contant' wx:for='{{goods}}' wx:key='{{cellindex}}' wx:for-item='cell' wx:for-index='cellindex'> -->
<view wx:for='{{goods}}' wx:key='{{cellindex}}' wx:for-item='cell' wx:for-index='cellindex'>
<view id='NAV{{cellindex}}'></view>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' style='padding-top:40rpx;' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}'>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}'>
<image src='{{cell.more.banner}}'></image>
</view>
<view class='goodbox'>
... ... @@ -652,7 +660,7 @@
<view class='wangge_box'>
<view wx:for='{{goods}}' wx:key='{{item.id}}' wx:for-index='cellindex'>
<view id='NAV{{cellindex}}'></view>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' style='padding-top:40rpx;' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<!-- <navigator url='{{item.more.banner_url}}'> -->
<image src='{{item.more.banner}}'></image>
<!-- </navigator> -->
... ... @@ -696,7 +704,7 @@
<view>
<view wx:for='{{goods}}' wx:key='{{item.id}}' class='back_white' wx:for-index='cellindex'>
<view id='NAV{{cellindex}}'></view>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' style='padding-top:40rpx;' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
<!-- <navigator to='{{item.more.banner_url}}'> -->
<image src='{{item.more.banner}}'></image>
<!-- </navigator> -->
... ... @@ -737,6 +745,7 @@
</view>
</view>
</block>
</view>
</view>
... ...
... ... @@ -3,9 +3,11 @@
/* height: 1000rpx; */
/* background: red; */
}
.zuida{
background-color: #fafafa;
}
page {
background-color: #fafafa;
/* background-color: #fafafa; */
width: 100%;
height: 100%;
}
... ... @@ -251,7 +253,9 @@ page {
color: #222;
border-bottom: 2px solid #ffda44;
}
.yyh{
margin-top: 100px;
}
.swiper_banner_box {
width: 100%;
height: 350rpx;
... ... @@ -259,7 +263,6 @@ page {
/* border-radius: 16rpx; */
/* overflow: hidden; */
position: relative;
margin-top:200rpx;
}
.uiuiui{
width: 680rpx;
... ... @@ -274,7 +277,7 @@ page {
.swiper_banner_box_two {
/* height: 326rpx; */
/* margin-top: 200rpx; */
height: 320rpx;
/* height: 320rpx; */
background-color: #fff;
border-radius: 16rpx;
overflow: hidden;
... ... @@ -292,6 +295,7 @@ page {
.swiper_banner_box swiper-item {
width: 100%;
height: 320rpx
}
.swiper_banner_box image {
... ... @@ -309,23 +313,30 @@ page {
border-radius: 16rpx;
overflow: hidden;
}
.real_save{
padding: 0 0 30rpx 0;
box-sizing: border-box;
background-color: #fff;
}
.safe_box {
height: 31rpx;
display: flex;
align-items: center;
justify-content: space-around;
font-size: 24rpx;
color: #222;
/* margin: 30rpx 0 0 0; */
background-color: #fff;
padding: 0 0 30rpx 0;
}
.safe_box .iconfont {
font-size: 28rpx;
margin: 0 10rpx 0 0;
}
.safe_box text{
height: 31rpx;
font-size: 24rpx;
line-height: 31rpx
}
/* .ad_mold{
height: 100%;
width: 100%;
... ... @@ -334,14 +345,21 @@ page {
top: 0;
background-color: rgba(0, 0, 0, 0.4)
} */
.float{
width: 100%
}
.classfy {
width: 100%;
background-color: #fff;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.classfydd{
/* margin-top: 40rpx; */
/* box-sizing: border-box */
}
.classfitys {
background-color: #fff;
display: flex;
... ... @@ -413,7 +431,7 @@ page {
}
.classfy image {
width: 100%;
width: 100%!important;
height: 200rpx;
margin: 20rpx 25rpx;
border-radius: 16rpx;
... ... @@ -554,10 +572,18 @@ page {
color: #888;
text-decoration: line-through;
}
.anxin{
width: 20rpx;
.real_anxin{
width: 20rpx;
height: 31rpx;
margin-right: 10rpx
margin-right: 10rpx;
display: flex;
align-items: center;
justify-content: center;
float: left
}
.anxin{
width: 100%;
height: 100%
}
.ad_box {
height: 100%;
... ... @@ -565,7 +591,8 @@ page {
width: 100%;
top: 0;
left: 0;
background-color: rgba(51,51,51,0.6);
/* background-color: rgba(51,51,51,0.6); */
background: rgba(0,0,0,0.6);
z-index: 9999;
display: flex;
align-items: center;
... ... @@ -1073,6 +1100,7 @@ page {
background: #fff;
}
.wangge_box1{
width: 100%;
display: flex;
flex-wrap: wrap
}
... ... @@ -1085,7 +1113,7 @@ page {
}
.collections {
margin-top: 30rpx;
/* margin-top: 30rpx; */
}
.collocation_box {
... ... @@ -1098,7 +1126,7 @@ page {
.collocation_img,.collocation_imgs {
width: 340rpx;
height: 340rpx;
position: relative
position: relative;
}
.zhongtu_position{
... ... @@ -1285,7 +1313,7 @@ page {
/*大图样式*/
.big_img_box {
margin-top: 60rpx;
/* margin-top: 60rpx; */
width: 93.6%;
margin: 0 auto;
}
... ... @@ -1467,7 +1495,7 @@ page {
.back_white {
background: #fff;
padding-bottom: 20rpx;
/* padding-bottom: 20rpx; */
box-sizing: border-box;
}
... ... @@ -1693,7 +1721,7 @@ padding-left: 30rpx
.scroll_view_class {
height: 100%;
padding-bottom:74rpx;
/* padding-bottom:74rpx; */
box-sizing: border-box;
}
... ...
... ... @@ -7,7 +7,7 @@
<input type="text" placeholder='{{hothothot}}' placeholder-class='banner_input' value='{{value}}' bindinput='get_keyWords' class='input_placeholder'></input>
</view>
<view class='iconfont icon-quxiao' bindtap='clear_keyword'></view>
</view>
</view>
<view class='serach' bindtap='send_search'>搜索</view>
</view>
... ...
... ... @@ -117,6 +117,7 @@ page {
}
.input_placeholder{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
font-family:PingFang-SC-Medium;
font-weight:500;
width: 186%!important
}
... ...