This commit is contained in:
Wang Kejun 2022-08-02 19:04:57 +08:00
parent 9d2d3231de
commit 208a6d0e2f
2 changed files with 10 additions and 7 deletions

View File

@ -9,19 +9,20 @@
</block>
</view>
<view class="col">
<t-cell title="手机号" hover>
<view slot="note">
<view wx:if="{{mobileCount > 1}}">{{mobileCount}}条手机号</view>
<view wx:elif="{{mobileCount === 1}}">{{mobile}}</view>
<view wx:else>未设置</view>
</view>
</t-cell>
<t-cell title="昵称" hover>
<text slot="note">{{nickname || '未设置'}}</text>
</t-cell>
<t-cell title="姓名" hover>
<text slot="note">{{name || '未设置'}}</text>
</t-cell>
<t-cell title="手机号" hover>
<view slot="note">
<view wx:if="{{mobileCount > 1}}">{{mobileCount}}条手机号</view>
<view wx:elif="{{mobileCount === 1}}">{{mobile}}</view>
<view wx:else>未设置</view>
</view>
</t-cell>
<t-cell title="用户状态" hover arrow>
<t-tag slot="note" shape="round" size="medium" theme="{{stateColor[userState]}}">
{{userState}}

View File

@ -98,6 +98,8 @@ export default OakPage({
await this.execute(this.props.oakId ? 'update' : 'create');
if (this.props.oakFrom === 'user:manage:list') {
this.navigateBack();
} else if (this.props.oakFrom === 'user:manage:detail') {
this.navigateBack();
}
},
onClickPicker(e) {