|
|
|
@ -1,4 +1,72 @@
|
|
|
|
|
<view class="user-display">
|
|
|
|
|
<view class="profile-display">
|
|
|
|
|
<navigator hidden="{{!user.id}}" class="user-info-display" hover-class="none" url="/account/pages/profile/profile">
|
|
|
|
|
<image class="user-avatar" src="{{eduImgDir}}{{user.avatar_url}}"
|
|
|
|
|
catchtap="onTapAvatar" data-url="{{user.avatar_url}}"/>
|
|
|
|
|
<view class="user-info-mid">
|
|
|
|
|
<view class="single-line user-name">{{user.name}}</view>
|
|
|
|
|
<view class="flex-row authentication-display">
|
|
|
|
|
<iconfont catchtap class="authentication-tip" type="authentication"
|
|
|
|
|
showtype="toast" color="{{user.authentication?'white':'#ffffff55'}}"
|
|
|
|
|
size="26" info="{{user.authentication?'已实名认证':'未实名认证'}}" />
|
|
|
|
|
<iconfont catchtap type="certification" showtype="toast"
|
|
|
|
|
size="26" color="{{user.professional_certification?'white':'#ffffff55'}}"
|
|
|
|
|
info="{{user.professional_certification?'已职业认证':'未职业认证'}}" />
|
|
|
|
|
<text class="complete-profile-tip" wx:if="{{!profile_completed}}">完善信息</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="user-info-left">
|
|
|
|
|
<iconfont type="jinru" color="white" size="15" class="enter"></iconfont>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
<navigator hover-class="none" wx:if="{{!user.id}}" class="user-info-display require-login" url="/account/pages/account/account?action=login">
|
|
|
|
|
<image src="{{imgDir}}blank_info_bg.png"></image>
|
|
|
|
|
<text class="ft14 m12">点击登陆,获取更多内容</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
<view class="experience-display flex-row">
|
|
|
|
|
<view class="flex-col experience-item">
|
|
|
|
|
<view class="key">经验值</view>
|
|
|
|
|
<view class="value">{{user.experience||0}}</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<view class="flex-col experience-item">
|
|
|
|
|
<view class="key" bindtap="attendance">金币</view>
|
|
|
|
|
<view class="value" bindtap="attendance">
|
|
|
|
|
{{user.grade||0}}
|
|
|
|
|
<iconfont type="qiandao" color="{{user.attendance_signed?'#ffffff77':'#FEB532'}}" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="box">
|
|
|
|
|
<view class="box-background"></view>
|
|
|
|
|
<view class="whitebox">
|
|
|
|
|
<navigator hover-class="btn-hover" url="/mooc_case/pages/mooc_cases/mooc_cases"
|
|
|
|
|
class="box_context">
|
|
|
|
|
<view class="left-content">
|
|
|
|
|
<view><iconfont class="icon-button" color="#FEB532" type="anli" size="30" /> </view>
|
|
|
|
|
<view>
|
|
|
|
|
<view>教学案例</view>
|
|
|
|
|
<view class="red-tip">查看获奖案例</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="right"> <iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont> </view>
|
|
|
|
|
</navigator>
|
|
|
|
|
<navigator hover-class="btn-hover" url="/competition/pages/competitions/competitions" class="box_context">
|
|
|
|
|
<view class="left-content">
|
|
|
|
|
<view> <iconfont class="icon-button" color="#FEB532" type="jingsai" size="30" /> </view>
|
|
|
|
|
<view>
|
|
|
|
|
<view>在线竞赛</view>
|
|
|
|
|
<view class="red-tip">绿色计算大赛</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="right"> <iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont> </view>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--view class="user-display">
|
|
|
|
|
<navigator hidden="{{user.id}}" class="no-login" style="display: flex;align-items: center;" url="/account/pages/account/account?action=login">
|
|
|
|
|
<image src="{{imgDir}}blank_info_bg.png"></image>
|
|
|
|
|
<text class="color-grey ft14 m12">点击登陆,获取更多内容</text>
|
|
|
|
@ -29,57 +97,57 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
</view>
|
|
|
|
|
</view-->
|
|
|
|
|
|
|
|
|
|
<view class="nav-list" bindtap="enterPage">
|
|
|
|
|
<!--navigator target="miniProgram" app-id="wx2402d86a6b534f77" class="nav educoder">
|
|
|
|
|
<image src="{{attachDir}}872467" class="icon"></image>
|
|
|
|
|
EduCoder云网
|
|
|
|
|
<text class="tip">推荐使用</text>
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"/>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"/>
|
|
|
|
|
</navigator-->
|
|
|
|
|
<navigator url="/mooc_case/pages/mooc_cases/mooc_cases" class="nav">
|
|
|
|
|
<!--navigator url="/mooc_case/pages/mooc_cases/mooc_cases" class="nav">
|
|
|
|
|
<iconfont class="icon" type="anli" size="21" />教学案例
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</navigator>
|
|
|
|
|
<navigator url="/competition/pages/competitions/competitions" class="nav gap">
|
|
|
|
|
<iconfont class="icon" type="jingsai" size="21" />在线竞赛
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</navigator>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</navigator-->
|
|
|
|
|
<view class="nav enter" data-path="change_password">
|
|
|
|
|
<iconfont class="icon" type="xiugaimima" size="21" />修改密码
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont class="icon" color="#0080f0" type="xiugaimima" size="21" />修改密码
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</view>
|
|
|
|
|
<!--view class="nav" data-path="authentication">
|
|
|
|
|
<iconfont class="icon" type="shimingrenzheng" size="21" />实名认证
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</view-->
|
|
|
|
|
<view class="nav gap" data-path="pro_authentication">
|
|
|
|
|
<iconfont class="icon" type="wode-zhiyerenzheng" size="21" />职业认证
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont class="icon" color="#0080f0" type="wode-zhiyerenzheng" size="21" />职业认证
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<button open-type="feedback" class="nav" style="width:auto">
|
|
|
|
|
<iconfont class="icon" type="fankui" size="21" />小程序反馈
|
|
|
|
|
<iconfont class="icon" color="#0080f0" type="fankui" size="21" />小程序反馈
|
|
|
|
|
<text class="tip">有问题,来反馈</text>
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</button>
|
|
|
|
|
<button open-type="contact" class="nav" style="width:auto">
|
|
|
|
|
<iconfont class="icon" type="kefu" size="21" />小程序客服
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont class="icon" color="#0080f0" type="kefu" size="21" />小程序客服
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</button>
|
|
|
|
|
<navigator class="nav gap" url="/setting/pages/setting/setting">
|
|
|
|
|
<iconfont type="shezhi" class="icon" size="21"/>设置
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"/>
|
|
|
|
|
<iconfont type="shezhi" color="#0080f0" class="icon" size="21"/>设置
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"/>
|
|
|
|
|
</navigator>
|
|
|
|
|
<!--navigator url="/markdown/account/about/about" class="nav about gap">
|
|
|
|
|
<iconfont class="icon" type="guanyu" size="21" />关于
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</navigator-->
|
|
|
|
|
<navigator class="nav" bindlongpress="enterUserinfo" url="/account/pages/accounts/accounts">
|
|
|
|
|
<iconfont class="icon" size="21" type="qiehuanzhanghao" />切换账号
|
|
|
|
|
<iconfont class="icon" color="#0080f0" size="21" type="qiehuanzhanghao" />切换账号
|
|
|
|
|
<text class="tip">{{currentLogin}}</text>
|
|
|
|
|
<iconfont type="jinru" color="dimgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
<iconfont type="jinru" color="lightgrey" size="15" class="enter"></iconfont>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|