You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
879 B

<page-meta>
<navigation-bar loading="{{loading}}"/>
</page-meta>
<view>
<view wx:for="{{accounts}}" class="account" data-id="{{item.user_id}}" bindtap="switchAccount" bindlongpress="removeAccount" wx:key="user_id">
<image src="{{eduImgDir}}{{item.image_url}}" class="avatar"></image>
<view class="info">
<view class="name">{{item.name}}</view>
<view class="login">{{item.login}}</view>
</view>
<view class="status" wx:if="{{item.user_id==user.user_id}}">
<icon type="success_no_circle" color="#00b0f0"></icon>
</view>
</view>
<view class="empty" wx:if="{{accounts.length==0}}">
<text>暂无账号</text>
</view>
<button class="addAccount" type="main" bindtap="addAccount">添加账号</button>
<button class="nav-back" type="main" plain="1" bindtap="navBack">返回</button>
<view class="tip">长按移除</view>
</view>