35 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2025-06-06 15:17:30 +08:00
<!--subpackage/user/check-status/check-status.wxml-->
<view class="page-content">
<mp-bar background="linear-gradient(190deg, #49a5fc 0%, #f7f7f7 800rpx, #f7f7f7 100%)" title="身份管理" color="#fff"></mp-bar>
<view class="chose" bind:tap="goStautsManger">
</view>
<!-- <view class="card"> -->
<!-- <view class="left">
<image src="{{user.headImageUrl != null && user.headImageUrl != ''? user.headImageUrl :'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/room/avater.png'}}" class="head-img"/>
<view class="name">{{user.userTrueName}}</view>
<view class="age">{{user.roleId == 1 ? '用户':user.roleId == 2?'教师':'家长'}}</view>
</view>
<view class="right-btn now">
当前身份
</view>
</view> -->
<view class="card" wx:for="{{account}}" wx:key="index">
<view class="left">
<image src="{{item.headImageUrl != null && item.headImageUrl != ''? item.headImageUrl :'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/room/avater.png'}}" class="head-img" />
<view class="name">{{item.userTrueName}}</view>
<view class="age">{{item.roleId == 1 ? '用户':item.roleId == 2?'教师':'家长'}} </view>
</view>
<view class="right-btn" wx:if="{{item.roleId != id}}" data-item="{{item}}" bind:tap="changeTheme">
切换身份
</view>
<view class="right-btn now" wx:else >
当前身份
</view>
</view>
<view class="add" bind:tap="add" wx:if="{{account.length < 3}}">添加身份</view>
</view>