123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <view>
- <view class="navbar">
- <view bindtap="__e" class="{{['nav-item',tabCurrentIndex===index?'current':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'tabClick',[index] ] ] ] ]}}" wx:for="{{navList}}" wx:key="index">{{item.text}}</view>
- </view>
- <navigator class="address-section" url="/pages/address/address?source=1" wx:if="{{tabCurrentIndex==0}}">
- <view class="order-content" wx:if="{{addressData.real_name}}">
- <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>
- <view class="order-content" wx:if="{{!addressData.real_name}}">
- <view class="addAddress">
- <text class="iconfont iconaddition"></text>
- <text>添加收货地址</text>
- </view>
- </view>
- <image class="a-bg" src="{{addressImg}}"></image>
- </navigator>
- <navigator class="address-section" url="/pages/address/shopList" wx:if="{{tabCurrentIndex==1}}">
- <view class="order-content" wx:if="{{shopAddress.name}}">
- <text class="iconfont iconlocation"></text>
- <view class="cen">
- <view class="top">
- <text class="name">{{shopAddress.name}}</text>
- <text class="mobile">{{shopAddress.phone}}</text>
- </view>
- <text class="address">{{shopAddress.address}}</text>
- </view>
- <text class="iconfont iconenter"></text>
- </view>
- <view class="order-content" wx:if="{{!shopAddress.name}}">
- <view class="addAddress">
- <text class="iconfont iconaddition"></text>
- <text>添加收货地址</text>
- </view>
- </view>
- <image class="a-bg" src="{{addressImg}}"></image>
- </navigator>
- <view class="goods-section" wx:for="{{$root.l0}}" wx:for-index="ind" wx:for-item="ls" wx:key="ind">
- <view class="g-item">
- <image src="{{productInfo.image}}"></image>
- <view class="right">
- <text class="title clamp">{{ls[$orig].productInfo.store_name}}</text>
- <text class="spec">{{ls[$orig].productInfo.attrInfo?ls[$orig].productInfo.attrInfo.suk:'默认'}}</text>
- <view class="price-box">
- <text class="price">{{'¥'+ls.m0}}</text>
- <text class="number">{{'x '+cart_num+productInfo.unit_name}}</text>
- </view>
- </view>
- </view>
- </view>
- <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 desc-cell" wx:if="{{tabCurrentIndex==1}}">
- <text class="cell-tit clamp">姓名</text>
- <input bindinput="__e" class="desc" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','real_name','$event',[] ],['pickUpInfo'] ] ] ] ]}}" placeholder="收货人姓名" placeholderClass="placeholder" type="text" value="{{pickUpInfo.real_name}}"></input>
- </view>
- <view class="yt-list-cell desc-cell" wx:if="{{tabCurrentIndex==1}}">
- <text class="cell-tit clamp">手机</text>
- <input bindinput="__e" class="desc" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','phone','$event',[] ],['pickUpInfo'] ] ] ] ]}}" placeholder="联系手机号" placeholderClass="placeholder" type="text" value="{{pickUpInfo.phone}}"></input>
- </view>
- <view class="yt-list-cell b-b">
- <text class="cell-tit clamp">备注</text>
- <input bindinput="__e" class="desc" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','desc','$event',[] ] ] ] ] ]}}" placeholder="备注信息" placeholderClass="placeholder" type="text" value="{{desc}}"></input>
- </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>
- <view class="yt-list-cell b-b" wx:if="{{$root.m1>0}}">
- <text class="cell-tit clamp">VIP优惠</text>
- <text class="cell-tip">{{'-¥'+$root.m2}}</text>
- </view>
- </view>
- <view class="footer">
- <view class="price-content">
- <text>实付款</text>
- <text class="price-tip">¥</text>
- <text class="price">{{payPrice}}</text>
- </view>
- <text bindtap="__e" class="{{['submit',!payType?'submitNo':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'e0',['$event'] ] ] ] ]}}">提交订单</text>
- </view>
- <view bindtap="__e" class="{{['mask',maskState===0?'none':maskState===1?'show':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'toggleMask',['$event'] ] ] ] ]}}">
- <view catchtap="__e" class="mask-content" data-event-opts="{{[ [ 'tap',[ [ 'stopPrevent',['$event'] ] ] ] ]}}">
- <view bindtap="__e" class="coupon-item" data-event-opts="{{[ [ 'tap',[ [ 'checkedCp',['$0'],[ [ ['couponList','',index] ] ] ] ] ] ]}}" wx:for="{{$root.l1}}" wx:key="index">
- <view class="con">
- <view class="left">
- <text class="title">{{item[$orig].coupon_title}}</text>
- <text class="time">{{'领取时间'+item[$orig].add_time}}</text>
- </view>
- <view class="right">
- <text class="price">{{item.m3}}</text>
- <text>{{'满'+item.m4+'可用'}}</text>
- </view>
- <view class="circle l"></view>
- <view class="circle r"></view>
- </view>
- <text class="tips">{{'有效期至'+item[$orig].end_time}}</text>
- </view>
- </view>
- </view>
- </view>
|