|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="client-my-page">
|
|
|
- <view class="my-head-box">
|
|
|
+ <view class="my-head-box" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.myHeadBj + ')' }">
|
|
|
<view class="head-img-box">
|
|
|
<img class="head-img" :src="myInfoData.userImg" v-if="myInfoData.userImg">
|
|
|
<icon class="phone-default-userImg" v-else></icon>
|
|
|
@@ -8,11 +8,11 @@
|
|
|
<view class="head-content-box">
|
|
|
<text>{{myInfoData.realName}}</text>
|
|
|
<view class="head-content-row-box" v-if="myInfoData.userName">
|
|
|
- <icon class="tel-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.telIcon + ')' }"></icon>
|
|
|
<text class="content-text" >{{myInfoData.userName}}</text>
|
|
|
</view>
|
|
|
<view class="head-content-row-box" v-if="myInfoData.idcard">
|
|
|
- <icon class="idcard-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.idcardIcon + ')' }"></icon>
|
|
|
<text class="content-text" >{{myInfoData.idcard}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -22,42 +22,42 @@
|
|
|
<view class="num-item-box" @click="goToPage('ks')">
|
|
|
<uni-badge class="uni-badge-left-margin my-num-badge" v-if="myInfoData.kaoshiCount"
|
|
|
:customStyle="{background: '#ff2527'}" :text="myInfoData.kaoshiCount" />
|
|
|
- <icon class="ks-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.ksIcon + ')' }"></icon>
|
|
|
<text class="num-title">考试管理</text>
|
|
|
</view>
|
|
|
<view class="num-item-box" @click="goToPage('lx')">
|
|
|
<uni-badge class="uni-badge-left-margin my-num-badge" v-if="myInfoData.lianxiCount"
|
|
|
:customStyle="{background: '#ff2527'}" :text="myInfoData.lianxiCount" />
|
|
|
- <icon class="lx-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.lxIcon + ')' }"></icon>
|
|
|
<text class="num-title">练习管理</text>
|
|
|
</view>
|
|
|
<view class="num-item-box" @click="goToPage('kc')">
|
|
|
<uni-badge class="uni-badge-left-margin my-num-badge" v-if="myInfoData.kechengCount"
|
|
|
:customStyle="{background: '#ff2527'}" :text="myInfoData.kechengCount" />
|
|
|
- <icon class="kc-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.kcIcon + ')' }"></icon>
|
|
|
<text class="num-title">课程管理</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="my-list-box">
|
|
|
<view class="list-row" @click="goToPage('grcj')">
|
|
|
- <icon class="list-icon user-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.userListIcon + ')' }"></icon>
|
|
|
<text>修改个人信息</text>
|
|
|
</view>
|
|
|
<view class="list-row" @click="goToPage('cj')">
|
|
|
- <icon class="list-icon score-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.scoreListIcon + ')' }"></icon>
|
|
|
<text>我的成绩</text>
|
|
|
</view>
|
|
|
<view class="list-row" @click="showZhuaPaiConfirm">
|
|
|
- <icon class="list-icon sxtcs-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.sxtcsListIcon + ')' }"></icon>
|
|
|
<text>摄像头测试</text>
|
|
|
</view>
|
|
|
<view class="list-row" @click="showMessageDl">
|
|
|
- <icon class="list-icon sxtsm-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.sxtsmListIcon + ')' }"></icon>
|
|
|
<text>摄像头说明</text>
|
|
|
</view>
|
|
|
<view class="list-row" @click="exitLogin">
|
|
|
- <icon class="list-icon login-out-icon"></icon>
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.loginOutListIcon + ')' }"></icon>
|
|
|
<text>退出登录</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -90,7 +90,21 @@
|
|
|
kaoshiCount: '',
|
|
|
kechengCount: '',
|
|
|
lianxiCount: '',
|
|
|
- from:''
|
|
|
+ from:'',
|
|
|
+ imgsArr: {
|
|
|
+ myHeadBj: '',
|
|
|
+ defaultUserImg: '',
|
|
|
+ telIcon: '',
|
|
|
+ idcardIcon: '',
|
|
|
+ ksIcon: '',
|
|
|
+ lxIcon: '',
|
|
|
+ kcIcon: '',
|
|
|
+ userListIcon: '',
|
|
|
+ scoreListIcon: '',
|
|
|
+ sxtcsListIcon: '',
|
|
|
+ sxtsmListIcon: '',
|
|
|
+ loginOutListIcon: '',
|
|
|
+ },
|
|
|
});
|
|
|
const commonDialogRef = ref(null);
|
|
|
const shexiangRef = ref(null);
|
|
|
@@ -182,7 +196,18 @@
|
|
|
}
|
|
|
|
|
|
onLoad(() => {
|
|
|
-
|
|
|
+ myInfoData.imgsArr.myHeadBj = cacheManager.get('projectImg').client_my_bj;
|
|
|
+ myInfoData.imgsArr.defaultUserImg = cacheManager.get('projectImg').index_default_img;
|
|
|
+ myInfoData.imgsArr.telIcon = cacheManager.get('projectImg').my_tel_icon;
|
|
|
+ myInfoData.imgsArr.idcardIcon = cacheManager.get('projectImg').my_idcard_icon;
|
|
|
+ myInfoData.imgsArr.ksIcon = cacheManager.get('projectImg').my_ks_icon;
|
|
|
+ myInfoData.imgsArr.lxIcon = cacheManager.get('projectImg').my_lx_icon;
|
|
|
+ myInfoData.imgsArr.kcIcon = cacheManager.get('projectImg').my_kc_icon;
|
|
|
+ myInfoData.imgsArr.userListIcon = cacheManager.get('projectImg').my_editor_icon;
|
|
|
+ myInfoData.imgsArr.scoreListIcon = cacheManager.get('projectImg').my_score_icon;
|
|
|
+ myInfoData.imgsArr.sxtcsListIcon = cacheManager.get('projectImg').my_sxtcs_icon;
|
|
|
+ myInfoData.imgsArr.sxtsmListIcon = cacheManager.get('projectImg').my_sxtsm_icon;
|
|
|
+ myInfoData.imgsArr.loginOutListIcon = cacheManager.get('projectImg').login_out_icon;
|
|
|
})
|
|
|
|
|
|
onShow(() => {
|