Compare commits
2 Commits
a73e38424d
...
1937db5351
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1937db5351 | ||
![]() |
a649839feb |
@ -28,6 +28,9 @@
|
||||
<image src="@/static/mine/fans.png" mode="aspectFit"></image>
|
||||
<view class="fans-num">{{userInfo.tfansNum||'0'}}</view>
|
||||
</view>
|
||||
<view class="fans-box" style="background-color: #EEF4FE;">
|
||||
<view class="fans-num" style="color: #5597FC;">{{userInfo.identityName||'未认证身份'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -37,7 +40,7 @@
|
||||
<uni-icons v-else type="right" color="#929292" size="12"></uni-icons>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 会员开通 -->
|
||||
<!-- 会员开通 -博主 -->
|
||||
<view v-if="!ifHasCard && '02'==localUserType" class="dl-member-box" @click="goMemberCard()">
|
||||
<view class="dl-left">
|
||||
<image class="dl-icon" src="@/static/index/zuanshi.png" mode="aspectFit"></image>
|
||||
@ -48,7 +51,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 会员开通--通告主 -->
|
||||
<view v-if="!ifHasCard && '01'==localUserType" class="dl-member-box" @click="goMemberCard()">
|
||||
<!-- <view v-if="!ifHasCard && '01'==localUserType" class="dl-member-box" @click="goMemberCard()">
|
||||
<view class="dl-left">
|
||||
<image class="dl-icon" src="@/static/index/zuanshi.png" mode="aspectFit"></image>
|
||||
<text>获取通告主卡 体验高级特权</text>
|
||||
@ -56,8 +59,8 @@
|
||||
<view class="dl-right">
|
||||
<view class="dl-go-view">立即开通</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 积分 -->
|
||||
</view> -->
|
||||
<!-- 积分--博主 -->
|
||||
<view class="points-box" v-if="'02'==localUserType">
|
||||
<view class="item-box" @click="goPoints()">
|
||||
<view class="item-text-box">
|
||||
@ -74,8 +77,8 @@
|
||||
<image src="@/static/mine/jifen.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 会员到期时间 -->
|
||||
<view v-if="ifHasCard" class="dl-member-end-date-box" @click="goMemberCard()">
|
||||
<!-- 会员到期时间-博主 -->
|
||||
<view v-if="ifHasCard && '02'==localUserType" class="dl-member-end-date-box" @click="goMemberCard()">
|
||||
<view class="dl-left">
|
||||
<image class="dl-icon" src="@/static/index/zuanshi.png" mode="aspectFit"></image>
|
||||
会员<text>{{memberEndDate}}</text>日到期
|
||||
@ -103,7 +106,13 @@
|
||||
<view class="box-room">
|
||||
<view class="detail-title">个人信息</view>
|
||||
<view class="menu-box top-column">
|
||||
<view class="menu-item" v-if="'01'==localUserType" @click="goAuth()">
|
||||
<view class="menu-item" v-if="'01'==localUserType" @click="goPoints()">
|
||||
<image src="@/static/mine/baoming.png" mode="aspectFit"></image>
|
||||
<view class="text-dom">积分 <text class="red-text">{{" "+userInfo.pointsBalance||'0'}}</text>
|
||||
</view>
|
||||
<uni-icons type="right" color="#623109" size="12"></uni-icons>
|
||||
</view>
|
||||
<view class="menu-item" v-if="'01'==localUserType" @click="checkIfAuth()">
|
||||
<!-- <image src="@/static/mine/zuji.png" mode="aspectFit"></image> -->
|
||||
<image src="@/static/mine/caise/renzheng.png" mode="aspectFit"></image>
|
||||
<view class="text-dom">通告主认证</view>
|
||||
@ -180,6 +189,11 @@
|
||||
<uni-popup-dialog type="warn" cancelText="关闭" confirmText="我知道了" title="温馨提示"
|
||||
:content="'随手转发上传通告,每条轻松赚'+point+'积分'" @confirm="dialogConfirm"></uni-popup-dialog>
|
||||
</uni-popup>
|
||||
<!-- 提示窗示例 -->
|
||||
<uni-popup ref="alertDialogAuth" type="dialog">
|
||||
<uni-popup-dialog cancelText="取消" confirmText="去变更" :content="'您当前已是'+userInfo.identityName+',是否需要变更认证身份?'"
|
||||
@confirm="dialogConfirmAuth"></uni-popup-dialog>
|
||||
</uni-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -264,6 +278,17 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//判断是否已有身份
|
||||
checkIfAuth() {
|
||||
if (this.userInfo.identityName) {
|
||||
this.$refs.alertDialogAuth.open()
|
||||
} else {
|
||||
this.goAuth()
|
||||
}
|
||||
},
|
||||
dialogConfirmAuth() {
|
||||
this.goAuth()
|
||||
},
|
||||
/**
|
||||
* 查询发布通告送多少积分
|
||||
*/
|
||||
@ -324,6 +349,7 @@
|
||||
this.userInfo.addNotice = res.data.addNotice.toString()
|
||||
this.userInfo.avatar = this.imageUrl + res.data.avatar
|
||||
this.userInfo.cardName = res.data.cardName
|
||||
this.userInfo.identityName = res.data.identityName
|
||||
if (res.data.memberEndDate && null != res.data.memberEndDate) {
|
||||
this.ifHasCard = true
|
||||
this.memberEndDate = res.data.memberEndDate
|
||||
@ -765,9 +791,6 @@
|
||||
height: 100rpx;
|
||||
}
|
||||
|
||||
.red-text {
|
||||
color: #FC1F3E;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -879,6 +902,7 @@
|
||||
padding-bottom: 10rpx;
|
||||
|
||||
image {
|
||||
border-radius: 50%;
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
margin-bottom: 0 !important;
|
||||
@ -903,5 +927,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.red-text {
|
||||
padding-left: 5px;
|
||||
color: #FC1F3E;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user