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.
28 lines
1017 B
28 lines
1017 B
<page-meta>
|
|
<navigation-bar loading="{{loading}}" />
|
|
</page-meta>
|
|
|
|
<view>
|
|
<view class="message single-line {{showMessage&&message?'':'hidden'}}">
|
|
{{message}}
|
|
</view>
|
|
<mp-slideview wx:for="{{accounts}}" data-id="{{item.user_id}}" buttons="{{buttons}}"
|
|
bindtap="switchAccount" bindlongpress="removeAccount1" bindbuttontap="removeAccount2"
|
|
wx:key="user_id">
|
|
<view class="account" >
|
|
<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>
|
|
</mp-slideview>
|
|
<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> |