You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
3.0 KiB
141 lines
3.0 KiB
5 months ago
|
<template>
|
||
|
<view class="park">
|
||
|
<view class="park-navbar">
|
||
|
<u-navbar title="咨询" :border-bottom="false" :background="background"></u-navbar>
|
||
|
</view>
|
||
|
<view class="park-hd">
|
||
|
<image :src="cityInfo.imageList?cityInfo.imageList[0]:''"></image>
|
||
|
<view class="a">{{cityInfo.shop_name}}</view>
|
||
|
<view class="b" @click="openMap()"><u-icon name="map" style="margin-right: 10rpx; margin-top: 10rpx;"></u-icon>{{cityInfo.address}}</view>
|
||
|
</view>
|
||
|
<view class="park-bd">
|
||
|
<view class="item"><text>{{cityInfo.fuwu_hours}}天</text>服务总时长</view>
|
||
|
<view class="item"><text>{{cityInfo.fuwu_num}}天</text>服务总数</view>
|
||
|
<view class="item"><text>{{cityInfo.service_num_for_me}}次</text>为我服务次数</view>
|
||
|
</view>
|
||
|
<view class="park-fd">
|
||
|
<image :src="cityInfo.wechat"></image>
|
||
|
<view class="txt">长按识别二维码</view>
|
||
|
<view class="txt">添加我的微信</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
// import img from "@/static/news/login-bg.png"
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
currentIndex: 0,
|
||
|
background: {
|
||
|
background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`,
|
||
|
// background: 'url('+ img+') center top no-repeat',
|
||
|
backgroundSize: '100%',
|
||
|
},
|
||
|
cityInfo: {},
|
||
|
}
|
||
|
},
|
||
|
onLoad() {
|
||
|
this.cityInfo = uni.getStorageSync("cityInfo")
|
||
|
},
|
||
|
methods: {
|
||
|
openMap() {
|
||
|
uni.openLocation({
|
||
|
latitude: Number(this.cityInfo.latitude),
|
||
|
longitude: Number(this.cityInfo.longitude)
|
||
|
})
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.park{
|
||
|
width: 100%;
|
||
|
background: url('https://www.royaum.com.cn/static/news/login-bg.png') center 0 no-repeat;
|
||
|
background-size: 100% auto;
|
||
|
min-height: 100vh;
|
||
|
&-hd{
|
||
|
width: 698rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 60rpx;
|
||
|
padding: 30rpx 35rpx;
|
||
|
box-sizing: border-box;
|
||
|
overflow: hidden;
|
||
|
image{
|
||
|
width: 221rpx;
|
||
|
height: 157rpx;
|
||
|
margin-right: 20rpx;
|
||
|
float: left;
|
||
|
}
|
||
|
.a{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 500;
|
||
|
color: #000000;
|
||
|
}
|
||
|
.b{
|
||
|
display: flex;
|
||
|
align-items: flex-start;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #818181;
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
&-bd{
|
||
|
width: 698rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
padding: 30rpx 30rpx;
|
||
|
box-sizing: border-box;
|
||
|
overflow: hidden;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
.item{
|
||
|
flex: 1;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #7B7B7B;
|
||
|
text-align: center;
|
||
|
text{
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 500;
|
||
|
color: #000000;
|
||
|
margin-top: 30rpx;
|
||
|
display: block;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
&-fd{
|
||
|
width: 698rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
padding: 60rpx 40rpx;
|
||
|
box-sizing: border-box;
|
||
|
overflow: hidden;
|
||
|
text-align: center;
|
||
|
image{
|
||
|
width: 300rpx;
|
||
|
height: 300rpx;
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
.txt{
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 400;
|
||
|
color: #686868;
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
</style>
|