|
@@ -2,19 +2,17 @@
|
|
|
<view style="height: 100%">
|
|
|
<nav-logo title="我的"></nav-logo>
|
|
|
<view v-if="isLogin" class="imgs_bg">
|
|
|
- <view class="infos">
|
|
|
+ <view class="infos" v-if="userInfo">
|
|
|
<image
|
|
|
- :src="userInfo ? $method.splitImgHost(userInfo.avatar, true) : ''"
|
|
|
+ :src="$method.splitImgHost(userInfo.avatar, true)"
|
|
|
class="avatar"
|
|
|
></image>
|
|
|
- <!-- <view style="margin-left: 20rpx;z-index: 999;"> -->
|
|
|
<view style="color: #ffffff; font-size: 32rpx">{{
|
|
|
userInfo.nickname
|
|
|
}}</view>
|
|
|
<view style="color: #ffffff; font-size: 20rpx; margin-top: 17rpx">{{
|
|
|
userInfo.telphone
|
|
|
}}</view>
|
|
|
- <!-- </view> -->
|
|
|
</view>
|
|
|
<image src="/static/me/me_bgpic.jpg" class="bg_pic"></image>
|
|
|
</view>
|
|
@@ -24,48 +22,6 @@
|
|
|
</view>
|
|
|
<view v-if="isLogin" class="loginBox">
|
|
|
<view class="contents">
|
|
|
- <!-- <view style="width: 100%;height: 40px;background-color: #F0F1F5;position: fixed;top: 150px;z-index: 100;"></view>
|
|
|
- <view style="display: flex;height: 160rpx;align-items: center; position: fixed;z-index: 999;top: 110px;" v-if="isLogin">
|
|
|
- <image :src="userInfo ? $method.splitImgHost(userInfo.avatar, true) : ''" class="avatar"></image>
|
|
|
- <view style="margin-left: 20rpx;z-index: 999;">
|
|
|
- <view style="color: #FFFFFF;font-size: 36rpx;padding: 10rpx;">{{ userInfo.nickname }}</view>
|
|
|
- <view style="color: #333333;font-size: 36rpx;padding: 10rpx;">{{ userInfo.telphone }}</view>
|
|
|
- </view>
|
|
|
- <view style="background-color: #F0F1F5;height:80rpx;"></view>
|
|
|
- </view>
|
|
|
- <view style="top: 195px;position: relative;padding-bottom: 30rpx;"> -->
|
|
|
- <!-- <navigator hover-class="none" url="/pages2/plan/index" class="menu_box">
|
|
|
- <view class="box_left">
|
|
|
- <image src="/static/icon/my_icon1.png" class="my_icon"></image>
|
|
|
- <view>学习计划</view>
|
|
|
- </view>
|
|
|
- <view class="box_right">
|
|
|
- 今天有
|
|
|
- <text>{{ userNums.planSum }}</text>
|
|
|
- 个学习任务
|
|
|
- </view>
|
|
|
- </navigator> -->
|
|
|
- <!-- <view class="two_menu">
|
|
|
- <navigator hover-class="none" url="/pages2/wd/class" class="small_menu">
|
|
|
- <image src="/static/icon/my_icon3.png" class="my_icon"></image>
|
|
|
- <view>我的网课</view>
|
|
|
- </navigator>
|
|
|
- <view @click="goBank()" class="small_menu">
|
|
|
- <image src="/static/icon/my_icon4.png" class="my_icon"></image>
|
|
|
- <view>我的题库通</view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
- <!-- <navigator hover-class="none" url="/pages5/liveDetail/list" class="menu_box" >
|
|
|
- <view class="box_left">
|
|
|
- <image src="/static/icon/my_icon12.png" class="my_icon"></image>
|
|
|
- <view>我的直播课</view>
|
|
|
- </view>
|
|
|
- <view class="box_right">
|
|
|
-
|
|
|
- <text>{{ total2 }}</text>
|
|
|
- 个课程直播中
|
|
|
- </view>
|
|
|
- </navigator> -->
|
|
|
<navigator
|
|
|
hover-class="none"
|
|
|
url="/pages2/learn/my_learn"
|
|
@@ -174,7 +130,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
- uni.hideTabBar()
|
|
|
+ uni.hideTabBar();
|
|
|
// console.log(option,987)
|
|
|
},
|
|
|
onShow() {
|