修改
This commit is contained in:
parent
d7e4d956b5
commit
ba117abc0d
@ -33,14 +33,14 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomtext">
|
<view class="bottomtext">
|
||||||
<view class="items" v-if="Soonerorlater=='morning'">
|
<view class="items" v-show="Soonerorlater=='morning'">
|
||||||
<view @tap='taptime(item,index)'
|
<view @tap='taptime(item,index)'
|
||||||
v-for="(item ,index) in orderlist.appointmentTimeList[timecurrent].morningList"
|
v-for="(item ,index) in orderlist.appointmentTimeList[timecurrent].morningList"
|
||||||
:class="timeindex==index?'timeitemtap':'timeitem'">
|
:class="timeindex==index?'timeitemtap':'timeitem'">
|
||||||
{{item}}
|
{{item}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="items" v-if="Soonerorlater=='after'">
|
<view class="items" v-show="Soonerorlater=='after'">
|
||||||
<view @tap='taptime(item,index)'
|
<view @tap='taptime(item,index)'
|
||||||
v-for="(item ,index) in orderlist.appointmentTimeList[timecurrent].afternoonList"
|
v-for="(item ,index) in orderlist.appointmentTimeList[timecurrent].afternoonList"
|
||||||
:class="timeindex==index?'timeitemtap':'timeitem'">
|
:class="timeindex==index?'timeitemtap':'timeitem'">
|
||||||
|
|||||||
@ -47,7 +47,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
<u-back-top :scroll-top="scrollTop"></u-back-top>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -67,8 +66,7 @@
|
|||||||
informationCategoryVOList: [], //咨询信息
|
informationCategoryVOList: [], //咨询信息
|
||||||
informationCategorytotal: 0,
|
informationCategorytotal: 0,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 5,
|
||||||
scrollTop: 0,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@ -136,26 +134,26 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() { //下滑加载
|
// onReachBottom() { //下滑加载
|
||||||
if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else {
|
// if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else {
|
||||||
this.pageNum++
|
// this.pageNum++
|
||||||
getHeathHousingList(this.pageNum, this.pageSize).then(res => {
|
// getHeathHousingList(this.pageNum, this.pageSize).then(res => {
|
||||||
if (res.rows) {
|
// if (res.rows) {
|
||||||
res.rows.forEach(e => {
|
// res.rows.forEach(e => {
|
||||||
e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
|
// e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
|
||||||
this.informationCategoryVOList.push(e)
|
// this.informationCategoryVOList.push(e)
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
onPullDownRefresh() { //下拉刷新
|
// onPullDownRefresh() { //下拉刷新
|
||||||
this.pageNum = 1;
|
// this.pageNum = 1;
|
||||||
this.getHeathHousing();
|
// this.getHeathHousing();
|
||||||
setTimeout(function() {
|
// setTimeout(function() {
|
||||||
uni.stopPullDownRefresh();
|
// uni.stopPullDownRefresh();
|
||||||
}, 1000);
|
// }, 1000);
|
||||||
},
|
// },
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
@ -174,9 +172,6 @@
|
|||||||
path: url,
|
path: url,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
|
||||||
this.scrollTop = e.scrollTop;
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -120,7 +120,7 @@
|
|||||||
line-height: 52rpx;
|
line-height: 52rpx;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:55%;
|
top:60%;
|
||||||
left:35%;
|
left:35%;
|
||||||
}
|
}
|
||||||
.product {
|
.product {
|
||||||
@ -132,14 +132,28 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
.day{
|
||||||
|
position: absolute;
|
||||||
|
top:15%;
|
||||||
|
right:0%;
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
.huanyao {
|
.huanyao {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:15%;
|
top:15%;
|
||||||
left:35%;
|
left:35%;
|
||||||
width: 60%;
|
width: 45%;
|
||||||
|
line-height: 50rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
white-space:normal;
|
||||||
|
word-break:break-all;
|
||||||
}
|
}
|
||||||
.pingfen {
|
.pingfen {
|
||||||
float: right;
|
float: right;
|
||||||
|
|||||||
@ -75,6 +75,10 @@
|
|||||||
<image :src="item.itemPictureUrl"></image>
|
<image :src="item.itemPictureUrl"></image>
|
||||||
<view class="huanyao">{{item.nurseItemName}}
|
<view class="huanyao">{{item.nurseItemName}}
|
||||||
</view>
|
</view>
|
||||||
|
<view class="day">
|
||||||
|
{{item.advanceAppointDuration=='HALF_DAY'?'(半天)':''}}
|
||||||
|
{{item.advanceAppointDuration=='ONE_DAY'?'(全天)':''}}
|
||||||
|
</view>
|
||||||
<!-- <view class="pingfen">
|
<!-- <view class="pingfen">
|
||||||
<u-rate :count="5" value="2"></u-rate>
|
<u-rate :count="5" value="2"></u-rate>
|
||||||
</view> -->
|
</view> -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user