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.
94 lines
4.3 KiB
94 lines
4.3 KiB
<!--pages/task/task-detail/index.wxml-->
|
|
<!-- <wxs module="mall" src="../index.wxs"></wxs> -->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="backText">返回</view>
|
|
<view slot="content" style="color:black;font-size:18px">确认订单</view>
|
|
</cu-custom>
|
|
|
|
<view style="padding:48rpx 32rpx">
|
|
|
|
<view wx:if="{{addressInfo}}" class="header-box flex flex-justify" style="padding:32rpx" bindtap="chooseAddress">
|
|
<view class="flex flex-center">
|
|
<image style="width:60rpx;height:60rpx" src="/assets/image/icon_address.png"></image>
|
|
<view style="margin-left:18rpx">
|
|
<view style="color:black;font-size:14px">{{addressInfo.userName}}</view>
|
|
<view style="color:gray;font-size:12px">{{addressInfo.provinceName + addressInfo.cityName + addressInfo.countyName + addressInfo.detailInfo}}</view>
|
|
</view>
|
|
</view>
|
|
<text class="cuIcon-right text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
<view wx:else class="header-box flex flex-justify" style="padding:32rpx" bindtap="chooseAddress">
|
|
<view class="flex flex-center">
|
|
<image style="width:30rpx;height:30rpx" src="/assets/image/icon_address.png"></image>
|
|
<view style="margin-left:18rpx">地址收货选择</view>
|
|
</view>
|
|
<text class="cuIcon-right text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
|
|
<view class="margin-top header-box" style="padding:32rpx">
|
|
<view class="flex content">
|
|
<wux-image shape="offer" width="{{60}}" height="{{60}}" src="{{form.litimgUrl}}">
|
|
<text class="icon--refresher" slot="loading"></text>
|
|
</wux-image>
|
|
<view style="flex:1;margin-left:24rpx">
|
|
<view class="page-name">{{form.name}}</view>
|
|
<view class="page-num" style="height:60rpx">{{form.summary}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:60rpx;margin-top:12rpx">
|
|
<view class="offer-label">商品单价</view>
|
|
<view class="offer-val">¥{{form.unitPrice}}</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:60rpx">
|
|
<view class="offer-label">商品单位</view>
|
|
<view class="offer-val">{{form.unit}}</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:60rpx">
|
|
<view class="offer-label">购买数量</view>
|
|
<view class="offer-val">{{form.number}}</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:60rpx">
|
|
<view class="offer-label">运费</view>
|
|
<view class="offer-val">¥{{form.dividePrice}}</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:60rpx">
|
|
<view class="offer-label" style="color:#333333;font-size:14px">应付金额</view>
|
|
<view class="offer-val" style="color:#008AFF;font-size:14px">¥{{form.totalPrice}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="margin-top header-box" style="padding:32rpx">
|
|
<view class="flex flex-center item_border" style="justify-content: flex-start">
|
|
<text class="cuIcon-titles text-blue"></text>
|
|
<view style="color:black;font-size:16px">付款方式</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:80rpx" data-index="1" bindtap="checkMode">
|
|
<view class="flex align-end">
|
|
<text>预付定金</text>
|
|
<text class="offer-hint" style="margin-left:10rpx">预付款50%,余款货到付款</text>
|
|
</view>
|
|
<text class="cuIcon-{{form.payType==1?'roundcheckfill':'roundcheck'}} text-{{form.payType==1?'blue':'grey'}}" style="font-size:18px"></text>
|
|
</view>
|
|
<view class="flex flex-justify" style="height:80rpx" data-index="2" bindtap="checkMode">
|
|
<view>货到付款</view>
|
|
<text class="cuIcon-{{form.payType==2?'roundcheckfill':'roundcheck'}} text-{{form.payType==2?'blue':'grey'}}" style="font-size:18px"></text>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view style="height:120rpx"></view>
|
|
|
|
<view class="cu-bar bg-white foot flex flex-justify" style="height:120rpx;box-shadow: 0 0rpx 0rpx rgba(0, 0, 0, 0);padding:32rpx">
|
|
<button class="action" open-type="contact" style="background-color: #fff;border-radius: 0;margin-left:-20rpx">
|
|
<image style="width:48rpx;height:48rpx" src="/assets/image/icon_kefu.png"></image>
|
|
</button>
|
|
<view class="flex align-end">
|
|
<view class="text-gray" style="font-size:12px">共{{form.number}}{{form.unit}}</view>
|
|
<view class="text-black" style="font-size:14px">合计:</view>
|
|
<view class="text-blue" style="font-size:14px">¥{{form.totalPrice}}</view>
|
|
<button class="cu-btn offer-btn" bindtap="offerProject">立即购买</button>
|
|
</view>
|
|
</view>
|
|
|
|
<wux-dialog id="wux-dialog" />
|