修改
This commit is contained in:
parent
67c64b4041
commit
7b85a378c1
@ -3,6 +3,13 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
::v-deep .u-swiper-item{
|
||||||
|
width: 94% !important;
|
||||||
|
left:3%;
|
||||||
|
}
|
||||||
|
::v-deep .u-swiper-image {
|
||||||
|
height: 90% !important;
|
||||||
|
}
|
||||||
::v-deep .u-tabs{
|
::v-deep .u-tabs{
|
||||||
background-color: #F4F5F7 !important;
|
background-color: #F4F5F7 !important;
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20rpx;
|
||||||
@ -10,7 +17,6 @@
|
|||||||
.Classificationlist{
|
.Classificationlist{
|
||||||
margin: 30rpx 0 0;
|
margin: 30rpx 0 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 380rpx;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
@ -12,12 +12,18 @@
|
|||||||
{{item.classifyName}}
|
{{item.classifyName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" v-if='nurseItemClassifyInfolength>=8'>
|
<view class="item" v-if='nurseItemClassifyInfoList.length==7' @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)'>
|
||||||
|
<image src="../../static/gd.png" mode=""></image>
|
||||||
|
<view class="title">
|
||||||
|
收起
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-swiper :list="lbinfo" height='200' interval='3000' duration='1500' mode='none'></u-swiper>
|
<u-swiper :list="lbinfo" height='200' interval='3000' duration='1500' mode='none'></u-swiper>
|
||||||
<view class="conNew">
|
<view class="conNew">
|
||||||
@ -79,6 +85,7 @@
|
|||||||
conNewcurrent: 0,
|
conNewcurrent: 0,
|
||||||
nurseItemClassifyInfoList: [], //护理项目分类
|
nurseItemClassifyInfoList: [], //护理项目分类
|
||||||
nurseItemClassifyInfolength: 0,
|
nurseItemClassifyInfolength: 0,
|
||||||
|
nurseItemClassifyInfolistlength: [],
|
||||||
lbinfo: [], //轮播list
|
lbinfo: [], //轮播list
|
||||||
nursestationlist: [],
|
nursestationlist: [],
|
||||||
mask: false,
|
mask: false,
|
||||||
@ -95,6 +102,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
lengthlist(item) {
|
||||||
|
if (item) {
|
||||||
|
this.nurseItemClassifyInfoList = this.nurseItemClassifyInfolistlength
|
||||||
|
} else {
|
||||||
|
this.nurseItemClassifyInfoList = this.nurseItemClassifyInfolistlength.slice(0, 7)
|
||||||
|
}
|
||||||
|
},
|
||||||
//点击护理项目分类
|
//点击护理项目分类
|
||||||
tapitemclass(item) {
|
tapitemclass(item) {
|
||||||
if (this.itemClassId == item.id) {
|
if (this.itemClassId == item.id) {
|
||||||
@ -122,6 +136,7 @@
|
|||||||
e.image = baseurl + e.posterPictureUrl
|
e.image = baseurl + e.posterPictureUrl
|
||||||
})
|
})
|
||||||
this.nurseItemClassifyInfolength = res.data.nurseItemClassifyInfoList.length
|
this.nurseItemClassifyInfolength = res.data.nurseItemClassifyInfoList.length
|
||||||
|
this.nurseItemClassifyInfolistlength = res.data.nurseItemClassifyInfoList
|
||||||
this.lbinfo = res.data.poserInfoList
|
this.lbinfo = res.data.poserInfoList
|
||||||
this.nurseItemClassifyInfoList = res.data.nurseItemClassifyInfoList.slice(0, 7)
|
this.nurseItemClassifyInfoList = res.data.nurseItemClassifyInfoList.slice(0, 7)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user