<view class="header" wx:if="{{false}}">
|
<view class="user" hoverClass="none">
|
<view class="user_box">
|
<view catchtap="previewImage" class="logo">
|
<image src="{{userInfo.avatarUrl}}"></image>
|
</view>
|
<block>
|
<view class="user_info">
|
<view class="user_name">
|
<view>
|
{{userInfo.RealName == null?'':userInfo.RealName}}
|
</view>
|
<!-- userInfo.gender==1 表示性别为男 -->
|
<icon wx:if="{{userInfo.gender==1}}" class="iconfont icon-xingbie-nan" style="color:#75B9EB;"></icon>
|
<!-- userInfo.gender==2 表示性别为女 -->
|
<icon wx:elif="{{userInfo.gender==2}}" class="iconfont icon-xingbienv" style="color:#FF9DC6;"></icon>
|
<!-- userInfo.gender==0 表示未知 -->
|
<icon wx:else class=""></icon>
|
</view>
|
<view class="vip_expires">欢迎您! {{userInfo.nickName}}
|
</view>
|
</view>
|
</block>
|
</view>
|
</view>
|
<image src='https://www.beng35.com/assets/miniProgram/user_ui_wave.gif' mode='scaleToFill' class='gif-wave'></image>
|
</view>
|
|
<view class="section" wx:if="{{false}}">
|
<view class="tui-table-view">
|
<navigator url="/station/search/index" wx:if="{{isDeBug}}" class=" tui-col-3">
|
<icon class="iconfont icon-xiaowuzonghe-renyuanfangjiansousuo"></icon>
|
<view class="cmdBtnLabel">搜索</view>
|
</navigator>
|
<navigator url="/other/about/EventechInfo" class="tui-col-3">
|
<icon class="iconfont icon-shouquanshuoming"></icon>
|
<view class="cmdBtnLabel">说明</view>
|
</navigator>
|
<view bindtap="openSetting" class="tui-col-3">
|
<icon class="iconfont icon-Set_icon"></icon>
|
<view class="cmdBtnLabel">设置</view>
|
</view>
|
<view bindtap="onScan" class="tui-col-3">
|
<icon class="iconfont icon-saoyisao1"></icon>
|
<view class="cmdBtnLabel">扫一扫</view>
|
</view>
|
<view url="" bindtap="removeStorage" class="tui-col-3">
|
<icon class="iconfont icon-Delete_icon"></icon>
|
<view class="cmdBtnLabel">清除缓存</view>
|
</view>
|
<view url="" bindtap="reLogin" class="tui-col-3">
|
<icon class="iconfont icon-tuichu"></icon>
|
<view class="cmdBtnLabel">重新登录</view>
|
</view>
|
|
|
|
<view url="" bindtap="changePassWord" class="tui-col-3">
|
<icon class="iconfont icon-mima"></icon>
|
<view class="cmdBtnLabel">修改密码</view>
|
</view>
|
</view>
|
</view>
|
|
<scroll-view scroll-y class="scrollPage">
|
<view class="UCenter-bg">
|
<image src="{{userInfo.avatarUrl}}" class="png" mode="widthFix" style="border-radius: 50%;"></image>
|
<view class="text-xl">{{userInfo.nickName==null?'':userInfo.nickName}}
|
<!-- userInfo.gender==0 表示性别为男 -->
|
<icon wx:if="{{userInfo.gender==0}}" class="iconfont icon-xingbie-nan" style="color:#75B9EB;"></icon>
|
<!-- userInfo.gender==1 表示性别为女 -->
|
<icon wx:elif="{{userInfo.gender==1}}" class="iconfont icon-xingbienv" style="color:#FF9DC6;"></icon>
|
<!-- userInfo.gender==0 表示未知 -->
|
<icon wx:else class=""></icon>
|
</view>
|
<view class="margin-top-sm">
|
<text>By:苏州市吴中区金庭自来水厂</text>
|
</view>
|
<image src="https://www.beng35.com/assets/miniProgram/user_ui_wave.gif" mode="scaleToFill" class="gif-wave"></image>
|
</view>
|
<view class="padding flex text-center text-grey bg-white shadow-warp">
|
|
</view>
|
<view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius">
|
<view class="cu-item arrow" bindtap="openSetting">
|
<view class="content" hover-class="none">
|
<text class="cuIcon-settingsfill text-gray"></text>
|
<text class="text-grey">设置</text>
|
</view>
|
</view>
|
<view class="cu-item arrow" bindtap="openEventechInfo">
|
<view class="content" hover-class="none">
|
<text class="cuIcon-formfill text-green"></text>
|
<text class="text-grey">技术支持</text>
|
</view>
|
</view>
|
<view class="cu-item arrow" bindtap="changePassWord">
|
<view class="content" >
|
<text class="cuIcon-lock text-red"></text>
|
<text class="text-grey">修改密码</text>
|
</view>
|
</view>
|
<view class="cu-item arrow" bindtap="reLogin">
|
<button class="cu-btn content" >
|
<text class="cuIcon-exit text-cyan"></text>
|
<text class="text-grey">重新登录</text>
|
</button>
|
</view>
|
<view class="cu-item arrow" bindtap="alarmPush">
|
<button class="cu-btn content" >
|
<text class="cuIcon-notice text-red"></text>
|
<text class="text-grey">报警处理</text>
|
</button>
|
</view>
|
<view class="cu-item arrow" bindtap="removeStorage">
|
<button class="cu-btn content" >
|
<text class="cuIcon-deletefill text-cyan"></text>
|
<text class="text-grey">清除缓存</text>
|
</button>
|
</view>
|
<view class="cu-item arrow" wx:if="{{isDeBug}}" bindtap="onTest">
|
<view class="cu-btn content" >
|
<text class="iconfont icon-qiyeguanwang"></text>
|
<text class="text-grey">测试</text>
|
</view>
|
</view>
|
<view class="cu-item">
|
<view class="content" hover-class="none">
|
<text class="cuIcon-creativefill text-orange"></text>
|
<text class="text-grey">当前版本:{{currentSoftWareVersion}}</text>
|
</view>
|
</view>
|
<view class="cu-item">
|
<view class="content" hover-class="none">
|
<text class="cuIcon-remind text-yellow"></text>
|
<text class="text-grey">更新时间:{{updateTime}}</text>
|
</view>
|
</view>
|
</view>
|
</scroll-view>
|