shopDetaile.wxml
2.2 KB
<view><u-navbar wx:if="{{a}}" u-s="{{['left']}}" u-i="1a35f0c9-0" bind:__l="__l" u-p="{{a}}"><view class="u-nav-slot" slot="left"><image src="/static/indexIc/back.png" mode=""></image></view></u-navbar><view class="swiperBox"><u-swiper wx:if="{{f}}" u-s="{{['indicator']}}" bindchange="{{e}}" u-i="1a35f0c9-1" bind:__l="__l" u-p="{{f}}"><view slot="indicator"><view wx:if="{{b}}" class="indicator-num"><text class="indicator-num__text">{{c}}/{{d}}</text></view></view></u-swiper></view><view class="info"><shop-info wx:if="{{g}}" u-i="1a35f0c9-2" bind:__l="__l" u-p="{{g}}"></shop-info></view><view class="line"></view><view class="mainBox"><view wx:if="{{h}}"><view class="commentNmu flexJ"><text>评论({{i}})</text><view wx:if="{{j}}" class="see flexA" bindtap="{{k}}"> 查看全部 <image src="/static/indexIc/orangeRight.png" mode=""></image></view></view><view wx:if="{{l}}"><comment wx:if="{{m}}" u-i="1a35f0c9-3" bind:__l="__l" u-p="{{m}}"></comment></view><view wx:else class="commentNull flexV"><image src="/static/indexIc/cpmmentNull.png" mode=""></image> 暂无评论 </view></view><view wx:if="{{n}}"><view class="line"></view><view class="titles">商品详情</view><u-parse wx:if="{{o}}" u-i="1a35f0c9-4" bind:__l="__l" u-p="{{o}}"></u-parse></view></view><view wx:if="{{p}}" class="lineBox"><view class="flexC"><view class="lines"></view><text>商品详情</text><view class="lines"></view></view><u-parse wx:if="{{q}}" u-i="1a35f0c9-5" bind:__l="__l" u-p="{{q}}"></u-parse></view><view class="" style="height:300rpx"></view><view class="btnBox iosAuto flexJ"><view class="left flexA"><view wx:for="{{r}}" wx:for-item="item" wx:key="g" class="leftIc flexV" bindtap="{{item.h}}"><view class="images"><image src="{{item.a}}" mode=""></image><u-badge wx:if="{{item.b}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></u-badge></view><text>{{item.e}}</text><button wx:if="{{item.f}}" open-type="contact"></button></view></view><view wx:if="{{s}}" class="flexA"><view class="add flexC" bindtap="{{t}}">加入购物车</view><view class="buy flexC" bindtap="{{v}}">立即购买</view></view><view wx:else class="exchange flexC" bindtap="{{w}}">我要兑换</view></view><pop-pay wx:if="{{y}}" bindclose="{{x}}" u-i="1a35f0c9-7" bind:__l="__l" u-p="{{y}}"></pop-pay></view>