218 lines
4.6 KiB
Vue
218 lines
4.6 KiB
Vue
<template>
|
||
<view class="page">
|
||
<u-navbar :title="title" :border-bottom="false" :background="bgc" title-color='#000' title-size='36'
|
||
height='58'></u-navbar>
|
||
<view class="box">
|
||
<view class="top">
|
||
<u-search placeholder="搜索" input-align="center" v-model="keyword"></u-search>
|
||
</view>
|
||
<u-picker mode="time" v-model="show" :params="params" @confirm="confirm"></u-picker>
|
||
<view class="date">
|
||
<text @click="btnks(1)">{{selector}}</text> -- <text @click="btnks(2)">{{selectors}}</text>
|
||
</view>
|
||
|
||
<view class="list" v-for="(item,index) in 3" :key="index" @click="btnxq">
|
||
<view class="tops">
|
||
<view class="" style="font-size: 32rpx;color: #3D3D3D;">SDFGA5452168437113123 <u-icon name="file-text"></u-icon></view>
|
||
<view class=""><u-icon name="arrow-right"></u-icon></view>
|
||
</view>
|
||
<view class="list_val">
|
||
<view class="wz">
|
||
租借店铺
|
||
</view>
|
||
<view class="gl" style="color: #1DBE7B;">
|
||
金水湾
|
||
</view>
|
||
</view>
|
||
<view class="list_val">
|
||
<view class="wz">
|
||
租借时间
|
||
</view>
|
||
<view class="gl">
|
||
2024-04-10 14:10:48
|
||
</view>
|
||
</view>
|
||
<view class="list_val">
|
||
<view class="wz">
|
||
手机号码
|
||
</view>
|
||
<view class="gl">
|
||
12345678978
|
||
</view>
|
||
</view>
|
||
<view class="list_val">
|
||
<view class="wz">
|
||
订单时长
|
||
</view>
|
||
<view class="gl">
|
||
-
|
||
</view>
|
||
</view>
|
||
<view class="list_val">
|
||
<view class="wz">
|
||
代理信息
|
||
</view>
|
||
<view class="gl">
|
||
嘻嘻(20921)
|
||
</view>
|
||
</view>
|
||
<view class="je">
|
||
<view class="" style="font-size: 32rpx;color: #3D3D3D;">
|
||
订单金额 <text style="font-size: 28rpx;color: #FF8157;display: inline-block;margin-left: 10rpx;">0.00</text>
|
||
</view>
|
||
<view class="" style="font-size: 28rpx;color: #FF8157;">
|
||
租借中
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
title: '',
|
||
bgc: {
|
||
background: '#25CE88'
|
||
},
|
||
params: {
|
||
year: true,
|
||
month: true,
|
||
day: true,
|
||
hour: false,
|
||
minute: false,
|
||
second: false
|
||
},
|
||
show: false,
|
||
selector: '2024-4-9',
|
||
selectors: '2024-4-9',
|
||
num: '',
|
||
}
|
||
},
|
||
onLoad(option) {
|
||
this.title = option.title
|
||
},
|
||
methods: {
|
||
btnks(num) {
|
||
this.show = true
|
||
if (num == 1) {
|
||
this.num = 1
|
||
} else {
|
||
this.num = 2
|
||
}
|
||
},
|
||
confirm(e) {
|
||
if (this.num == 1) {
|
||
this.selector = e.year + '-' + e.month + '-' + e.day
|
||
} else {
|
||
this.selectors = e.year + '-' + e.month + '-' + e.day
|
||
}
|
||
},
|
||
btnxq(){
|
||
uni.navigateTo({
|
||
url:'/page_user/order/xiangqing'
|
||
})
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
/deep/ .u-title,
|
||
/deep/ .uicon-nav-back {
|
||
padding-bottom: 40rpx;
|
||
}
|
||
page {}
|
||
|
||
.page {
|
||
width: 750rpx;
|
||
.box {
|
||
width: 750rpx;
|
||
height: 100%;
|
||
padding-bottom: 200rpx;
|
||
background: #F4F5F7;
|
||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||
.list{
|
||
width: 680rpx;
|
||
height: 490rpx;
|
||
background: #FFFFFF;
|
||
border-radius: 38rpx 38rpx 38rpx 38rpx;
|
||
padding: 32rpx 42rpx;
|
||
box-sizing: border-box;
|
||
margin: auto;
|
||
margin-bottom: 30rpx;
|
||
.je{
|
||
border-top: 1px solid #D8D8D8;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
padding-top: 20rpx;
|
||
margin-top: 20rpx;
|
||
box-sizing: border-box;
|
||
}
|
||
.list_val{
|
||
display: flex;
|
||
justify-content: space-between;
|
||
margin-top: 28rpx;
|
||
.wz{
|
||
font-size: 24rpx;
|
||
color: #808080;
|
||
}
|
||
.gl{
|
||
font-size: 24rpx;
|
||
color: #3D3D3D;
|
||
}
|
||
}
|
||
.tops{
|
||
display: flex;
|
||
justify-content: space-between;
|
||
width: 100%;
|
||
border-bottom: 1px solid #D8D8D8;
|
||
padding-bottom: 20rpx;
|
||
}
|
||
}
|
||
.top {
|
||
padding: 28rpx 32rpx;
|
||
box-sizing: border-box;
|
||
background-color: #fff;
|
||
|
||
/deep/ .u-content {
|
||
border: 1px solid #ccc;
|
||
border-radius: 50rpx 0 0 50rpx !important;
|
||
}
|
||
|
||
/deep/ .u-action {
|
||
border-radius: 0 50rpx 50rpx 0 !important;
|
||
width: 112rpx;
|
||
height: 65rpx;
|
||
line-height: 65rpx;
|
||
border: 2rpx solid #ccc;
|
||
margin-left: 0;
|
||
color: #3D3D3D;
|
||
background-color: #f2f2f2;
|
||
}
|
||
}
|
||
|
||
.date {
|
||
padding-left: 80rpx;
|
||
padding-right: 80rpx;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
background-color: #fff;
|
||
padding-bottom: 40rpx;
|
||
margin-bottom: 26rpx;
|
||
text {
|
||
padding: 6rpx 18rpx;
|
||
box-sizing: border-box;
|
||
background: #eee;
|
||
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
||
font-size: 24rpx;
|
||
color: #808080;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</style> |