index.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="main" style="height:{{infoHeight}}px;">
  3. <view class="one">
  4. <button type="primary" size="mini" bindtap="toAdd">添加人员</button>
  5. </view>
  6. <view class="two">
  7. <view class="list" wx:key="item" wx:for="{{list}}">
  8. <view class="name">{{item.name}}</view>
  9. <view class="other">
  10. <view class="otherInfo">联系电话:<text>{{item.phone||'暂无' }}</text></view>
  11. <view class="otherInfo textOver">联系地址:<text>{{item.address||'暂无' }}</text></view>
  12. </view>
  13. <view class="btn">
  14. <button type="info" size="mini" bindtap="toView" data-id="{{item.id}}">详细信息</button>
  15. <button type="info" size="mini" bindtap="toEdit" data-id="{{item.id}}">信息变更</button>
  16. <button type="primary" size="mini" bindtap="toReset" data-id="{{item.id}}">密码重置</button>
  17. <button type="primary" size="mini" bindtap="toUnbound" data-id="{{item.id}}">微信解绑</button>
  18. <button type="warn" size="mini" bindtap="toCancel" data-id="{{item.id}}">账号注销</button>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </mobile-main>
  24. <van-dialog use-slot title="{{dialog.title}}" show="{{ dialog.show }}" confirmButtonText="返回">
  25. <view class="dialog">
  26. <view wx:if="{{dialog.type=='1'}}" class="dialog_1">
  27. <form>
  28. <view class="content">
  29. <view class="left"><text>姓名</text></view>
  30. <view class="right"><input name="name" value="{{info.name}}" disabled></input></view>
  31. </view>
  32. <view class="content">
  33. <view class="left"><text>联系电话</text></view>
  34. <view class="right"><input name="phone" value="{{info.phone}}" disabled></input></view>
  35. </view>
  36. <view class="content">
  37. <view class="left"><text>电子邮箱</text></view>
  38. <view class="right"><input name="email" value="{{info.email}}" disabled></input></view>
  39. </view>
  40. <view class="content">
  41. <view class="left"><text>联系地址</text></view>
  42. <view class="right"><input name="address" value="{{info.address}}" disabled></input></view>
  43. </view>
  44. <view class="content">
  45. <view class="left"><text>工作单位</text></view>
  46. <view class="right"><input name="company" value="{{info.company}}" disabled></input></view>
  47. </view>
  48. <view class="content">
  49. <view class="left"><text>办公电话</text></view>
  50. <view class="right"><input name="office_phone" value="{{info.office_phone}}" disabled></input></view>
  51. </view>
  52. </form>
  53. </view>
  54. </view>
  55. </van-dialog>