You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
high-mini/unpackage/dist/dev/mp-weixin/pages/goods/goods.wxml

1 line
7.4 KiB

<view><view class="status" style="{{'opacity:'+(afterHeaderOpacity)+';'}}"></view><view class="header"><view class="before" style="{{'opacity:'+(1-afterHeaderOpacity)+';'+('z-index:'+(beforeHeaderzIndex)+';')}}"><view class="back"><block wx:if="{{showBack}}"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="icon xiangqian" bindtap="__e"></view></block></view><view class="middle"></view><view class="icon-btn"><view data-event-opts="{{[['tap',[['toMsg',['$event']]]]]}}" class="icon tongzhi" bindtap="__e"></view><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="icon cart" bindtap="__e"></view></view></view><view class="after" style="{{'opacity:'+(afterHeaderOpacity)+';'+('z-index:'+(afterHeaderzIndex)+';')}}"><view class="back"><block wx:if="{{showBack}}"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="icon xiangqian" bindtap="__e"></view></block></view><view class="middle"><block wx:for="{{anchorlist}}" wx:for-item="anchor" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toAnchor',[index]]]]]}}" class="{{[selectAnchor==index?'on':'']}}" bindtap="__e">{{anchor.name}}</view></block></view><view class="icon-btn"><view data-event-opts="{{[['tap',[['toMsg',['$event']]]]]}}" class="icon tongzhi" bindtap="__e"></view><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="icon cart" bindtap="__e"></view></view></view></view><view class="footer"><view class="icons"><view data-event-opts="{{[['tap',[['share',['$event']]]]]}}" class="box" bindtap="__e"><view class="icon fenxiang"></view><view class="text">分享</view></view><view data-event-opts="{{[['tap',[['toChat',['$event']]]]]}}" class="box" bindtap="__e"><view class="icon kefu"></view><view class="text">客服</view></view><view data-event-opts="{{[['tap',[['keep',['$event']]]]]}}" class="box" bindtap="__e"><view class="{{['icon',isKeep?'shoucangsel':'shoucang']}}"></view><view class="text">{{(isKeep?'已':'')+"收藏"}}</view></view></view><view class="btn"><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="joinCart" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['buy',['$event']]]]]}}" class="buy" bindtap="__e">立即购买</view></view></view><view data-event-opts="{{[['touchmove',[['discard',['$event']]]],['tap',[['hideShare',['$event']]]]]}}" class="{{['share',shareClass]}}" catchtouchmove="__e" bindtap="__e"><view class="mask"></view><view data-event-opts="{{[['tap',[['discard',['$event']]]]]}}" class="layer" catchtap="__e"><view class="h1">分享</view><view class="list"><view class="box"><image src="../../static/img/share/wx.png"></image><view class="title">微信好友</view></view><view class="box"><image src="../../static/img/share/pyq.png"></image><view class="title">朋友圈</view></view><view class="box"><image src="../../static/img/share/wb.png"></image><view class="title">新浪微博</view></view><view class="box"><image src="../../static/img/share/qq.png"></image><view class="title">QQ</view></view></view><view data-event-opts="{{[['tap',[['hideShare',['$event']]]]]}}" class="btn" bindtap="__e">取消</view></view></view><view data-event-opts="{{[['touchmove',[['discard',['$event']]]],['tap',[['hideService',['$event']]]]]}}" class="{{['popup service',serviceClass]}}" catchtouchmove="__e" bindtap="__e"><view class="mask"></view><view data-event-opts="{{[['tap',[['discard',['$event']]]]]}}" class="layer" catchtap="__e"><view class="content"><block wx:for="{{goodsData.service}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="row"><view class="title">{{item.name}}</view><view class="description">{{item.description}}</view></view></block></view><view class="btn"><view data-event-opts="{{[['tap',[['hideService',['$event']]]]]}}" class="button" bindtap="__e">完成</view></view></view></view><view data-event-opts="{{[['touchmove',[['discard',['$event']]]],['tap',[['hideSpec',['$event']]]]]}}" class="{{['popup spec',specClass]}}" catchtouchmove="__e" bindtap="__e"><view class="mask"></view><view data-event