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