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.
396 lines
8.5 KiB
396 lines
8.5 KiB
<template>
|
|
<view class="order">
|
|
<view class="order-hd">
|
|
<view class="item item-on">
|
|
<view class="txt">待付款</view>
|
|
<image class="img1" src="@/static/pay-01.png"></image>
|
|
<image class="img2" src="@/static/pay-02.png"></image>
|
|
</view>
|
|
<view class="item item-on">
|
|
<view class="txt">待接单</view>
|
|
<image class="img1" src="@/static/pay-01.png"></image>
|
|
<image class="img2" src="@/static/pay-02.png"></image>
|
|
</view>
|
|
<view class="item item-on">
|
|
<view class="txt">已接单</view>
|
|
<image class="img1" src="@/static/pay-01.png"></image>
|
|
<image class="img2" src="@/static/pay-02.png"></image>
|
|
</view>
|
|
<view class="item item-on">
|
|
<view class="txt">服务中</view>
|
|
<image class="img1" src="@/static/pay-01.png"></image>
|
|
<image class="img2" src="@/static/pay-02.png"></image>
|
|
</view>
|
|
<view class="item item-on">
|
|
<view class="txt">已完成</view>
|
|
<image class="img1" src="@/static/pay-01.png"></image>
|
|
<image class="img2" src="@/static/pay-02.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="order-bd">
|
|
<view class="tips">订单已创建,请完成支付,尽快享受搭子的乐趣吧!</view>
|
|
<view class="info">
|
|
<image src="@/static/pic.jpg"></image>
|
|
<view class="b">
|
|
<view class="name">李大花陪玩师</view>
|
|
<view class="desc">约玩项目:K歌</view>
|
|
<view class="price">¥369.00/2小时</view>
|
|
</view>
|
|
</view>
|
|
<view class="title">服务信息</view>
|
|
<view class="content">
|
|
<view class="item">
|
|
<view class="fl">联系人</view>
|
|
<view class="fr">李大花</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">见面位置</view>
|
|
<view class="fr">南京市雨花台区</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">详细地址</view>
|
|
<view class="fr">赛虹桥街道</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">见面时间</view>
|
|
<view class="fr">2023-04-13 21:30</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">联系电话</view>
|
|
<view class="fr">13058689368</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">微信号</view>
|
|
<view class="fr">13058689368</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">距离陪玩师</view>
|
|
<view class="fr">0.00 KM</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">路费</view>
|
|
<view class="fr">¥0.00</view>
|
|
</view>
|
|
</view>
|
|
<view class="title">订单信息</view>
|
|
<view class="content">
|
|
<view class="item">
|
|
<view class="fl">订单编号</view>
|
|
<view class="fr">5689687899658956</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">下单时间</view>
|
|
<view class="fr">2023-04-13 21:32:22</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">支付时间</view>
|
|
<view class="fr">2023-04-13 21:32:22</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">支付方式</view>
|
|
<view class="fr">微信支付</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="fl">支付金额</view>
|
|
<view class="fr">¥19.90</view>
|
|
</view>
|
|
</view>
|
|
<view class="title">支付方式</view>
|
|
<view class="pay">
|
|
<view class="item" :class="tabIndex == 1?'item-on':''" @click="tabItem(1)">
|
|
<view class="a"><image src="@/static/wxpay.png"></image>微信支付</view>
|
|
<view class="b">
|
|
<image class="img1" src="@/static/icon-check.png"></image>
|
|
<image class="img2" src="@/static/icon-check-on.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="item" :class="tabIndex == 2?'item-on':''" @click="tabItem(2)">
|
|
<view class="a"><image src="@/static/zfb.png"></image>支付宝支付</view>
|
|
<view class="b">
|
|
<image class="img1" src="@/static/icon-check.png"></image>
|
|
<image class="img2" src="@/static/icon-check-on.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="order-fd">
|
|
<view class="a">合计:¥5.00</view>
|
|
<view class="b">
|
|
<view class="btn btn-on">立即支付</view>
|
|
</view>
|
|
</view> -->
|
|
<view class="order-fd">
|
|
<view class="b">
|
|
<view class="btn">申请退款</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
tabIndex: 1
|
|
};
|
|
},
|
|
methods: {
|
|
tabItem(i){
|
|
this.tabIndex = i;
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.order{
|
|
padding-bottom: 120rpx;
|
|
overflow: hidden;
|
|
&-fd{
|
|
width: 100%;
|
|
height: 100rpx;
|
|
background: #FFFFFF;
|
|
border: 1px solid #EAEAEA;
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 21;
|
|
padding: 0 25rpx;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.a{
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #222222;
|
|
}
|
|
.b{
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
.btn{
|
|
width: 260rpx;
|
|
height: 68rpx;
|
|
border-radius: 68rpx;
|
|
text-align: center;
|
|
line-height: 68rpx;
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
text-align: center;
|
|
background: #FFFFFF;
|
|
border: 1px solid #999999;
|
|
color: #666666;
|
|
&-on{
|
|
background: linear-gradient(0deg, #000000, #3D3B38);
|
|
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-hd{
|
|
width: 100%;
|
|
background-color: #fff;
|
|
height: 120rpx;
|
|
background: #FFFFFF;
|
|
display: flex;
|
|
align-items: center;
|
|
.item{
|
|
width: 20%;
|
|
height: 120rpx;
|
|
padding-top: 30rpx;
|
|
box-sizing: border-box;
|
|
float: left;
|
|
text-align: center;
|
|
position: relative;
|
|
.txt{
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #999999;
|
|
}
|
|
image{
|
|
margin: 0 auto;
|
|
position: relative;
|
|
&.img1{
|
|
width: 12rpx;
|
|
height: 12rpx;
|
|
display: block;
|
|
top: 20rpx;
|
|
}
|
|
&.img2{
|
|
display: none;
|
|
}
|
|
}
|
|
&::after{
|
|
content: "";
|
|
width: 110rpx;
|
|
height: 2rpx;
|
|
background-color: #CCCCCC;
|
|
position: absolute;
|
|
left: 50%;
|
|
margin-left: 20rpx;
|
|
bottom: 30rpx;
|
|
z-index: 2;
|
|
}
|
|
&:last-child::after{
|
|
content: "";
|
|
background-color: transparent;
|
|
}
|
|
&-on{
|
|
.txt{
|
|
color: #212121;
|
|
}
|
|
image{
|
|
&.img1{
|
|
display: none;
|
|
}
|
|
&.img2{
|
|
width: 23rpx;
|
|
height: 23rpx;
|
|
display: block;
|
|
top: 15rpx;
|
|
}
|
|
}
|
|
&::after{
|
|
content: "";
|
|
background-color: #000;
|
|
}
|
|
&:last-child::after{
|
|
content: "";
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-bd{
|
|
padding: 25rpx;
|
|
overflow: hidden;
|
|
.title{
|
|
margin-top: 35rpx;
|
|
font-weight: 500;
|
|
font-size: 32rpx;
|
|
color: #222222;
|
|
}
|
|
.pay{
|
|
padding: 0 30rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
margin-top: 20rpx;
|
|
.item{
|
|
padding: 30rpx 0;
|
|
border-bottom: 1px solid #EAEAEA;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-weight: 400;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
.a{
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
image{
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
.b{
|
|
image{
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
.img1{
|
|
display: block;
|
|
}
|
|
.img2{
|
|
display: none;
|
|
}
|
|
}
|
|
&-on{
|
|
.b{
|
|
.img1{
|
|
display: none;
|
|
}
|
|
.img2{
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.content{
|
|
background: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
margin-top: 20rpx;
|
|
padding: 10rpx 30rpx;
|
|
box-sizing: border-box;
|
|
.item{
|
|
padding: 20rpx 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.fl{
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #999999;
|
|
}
|
|
.fr{
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #222222;
|
|
}
|
|
}
|
|
}
|
|
.tips{
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #222222;
|
|
}
|
|
.info{
|
|
height: 210rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 30rpx 25rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
margin-top: 25rpx;
|
|
image{
|
|
width: 150rpx;
|
|
height: 150rpx;
|
|
border-radius: 10rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
.b{
|
|
flex: 1;
|
|
.name{
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
line-height: 46rpx;
|
|
}
|
|
.desc{
|
|
font-weight: 500;
|
|
font-size: 26rpx;
|
|
color: #999999;
|
|
margin-top: 20rpx;
|
|
}
|
|
.price{
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #222222;
|
|
margin-top: 20rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|