连云港陪玩陪聊
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.
 
 
 
 
 
 
chunwan/pages/users/order/index.vue

174 lines
4.1 KiB

<template>
<view class="order">
<view class="order-tab">
<u-tabs :list="list" :is-scroll="false" active-color="#222222" inactive-color="#666666" font-size="28" :active-item-style="activeStyle" bar-height="6" bar-width="60" v-model="current" @change="changeTabs"></u-tabs>
</view>
<view class="order-list">
<view class="item">
<view class="a">订单号:789658236589<text>待付款</text></view>
<view class="b">
<image src="@/static/pic.jpg"></image>
<view class="info">
<view class="name">李大花陪玩师</view>
<view class="desc">约玩项目:K歌</view>
<view class="price">¥369.00/2小时</view>
</view>
</view>
<view class="c">
<view class="btn">取消订单</view>
<view class="btn btn-01">立即支付</view>
</view>
</view>
<view class="item">
<view class="a">订单号:789658236589<text>服务中</text></view>
<view class="b">
<image src="@/static/pic.jpg"></image>
<view class="info">
<view class="name">李大花陪玩师</view>
<view class="desc">约玩项目:K歌</view>
<view class="price">¥369.00/2小时</view>
</view>
</view>
<view class="c">
<view class="btn btn-01">服务完成</view>
</view>
</view>
<view class="item">
<view class="a">订单号:789658236589<text>待接单</text></view>
<view class="b">
<image src="@/static/pic.jpg"></image>
<view class="info">
<view class="name">李大花陪玩师</view>
<view class="desc">约玩项目:K歌</view>
<view class="price">¥369.00/2小时</view>
</view>
</view>
<view class="c">
<view class="btn">申请退款</view>
</view>
</view>
<view class="item">
<view class="a">订单号:789658236589<text>已完成</text></view>
<view class="b">
<image src="@/static/pic.jpg"></image>
<view class="info">
<view class="name">李大花陪玩师</view>
<view class="desc">约玩项目:K歌</view>
<view class="price">¥369.00/2小时</view>
</view>
</view>
<view class="c">
<view class="btn">删除订单</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
show: true,
payIndex: 0,
current: 0,
list:[{'name': '全部'},{'name': '待付款'},{'name': '待接单'},{'name': '已接单'},{'name': '服务中'},{'name': '已完成'}],
activeStyle:{'fontSize': '30rpx'}
};
},
methods: {
changeTabs(index){
this.current = index
},
}
}
</script>
<style scoped lang="scss">
.order{
&-tab{
width: 100%;
}
&-list{
padding: 0 25rpx 25rpx;
overflow: hidden;
.item{
width: 100%;
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 20rpx;
overflow: hidden;
.a{
height: 84rpx;
padding: 0 25rpx;
line-height: 84rpx;
font-weight: 500;
font-size: 28rpx;
color: #666666;
border-bottom: 1px solid #EAEAEA;
text{
float: right;
color: #222222;
}
}
.c{
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 25rpx 25rpx;
overflow: hidden;
.btn{
width: 161rpx;
line-height: 61rpx;
background: #FFFFFF;
border-radius: 61rpx;
border: 1px solid #999999;
margin-left: 20rpx;
font-weight: 500;
font-size: 24rpx;
color: #666666;
text-align: center;
&-01{
background: linear-gradient(0deg, #000000, #3D3B38);
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
color: #FFFFFF;
}
}
}
.b{
padding: 30rpx 25rpx;
display: flex;
align-items: center;
image{
width: 150rpx;
height: 150rpx;
border-radius: 10rpx;
margin-right: 20rpx;
}
.info{
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>