修改
This commit is contained in:
parent
7b85a378c1
commit
6bd7648e5f
@ -136,23 +136,24 @@
|
||||
line-height: 52rpx;
|
||||
font-size: 36rpx;
|
||||
position: absolute;
|
||||
top:60%;
|
||||
top:70%;
|
||||
left:35%;
|
||||
}
|
||||
.product {
|
||||
position: absolute;
|
||||
top:15%;
|
||||
left:35%;
|
||||
width: 60%;
|
||||
width: 65%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.day{
|
||||
font-size: 26rpx;
|
||||
position: absolute;
|
||||
top:15%;
|
||||
right:0%;
|
||||
width: 20%;
|
||||
top:45%;
|
||||
left:35%;
|
||||
width: 65%;
|
||||
}
|
||||
.huanyao {
|
||||
position: absolute;
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <swiper class="swiper" circular>
|
||||
<swiper-item>
|
||||
<view class="swiper-item ">A</view>
|
||||
@ -110,8 +109,8 @@
|
||||
<view class="huanyao">{{item.nurseItemName}}
|
||||
</view>
|
||||
<view class="day">
|
||||
{{item.advanceAppointDuration=='HALF_DAY'?'(半天)':''}}
|
||||
{{item.advanceAppointDuration=='ONE_DAY'?'(全天)':''}}
|
||||
{{item.advanceAppointDuration=='HALF_DAY'?'提前预约时长:半天':''}}
|
||||
{{item.advanceAppointDuration=='ONE_DAY'?'提前预约时长:一天':''}}
|
||||
</view>
|
||||
<!-- <view class="pingfen">
|
||||
<u-rate :count="5" value="2"></u-rate>
|
||||
|
||||
@ -12,13 +12,13 @@
|
||||
{{item.classifyName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" v-if='nurseItemClassifyInfoList.length==7' @tap='lengthlist(true)'>
|
||||
<view class="item" v-if='nurseItemClassifyInfoList.length==7&&lengthlistshow' @tap='lengthlist(true)'>
|
||||
<image src="../../static/gd.png" mode=""></image>
|
||||
<view class="title">
|
||||
更多
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" v-if='nurseItemClassifyInfoList.length>7' @tap='lengthlist(false)'>
|
||||
<view class="item" v-if='nurseItemClassifyInfoList.length>7&&!lengthlistshow' @tap='lengthlist(false)'>
|
||||
<image src="../../static/gd.png" mode=""></image>
|
||||
<view class="title">
|
||||
收起
|
||||
@ -86,6 +86,7 @@
|
||||
nurseItemClassifyInfoList: [], //护理项目分类
|
||||
nurseItemClassifyInfolength: 0,
|
||||
nurseItemClassifyInfolistlength: [],
|
||||
lengthlistshow: true,
|
||||
lbinfo: [], //轮播list
|
||||
nursestationlist: [],
|
||||
mask: false,
|
||||
@ -103,11 +104,18 @@
|
||||
},
|
||||
methods: {
|
||||
lengthlist(item) {
|
||||
if (item) {
|
||||
this.nurseItemClassifyInfoList = this.nurseItemClassifyInfolistlength
|
||||
} else {
|
||||
this.nurseItemClassifyInfoList = this.nurseItemClassifyInfolistlength.slice(0, 7)
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '',
|
||||
duration: 1000
|
||||
});
|
||||
setTimeout((e) => {
|
||||
this.lengthlistshow = !this.lengthlistshow
|
||||
if (item) {
|
||||
this.nurseItemClassifyInfoList = this.nurseItemClassifyInfolistlength
|
||||
} else {
|
||||
this.nurseItemClassifyInfoList = this.nurseItemClassifyInfolistlength.slice(0, 7)
|
||||
}
|
||||
}, 1000)
|
||||
},
|
||||
//点击护理项目分类
|
||||
tapitemclass(item) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user