下单页完成

This commit is contained in:
aihe 2023-12-05 13:20:55 +08:00
parent 82cb7fe7f1
commit 9860a3351f
3 changed files with 221 additions and 177 deletions

View File

@ -129,6 +129,9 @@
bottom: 0; bottom: 0;
} }
page{
// font-size: 22rpx;
}
.pos-rlt{ .pos-rlt{
position: relative; position: relative;
} }
@ -160,7 +163,7 @@
} }
} }
.smp-tag{ .smp-tag{
margin: 20rpx 20rpx 0 0;display: inline-block; margin: 0 20rpx 20rpx 0; display: inline-block;
} }
/************* 动画 /**************/ /************* 动画 /**************/

View File

@ -1,4 +1,7 @@
<template> <template>
<view style="display: flex;height: 100%;flex-direction: column;">
<view class="pos-rlt" style="flex: 1;">
<view class="pos-abt-all" style="overflow-y: auto;">
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;"> <view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
<view class="blcok" style="background-color: #0E0708;"> <view class="blcok" style="background-color: #0E0708;">
<u-row> <u-row>
@ -164,14 +167,51 @@
</view> </view>
<view class="com-section mt-30">给快递员捎话</view> <view class="com-section mt-30">给快递员捎话</view>
<view class="blcok-white" style="padding-top: 10rpx;"> <view class="blcok-white">
<view class="smp-tag" v-for="(item, index) in tipsList"> <view class="smp-tag" v-for="(item, index) in tipsList">
<u-tag :text="`${item.title}`" :plain="!item.checked" type="info" shape="circle" :bg-color="`${item.checked?'#de524e':''}`" <u-tag :text="`${item.title}`" :plain="!item.checked" type="info" shape="circle" :bg-color="`${item.checked?'#de524e':''}`"
@click="handleCheckBoxClick(item)"> @click="handleCheckBoxClick(item)">
</u-tag> </u-tag>
</view> </view>
{{submitParam.otherDes}}
<u-textarea v-model="submitParam.otherDes" border="surround" height="160" placeholder="其他说明" maxlength="50" count></u-textarea> <u-textarea v-model="submitParam.otherDes" border="surround" height="160" placeholder="其他说明" maxlength="50" count></u-textarea>
<u-line margin="20rpx 0 10rpx 0"></u-line>
<u-row justify="between">
<u-text text="您的专属快递员" size="22" color="#999"></u-text>
<u-row>
<u-text text="李晓" size="28" :bold="true" margin="0 30rpx 0 0"></u-text>
<view>
<u-avatar size="50" :src="''"></u-avatar>
</view>
</u-row>
</u-row>
</view>
</view>
</view>
</view>
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
<u-row justify="between">
<view>
<u-row>
<u-checkbox size="22" labelSize="22" v-model="agreePrivateRule" label="我已同意接受" label-color=":#999" activeColor="#B12D29"></u-checkbox>
<view class="pl-10">
<u-text text="《快件运单契约条款》" size="22" ></u-text>
</view>
</u-row>
<u-row custom-style="margin: 10rpx 0 0 0">
<view class="mr-10">
<u-text text="预估" :bold="true" size="28" ></u-text>
</view>
<u-text :text="80" mode="price" color="#B12D29" :bold="true" size="28" ></u-text>
</u-row>
<u-text margin="10rpx 0 0 0" text="温馨提示:具体费用以快递小哥核实为准" color="#999" size="22" ></u-text>
</view>
<u-row>
<u-button size="large" shape="circle" custom-style="width: 200rpx;height:80rpx;" type="primary">下单</u-button>
</u-row>
</u-row>
</view> </view>
</view> </view>
<!-- 日历 --> <!-- 日历 -->
@ -205,6 +245,7 @@
{ title: '来前电话', val: 3}, { title: '来前电话', val: 3},
], ],
showCladar: false, showCladar: false,
agreePrivateRule: false,
submitParam: { submitParam: {
type: 1, type: 1,
otherDes: '' otherDes: ''

View File

@ -38,9 +38,9 @@
<view class="smp-body slideInDown animated fast"> <view class="smp-body slideInDown animated fast">
<view class="smp-content"> <view class="smp-content">
<view class="pos-abt-all" style="overflow-y: auto;"> <view class="pos-abt-all" style="overflow-y: auto;">
<view style="padding-bottom: 30rpx;"> <view style="padding: 0 0 30rpx 0">
<view> <view>
<u-text text="快递状态" size="28" :bold="true"></u-text> <u-text text="快递状态" size="28" :bold="true" margin="0 0 20rpx 0"></u-text>
<view class="smp-tag" v-for="(dItem, dIndex) in dlvTypeList"> <view class="smp-tag" v-for="(dItem, dIndex) in dlvTypeList">
<u-tag :text="`${dItem.title}`" :plain="!dItem.checked" type="info" shape="circle" :bg-color="`${dItem.checked?'#de524e':''}`" :name="dIndex" <u-tag :text="`${dItem.title}`" :plain="!dItem.checked" type="info" shape="circle" :bg-color="`${dItem.checked?'#de524e':''}`" :name="dIndex"
@click="handleCheckBoxClick(dItem)"> @click="handleCheckBoxClick(dItem)">
@ -49,7 +49,7 @@
</view> </view>
<view> <view>
<u-text text="付款方式" size="28" :bold="true" margin="40rpx 0 0 0"></u-text> <u-text text="付款方式" size="28" :bold="true" margin="20rpx 0 20rpx 0"></u-text>
<view class="smp-tag" v-for="(pItem, pIndex) in payTypeList"> <view class="smp-tag" v-for="(pItem, pIndex) in payTypeList">
<u-tag :text="`${pItem.title}`" :plain="!pItem.checked" type="info" shape="circle" :bg-color="`${pItem.checked?'#de524e':''}`" :name="pIndex" <u-tag :text="`${pItem.title}`" :plain="!pItem.checked" type="info" shape="circle" :bg-color="`${pItem.checked?'#de524e':''}`" :name="pIndex"
@click="handleCheckBoxClick(pItem)"> @click="handleCheckBoxClick(pItem)">
@ -58,7 +58,7 @@
</view> </view>
<view> <view>
<u-text text="时间范围" size="28" :bold="true" margin="40rpx 0 0 0"></u-text> <u-text text="时间范围" size="28" :bold="true" margin="20rpx 0 20rpx 0"></u-text>
<view class="smp-tag" v-for="(daItem, daIndex) in dateTypeList" <view class="smp-tag" v-for="(daItem, daIndex) in dateTypeList"
v-show="!(tmpSearchParam.date && dateTypeEnum.custom == daItem.val)" v-show="!(tmpSearchParam.date && dateTypeEnum.custom == daItem.val)"
> >