1 |
- <view><block wx:if="{{tabCurrentIndex==0}}"><navigator class="address-section" url="/pages/set/address?source=1"><block wx:if="{{addressData.real_name}}"><view class="order-content"><text class="iconfont iconlocation"></text><view class="cen"><view class="top"><text class="name">{{addressData.real_name}}</text><text class="mobile">{{addressData.phone}}</text></view><text class="address">{{addressData.province+addressData.city+addressData.district+" "+addressData.detail}}</text></view><text class="iconfont iconenter"></text></view></block><block wx:if="{{!addressData.real_name}}"><view class="order-content"><view class="addAddress"><text class="iconfont iconaddition"></text><text>添加收货地址</text></view></view></block><image class="a-bg" src="{{addressImg}}"></image></navigator></block><block wx:if="{{tabCurrentIndex==1}}"><navigator class="address-section" url="/pages/address/shopList"><block wx:if="{{shopAddress.name}}"><view class="order-content"><text class="iconfont iconlocation"></text><view class="cen"><view class="top"><text class="name">{{shopAddress.name}}</text><text class="mobile">{{shopAddress.mobile}}</text></view><text class="address">{{shopAddress.address+" "+shopAddress.area}}</text></view><text class="iconfont iconenter"></text></view></block><block wx:if="{{!shopAddress.name}}"><view class="order-content"><text class="addAddress"><text class="iconfont iconaddition"></text><text>添加收货地址</text></text></view></block><image class="a-bg" src="{{addressImg}}"></image></navigator></block><block wx:for="{{shopList}}" wx:for-item="ls" wx:for-index="ind" wx:key="ind"><view class="goods-section"><view class="g-item"><image src="{{ls.productInfo.image}}"></image><view class="right"><text class="title clamp">{{ls.productInfo.store_name}}</text><text class="spec">{{ls.productInfo.attrInfo?ls.productInfo.attrInfo.suk:'默认'}}</text><view class="price-box"><text class="price">{{"¥"+(ls.productInfo.attrInfo?ls.productInfo.attrInfo.price:ls.productInfo.price)}}</text><text class="number">{{'x '+ls.cart_num+(ls.productInfo.unit_name||'')}}</text></view></view></view></view></block><view class="yt-list"><view class="yt-list-cell b-b"><text class="cell-tit clamp">运费</text><text class="cell-tip">{{Postage}}</text></view><view class="yt-list-cell b-b"><text class="cell-tit clamp">备注</text><input class="desc" type="text" placeholder="请填写备注信息" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['','desc','$event',[]]]]]]}}" value="{{desc}}" bindinput="__e"/></view></view><view class="yt-list"><view class="yt-list-cell b-b"><text class="cell-tit clamp">商品金额</text><text class="cell-tip">{{"¥"+payAllMoney}}</text></view><block wx:if="{{checkedPoints&&integralShow}}"><view class="yt-list-cell b-b"><text class="cell-tit clamp">积分抵扣</text><text class="cell-tip">{{"-¥"+integralMoney}}</text></view></block><block wx:if="{{moneyAll.vipPrice>0}}"><view class="yt-list-cell b-b"><text class="cell-tit clamp">VIP优惠</text><text class="cell-tip">{{"-¥"+moneyAll.vipPrice}}</text></view></block></view><view class="footer"><view class="price-content"><text>实付款</text><text class="price-tip">¥</text><text class="price">{{payPrice}}</text></view><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['submit',(!payType)?'submitNo':'']}}" bindtap="__e">提交订单</text></view><view data-event-opts="{{[['tap',[['toggleMask',['$event']]]]]}}" class="{{['mask',maskState===0?'none':maskState===1?'show':'']}}" bindtap="__e"><view class="mask-content"><block wx:for="{{couponList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkedCp',['$0'],[[['couponList','',index]]]]]]]}}" class="coupon-item" bindtap="__e"><view class="con"><view class="left"><text class="title">{{item.coupon_title}}</text><text class="time">{{"领取时间"+item.add_time}}</text></view><view class="right"><text class="price">{{item.coupon_price}}</text><text>{{"满"+item.use_min_price+"可用"}}</text></view><view class="circle l"></view><view class="circle r"></view></view><text class="tips">{{"有效期至"+item.end_time}}</text></view></block></view></view></view>
|