修改
This commit is contained in:
parent
d663782d98
commit
ca8e4f2c95
@ -211,8 +211,10 @@
|
|||||||
e.image = baseurl + e.posterPictureUrl
|
e.image = baseurl + e.posterPictureUrl
|
||||||
this.lbinfo.push(e.image)
|
this.lbinfo.push(e.image)
|
||||||
})
|
})
|
||||||
|
if (res.data.poserInfoList[0].video) {
|
||||||
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
|
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
|
||||||
this.lbinfo.push(res.data.poserInfoList[0].video)
|
this.lbinfo.push(res.data.poserInfoList[0].video)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.lbinfo.push(this.baseurl + res.data.itemPictureUrl)
|
this.lbinfo.push(this.baseurl + res.data.itemPictureUrl)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,11 +3,6 @@
|
|||||||
padding-top: 10rpx;
|
padding-top: 10rpx;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
.scroll-Y {
|
|
||||||
height: 100vh;
|
|
||||||
overflow: scroll;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.mask {
|
.mask {
|
||||||
.Agreement {
|
.Agreement {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<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="user">
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<span>姓名:</span>
|
<span>姓名:</span>
|
||||||
@ -94,8 +91,6 @@
|
|||||||
<view class="xiugai" @tap='goaddress'>修改信息</view>
|
<view class="xiugai" @tap='goaddress'>修改信息</view>
|
||||||
<view class="queren" @tap='updata'>确认预约</view>
|
<view class="queren" @tap='updata'>确认预约</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
|
||||||
|
|
||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
<!-- //用户协议 -->
|
<!-- //用户协议 -->
|
||||||
<u-mask :show="maskshow" class='mask' @click='maskshow=false'>
|
<u-mask :show="maskshow" class='mask' @click='maskshow=false'>
|
||||||
@ -133,10 +128,6 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
scrollTop: 0,
|
|
||||||
old: {
|
|
||||||
scrollTop: 0
|
|
||||||
},
|
|
||||||
Soonerorlater: 'morning',
|
Soonerorlater: 'morning',
|
||||||
timecurrent: 0, //时间下标
|
timecurrent: 0, //时间下标
|
||||||
openid: '',
|
openid: '',
|
||||||
@ -196,11 +187,6 @@
|
|||||||
this.userinfo();
|
this.userinfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
upper: function(e) {},
|
|
||||||
lower: function(e) {},
|
|
||||||
scroll: function(e) {
|
|
||||||
this.old.scrollTop = e.detail.scrollTop
|
|
||||||
},
|
|
||||||
//切换上下午
|
//切换上下午
|
||||||
tapSoonerorlater(item) {
|
tapSoonerorlater(item) {
|
||||||
this.Soonerorlater = item
|
this.Soonerorlater = item
|
||||||
|
|||||||
@ -173,9 +173,11 @@
|
|||||||
e.image = baseurl + e.posterPictureUrl
|
e.image = baseurl + e.posterPictureUrl
|
||||||
this.swiperImgUrls.push(e.image)
|
this.swiperImgUrls.push(e.image)
|
||||||
})
|
})
|
||||||
|
if(res.data.poserInfoList[0].video){
|
||||||
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
|
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl
|
||||||
this.swiperImgUrls.push(res.data.poserInfoList[0].video)
|
this.swiperImgUrls.push(res.data.poserInfoList[0].video)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.getHeathHousing();
|
this.getHeathHousing();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -3,16 +3,12 @@
|
|||||||
<view class="concent">
|
<view class="concent">
|
||||||
<view class="background">
|
<view class="background">
|
||||||
<image src="/static/logo.png" mode=""></image>
|
<image src="/static/logo.png" mode=""></image>
|
||||||
<view>
|
|
||||||
<view class="detailed">
|
<view class="detailed">
|
||||||
<view>
|
|
||||||
敬请期待
|
敬请期待
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -46,6 +42,7 @@
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.app {
|
.app {
|
||||||
padding-top: 10rpx;
|
padding-top: 10rpx;
|
||||||
|
font-size: 34rpx;
|
||||||
|
|
||||||
.concent {
|
.concent {
|
||||||
width: 701rpx;
|
width: 701rpx;
|
||||||
@ -79,12 +76,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.detailed {
|
.detailed {
|
||||||
width: 657rpx;
|
|
||||||
padding: 0 20rpx;
|
padding: 0 20rpx;
|
||||||
line-height: 56rpx;
|
line-height: 56rpx;
|
||||||
}
|
text-align: center;
|
||||||
|
|
||||||
.detailed view {
|
|
||||||
text-indent: 2em;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -183,7 +183,7 @@
|
|||||||
padding: 3%;
|
padding: 3%;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: all 0.2s linear;
|
transition: all 0.2s linear;
|
||||||
font-size: 34rpx;
|
font-size: 36rpx;
|
||||||
&::after {
|
&::after {
|
||||||
transition: all 0.2s linear;
|
transition: all 0.2s linear;
|
||||||
transform: translateX(-50%) scaleX(0);
|
transform: translateX(-50%) scaleX(0);
|
||||||
@ -282,8 +282,9 @@
|
|||||||
.title {
|
.title {
|
||||||
padding-top: 40rpx;
|
padding-top: 40rpx;
|
||||||
margin:0 0 0 30rpx;
|
margin:0 0 0 30rpx;
|
||||||
font-size: 38rpx;
|
font-size: 40rpx;
|
||||||
line-height: 59rpx;
|
line-height: 59rpx;
|
||||||
|
font-weight: 700;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
@ -62,7 +62,7 @@
|
|||||||
{{item.labelDescription}}
|
{{item.labelDescription}}
|
||||||
</view>
|
</view>
|
||||||
</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>
|
<image src="../../static/locatinsmall.png" mode=""></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
{{list.address}}
|
{{list.address}}
|
||||||
@ -227,6 +227,16 @@
|
|||||||
this.distance = options.distance
|
this.distance = options.distance
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//跳转地图
|
||||||
|
goMap() {
|
||||||
|
|
||||||
|
uni.openLocation({
|
||||||
|
latitude: Number(this.list.latitude),
|
||||||
|
longitude: Number(this.list.longitude),
|
||||||
|
name: this.list.nurseStationName, //地址名称
|
||||||
|
address: this.list.address, //地址详情
|
||||||
|
})
|
||||||
|
},
|
||||||
swiperChange(e) {
|
swiperChange(e) {
|
||||||
let {
|
let {
|
||||||
current,
|
current,
|
||||||
@ -261,7 +271,6 @@
|
|||||||
ended() {
|
ended() {
|
||||||
this.autoplay = true
|
this.autoplay = true
|
||||||
},
|
},
|
||||||
|
|
||||||
testTabClick(item) {
|
testTabClick(item) {
|
||||||
this.tabIndex = item.id
|
this.tabIndex = item.id
|
||||||
if (item.id == 0) {
|
if (item.id == 0) {
|
||||||
@ -354,8 +363,11 @@
|
|||||||
e.image = baseurl + e.posterPictureUrl
|
e.image = baseurl + e.posterPictureUrl
|
||||||
this.Banners.push(e.image)
|
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)
|
this.Banners.push(res.data.poserInfoList[0].video)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.Banners.push(res.data.stationPictureUrl)
|
this.Banners.push(res.data.stationPictureUrl)
|
||||||
this.Banners.push(res.data.stationIntroducePcitureUrl)
|
this.Banners.push(res.data.stationIntroducePcitureUrl)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user