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.
|
|
|
<page-meta>
|
|
|
|
<navigation-bar loading="{{loading}}" />
|
|
|
|
</page-meta>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<mp-toptips msg="{{message}}" type="info" show="{{message&&showMessage}}" delay="0"/>
|
|
|
|
|
|
|
|
<!--view class="message single-line {{showMessage&&message?'':'hidden'}}">
|
|
|
|
{{message}}
|
|
|
|
</view-->
|
|
|
|
<view class="empty" wx:if="{{accounts.length==0}}">
|
|
|
|
<text>暂无账号</text>
|
|
|
|
</view>
|
|
|
|
<view wx:else class="empty">
|
|
|
|
轻触切换账号
|
|
|
|
</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>
|
|
|
|
|
|
|
|
<button class="addAccount" type="main" bindtap="addAccount">添加账号</button>
|
|
|
|
<button class="nav-back" type="main" plain="1" bindtap="navBack">返回</button>
|
|
|
|
</view>
|