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.
78 lines
3.7 KiB
78 lines
3.7 KiB
<view class="container">
|
|
<view class="box">
|
|
<view class="top-title flex-between">
|
|
顺手带一件
|
|
<view bindtap="switchSmoothlyList" class="refresh-btn">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/smoothlyOrder/refresh.png" mode="widthFix"></image>
|
|
换一换
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 邮寄不显示收货地址 -->
|
|
<view wx:if="{{type !== 'post'}}">
|
|
<view class="address-box flex-between" wx:if="{{!address}}" bindtap="showAddress">
|
|
<view style="display: flex;align-items: center;">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/smoothlyOrder/location.png"
|
|
class="location" mode="widthFix"></image>
|
|
收货地址 点击填写收货地址
|
|
</view>
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/smoothlyOrder/rightIcon.png"
|
|
class="rightIcon" mode="widthFix"></image>
|
|
</view>
|
|
<view class="address-boxs flex-between" bindtap="showAddress" wx:else>
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/smoothlyOrder/location.png"
|
|
class="location" mode="widthFix"></image>
|
|
<view class="content">
|
|
<view class="left">收货地址</view>
|
|
<view class="right">
|
|
<view class="top">
|
|
{{address.name}}<text>{{address.tel}}</text>
|
|
</view>
|
|
<view class="bottom text-overflowRows">
|
|
{{address.address}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/smoothlyOrder/rightIcon.png"
|
|
class="rightIcon" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="product-item" wx:for="{{smoothlyList}}" wx:key="index"
|
|
bindtap="showSkuInfo" data-item="{{item}}" wx:if="{{sommthlyIndex == index}}">
|
|
<image src="{{item.headimg}}" class="product-img" mode="aspectFill"></image>
|
|
<view class="product-content">
|
|
<view class="title-boxs flex-between">
|
|
<view class="title">{{item.title}}</view>
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/smoothlyOrder/right.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="subtitle" wx:if="{{item.sku_name}}">{{item.sku_name}}</view>
|
|
<view class="flex-between">
|
|
<view class="price">{{item.price / 100}}<text
|
|
wx:if="{{item.postMoney > 0}}">(另需运费¥{{item.postMoney / 100}})</text></view>
|
|
<view class="product-btn flex-between">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/combinedLine/del.png"
|
|
bindtap="decreaseSkuNum" data-item="{{item}}" wx:if="{{item.buyNum > 0}}" mode="widthFix" />
|
|
<view wx:else></view>
|
|
<view style="width: 100%;text-align: center;" wx:if="{{item.buyNum > 0}}">{{item.buyNum}}
|
|
</view>
|
|
<view wx:else></view>
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/combinedLine/add.png"
|
|
bindtap="increaseSkuNum" data-item="{{item}}" mode="widthFix" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<address bind:setAddress="setAddress" showSelect="{{false}}" id="addressComp"></address>
|
|
|
|
<!-- <van-popup show="{{showSkuPopup}}" position="bottom" round closeable style="width: 100%;height: 80%;" bind:close="onSkuPopupClose">
|
|
<view class="sku-popup" wx:if="{{showItem}}">
|
|
<view class="sku-name">产品详情</view>
|
|
<view class="sku-content" bindtap="onSkuContentTap">
|
|
<rich-text nodes="{{formateRichText(showItem.content)}}"></rich-text>
|
|
</view>
|
|
</view>
|
|
</van-popup> -->
|
|
</view>
|