2024-05-10 17:37:36 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="pages">
|
2024-07-27 18:43:42 +08:00
|
|
|
|
<u-navbar title="订单管理" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff"
|
|
|
|
|
title-size='36' height='50'></u-navbar>
|
|
|
|
|
<view class="time">
|
|
|
|
|
<view class="timetit">
|
|
|
|
|
时间范围
|
|
|
|
|
</view>
|
|
|
|
|
<view class="timert">
|
|
|
|
|
<view class="xztime"></view> - <view class="xztime"></view>
|
|
|
|
|
<view class="qinc">×</view>
|
2024-05-10 17:37:36 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-27 18:43:42 +08:00
|
|
|
|
|
|
|
|
|
<view class="serch">
|
|
|
|
|
<input type="text" placeholder="请输入SN码或手机号" />
|
|
|
|
|
<view class="">搜索</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-10 17:37:36 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
bgc: {
|
2024-07-27 18:43:42 +08:00
|
|
|
|
backgroundColor: "#8883F0",
|
2024-05-10 17:37:36 +08:00
|
|
|
|
},
|
|
|
|
|
list: [{
|
2024-07-27 18:43:42 +08:00
|
|
|
|
name: '待收货'
|
|
|
|
|
}, {
|
|
|
|
|
name: '待付款'
|
|
|
|
|
}, {
|
|
|
|
|
name: '待评价',
|
|
|
|
|
}],
|
|
|
|
|
current: 0
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
2024-07-27 18:43:42 +08:00
|
|
|
|
|
2024-05-10 17:37:36 +08:00
|
|
|
|
},
|
2024-07-17 17:59:51 +08:00
|
|
|
|
// 分享到好友(会话)
|
2024-07-27 18:43:42 +08:00
|
|
|
|
onShareAppMessage: function() {
|
|
|
|
|
return {
|
|
|
|
|
title: '创想物联',
|
|
|
|
|
path: '/pages/shouye/index'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 分享到朋友圈
|
|
|
|
|
onShareTimeline: function() {
|
|
|
|
|
return {
|
|
|
|
|
title: '创想物联',
|
|
|
|
|
query: '',
|
|
|
|
|
path: '/pages/shouye/index'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
change(index) {
|
|
|
|
|
this.current = index;
|
|
|
|
|
}
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
2024-07-27 18:43:42 +08:00
|
|
|
|
/deep/ .u-title {
|
|
|
|
|
padding-bottom: 22rpx;
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-07-27 18:43:42 +08:00
|
|
|
|
/deep/ .u-icon__icon {
|
|
|
|
|
padding-bottom: 22rpx;
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
2024-07-27 18:43:42 +08:00
|
|
|
|
|
|
|
|
|
.serch {
|
2024-05-10 17:37:36 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2024-07-27 18:43:42 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
// margin-top: 30rpx;
|
|
|
|
|
padding: 0 40rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
// margin-bottom: 30rpx;
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
line-height: 60rpx;
|
|
|
|
|
padding-left: 50rpx;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-radius: 10rpx;
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
2024-07-27 18:43:42 +08:00
|
|
|
|
|
|
|
|
|
view {
|
|
|
|
|
width: 170rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
line-height: 60rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-color: #8883F0;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
margin-left: 30rpx;
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-27 18:43:42 +08:00
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
// margin-top: 50rpx;
|
|
|
|
|
height: 110rpx;
|
|
|
|
|
padding-top: 40rpx !important;
|
|
|
|
|
padding: 0 40rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
.timetit {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timert {
|
2024-05-10 17:37:36 +08:00
|
|
|
|
display: flex;
|
2024-07-27 18:43:42 +08:00
|
|
|
|
line-height: 60rpx;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
|
|
.xztime {
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.qinc {
|
|
|
|
|
font-size: 50rpx;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
width: 80rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
text-align: center;
|
2024-05-10 17:37:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-27 18:43:42 +08:00
|
|
|
|
|
|
|
|
|
page {
|
|
|
|
|
background-color: #F7FAFE !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pages {
|
|
|
|
|
// padding: 0 40rpx;
|
|
|
|
|
// box-sizing: border-box;
|
|
|
|
|
}
|
2024-05-10 17:37:36 +08:00
|
|
|
|
</style>
|