|
@@ -1,26 +1,29 @@
|
|
|
<template>
|
|
|
- <scroll-view scroll-y class="content">
|
|
|
- <div class="user">
|
|
|
- <van-cell @click="getUserProfile" center :value="userInfo.nickName ? userInfo.nickName : '新用户'">
|
|
|
- <view slot="title">
|
|
|
- <image class="user-headImg" v-if="userInfo.headImage" :src="userInfo.headImage"></image>
|
|
|
- <image class="user-headImg" v-else :src="unLoginHead"></image>
|
|
|
- </view>
|
|
|
- </van-cell>
|
|
|
- <van-cell title-class="uni-app-fontsize-paragraph" title="电子资料" is-link @click="goPath('/pages/extraWeb/index?src=https://nbjk-h5.zzxcx.net/pdfImages')"
|
|
|
- center>
|
|
|
- <template #icon>
|
|
|
- <m-icon type="fkbz" class="cell-icon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <!-- <van-cell title="我要提现" value="" is-link center @click="goCashOut">
|
|
|
+ <view>
|
|
|
+ <scroll-view scroll-y class="bg">
|
|
|
+ <div class="user">
|
|
|
+ <van-cell custom-class="head-cell" is-link label-class="" center>
|
|
|
+ <view class="flex" slot="title">
|
|
|
+ <image class="user-headImg" v-if="userInfo.headImage" :src="userInfo.headImage"></image>
|
|
|
+ <image class="user-headImg" v-else :src="unLoginHead"></image>
|
|
|
+ <view class="" style="width:50%;padding-left: 24rpx;">
|
|
|
+ <view style="font-size:38rpx;color: #0A1A33;">{{ userInfo.nickName }}</view>
|
|
|
+ <view style="font-size:26rpx;color: #8A9099;"> {{ '未绑定手机号' }}</view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </van-cell>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- <van-cell title="我要提现" value="" is-link center @click="goCashOut">
|
|
|
</van-cell> -->
|
|
|
- <!-- <van-cell title="我的下级" value="" is-link center @click="goMyBranch">
|
|
|
+ <!-- <van-cell title="我的下级" value="" is-link center @click="goMyBranch">
|
|
|
<template #icon>
|
|
|
<m-icon type="hyyxq" class="cell-icon" />
|
|
|
</template>
|
|
|
</van-cell> -->
|
|
|
- <!-- <van-cell
|
|
|
+ <!-- <van-cell
|
|
|
title="我的推广积分"
|
|
|
value=""
|
|
|
is-link
|
|
@@ -28,8 +31,8 @@
|
|
|
@click="goMyIntegral"
|
|
|
>
|
|
|
</van-cell> -->
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
- <!-- <van-cell
|
|
|
+ <!-- #ifdef MP-WEIXIN -->
|
|
|
+ <!-- <van-cell
|
|
|
title="会员有效期"
|
|
|
:value="expireTime ? expireTime : '开通会员'"
|
|
|
is-link
|
|
@@ -38,37 +41,46 @@
|
|
|
>
|
|
|
</van-cell> -->
|
|
|
|
|
|
- <!-- #endif -->
|
|
|
- <!-- #ifdef MP-TOUTIAO -->
|
|
|
- <van-cell v-if="!isVip" title="会员有效期" :value="'开通会员'" is-link center url="/otherPages/buyVip/index">
|
|
|
- </van-cell>
|
|
|
- <van-cell v-if="isVip" title="会员有效期" :value="'已开通'" is-link center>
|
|
|
- </van-cell>
|
|
|
- <van-cell title="资料下载" is-link @click="goVipPath('/otherPages/pdfList/index')" center>
|
|
|
- <template #icon>
|
|
|
- <m-icon type="fkbz" class="cell-icon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
+ <!-- #endif -->
|
|
|
+ <!-- #ifdef MP-TOUTIAO -->
|
|
|
+ <van-cell v-if="!isVip" title="会员有效期" :value="'开通会员'" is-link center url="/otherPages/buyVip/index">
|
|
|
+ </van-cell>
|
|
|
+ <van-cell v-if="isVip" title="会员有效期" :value="'已开通'" is-link center>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell title="资料下载" is-link @click="goVipPath('/otherPages/pdfList/index')" center>
|
|
|
+ <template #icon>
|
|
|
+ <m-icon type="fkbz" class="cell-icon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
|
|
|
- <!-- #endif -->
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
-<!--
|
|
|
+ <!-- #endif -->
|
|
|
+ <!-- #ifdef MP-WEIXIN -->
|
|
|
+ <!--
|
|
|
<van-cell title-class="uni-app-fontsize-paragraph" title="反馈帮助" is-link center url="/pages/extraWeb/index?src=https://support.qq.com/product/359609">
|
|
|
<template #icon>
|
|
|
<m-icon type="fkbz" class="cell-icon" />
|
|
|
</template>
|
|
|
</van-cell> -->
|
|
|
|
|
|
- <!-- #endif -->
|
|
|
- </div>
|
|
|
- <view class="wxad">
|
|
|
- <ad ad-type="video" :ad-intervals="100" unit-id="adunit-8eb44bbd7e3147d4"></ad>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- <view class="ad-box serviceBox">
|
|
|
+ <!-- #endif -->
|
|
|
+ </div>
|
|
|
+ <view class="list">
|
|
|
+ <van-cell title-class="uni-app-fontsize-paragraph" title="电子资料" is-link
|
|
|
+ @click="goPath('/pages/extraWeb/index?src=https://nbjk-h5.zzxcx.net/pdfImages')" center>
|
|
|
+ <template #icon>
|
|
|
+ <m-icon type="fkbz" class="cell-icon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </view>
|
|
|
+ <view class="wxad">
|
|
|
+ <ad ad-type="video" :ad-intervals="100" unit-id="adunit-8eb44bbd7e3147d4"></ad>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- <view class="ad-box serviceBox">
|
|
|
<ad unit-id="adunit-d8c1548cc9663765"></ad>
|
|
|
</view> -->
|
|
|
- </scroll-view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -100,8 +112,8 @@ export default {
|
|
|
goPath(url) {
|
|
|
|
|
|
uni.navigateTo({
|
|
|
- url,
|
|
|
- });
|
|
|
+ url,
|
|
|
+ });
|
|
|
},
|
|
|
goVipPath(url) {
|
|
|
if (this.isVip) {
|
|
@@ -145,11 +157,34 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-
|
|
|
+<style>
|
|
|
+.user .head-cell {
|
|
|
+ background: transparent;
|
|
|
+}
|
|
|
+</style>
|
|
|
<style lang="scss" scoped>
|
|
|
+.flex {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ flex-direction: row;
|
|
|
+}
|
|
|
+
|
|
|
+.bg {
|
|
|
+ width: 100%;
|
|
|
+ min-height: 812rpx;
|
|
|
+ // background: #fff;
|
|
|
+ background-image: url('https://ct.zzxcx.net/ctjk/mp-wx/user/bg.png');
|
|
|
+}
|
|
|
+
|
|
|
+.list {
|
|
|
+ padding: 0 15rpx;
|
|
|
+}
|
|
|
+
|
|
|
.user {
|
|
|
- background-color: #f2f3f5;
|
|
|
-
|
|
|
+ padding: 0 15rpx;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/* height: 100vh; */
|
|
|
.group {
|
|
|
margin: 10px 0;
|