index.wxml 8.7 KB

1
  1. <view style="{{(colorStyle)}}"><view class="navbar" 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"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tap',['$0',index],[[['navList','',index]]]]]]]}}" class="{{['item',navActive===index?'on':'']}}" bindtap="__e">{{''+item+''}}</view></block></view></view></view></view><view class="{{['home-nav','acea-row','row-center-wrapper',opacity>0.5?'on':'']}}" style="{{'top:'+(homeTop+'rpx')+';'}}" id="home"><view data-event-opts="{{[['tap',[['returns',['$event']]]]]}}" class="iconfont icon-fanhui2" bindtap="__e"></view><view class="line"></view><view data-event-opts="{{[['tap',[['moreNav',['$event']]]]]}}" class="iconfont icon-gengduo5" bindtap="__e"></view></view><home-list vue-id="adfd61be-1" navH="{{navH}}" returnShow="{{returnShow}}" currentPage="{{currentPage}}" sysHeight="{{sysHeight}}" bind:__l="__l"></home-list><view class="product-con"><scroll-view style="{{('height:'+height+'px;')}}" scroll-top="{{scrollTop}}" scroll-y="true" scroll-with-animation="true" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" bindscroll="__e"><view id="past0"><view style="{{('width:100%;'+'height:'+sysHeight)}}"></view><product-con-swiper vue-id="adfd61be-2" imgUrls="{{imgUrls}}" data-event-opts="{{[['^showSwiperImg',[['showSwiperImg']]]]}}" bind:showSwiperImg="__e" bind:__l="__l"></product-con-swiper><view class="bg-color"><view class="nav acea-row row-between-wrapper"><view class="money">{{$root.m0}}<text class="num">{{storeInfo.price||''}}</text><block wx:if="{{$root.g0}}"><text>{{$root.m1}}</text></block><text class="y-money">{{$root.m2+(storeInfo.ot_price||'')}}</text></view><view class="acea-row row-middle"><block wx:if="{{status==1}}"><view class="timeItem"><view>{{$root.m3}}</view><count-down style="margin-top:4rpx;" vue-id="adfd61be-3" is-day="{{false}}" tip-text=" " day-text=" " hour-text=" : " minute-text=" : " second-text=" " datatime="{{datatime}}" bind:__l="__l"></count-down></view></block></view></view></view><view class="wrapper"><view class="introduce acea-row row-between"><view class="infor">{{''+(storeInfo.title||'')}}</view><view data-event-opts="{{[['tap',[['listenerActionSheet',['$event']]]]]}}" class="iconfont icon-fenxiang" bindtap="__e"></view></view><view class="label acea-row row-middle"><view class="stock">{{''+$root.m4+":"+(storeInfo.total?storeInfo.total:0)+$root.m5+''}}</view><view>{{$root.m6+":\n\t\t\t\t\t\t\t"+(storeInfo.quota?storeInfo.quota:0)+$root.m7+''}}</view></view></view><block wx:if="{{$root.g1}}"><view data-event-opts="{{[['tap',[['selecAttr',['$event']]]]]}}" class="attribute acea-row row-between-wrapper" bindtap="__e"><view class="flex"><view style="display:flex;align-items:center;width:90%;"><view class="attr-txt">{{''+attr+':'}}</view><view class="atterTxt line1" style="width:82%;">{{attrValue}}</view></view><view class="iconfont icon-jiantou"></view></view><block wx:if="{{$root.g2>1}}"><view class="acea-row row-between-wrapper" style="margin-top:7px;padding-left:70px;"><view class="flexs"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image class="attrImg" src="{{item.image}}"></image></block></view><view class="switchTxt">{{$root.m8+$root.g3+$root.m9}}</view></view></block></view></block></view><block wx:if="{{replyCount}}"><view class="userEvaluation" id="past1"><view class="title acea-row row-between-wrapper"><view>{{$root.m10+"("+replyCount+")"}}</view><navigator class="praise" hover-class="none" url="{{'/pages/goods/goods_comment_list/index?product_id='+storeInfo.product_id}}"><text class="font-color">{{replyChance+"%"}}</text>{{$root.m11+''}}<text class="iconfont icon-jiantou"></text></navigator></view><user-evaluation vue-id="adfd61be-4" reply="{{reply}}" bind:__l="__l"></user-evaluation></view></block><view class="product-intro" id="past2"><view class="title">{{$root.m12}}</view><view class="conter"><parser class="vue-ref" vue-id="adfd61be-5" html="{{storeInfo.description}}" tag-style="{{tagStyle}}" data-ref="article" bind:__l="__l"></parser></view></view></scroll-view><view class="{{['footer','acea-row','row-between-wrapper',(storeInfo.id)?'eject':'']}}"><navigator class="item" hover-class="none" open-type="switchTab" url="/pages/index/index"><view class="iconfont icon-shouye6"></view><view class="p_center">{{$root.m13}}</view></navigator><view data-event-opts="{{[['tap',[['setCollect',['$event']]]]]}}" class="item" bindtap="__e"><block wx:if="{{storeInfo.userCollect}}"><view class="iconfont icon-shoucang1"></view></block><block wx:else><view class="iconfont icon-shoucang"></view></block><view class="p_center">{{$root.m14}}</view></view><block wx:if="{{status==1&&attribute.productSelect.quota>0&&attribute.productSelect.product_stock>0}}"><view class="bnt acea-row"><view data-event-opts="{{[['tap',[['openAlone',['$event']]]]]}}" class="joinCart bnts" bindtap="__e">{{$root.m15}}</view><view data-event-opts="{{[['tap',[['goCat',['$event']]]]]}}" class="buy bnts" bindtap="__e">{{$root.m16}}</view></view></block><block wx:if="{{status==1&&attribute.productSelect.quota<=0||status==3&&attribute.productSelect.quota<=0||status==1&&attribute.productSelect.product_stock<=0||status==3&&attribute.productSelect.product_stock<=0}}"><view class="bnt acea-row"><view data-event-opts="{{[['tap',[['openAlone',['$event']]]]]}}" class="joinCart bnts" bindtap="__e">{{$root.m17}}</view><view class="buy bnts bg-color-hui">{{$root.m18}}</view></view></block><block wx:if="{{!dataShow&&status==1}}"><view class="bnt acea-row"><view data-event-opts="{{[['tap',[['openAlone',['$event']]]]]}}" class="joinCart bnts" bindtap="__e">{{$root.m19}}</view><view class="buy bnts bg-color-hui">{{$root.m20}}</view></view></block><block wx:if="{{status==2}}"><view class="bnt acea-row"><view data-event-opts="{{[['tap',[['openAlone',['$event']]]]]}}" class="joinCart bnts" bindtap="__e">{{$root.m21}}</view><view class="buy bnts bg-color-hui">{{$root.m22}}</view></view></block><block wx:if="{{status==0}}"><view class="bnt acea-row"><view data-event-opts="{{[['tap',[['openAlone',['$event']]]]]}}" class="joinCart bnts" bindtap="__e">{{$root.m23}}</view><view class="buy bnts bg-color-hui">{{$root.m24}}</view></view></block></view></view><cus-preview-img class="vue-ref" vue-id="adfd61be-6" list="{{skuArr}}" data-ref="cusPreviewImg" data-event-opts="{{[['^changeSwitch',[['changeSwitch']]],['^shareFriend',[['listenerActionSheet']]]]}}" bind:changeSwitch="__e" bind:shareFriend="__e" bind:__l="__l"></cus-preview-img><product-window vue-id="adfd61be-7" attr="{{attribute}}" limitNum="{{1}}" type="seckill" data-event-opts="{{[['^myevent',[['onMyEvent']]],['^ChangeAttr',[['ChangeAttr']]],['^ChangeCartNum',[['ChangeCartNum']]],['^attrVal',[['attrVal']]],['^iptCartNum',[['iptCartNum']]],['^getImg',[['showImg']]]]}}" bind:myevent="__e" bind:ChangeAttr="__e" bind:ChangeCartNum="__e" bind:attrVal="__e" bind:iptCartNum="__e" bind:getImg="__e" bind:__l="__l"></product-window><view class="{{['generate-posters','acea-row','row-middle',posters?'on':'']}}"><button class="item" open-type="share" hover-class="none" data-event-opts="{{[['tap',[['goFriend',['$event']]]]]}}" bindtap="__e"><view class="iconfont icon-weixin3"></view><view>{{$root.m25}}</view></button><button class="item" hover-class="none" data-event-opts="{{[['tap',[['goPoster',['seckill']]]]]}}" bindtap="__e"><view class="iconfont icon-haibao"></view><view>{{$root.m26}}</view></button></view><block wx:if="{{posters}}"><view data-event-opts="{{[['tap',[['listenerActionClose',['$event']]]]]}}" class="mask" bindtap="__e"></view></block><block wx:if="{{posterImageStatus}}"><view class="poster-pop"><image class="close" src="/static/images/poster-close.png" data-event-opts="{{[['tap',[['posterImageClose',['$event']]]]]}}" bindtap="__e"></image><image src="{{posterImage}}"></image><view data-event-opts="{{[['tap',[['savePosterPath',['$event']]]]]}}" class="save-poster" bindtap="__e">{{$root.m27}}</view></view></block><block wx:if="{{posterImageStatus}}"><view class="mask1"></view></block><block wx:if="{{canvasStatus}}"><canvas class="canvas" canvas-id="myCanvas"></canvas></block><kefu-icon vue-id="adfd61be-8" ids="{{storeInfo.product_id}}" routineContact="{{routineContact}}" bind:__l="__l"></kefu-icon><block wx:if="{{H5ShareBox}}"><view class="share-box"><image src="{{imgHost+'/statics/images/share-info.png'}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></view></block><swiper-previe class="vue-ref" vue-id="adfd61be-9" list="{{storeInfo.images}}" data-ref="cusSwiperImg" bind:__l="__l"></swiper-previe></view>