YZProjectCloud/yanzhu-ui-app/miniprogram/pages/index/index.wxml

82 lines
2.6 KiB
Plaintext
Raw Normal View History

2024-10-13 11:24:45 +08:00
<!--pages/gengduogongneng/gengduogongneng.wxml-->
<view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="4">
<view class="header_img" bindtap="showPopup">
<image src="/images/core.png"></image>
</view>
</van-col>
<van-col span="16">
<view class="header_name">临建管家系统</view>
</van-col>
<van-col span="4"></van-col>
</van-row>
</view>
</view>
<!-- 左侧账号信息 -->
<van-popup show="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28" bind:close="onClosePopup">
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="24">
<view class="left_info_dept">{{userData.parDeptName}}</view>
</van-col>
<van-col span="10">
<view class="left_head">
<image src="../../images/user_3.png"></image>
</view>
</van-col>
<van-col span="14">
<view class="left_info">
<view style="padding: 20px;">{{userData.nickName}}</view>
</view>
</van-col>
</van-row>
<view class="left_manage_min">
<view class="left_manage" bindtap="XGMM">
<image src="/images/set.png" class="left_icon"></image>
<text class="left_password">修改密码</text>
<image src="/images/right.png" class="left_flaot"></image>
</view>
</view>
<view class="left_manage_min">
<view class="left_manage" bindtap="TCDL">
<image src="/images/set.png" class="left_icon"></image>
<text class="left_sign">退出登录</text>
<image src="/images/right.png" class="left_flaot"></image>
</view>
</view>
</view>
</van-popup>
<view class="max_content">
<view class="module_max">
<view class="module_min">
<view class="module_title pro_user">
<view>{{userData.nickName}}</view>
</view>
<view class="module_title pro_dept">
<view>{{userData.dept.deptName}}</view>
</view>
<view class="module_title pro_project">
<view>{{userData.parDeptName}}</view>
</view>
<view class="pro_herads">
<image src="https://guangzhou.sxyanzhu.com/YZLJXM/profile/static/yanzhu_logo.png"></image>
</view>
</view>
</view>
<view class="menu_max" style="margin-top: 20rpx;">
<van-row class="demo clearfix">
<van-col span="8" wx:for="{{menuList}}" wx:key="unique">
<view class="menu_min" data-id="{{item.menuIdenti}}" data-url="{{item.menuUrl}}" bindtap="goMenu">
<span class="tabNum_active" wx:if="{{item.menuIdenti=='DWBLRW' && todoDB>0}}">{{todoDB}}</span>
<span class="tabNum_active" wx:if="{{isCheckRole && item.menuIdenti=='JCYSGL' && chckDB>0}}">{{chckDB}}</span>
<image src="{{item.menuImg}}"></image>
<view>{{item.menuName}}</view>
</view>
</van-col>
</van-row>
</view>
</view>