175 lines
4.2 KiB
Vue
175 lines
4.2 KiB
Vue
<template>
|
||
<view class="page">
|
||
<u-navbar title="运维工单明细" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" title-size='36' height='50'></u-navbar>
|
||
<view class="box">
|
||
<view class="nav">
|
||
<view class="top">
|
||
<u-search placeholder="搜索" input-align="center" v-model="keyword"></u-search>
|
||
</view>
|
||
<view class="date">
|
||
<text @click="btnks(1)">{{selector}}</text> -- <text @click="btnks(2)">{{selectors}}</text>
|
||
</view>
|
||
<u-picker mode="time" v-model="show" :params="params" @confirm="confirm"></u-picker>
|
||
</view>
|
||
|
||
<view class="listorder" v-for="(item,index) in 6" :key="index">
|
||
<view class="bh">
|
||
<text style="margin-top: 8rpx;" class="bhtit">柜机编号:</text>
|
||
<view style="display: flex;justify-content: space-between;width: 480rpx;"><view>SDFGA5452168437113123 <u-icon name="file-text" size="38"></u-icon> </view>
|
||
<!-- <view @click="btnnav"> <text class="yuan"></text><text class="yuan"></text><text class="yuan"></text> </view> -->
|
||
</view>
|
||
</view>
|
||
<view class="bh">
|
||
<text class="bhtit">店铺名称:</text> <text>嵛山阿财(海岛山羊肉)</text>
|
||
</view>
|
||
<view class="bh">
|
||
<text class="bhtit">孔位类型:</text> <text>8口</text>
|
||
</view>
|
||
<view class="bh">
|
||
<text class="bhtit">店铺地址:</text> <text>福鼎市天湖路37号附近中汇广场</text>
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
selector: '2024-4-9',
|
||
selectors: '2024-4-9',
|
||
show: false,
|
||
params: {
|
||
year: true,
|
||
month: true,
|
||
day: true,
|
||
hour: false,
|
||
minute: false,
|
||
second: false
|
||
},
|
||
bgc: {
|
||
backgroundColor: " #25CE88 ",
|
||
},
|
||
}
|
||
},
|
||
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
|
||
}
|
||
},
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
/deep/ .u-title,
|
||
/deep/ .uicon-nav-back {
|
||
padding-bottom: 22rpx;
|
||
}
|
||
page {
|
||
// background: linear-gradient(180deg, #25CE88 0%, rgba(255, 255, 255, 0) 100%);
|
||
}
|
||
|
||
.page {
|
||
width: 750rpx;
|
||
.box {
|
||
width: 750rpx;
|
||
background: #F4F5F7;
|
||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||
.listorder{
|
||
margin-top: 32rpx;
|
||
width: 680rpx;
|
||
height: 286rpx;
|
||
background-color: #fff;
|
||
border-radius: 30rpx;
|
||
padding: 32rpx;
|
||
box-sizing: border-box;
|
||
margin: auto;
|
||
margin-top: 30rpx;
|
||
.bh{
|
||
height: 40rpx;
|
||
line-height: 40rpx;
|
||
display: flex;
|
||
// justify-content: space-between;
|
||
margin-top: 18rpx;
|
||
font-size: 24rpx;
|
||
color: #808080;
|
||
line-height: 32rpx;
|
||
.bhtit{
|
||
width: 160rpx;
|
||
font-size: 28rpx;
|
||
color: #3D3D3D;
|
||
}
|
||
.yuan{
|
||
width: 9rpx;
|
||
height: 9rpx;
|
||
border-radius: 50%;
|
||
background-color: #808080;
|
||
display: inline-block;
|
||
margin-right: 5rpx;
|
||
}
|
||
}
|
||
}
|
||
.nav {
|
||
.top {
|
||
width: 750rpx;
|
||
height: 136rpx;
|
||
background: #FFFFFF;
|
||
padding: 32rpx 36rpx;
|
||
box-sizing: border-box;
|
||
|
||
/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;
|
||
width: 750rpx;
|
||
height: 70rpx;
|
||
background: #FFFFFF;
|
||
margin-bottom: 36rpx;
|
||
|
||
text {
|
||
padding: 6rpx 18rpx;
|
||
box-sizing: border-box;
|
||
background: #eee;
|
||
height: 46rpx;
|
||
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
||
font-size: 24rpx;
|
||
color: #808080;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</style> |