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.
 
 
 
 

163 lines
3.4 KiB

<template>
<view class="bg">
<view class="search-box flex-center">
<image src="https://static.ticket.sz-trip.com/tourGuide/images/order/search.png" mode=""></image>
<input :adjust-position="false" type="text" placeholder="输入订单号搜索" v-model="keywords" />
<view class="search-btn" @click="getList">
搜索
</view>
</view>
<calendarVue :isShowLunar="false" @changeDate="getList"></calendarVue>
<view class="box" v-for="(item, index) in list" :key="index">
<view class="box-title">订单详情</view>
<view class="item">
<view class="title">下单日期:</view>
<view class="subtitle">{{item.a}}</view>
</view>
<view class="item">
<view class="title">订单号:</view>
<view class="subtitle">{{item.b}}</view>
</view>
<view class="item">
<view class="title">状态:</view>
<view class="subtitle"><span>{{item.c}}</span></view>
</view>
<view class="item">
<view class="title">产品类型:</view>
<view class="subtitle">{{item.d}}</view>
</view>
<view class="item">
<view class="title">产品名称:</view>
<view class="subtitle">{{item.e}}</view>
</view>
<view class="item">
<view class="title">预定人手机号:</view>
<view class="subtitle">{{item.f}}</view>
</view>
</view>
<view class="empty-text">
暂无订单数据
</view>
</view>
</template>
<script>
import calendarVue from '../../components/calendar.vue';
export default {
components: {calendarVue},
data() {
return {
list: [
{
a: '2024-11-23',
b: 'JD85212456964232',
c: '出票成功',
d: '产品类型产品类型产品类型产品类型 产品类型',
e: '产品名称产品名称产品名称产品名称 产品名称产品名称产品名称产品',
f: '16099998888'
},
{
a: '2024-11-23',
b: 'JD85212456964232',
c: '出票成功',
d: '产品类型产品类型产品类型产品类型 产品类型',
e: '产品名称产品名称产品名称产品名称 产品名称产品名称产品名称产品',
f: '16099998888'
}
],
keywords: ''
}
},
methods: {
getList() {
}
}
}
</script>
<style lang="scss" scoped>
.bg {
background: #F5F5F5;
min-height: 100vh;
padding: 50rpx 26rpx 50rpx;
}
.search-box {
width: 697rpx;
height: 93rpx;
background: #FFFFFF;
border-radius: 47rpx;
padding: 0 40rpx 0 26rpx;
image {
width: 42.67rpx;
height: 42.67rpx;
margin-right: 23rpx;
}
input {
font-weight: 400;
font-size: 27rpx;
color: #717171;
flex: 1;
}
.search-btn {
padding-left: 40rpx;
line-height: 64rpx;
border-left: 1rpx solid #717171;
font-weight: 400;
font-size: 27rpx;
color: #0B898E;
margin-left: 23rpx;
}
}
.box {
padding: 50rpx 26rpx;
background: #FFFFFF;
border-radius: 13rpx;
margin-top: 30rpx;
.box-title {
text-align: center;
font-weight: 500;
font-size: 32rpx;
color: #000000;
}
.item {
margin-top: 20rpx;
display: flex;
.title {
min-width: 200rpx;
font-weight: 500;
font-size: 28rpx;
color: #000000;
}
.subtitle {
font-weight: 500;
font-size: 28rpx;
color: #646464;
span {
color: #96684F;
}
}
}
}
.empty-text {
font-weight: 500;
font-size: 40rpx;
color: #646464;
text-align: center;
margin: 30rpx 0;
}
</style>