123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <view class='navbar {{parameter.class}}' style='height:{{navH}}rpx;opacity:{{opacity}}'>
- <view class='navbarH' style='height:{{navH}}rpx;'>
- <view class='navbarCon 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}}'>
- {{ item }}
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class='iconfont icon-xiangzuo' style="top:{{navH/2}}rpx" bindtap='returns'></view>
- <!-- <view style="height:{{navH+20}}rpx;" wx:if="{{scrollY>200}}"></view> -->
- <!-- style='height:{{scrollY>200?(height+2*navH+20):(height+navH)}}rpx;' -->
- <view class='product-con'>
- <scroll-view scroll-top="{{scrollTop}}" scroll-y='true' scroll-with-animation="true" style='height:{{height}}px;' bindscroll="scroll">
- <view id="past0">
- <productConSwiper imgUrls="{{storeInfo.slider_image}}" videoline="{{storeInfo.video_link}}"></productConSwiper>
- <view class='wrapper'>
- <view class='share acea-row row-between row-bottom'>
- <view class='money font-color'>
- ¥
- <text class='num'>{{storeInfo.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>
- </view>
- <view class='iconfont icon-fenxiang' bindtap='listenerActionSheet'></view>
- </view>
- <view class='introduce'>{{storeInfo.store_name}}</view>
- <view class='label acea-row row-between-wrapper'>
- <view>原价:¥{{storeInfo.ot_price}}</view>
- <view>库存:{{storeInfo.stock}}{{storeInfo.unit_name}}</view>
- <view>销量:{{storeInfo.fsales}}{{storeInfo.unit_name}}</view>
- </view>
- <view class='coupon acea-row row-between-wrapper' wx:if="{{storeInfo.give_integral > 0}}">
- <view class='hide line1 acea-row'>
- 赠积分:
- <view class='activity'>赠送 {{storeInfo.give_integral}} 积分</view>
- </view>
- </view>
- <view class='coupon acea-row row-between-wrapper' bindtap='coupon' style="{{ storeInfo.give_integral > 0 ? 'margin-top:0;':''}}">
- <view class='hide line1 acea-row'>
- 优惠券:
- <view class='activity' wx:for="{{couponList}}" wx:key='index'>满{{item.use_min_price}}减{{item.coupon_price}}</view>
- </view>
- <view class='iconfont icon-jiantou'></view>
- </view>
- <view class="coupon acea-row row-between-wrapper" wx:if="{{activity.length}}">
- <view class="line1 acea-row">
- <text decode="{{true}}" space="{{true}}">活 动:</text>
- <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==3?'activity_kan':''}}">
- <text class="iconfonts iconfont icon-pintuan"></text>
- <text class="activity_title"> 参与秒杀</text>
- </view>
- <view class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==3?'activity_kan':''}}" wx:if="{{item.type === '2'}}">
- <text class="iconfonts iconfont icon-shenhezhong"></text>
- <text class="activity_title"> 参与砍价</text>
- </view>
- <view class="{{index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==3?'activity_kan':''}}" wx:if="{{item.type === '3'}}">
- <text class="iconfonts iconfont icon-kanjia"></text>
- <text class="activity_title"> 参与拼团</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class='attribute acea-row row-between-wrapper' bindtap='selecAttr' wx:if='{{productAttr.length}}'>
- <view>{{attr}}:
- <text class='atterTxt'>{{attrValue}}</text>
- </view>
- <view class='iconfont icon-jiantou'></view>
- </view>
- <!-- <view class="store-info" wx:if='{{systemStore.id && storeSelfMention}}'>
- <view class="acea-row row-between-wrapper store-box" bindtap="showStoreList">
- <view class="title">门店信息</view>
- <view class='iconfont icon-jiantou'></view>
- </view>
- <view class="info acea-row row-between-wrapper" wx:if="{{storeList.length!==0}}">
- <view class="picTxt">
- <view class="pictrue">
- <image src="{{storeItems.image}}" lazy-load="true"></image>
- </view>
- <view class="text">
- <view class="name line1">
- {{storeItems.name}}
- </view>
- <view class="address acea-row row-middle" bindtap="showMaoLocation">
- <text class="addressTxt line1">{{storeItems.address}}{{", "+storeItems.detailed_address}}</text>
- <text class="iconfont icon-youjian"></text>
- </view>
- </view>
- </view>
- <view class="addressBox">
- <view class="iconfont icon-dadianhua01 font-color phone" bindtap="makePhone"></view>
- <view class="addressTxt line1 corlor-red" wx:if="{{storeItems.range}}" bindtap="showMaoLocation">距离{{storeItems.range}}千米</view>
- </view>
- </view>
- </view> -->
- </view>
- <view class='userEvaluation' id="past1">
- <view class='title acea-row row-between-wrapper'>
- <view>用户评价({{replyCount}})</view>
- <navigator class='praise' hover-class='none' url='/pages/goods_comment_list/index?product_id={{id}}'>
- <text class='font-color'>{{replyChance}}%</text>好评率
- <text class='iconfont icon-jiantou'></text>
- </navigator>
- </view>
- <userEvaluation reply="{{reply}}"></userEvaluation>
- </view>
- <view class="superior" wx:if="{{good_list.length}}" id="past2">
- <view class="title acea-row row-center-wrapper">
- <image src="/images/ling.png"></image>
- <view class="titleTxt">优品推荐</view>
- <image src="/images/ling.png"></image>
- </view>
- <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-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="item" wx:for="{{item.list}}" wx:key='index' wx:for-item='val' bindtap="goDetail" data-items='{{val}}'>
- <view class="pictrue">
- <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>
- </view>
- <view class="name line1">{{val.store_name}}</view>
- <view class="money font-color">¥{{val.price}}</view>
- </view>
- </view>
- </swiper-item>
- <view class="swiper-pagination" slot="pagination"></view>
- </swiper>
- </view>
- </view>
- <view class='product-intro' id="past3">
- <view class='title'>产品介绍</view>
- <view class='conter'>
- <template is="wxParse" data="{{wxParseData:description.nodes}}" />
- </view>
- </view>
- <view style='height:120rpx;'></view>
- </scroll-view>
- <view class='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>
- <view class='iconfont icon-kefu'></view>
- <view>客服</view>
- </button>
- <view bindtap='setCollect' class='item'>
- <view class='iconfont icon-shoucang1' wx:if="{{storeInfo.userCollect}}"></view>
- <view class='iconfont icon-shoucang' wx:else></view>
- <view>收藏</view>
- </view>
- <navigator open-type='switchTab' class="animated item {{animated==true?'bounceIn':''}}" url='/pages/order_addcart/order_addcart'>
- <view class='iconfont icon-gouwuche1'>
- <text class='num bg-color'>{{CartCount || 0}}</text>
- </view>
- <view>购物车</view>
- </navigator>
- <view class='bnt acea-row'>
- <form bindsubmit="joinCart">
- <button class='joinCart bnts' formType="submit">加入购物车</button>
- </form>
- <form bindsubmit="goBuy" wx:if="{{productSelect.stock>0}}">
- <button class='buy bnts' formType="submit">立即购买</button>
- </form>
- <form wx:else>
- <button class='buy bnts bg-color-hui'>已售罄</button>
- </form>
- </view>
- </view>
- <shareRedPackets sharePacket="{{sharePacket}}" bind:listenerActionSheet="listenerActionSheet"></shareRedPackets>
- </view>
- <!-- 分享按钮 -->
- <action-sheet hidden="{{actionSheetHidden}}" bindchange="listenerActionSheet" class='pro-wrapper' hover-class='none'>
- <action-sheet-item hover-class='none'>
- <button open-type="share" class='contact' hover-class='none'>
- <view class='iconn'></view>
- 发送给朋友
- </button>
- <button class='contact' bindtap='goPoster' hover-class='none'>
- <view class='iconn iconn1'></view>
- 生成海报
- </button>
- </action-sheet-item>
- </action-sheet>
- <!-- 海报展示 -->
- <view class='poster-pop' wx:if="{{posterImageStatus}}">
- <image src='/images/poster-close.png' class='close' bindtap='posterImageClose'></image>
- <image src='{{posterImage}}'></image>
- <view class='save-poster' bindtap='savePosterPath'>保存到手机</view>
- </view>
- <view class='mask' wx:if="{{posterImageStatus}}"></view>
- <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>
- <coupon-list-window coupon='{{coupon}}' bind:ChangCouponsClone="ChangCouponsClone" bind:ChangCoupons="ChangCoupons"></coupon-list-window>
- <authorize bind:onLoadFun="onLoadFun" isAuto="{{isAuto}}" iShidden="{{iShidden}}"></authorize>
- <!-- html转wxml -->
- <import src="/wxParse/wxParse.wxml" />
- <home></home>
|