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