This commit is contained in:
shidongli 2023-11-14 15:53:48 +08:00
parent 4ad55d3b6d
commit 326919e98a
2 changed files with 100 additions and 89 deletions

View File

@ -1,7 +1,7 @@
<template>
<view class="app">
<view class="content" v-if='tabslist.length>0'>
<view class="" v-if="timecurrent==0">
<view class="toptime" v-if="timecurrent==0">
<span>{{tabslist[0].name}}&nbsp;&nbsp;{{tabslist[0].dates}}</span>
</view>
@ -36,8 +36,7 @@
<view class="bodyitem">
<view class="" v-for="(item ,index) in List[timecurrent].morningList">
<view @tap='taptimemorning(item,index)'
:class="item.status==true?'morningbodytwo':'morningbody'">
<view @tap='taptimemorning(item,index)' :class="item.status==true?'morningbodytwo':'morningbody'">
<span class="spanitem">{{item.scheduleTimeSlot}}</span>
<view class="spanitem" v-if="item.status==false">不可预约</view>
<view class="spanitem" v-else>可预约</view>
@ -52,8 +51,7 @@
</view>
<view class="bodyitem">
<view class="" v-for="(item ,index) in List[timecurrent].afternoonList">
<view @tap='taptimeafter(item,index)'
:class="item.status==true?'bodytwo':'body'">
<view @tap='taptimeafter(item,index)' :class="item.status==true?'bodytwo':'body'">
<span class="spanitem">{{item.scheduleTimeSlot}}</span>
<view class="spanitem" v-if="item.status==false">不可预约</view>
<view class="spanitem" v-else>可预约</view>
@ -567,7 +565,7 @@
border-radius: 5rpx 5rpx 5rpx 0rpx;
::v-deep .u-tabs[data-v-59a86fad] {
padding: 74rpx 0 0 0;
padding: 10rpx 0 0 0;
}
::v-deep .uni-scroll-view,
@ -576,11 +574,17 @@
height: 100%;
}
span {
position: absolute;
position: relative !important;
left: 50%;
transform: translateX(-50%);
top: 1%;
// top: 1%;
margin-top: 14rpx;
display: inline-block;
// background: red;
/* width: 100%; */
height: 30px;
}
::v-deep.tabs {

View File

@ -64,6 +64,8 @@
{{list.personName}}
</view>
<view class="fist">
<!-- <image></image> -->
<image class="imagelist" src="../../static/time.png" mode=""></image>
<image src="../../static/see.png" mode="" class="two" @tap="gotime"></image>
</view>
<view class="myorder titles" @tap="personlinfo()">
@ -383,9 +385,14 @@
left: 50%;
top: 13%;
transform: translateX(-50%);
background: url(../../static/time.png) no-repeat center center fixed;
background-size: contain;
// background: url(../../static/time.png) no-repeat center center fixed;
// background-size: contain;
margin-bottom: 50rpx;
.imagelist{
width: 100%;
height: 130rpx;
}
.two {
width: 168rpx;
height: 54rpx;