This commit is contained in:
kbing1981 2024-07-17 16:12:44 +08:00
parent 41dc6a562f
commit 66b1012301
2 changed files with 85 additions and 41 deletions

View File

@ -38,30 +38,29 @@
<view class="ske-padding margin-top-sm header-view"> <view class="ske-padding margin-top-sm header-view">
<view v-if="!detailaddress">请选择地址</view> <view v-if="!detailaddress">请选择地址</view>
<view class="margin-right-xs"> <view class="margin-right-xs">
<view class="flex justify-between margin-top-lg"> <view class="jusitify-line">
<view class="header-view-text">联系人</view> <view class="line-word">联系人</view>
<view class="header-view-data"> <view class="line-word-r" >
<text>{{name}}</text> <text>{{name}}</text>
<text class="xuanzhe" @click="getAddressList()">修改</text> <text class="xuanzhe" @click="getAddressList()">修改</text>
</view> </view>
</view> </view>
<view class="flex justify-between margin-top-lg"> <view class="jusitify-line">
<view class="header-view-text">手机号码</view> <view class="line-word">手机号码</view>
<view class="header-view-data"> <view class="line-word-r">
{{mobile}} {{mobile}}
</view> </view>
</view> </view>
<view class="flex justify-between margin-top-lg"> <view class="jusitify-line">
<view class="header-view-text">详细地址</view> <view class="line-word">详细地址</view>
<view class="flex adders-view"> <view class="line-word-r" style="width: 73%; text-align: right;">
<span> <span>
{{province}}/{{city}}/{{district}}/{{detailaddress}} {{province}}/{{city}}/{{district}}/{{detailaddress}}
</span> </span>
<span class="view-more"></span>
</view> </view>
</view> </view>
<view class="flex justify-between margin-top-lg" v-if="order.remark"> <view class="jusitify-line" v-if="order.remark">
<view style="width: 170rpx;">备注内容</view> <view class="line-word">备注内容</view>
<view class="flex"> <view class="flex">
<view class=""> <view class="">
{{order.remark}} {{order.remark}}
@ -145,8 +144,10 @@
</view> </view>
<view class="push-button">
<view class="pay_btn" @click="openpay()">去支付</view>
</view>
<view class="pay_btn" @click="openpay()"><span class="pay-btns">去支付</span></view>
</view> </view>
<!-- <u-skeleton :loading="loading" :animation="true" bgColor="#FFF"></u-skeleton> --> <!-- <u-skeleton :loading="loading" :animation="true" bgColor="#FFF"></u-skeleton> -->
@ -1324,6 +1325,24 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.jusitify-line{
height: 78rpx;
padding: 20rpx 0;
font-size: 30rpx;
display: flex;
justify-content: space-between;
}
.jusitify-line-end{
height:1px;
border-bottom: 1px #e5e5e5 solid;
margin: 30rpx 0;
}
.line-word{
color: #999;
}
.line-word-r{
color: #333;
}
.head-bottom{ .head-bottom{
width: 68%; width: 68%;
display: flex; display: flex;
@ -1983,16 +2002,28 @@
} }
.pay_btn { .push-button{
width: 100%; width: 100%;
height: 50px; height: 48px;
position: fixed; position: fixed;
bottom: 0px; bottom: 0px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
z-index: 666; margin: 0 auto;
} }
.pay_btn{
display: inline-block;
width: 92%;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
}
.pay-btns{ .pay-btns{
display: inline-block; display: inline-block;
width: 94%; width: 94%;

View File

@ -129,8 +129,10 @@
</view> </view>
<view style="height: 100rpx;"></view> <view style="height: 100rpx;"></view>
</view> </view>
<view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)"> <view class="push-button">
立即预约 <view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)">
立即预约
</view>
</view> </view>
</view> </view>
</template> </template>
@ -282,19 +284,27 @@
color: #fff; color: #fff;
position: absolute; position: absolute;
} }
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.detail-btn{ .detail-btn{
width:95%; display: inline-block;
height: 92rpx; width: 92%;
line-height: 92rpx; text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495); background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx; height: 40px;
margin: 0 auto; border-radius: 28px;
text-align: center; color: #ffffff;
font-weight: 400; line-height: 40px;
font-size: 32rpx; margin-top: 4px;
color: #FFFFFF; font-size: 34rpx;
position: fixed;
bottom: 0;
} }
.detail-foot-mian-txet span:nth-child(1){ .detail-foot-mian-txet span:nth-child(1){
color: #777777; color: #777777;
@ -571,16 +581,19 @@
flex-direction: row; flex-direction: row;
align-items: flex-end; align-items: flex-end;
} }
.header-bottom-title-num span{ .header-bottom-title-num{
font-weight: bold; display: flex;
font-size: 25rpx; align-items: flex-end;
} }
.header-bottom-title-num span:nth-child(1){ .header-bottom-title-num span:nth-child(1){
font-size: 30rpx;
color: #08A28A; color: #08A28A;
font-weight: bold;
} }
.header-bottom-title-num span:nth-child(2){ .header-bottom-title-num span:nth-child(2){
color: #848485; color: #848485;
margin-left: 5px; margin-left:2px;
font-size: 26rpx;
} }
.header-bottom-title-text{ .header-bottom-title-text{
font-size: 35rpx; font-size: 35rpx;