1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <view class="container">
- <view class="address-box">
- <view class="address-item" bindtap="selectAddress" wx:if="{{checkedAddress.id > 0}}">
- <view class="l">
- <text class="name">{{checkedAddress.name}}</text>
- <text class="default" wx:if="{{checkedAddress.isDefault}}">默认</text>
- </view>
- <view class="m">
- <text class="mobile">{{checkedAddress.tel}}</text>
- <text class="address">{{checkedAddress.addressDetail}}</text>
- </view>
- <view class="r">
- <image src="/static/images/address_right.png"></image>
- </view>
- </view>
- <view class="address-item address-empty" bindtap="selectAddress" wx:else>
- <view class="m">
- 还没有收货地址,去添加
- </view>
- <view class="r">
- <image src="/static/images/address_right.png"></image>
- </view>
- </view>
- </view>
- <view class="order-box">
- <view class="order-item">
- <view class="l">
- <text class="name">商品合计</text>
- </view>
- <view class="r">
- <text class="txt">¥ {{goodsTotalPrice}}元</text>
- </view>
- </view>
- <view class="order-item">
- <view class="l">
- <text class="name">运费</text>
- </view>
- <view class="r">
- <text class="txt">¥ {{freightPrice}}元</text>
- </view>
- </view>
- </view>
- <view class="goods-items">
- <view class="item" wx:for="{{checkedGoodsList}}" wx:key="id">
- <view class="img">
- <image src="{{item.picUrl}}"></image>
- </view>
- <view class="info">
- <view class="t">
- <text class="name">{{item.goodsName}}</text>
- <text class="number">x{{item.number}}</text>
- </view>
- <view class="m">{{item.specifications}}</view>
- <view class="b">¥{{item.price}}</view>
- </view>
- </view>
- </view>
- <view class="order-total">
- <view class="l">实付:¥{{actualPrice}}</view>
- <view class="r" bindtap="submitOrder">去付款</view>
- </view>
- </view>
|