增加VIP会员
This commit is contained in:
@@ -7,11 +7,15 @@
|
||||
<!-- logo -->
|
||||
<view class="topCont-logo">
|
||||
<image class="topCont-logo-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/fbd7ddba29e4ac81467b3d218233bb02.png" mode="widthFix"></image>
|
||||
<view class="topCont-logo-go" @click="seekClick">
|
||||
立即咨询
|
||||
<view>
|
||||
<view class="topCont-logo-btn" @click="$Router.push({name: 'vip'})" v-if="vip.name != ''">
|
||||
会员权益
|
||||
</view>
|
||||
<view class="topCont-logo-btn" @click="seekClick">
|
||||
立即咨询
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 专业优质在线法律平台 -->
|
||||
<view class="topCont-text">
|
||||
<view class="topCont-text-name">
|
||||
@@ -272,7 +276,8 @@
|
||||
<!-- 金牌律师 -->
|
||||
<view class="list">
|
||||
<view class="list-title">
|
||||
金牌律师
|
||||
金牌律师
|
||||
<view class="list-title-sm" @click="$Router.push({ name: 'Lawyers' })">全部</view>
|
||||
</view>
|
||||
<view class="lawyer">
|
||||
<view class="lawyer-item" v-for="(item, index) in lawyersArr" :key="index" @click="$Router.push({name: 'lawyerDetails', params: {id: item.lawyer_id}})">
|
||||
@@ -397,7 +402,11 @@
|
||||
return {
|
||||
businessArr : [], // 协商调解数组
|
||||
canBuy : '', // 是否有免费个人咨询
|
||||
officialShow : false, // 公众号
|
||||
officialShow : false, // 公众号
|
||||
|
||||
vip : {
|
||||
name: ""
|
||||
},
|
||||
|
||||
autoplay : true,
|
||||
interval : 3000,
|
||||
@@ -515,11 +524,10 @@
|
||||
},
|
||||
// 首页数据
|
||||
homeInfo() {
|
||||
home().then(res => {
|
||||
home().then(res => {
|
||||
if(res.layad.is_lay_ad) {
|
||||
this.layadImg = res.layad.lay_ad_img
|
||||
}
|
||||
|
||||
let times = Number(res.layad.times.padEnd(4, 0))
|
||||
if(this.first === 1 && res.layad.is_lay_ad) {
|
||||
this.haveimg = true
|
||||
@@ -529,7 +537,8 @@
|
||||
this.haveimg = false
|
||||
},times);
|
||||
|
||||
}
|
||||
}
|
||||
this.vip = res.vip
|
||||
this.homeList = res.categories
|
||||
this.lawyersArr = res.lawyers
|
||||
this.noticesArr = res.notices
|
||||
@@ -800,7 +809,9 @@
|
||||
position: relative;
|
||||
.topCont-logo {
|
||||
display: flex;
|
||||
line-height: 58rpx;
|
||||
line-height: 58rpx;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.topCont-logo-img {
|
||||
margin-right: 15rpx;
|
||||
width: 190rpx;
|
||||
@@ -809,19 +820,17 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.topCont-logo-go {
|
||||
.topCont-logo-btn {
|
||||
background-color: #ffffff;
|
||||
border-radius: $radius*5;
|
||||
text-align: center;
|
||||
color: $mian-color;
|
||||
font-size: $title-size;
|
||||
line-height: 72rpx;
|
||||
line-height: 68rpx;
|
||||
font-weight: 600;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: $margin;
|
||||
top: $margin + 10;
|
||||
padding: 0 $padding + 10;
|
||||
padding: 0 $padding;
|
||||
&:last-child{ margin-left: 20rpx; }
|
||||
}
|
||||
}
|
||||
.topCont-text {
|
||||
@@ -967,7 +976,11 @@
|
||||
.list-title {
|
||||
font-weight: 600;
|
||||
margin-bottom: 10rpx;
|
||||
color: $text-color;
|
||||
color: $text-color;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
&-sm{ font-size: 30rpx; color: gray; font-weight: normal; }
|
||||
}
|
||||
.lawyer {
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user