This commit is contained in:
曹辉 2023-02-22 17:09:55 +08:00
parent d663782d98
commit ca8e4f2c95
7 changed files with 112 additions and 121 deletions

View File

@ -211,8 +211,10 @@
e.image = baseurl + e.posterPictureUrl
this.lbinfo.push(e.image)
})
if (res.data.poserInfoList[0].video) {
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
this.lbinfo.push(res.data.poserInfoList[0].video)
}
} else {
this.lbinfo.push(this.baseurl + res.data.itemPictureUrl)
}

View File

@ -3,11 +3,6 @@
padding-top: 10rpx;
height: 100%;
-webkit-overflow-scrolling: touch;
.scroll-Y {
height: 100vh;
overflow: scroll;
position: relative;
}
.mask {
.Agreement {
width: 100%;

View File

@ -1,8 +1,5 @@
<template>
<view class="app">
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper"
@scrolltolower="lower" @scroll="scroll">
<view class="user">
<view class="item">
<span>姓名</span>
@ -94,8 +91,6 @@
<view class="xiugai" @tap='goaddress'>修改信息</view>
<view class="queren" @tap='updata'>确认预约</view>
</view>
</scroll-view>
<u-toast ref="uToast" />
<!-- // -->
<u-mask :show="maskshow" class='mask' @click='maskshow=false'>
@ -133,10 +128,6 @@
},
data() {
return {
scrollTop: 0,
old: {
scrollTop: 0
},
Soonerorlater: 'morning',
timecurrent: 0, //
openid: '',
@ -196,11 +187,6 @@
this.userinfo();
},
methods: {
upper: function(e) {},
lower: function(e) {},
scroll: function(e) {
this.old.scrollTop = e.detail.scrollTop
},
//
tapSoonerorlater(item) {
this.Soonerorlater = item

View File

@ -173,9 +173,11 @@
e.image = baseurl + e.posterPictureUrl
this.swiperImgUrls.push(e.image)
})
if(res.data.poserInfoList[0].video){
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
this.swiperImgUrls.push(res.data.poserInfoList[0].video)
}
}
this.getHeathHousing();
}
})

View File

@ -3,16 +3,12 @@
<view class="concent">
<view class="background">
<image src="/static/logo.png" mode=""></image>
<view>
<view class="detailed">
<view>
敬请期待
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
@ -46,6 +42,7 @@
<style lang="scss">
.app {
padding-top: 10rpx;
font-size: 34rpx;
.concent {
width: 701rpx;
@ -79,12 +76,8 @@
}
.detailed {
width: 657rpx;
padding: 0 20rpx;
line-height: 56rpx;
}
.detailed view {
text-indent: 2em;
text-align: center;
}
</style>

View File

@ -183,7 +183,7 @@
padding: 3%;
position: relative;
transition: all 0.2s linear;
font-size: 34rpx;
font-size: 36rpx;
&::after {
transition: all 0.2s linear;
transform: translateX(-50%) scaleX(0);
@ -282,8 +282,9 @@
.title {
padding-top: 40rpx;
margin:0 0 0 30rpx;
font-size: 38rpx;
font-size: 40rpx;
line-height: 59rpx;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View File

@ -62,7 +62,7 @@
{{item.labelDescription}}
</view>
</view>
<view class="address" v-if="list.address">
<view class="address" v-if="list.address" @tap="goMap">
<image src="../../static/locatinsmall.png" mode=""></image>
<view class="text">
{{list.address}}
@ -227,6 +227,16 @@
this.distance = options.distance
},
methods: {
//
goMap() {
uni.openLocation({
latitude: Number(this.list.latitude),
longitude: Number(this.list.longitude),
name: this.list.nurseStationName, //
address: this.list.address, //
})
},
swiperChange(e) {
let {
current,
@ -261,7 +271,6 @@
ended() {
this.autoplay = true
},
testTabClick(item) {
this.tabIndex = item.id
if (item.id == 0) {
@ -354,8 +363,11 @@
e.image = baseurl + e.posterPictureUrl
this.Banners.push(e.image)
})
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
if (res.data.poserInfoList[0].video) {
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0]
.posterVideoUrl
this.Banners.push(res.data.poserInfoList[0].video)
}
} else {
this.Banners.push(res.data.stationPictureUrl)
this.Banners.push(res.data.stationIntroducePcitureUrl)