|
|
@ -58,58 +58,58 @@ |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<!-- 顶部导航栏 --> |
|
|
|
<!-- <view class="container_top_item" style="height: 88rpx;"> |
|
|
|
<view class="container_top_item_left" bindtap="toArea" style="white-space: nowrap;"> |
|
|
|
{{region.district?region.district:'岳麓区'}} |
|
|
|
<image src="jianX_h" lazy-load="true"></image> |
|
|
|
</view> |
|
|
|
<view class="container_top_item" style="padding-top:{{barHeight + 40}}rpx; padding-bottom:10rpx;"> |
|
|
|
<view class="container_top_item_left" bindtap="navToArea"> |
|
|
|
{{region.city?region.city:'常州市'}} |
|
|
|
<image src="/images/icon_xiahua.png" lazy-load="true"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="container_top_item_center" bindtap="toUrl('/pagesA/search/search')"> |
|
|
|
<image src="syss" lazy-load="true"></image> |
|
|
|
{{language.home.search_placeholder}} |
|
|
|
</view> |
|
|
|
<view class="container_top_item_center" bindtap="toUrl('/pagesA/search/search')"> |
|
|
|
<image src="/images/syss.png" lazy-load="true"></image> |
|
|
|
搜索你想要的商品 |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="container_top_item_right" bindtap="_navigateTo('/pages/message/systemMesage')"> |
|
|
|
<image src="grxx" lazy-load="true"></image> |
|
|
|
<view v-if="xxnum">{{ xxnum }}</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<!-- <view class="container_top_item_right" bindtap="_navigateTo('/pages/message/systemMesage')"> |
|
|
|
<image src="grxx" lazy-load="true"></image> |
|
|
|
<view v-if="xxnum">{{ xxnum }}</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- 顶部导航栏结束 --> |
|
|
|
|
|
|
|
<view class="out"> |
|
|
|
<!-- <swiper class='out' current='{{current}}' autoplay="{{false}}" bindchange="contentChange"> --> |
|
|
|
<!-- <swiper class='out' current='{{current}}' autoplay="{{false}}" bindchange="contentChange"> --> |
|
|
|
<!-- <swiper-item wx:for="{{titleList}}" wx:for-item="item" wx:key="id"> --> |
|
|
|
<scroll-view scroll-y="true" bindscrolltolower="obm"> |
|
|
|
|
|
|
|
<!-- /首页轮播图/ --> |
|
|
|
<!-- wx:if="{{item.cid == 0 && banner.length >0}}" --> |
|
|
|
<swiper class="swiper-box" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"> |
|
|
|
<block wx:for="{{banner}}" wx:key="id"> |
|
|
|
<navigator url='{{item.url}}'> |
|
|
|
<swiper-item> |
|
|
|
<image src="{{item.image}}" id="{{item.id}}" class="slide-image" width="100%" height="200" /> |
|
|
|
</swiper-item> |
|
|
|
</navigator> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<!-- /首页轮播图结束/ --> |
|
|
|
<scroll-view scroll-y="true" bindscrolltolower="obm"> |
|
|
|
|
|
|
|
<!-- /首页菜单/ --> |
|
|
|
<!-- wx:if="{{item.id > 0 && item.icons.length >0}}" --> |
|
|
|
<view class="section icons" > |
|
|
|
<navigator url="../listdetail/listdetail?class={{icons.id}}&title={{icons.name}}" hover-class="changestyle" class="icon" wx:for="{{plug}}" wx:for-item="icons" wx:key="id" data-id="{{item.id}}"> |
|
|
|
<view> |
|
|
|
<image class='img' src="{{icons.appimg}}"></image> |
|
|
|
</view> |
|
|
|
<view style='width:100%;'> |
|
|
|
<text class="menu-width">{{icons.name}}</text> |
|
|
|
</view> |
|
|
|
<!-- /首页轮播图/ --> |
|
|
|
<!-- wx:if="{{item.cid == 0 && banner.length >0}}" --> |
|
|
|
<swiper class="swiper-box" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"> |
|
|
|
<block wx:for="{{banner}}" wx:key="id"> |
|
|
|
<navigator url='{{item.url}}'> |
|
|
|
<swiper-item> |
|
|
|
<image src="{{item.image}}" id="{{item.id}}" class="slide-image" width="100%" height="200" /> |
|
|
|
</swiper-item> |
|
|
|
</navigator> |
|
|
|
</view> |
|
|
|
<!-- /首页菜单结束/ --> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<!-- /首页轮播图结束/ --> |
|
|
|
|
|
|
|
<!--滚动公告条开始 --> |
|
|
|
<!-- <view class='in_news' wx:if="{{item.id==0 && inforList.length > 0}}"> |
|
|
|
<!-- /首页菜单/ --> |
|
|
|
<!-- wx:if="{{item.id > 0 && item.icons.length >0}}" --> |
|
|
|
<view class="section icons"> |
|
|
|
<navigator class="icon" url="../listdetail/listdetail?id={{icons.id}}&title={{icons.name}}" hover-class="changestyle" wx:for="{{plug}}" wx:for-item="icons" wx:key="id" data-id="{{icons.id}}"> |
|
|
|
<view> |
|
|
|
<image class='img' src="{{icons.appimg}}"></image> |
|
|
|
</view> |
|
|
|
<view style='width:100%;'> |
|
|
|
<text class="menu-width">{{icons.name}}</text> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
</view> |
|
|
|
<!-- /首页菜单结束/ --> |
|
|
|
|
|
|
|
<!--滚动公告条开始 --> |
|
|
|
<!-- <view class='in_news' wx:if="{{item.id==0 && inforList.length > 0}}"> |
|
|
|
<image src='/images/lb.png' class='in_img'></image> |
|
|
|
<swiper class="swiper_container" vertical="true" autoplay="true" circular="true" interval="2000"> |
|
|
|
<block wx:for="{{inforList}}"wx:key="key"> |
|
|
@ -121,72 +121,69 @@ |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
</view> --> |
|
|
|
<!-- 滚动公告条结束 --> |
|
|
|
<!-- 滚动公告条结束 --> |
|
|
|
|
|
|
|
<!-- 好物优选 --> |
|
|
|
<view class="content_top" style="margin-bottom: 38rpx;"> |
|
|
|
<view class="content_top-box"> |
|
|
|
<navigator url="../new/new?type=1" open-type="navigate"> |
|
|
|
<view class="content_top-box-top"> |
|
|
|
<view class="content_top-box-top-title">新品上市</view> |
|
|
|
<view class="content_top-box-top-txt">上新好物优选购</view> |
|
|
|
</view> |
|
|
|
<view class="content_top-box-bottom" wx:if="{{newImgList}}"> |
|
|
|
<image src="{{newImgList[0].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
<image wx:if="{{newImgList.length > 1}}" src="{{newImgList[1].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
</view> |
|
|
|
<view class="content_top-box"> |
|
|
|
<navigator url="../new/new?type=2" open-type="navigate"> |
|
|
|
<view class="content_top-box-top"> |
|
|
|
<view class="content_top-box-top-title">好物优选</view> |
|
|
|
<view class="content_top-box-top-txt">品质好物优先选</view> |
|
|
|
</view> |
|
|
|
<view class="content_top-box-bottom" wx:if="{{recommendImgList}}"> |
|
|
|
<image src="{{recommendImgList[0].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
<image wx:if="{{recommendImgList.length > 1}}" src="{{recommendImgList[1].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
</view> |
|
|
|
<!-- 好物优选 --> |
|
|
|
<view class="content_top" style="margin-bottom: 38rpx;"> |
|
|
|
<view class="content_top-box" data-title="新品上市" bindtap="navigatorAct"> |
|
|
|
<view class="content_top-box-top"> |
|
|
|
<view class="content_top-box-top-title">新品上市</view> |
|
|
|
<view class="content_top-box-top-txt">上新好物优选购</view> |
|
|
|
</view> |
|
|
|
<view class="content_top-box-bottom" wx:if="{{newImgList}}"> |
|
|
|
<image src="{{newImgList[0].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
<image wx:if="{{newImgList.length > 1}}" src="{{newImgList[1].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 好物优选结束 --> |
|
|
|
<!-- 优选店铺 --> |
|
|
|
<view class="mch" wx:if="{{r_mch}}"> |
|
|
|
<view class="home_title"> |
|
|
|
<view class="mch_name">优选店铺</view> |
|
|
|
<image class="home_title_bg" src="/images/home_title_bg.png"></image> |
|
|
|
<view class="more" bindtap="navTo('/pagesB/home/mchList')"> |
|
|
|
<text>更多</text> |
|
|
|
<image src="/images/x_right.png" lazy-load="true"></image> |
|
|
|
</view> |
|
|
|
<view class="content_top-box" data-title="好物优选" bindtap="navigatorAct"> |
|
|
|
<!-- <navigator url="../new/new?type=2" open-type="navigate"> --> |
|
|
|
<view class="content_top-box-top"> |
|
|
|
<view class="content_top-box-top-title">好物优选</view> |
|
|
|
<view class="content_top-box-top-txt">品质好物优先选</view> |
|
|
|
</view> |
|
|
|
<view class="content_top-box-bottom" wx:if="{{recommendImgList}}"> |
|
|
|
<image src="{{recommendImgList[0].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
<image wx:if="{{recommendImgList.length > 1}}" src="{{recommendImgList[1].imgurl}}" class="content_top-box-bottom-img"></image> |
|
|
|
</view> |
|
|
|
<!-- </navigator> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 好物优选结束 --> |
|
|
|
<!-- 优选店铺 --> |
|
|
|
<view class="mch" wx:if="{{r_mch}}"> |
|
|
|
<view class="home_title"> |
|
|
|
<view class="mch_name">优选店铺</view> |
|
|
|
<image class="home_title_bg" src="/images/home_title_bg.png"></image> |
|
|
|
<view class="more" bindtap="navToMchList"> |
|
|
|
<text>更多</text> |
|
|
|
<image src="/images/x_right.png" lazy-load="true"></image> |
|
|
|
</view> |
|
|
|
<view class="mch_content"> |
|
|
|
<!-- @tap="toUrl('/pagesB/home/mchList')" --> |
|
|
|
<view class="mch_content_item" wx:for="{{r_mch}}" wx:for-item="item" wx:key="id"> |
|
|
|
<image src="{{item.logo}}" lazy-load="true" mode="aspectFill"></image> |
|
|
|
<view>{{item.name}}</view> |
|
|
|
<text>{{item.distance}}km</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="mch_content"> |
|
|
|
<view class="mch_content_item" wx:for="{{r_mch}}" wx:for-item="item" wx:key="id" bindtap="navToMchList"> |
|
|
|
<image src="{{item.logo}}" lazy-load="true" mode="aspectFill"></image> |
|
|
|
<view>{{item.name}}</view> |
|
|
|
<text>{{item.distance}}km</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 优选店铺结束 --> |
|
|
|
<!-- 会员权益 --> |
|
|
|
<!-- @click="vipclick" --> |
|
|
|
<view style="width: 100%;height: 200rpx;" wx:if="{{memberPlugin}}"> |
|
|
|
</view> |
|
|
|
<!-- 优选店铺结束 --> |
|
|
|
<!-- 会员权益 --> |
|
|
|
<!-- @click="vipclick" --> |
|
|
|
<!-- <view style="width: 100%;height: 200rpx;" wx:if="{{memberPlugin}}"> |
|
|
|
<image src="https://mall.gylservice.com/pic/images/icon1/member/hyrk.png" style="width: 100%;height: 100%;"></image> |
|
|
|
</view> |
|
|
|
<!-- 会员权益结束 --> |
|
|
|
|
|
|
|
<!-- 分类商品 --> |
|
|
|
<!-- <view class="cont"> |
|
|
|
</view> --> |
|
|
|
<!-- 会员权益结束 --> |
|
|
|
|
|
|
|
<!-- 分类商品 --> |
|
|
|
<!-- <view class="cont"> |
|
|
|
<block wx:for="{{item.list}}" wx:for-item="list" wx:key="id"> |
|
|
|
<navigator class="img-box" wx:if="{{list.url}}" url="{{list.url}}" hover-class="changestyle"> |
|
|
|
<image class="mphoto" style="width:{{ images[index].width }}rpx; height:{{images[index].height}}rpx;" data-index="{{index}}" bindload='imgW' src="{{list.imgurl}}"></image> |
|
|
|
</navigator> |
|
|
|
<view class="item_cont" wx:elif="{{index==0}}"> |
|
|
|
<block wx:for="{{indexList}}" wx:for-item="item" wx:key="id"> |
|
|
|
<navigator class="pr" url="../product/detail?productId={{item.id}}" hover-class="changestyle"> |
|
|
|
<navigator class="productView" url="../product/detail?productId={{item.id}}" hover-class="changestyle"> |
|
|
|
<image class="photo" src="{{item.imgurl}}"></image> |
|
|
|
<view class="title">{{item.product_title}}</view> |
|
|
|
<view style="display:flex;line-height:50rpx;"> |
|
|
@ -197,7 +194,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="display:flex;line-height:50rpx;color:#999"> |
|
|
|
<view class="gmxx" style=" color: red;">¥ {{item.price}}原价:¥{{item.price_yh}}</view> |
|
|
|
<view class="gmxx" style="color: red;">¥ {{item.price}}原价:¥{{item.price_yh}}</view> |
|
|
|
<view class="ku" style="width:70%">销量:{{item.volume}}</view> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
@ -205,68 +202,70 @@ |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
</view> --> |
|
|
|
<!-- wx:else --> |
|
|
|
<view class="cont"> |
|
|
|
<!-- wx:else --> |
|
|
|
<view class="cont"> |
|
|
|
<!-- 分类导航 --> |
|
|
|
<scroll-view class="scroll-view_x" scroll-x="true" style="width:auto;overflow:hidden;"> |
|
|
|
<scroll-view class="scroll-view_x" scroll-x="true" style="width:auto;overflow:hidden;"> |
|
|
|
<view class="seckill_content_view"> |
|
|
|
<view class='goods_title_item {{current==index?"active":""}}' wx:for="{{titleList}}" data-pos='{{index}}' wx:for-item="item" wx:key="cid" data-tabid='{{item.cid}}' bindtap='tabItemClick'> |
|
|
|
<view>{{item.pname}}</view> |
|
|
|
<text>{{item.english_name}}</text> |
|
|
|
</view> |
|
|
|
<view class='goods_title_item {{current==index?"active":""}}' wx:for="{{titleList}}" data-pos='{{index}}' wx:for-item="item" wx:key="cid" data-tabid='{{item.cid}}' bindtap='tabItemClick'> |
|
|
|
<view>{{item.pname}}</view> |
|
|
|
<text>{{item.english_name}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
<block wx:for="{{item.list}}" wx:for-item="list" wx:key="id"> |
|
|
|
<navigator class="pr" url="../product/detail?productId={{list.id}}" hover-class="changestyle"> |
|
|
|
<image class="photo" src="{{list.imgurl}}"></image> |
|
|
|
<view class="title">{{list.product_title}}</view> |
|
|
|
<view style="display:flex;line-height:50rpx;"> |
|
|
|
<view class="gmxx" style="font-size:28rpx;width:80%"> |
|
|
|
<text style="padding:0px 2px;" wx:if="{{list.xp == 1}}">新品</text> |
|
|
|
<text style="padding:0px 2px;" wx:if="{{list.rexiao == 1}}">热销</text> |
|
|
|
<text style="padding:0px 2px;" wx:if="{{list.tuijian == 1}}">推荐</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="display:flex;line-height:50rpx;color:#999"> |
|
|
|
<view class="gmxx" style=" color: red;">¥ {{list.price}}</view> |
|
|
|
<view class="ku" style="width:60%">销量:{{list.volume}}</view> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|
<!-- 分类商品结束 --> |
|
|
|
|
|
|
|
<view style="display: flex;" wx:if="{{loading}}"> |
|
|
|
<view class="spinner" style='margin:20px auto;'> |
|
|
|
<view class="spinner-container container1"> |
|
|
|
<view class="circle1"></view> |
|
|
|
<view class="circle2"></view> |
|
|
|
<view class="circle3"></view> |
|
|
|
<view class="circle4"></view> |
|
|
|
</view> |
|
|
|
<view class="spinner-container container2"> |
|
|
|
<view class="circle1"></view> |
|
|
|
<view class="circle2"></view> |
|
|
|
<view class="circle3"></view> |
|
|
|
<view class="circle4"></view> |
|
|
|
<block wx:for="{{titleList[current].list}}" wx:for-item="list" wx:key="id"> |
|
|
|
<navigator class="productView" url="../product/detail?productId={{list.id}}" hover-class="changestyle"> |
|
|
|
<image class="photo" src="{{list.imgurl}}"></image> |
|
|
|
<view class="title">{{list.product_title}}</view> |
|
|
|
<view class="gstatus">{{list.s_type_list[0].name}}</view> |
|
|
|
<view style="display:flex;line-height:50rpx;color:#999"> |
|
|
|
<view class="gmxx">¥ {{list.price}}</view> |
|
|
|
<view class="ku">已售{{list.volume}}件</view> |
|
|
|
</view> |
|
|
|
<view class="spinner-container container3"> |
|
|
|
<view class="circle1"></view> |
|
|
|
<view class="circle2"></view> |
|
|
|
<view class="circle3"></view> |
|
|
|
<view class="circle4"></view> |
|
|
|
<view style="display:flex;"> |
|
|
|
<view class="goods_shopBox"> |
|
|
|
<image class="goods_shop" src="{{list.logo}}"></image> |
|
|
|
<text>{{list.mch_name}}</text> |
|
|
|
</view> |
|
|
|
<view class="discover" data-id="{{list.id}}" bindtap="discoverSimilarProducts">找相似</view> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|
<!-- 分类商品结束 --> |
|
|
|
|
|
|
|
<view style="display: flex;" wx:if="{{loading}}"> |
|
|
|
<view class="spinner" style='margin:20px auto;'> |
|
|
|
<view class="spinner-container container1"> |
|
|
|
<view class="circle1"></view> |
|
|
|
<view class="circle2"></view> |
|
|
|
<view class="circle3"></view> |
|
|
|
<view class="circle4"></view> |
|
|
|
</view> |
|
|
|
<view class="spinner-container container2"> |
|
|
|
<view class="circle1"></view> |
|
|
|
<view class="circle2"></view> |
|
|
|
<view class="circle3"></view> |
|
|
|
<view class="circle4"></view> |
|
|
|
</view> |
|
|
|
<view class="spinner-container container3"> |
|
|
|
<view class="circle1"></view> |
|
|
|
<view class="circle2"></view> |
|
|
|
<view class="circle3"></view> |
|
|
|
<view class="circle4"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view wx:if="{{titleList[current].list == ''}}" class='tishi'> |
|
|
|
<view> |
|
|
|
<!-- wx:if="{{titleList[current].list == ''}}" --> |
|
|
|
<view class='tishi'> |
|
|
|
<!-- <view> |
|
|
|
<image class='scimg' style="margin-top: 15%;margin-bottom: 5%;" src='/images/search_no.png'></image> |
|
|
|
</view> |
|
|
|
<view style='font-size:13px;color:#666;padding-bottom:50rpx'>没有更多数据了</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
<view style='font-size:27rpx;color:#999;padding-top:20rpx;padding-bottom:50rpx;font-family: serif;'>~ 我是有底线的 ~</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
|
|
|
|
<!-- </swiper-item> |
|
|
|
</swiper> --> |
|
|
|
</view> |
|
|
@ -275,13 +274,14 @@ |
|
|
|
<view class='zjList'> |
|
|
|
<view class="swiper_item"> |
|
|
|
<image src='{{headimgurl}}' class='zjList_img'></image> |
|
|
|
恭喜{{user_name}}获得{{pname}}</view> |
|
|
|
恭喜{{user_name}}获得{{pname}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</block> |
|
|
|
</view> |
|
|
|
<image class="zhiding" src="/images/zhiding.png" bindtap="zhiding"></image> |
|
|
|
<!--模态弹窗--> |
|
|
|
<view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view> |
|
|
|
<view class="modalDlg" wx:if="{{showModal && sign_status == 1}}"> |
|
|
|