|
@@ -2,8 +2,7 @@
|
|
|
<view class='navbarH' style='height:{{navH}}rpx;'>
|
|
<view class='navbarH' style='height:{{navH}}rpx;'>
|
|
|
<view class='navbarCon acea-row row-center-wrapper'>
|
|
<view class='navbarCon acea-row row-center-wrapper'>
|
|
|
<view class="header acea-row row-center-wrapper">
|
|
<view class="header acea-row row-center-wrapper">
|
|
|
- <view class="item {{navActive === index ? 'on' : ''}}" wx:for="{{navList}}" wx:key='index' bindtap="tap"
|
|
|
|
|
- data-index="{{index}}" data-id='past{{index}}'>
|
|
|
|
|
|
|
+ <view class="item {{navActive === index ? 'on' : ''}}" wx:for="{{navList}}" wx:key='index' bindtap="tap" data-index="{{index}}" data-id='past{{index}}'>
|
|
|
{{ item }}
|
|
{{ item }}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -22,8 +21,7 @@
|
|
|
<!-- <view style="height:{{navH+20}}rpx;" wx:if="{{scrollY>200}}"></view> -->
|
|
<!-- <view style="height:{{navH+20}}rpx;" wx:if="{{scrollY>200}}"></view> -->
|
|
|
<!-- style='height:{{scrollY>200?(height+2*navH+20):(height+navH)}}rpx;' -->
|
|
<!-- style='height:{{scrollY>200?(height+2*navH+20):(height+navH)}}rpx;' -->
|
|
|
<view class='product-con'>
|
|
<view class='product-con'>
|
|
|
- <scroll-view scroll-top="{{scrollTop}}" scroll-y='true' scroll-with-animation="true" style='height:{{height}}px;'
|
|
|
|
|
- bindscroll="scroll">
|
|
|
|
|
|
|
+ <scroll-view scroll-top="{{scrollTop}}" scroll-y='true' scroll-with-animation="true" style='height:{{height}}px;' bindscroll="scroll">
|
|
|
<view id="past0">
|
|
<view id="past0">
|
|
|
<productConSwiper imgUrls="{{storeInfo.slider_image}}" videoline="{{storeInfo.video_link}}">
|
|
<productConSwiper imgUrls="{{storeInfo.slider_image}}" videoline="{{storeInfo.video_link}}">
|
|
|
</productConSwiper>
|
|
</productConSwiper>
|
|
@@ -31,6 +29,7 @@
|
|
|
<view class='share acea-row row-between row-bottom'>
|
|
<view class='share acea-row row-between row-bottom'>
|
|
|
<view class='money font-color'>
|
|
<view class='money font-color'>
|
|
|
¥<text class='num'>{{storeInfo.price}}</text>
|
|
¥<text class='num'>{{storeInfo.price}}</text>
|
|
|
|
|
+ <text class='y-money' wx:if="{{show_benefit}}">{{storeInfo.reputation}}</text>
|
|
|
<!-- <text class='vip-money' wx:if="{{storeInfo.vip_price && storeInfo.vip_price > 0}}">¥{{storeInfo.vip_price}}</text> -->
|
|
<!-- <text class='vip-money' wx:if="{{storeInfo.vip_price && storeInfo.vip_price > 0}}">¥{{storeInfo.vip_price}}</text> -->
|
|
|
<!-- <image wx:if="{{storeInfo.vip_price && storeInfo.vip_price > 0}}" src="/images/vip.png"></image> -->
|
|
<!-- <image wx:if="{{storeInfo.vip_price && storeInfo.vip_price > 0}}" src="/images/vip.png"></image> -->
|
|
|
</view>
|
|
</view>
|
|
@@ -57,20 +56,15 @@
|
|
|
<view class="line1 acea-row">
|
|
<view class="line1 acea-row">
|
|
|
<text decode="{{true}}" space="{{true}}">活 动:</text>
|
|
<text decode="{{true}}" space="{{true}}">活 动:</text>
|
|
|
<view wx:for="{{activity}}" wx:key='index' bindtap="goActivity" data-items='{{item}}'>
|
|
<view wx:for="{{activity}}" wx:key='index' bindtap="goActivity" data-items='{{item}}'>
|
|
|
- <view wx:if="{{item.type === '1'}}"
|
|
|
|
|
- class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''}}">
|
|
|
|
|
|
|
+ <view wx:if="{{item.type === '1'}}" class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''}}">
|
|
|
<text class="iconfonts iconfont icon-pintuan"></text>
|
|
<text class="iconfonts iconfont icon-pintuan"></text>
|
|
|
<text class="activity_title"> 参与秒杀</text>
|
|
<text class="activity_title"> 参与秒杀</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view
|
|
|
|
|
- class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''}}"
|
|
|
|
|
- wx:if="{{item.type === '2'}}">
|
|
|
|
|
|
|
+ <view class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''}}" wx:if="{{item.type === '2'}}">
|
|
|
<text class="iconfonts iconfont icon-shenhezhong"></text>
|
|
<text class="iconfonts iconfont icon-shenhezhong"></text>
|
|
|
<text class="activity_title"> 参与砍价</text>
|
|
<text class="activity_title"> 参与砍价</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view
|
|
|
|
|
- class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''}}"
|
|
|
|
|
- wx:if="{{item.type === '3'}}">
|
|
|
|
|
|
|
+ <view class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''}}" wx:if="{{item.type === '3'}}">
|
|
|
<text class="iconfonts iconfont icon-kanjia"></text>
|
|
<text class="iconfonts iconfont icon-kanjia"></text>
|
|
|
<text class="activity_title"> 参与拼团</text>
|
|
<text class="activity_title"> 参与拼团</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -128,21 +122,15 @@
|
|
|
<image src="/images/ling.png"></image>
|
|
<image src="/images/ling.png"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="slider-banner banner">
|
|
<view class="slider-banner banner">
|
|
|
- <swiper indicator-dots="true" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}"
|
|
|
|
|
- duration="{{duration}}" indicator-color="#999" indicator-active-color="#e93323"
|
|
|
|
|
- style="height:{{clientHeight+'px'}}">
|
|
|
|
|
|
|
+ <swiper indicator-dots="true" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="#999" indicator-active-color="#e93323" style="height:{{clientHeight+'px'}}">
|
|
|
<swiper-item wx:for="{{good_list}}" wx:for-item='item' wx:for-index='indexw' wx:key='index'>
|
|
<swiper-item wx:for="{{good_list}}" wx:for-item='item' wx:for-index='indexw' wx:key='index'>
|
|
|
<view class="list acea-row row-middle" id="list{{indexw}}">
|
|
<view class="list acea-row row-middle" id="list{{indexw}}">
|
|
|
- <view class="item" wx:for="{{item.list}}" wx:key='index' wx:for-item='val'
|
|
|
|
|
- bindtap="goDetail" data-items='{{val}}'>
|
|
|
|
|
|
|
+ <view class="item" wx:for="{{item.list}}" wx:key='index' wx:for-item='val' bindtap="goDetail" data-items='{{val}}'>
|
|
|
<view class="pictrue">
|
|
<view class="pictrue">
|
|
|
<image src="{{val.image}}"></image>
|
|
<image src="{{val.image}}"></image>
|
|
|
- <text class="pictrue_log pictrue_log_class"
|
|
|
|
|
- wx:if="{{val.activity && val.activity.type ==='1'}}">秒杀</text>
|
|
|
|
|
- <text class="pictrue_log pictrue_log_class"
|
|
|
|
|
- wx:if="{{val.activity && val.activity.type === '2'}}">砍价</text>
|
|
|
|
|
- <text class="pictrue_log pictrue_log_class"
|
|
|
|
|
- wx:if="{{val.activity && val.activity.type === '3'}}">拼团</text>
|
|
|
|
|
|
|
+ <text class="pictrue_log pictrue_log_class" wx:if="{{val.activity && val.activity.type ==='1'}}">秒杀</text>
|
|
|
|
|
+ <text class="pictrue_log pictrue_log_class" wx:if="{{val.activity && val.activity.type === '2'}}">砍价</text>
|
|
|
|
|
+ <text class="pictrue_log pictrue_log_class" wx:if="{{val.activity && val.activity.type === '3'}}">拼团</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="name line1">{{val.store_name}}</view>
|
|
<view class="name line1">{{val.store_name}}</view>
|
|
|
<view class="money font-color">¥{{val.price}}</view>
|
|
<view class="money font-color">¥{{val.price}}</view>
|
|
@@ -162,9 +150,7 @@
|
|
|
<view style='height:120rpx;'></view>
|
|
<view style='height:120rpx;'></view>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
<view class='{{ fixed ? "fixed" : ""}} footer acea-row row-between-wrapper'>
|
|
<view class='{{ fixed ? "fixed" : ""}} footer acea-row row-between-wrapper'>
|
|
|
- <button open-type="contact" hover-class='none' class='item ' send-message-title="{{storeInfo.store_name}}"
|
|
|
|
|
- send-message-img="{{storeInfo.image}}" send-message-path="/pages/goods_details/index?id={{storeInfo.id}}"
|
|
|
|
|
- show-message-card>
|
|
|
|
|
|
|
+ <button open-type="contact" hover-class='none' class='item ' send-message-title="{{storeInfo.store_name}}" send-message-img="{{storeInfo.image}}" send-message-path="/pages/goods_details/index?id={{storeInfo.id}}" show-message-card>
|
|
|
<view class='iconfont icon-kefu'></view>
|
|
<view class='iconfont icon-kefu'></view>
|
|
|
<view>客服</view>
|
|
<view>客服</view>
|
|
|
</button>
|
|
</button>
|
|
@@ -173,8 +159,7 @@
|
|
|
<view class='iconfont icon-shoucang' wx:else></view>
|
|
<view class='iconfont icon-shoucang' wx:else></view>
|
|
|
<view>收藏</view>
|
|
<view>收藏</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <navigator open-type='switchTab' class="animated item {{animated==true?'bounceIn':''}}"
|
|
|
|
|
- url='/pages/order_addcart/order_addcart'>
|
|
|
|
|
|
|
+ <navigator open-type='switchTab' class="animated item {{animated==true?'bounceIn':''}}" url='/pages/order_addcart/order_addcart'>
|
|
|
<view class='iconfont icon-gouwuche1'>
|
|
<view class='iconfont icon-gouwuche1'>
|
|
|
<text class='num bg-color'>{{CartCount || 0}}</text>
|
|
<text class='num bg-color'>{{CartCount || 0}}</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -223,9 +208,7 @@
|
|
|
<view class='mask' wx:if="{{posterImageStatus}}"></view>
|
|
<view class='mask' wx:if="{{posterImageStatus}}"></view>
|
|
|
<canvas class="canvas" canvas-id='myCanvas' wx:if="{{canvasStatus}}"></canvas>
|
|
<canvas class="canvas" canvas-id='myCanvas' wx:if="{{canvasStatus}}"></canvas>
|
|
|
<!-- 组件 -->
|
|
<!-- 组件 -->
|
|
|
-<product-window iSplus='{{iSplus}}' attribute='{{attribute}}' productAttr="{{productAttr}}"
|
|
|
|
|
- productSelect="{{productSelect}}" bind:myevent="onMyEvent" bind:ChangeAttr="ChangeAttr"
|
|
|
|
|
- bind:ChangeCartNum="ChangeCartNum" id='product-window' bind:iptCartNum="iptCartNum"></product-window>
|
|
|
|
|
|
|
+<product-window iSplus='{{iSplus}}' attribute='{{attribute}}' productAttr="{{productAttr}}" productSelect="{{productSelect}}" bind:myevent="onMyEvent" bind:ChangeAttr="ChangeAttr" bind:ChangeCartNum="ChangeCartNum" id='product-window' bind:iptCartNum="iptCartNum"></product-window>
|
|
|
<coupon-list-window coupon='{{coupon}}' bind:ChangCouponsClone="ChangCouponsClone" bind:ChangCoupons="ChangCoupons">
|
|
<coupon-list-window coupon='{{coupon}}' bind:ChangCouponsClone="ChangCouponsClone" bind:ChangCoupons="ChangCoupons">
|
|
|
</coupon-list-window>
|
|
</coupon-list-window>
|
|
|
<authorize bind:onLoadFun="onLoadFun" isAuto="{{isAuto}}" iShidden="{{iShidden}}"></authorize>
|
|
<authorize bind:onLoadFun="onLoadFun" isAuto="{{isAuto}}" iShidden="{{iShidden}}"></authorize>
|