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.
yanzong_qianduan/pages/news/consult/index.vue

132 lines
2.8 KiB

<template>
<view class="park">
<view class="park-navbar">
<u-navbar title="咨询" :border-bottom="false" :background="background"></u-navbar>
</view>
<view class="park-hd">
10 months ago
<image :src="$picUrl+'/static/home/phone.jpg'"></image>
<view class="a">昆明湖店·YN_k121</view>
<view class="b"><u-icon name="map" style="margin-right: 10rpx; margin-top: 10rpx;"></u-icon>2线2600m</view>
</view>
<view class="park-bd">
<view class="item"><text>1406</text>服务总时长</view>
<view class="item"><text>7606</text>服务总数</view>
<view class="item"><text>0</text>为我服务次数</view>
</view>
<view class="park-fd">
10 months ago
<image :src="$picUrl+'/static/home/phone.jpg'"></image>
<view class="txt">长按识别二维码</view>
<view class="txt">添加我的微信</view>
</view>
</view>
</template>
<script>
10 months ago
// import img from "@/static/news/login-bg.png"
export default {
data() {
return {
currentIndex: 0,
background: {
10 months ago
background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`,
// background: 'url('+ img+') center top no-repeat',
backgroundSize: '100%',
},
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.park{
width: 100%;
10 months ago
background: url('https://www.saas.njrenzhou.com/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>