1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
- <view slot="info" class="main" style="height:{{infoHeight}}px;">
- <view class="one">
- <button type="primary" size="mini" bindtap="toAdd">添加人员</button>
- </view>
- <view class="two">
- <view class="list" wx:key="item" wx:for="{{list}}">
- <view class="name">{{item.name}}</view>
- <view class="other">
- <view class="otherInfo">联系电话:<text>{{item.phone||'暂无' }}</text></view>
- <view class="otherInfo textOver">联系地址:<text>{{item.address||'暂无' }}</text></view>
- </view>
- <view class="btn">
- <button type="info" size="mini" bindtap="toView" data-id="{{item.id}}">详细信息</button>
- <button type="info" size="mini" bindtap="toEdit" data-id="{{item.id}}">信息变更</button>
- <button type="primary" size="mini" bindtap="toReset" data-id="{{item.id}}">密码重置</button>
- <button type="primary" size="mini" bindtap="toUnbound" data-id="{{item.id}}">微信解绑</button>
- <button type="warn" size="mini" bindtap="toCancel" data-id="{{item.id}}">账号注销</button>
- </view>
- </view>
- </view>
- </view>
- </mobile-main>
- <van-dialog use-slot title="{{dialog.title}}" show="{{ dialog.show }}" confirmButtonText="返回">
- <view class="dialog">
- <view wx:if="{{dialog.type=='1'}}" class="dialog_1">
- <form>
- <view class="content">
- <view class="left"><text>姓名</text></view>
- <view class="right"><input name="name" value="{{info.name}}" disabled></input></view>
- </view>
- <view class="content">
- <view class="left"><text>联系电话</text></view>
- <view class="right"><input name="phone" value="{{info.phone}}" disabled></input></view>
- </view>
- <view class="content">
- <view class="left"><text>电子邮箱</text></view>
- <view class="right"><input name="email" value="{{info.email}}" disabled></input></view>
- </view>
- <view class="content">
- <view class="left"><text>联系地址</text></view>
- <view class="right"><input name="address" value="{{info.address}}" disabled></input></view>
- </view>
- <view class="content">
- <view class="left"><text>工作单位</text></view>
- <view class="right"><input name="company" value="{{info.company}}" disabled></input></view>
- </view>
- <view class="content">
- <view class="left"><text>办公电话</text></view>
- <view class="right"><input name="office_phone" value="{{info.office_phone}}" disabled></input></view>
- </view>
- </form>
- </view>
- </view>
- </van-dialog>
|