index.wxml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.create_time||'暂无' }}</text></view>
  11. <view class="otherInfo">简介:<text>{{item.brief||'暂无' }}</text></view>
  12. <view class="otherInfo textOver">状态:<text>{{item.status||'暂无' }}</text></view>
  13. </view>
  14. <view class="btn">
  15. <button type="info" size="mini" bindtap="toView" data-id="{{item.id}}">详细信息</button>
  16. <button type="info" size="mini" bindtap="toEdit" data-id="{{item.id}}">维护信息</button>
  17. <button type="info" size="mini" bindtap="toAudit" data-id="{{item.id}}">创建审核</button>
  18. <button type="info" size="mini" bindtap="dissolution" data-id="{{item.id}}">解散审核</button>
  19. <button type="info" size="mini" bindtap="toAdds" data-id="{{item.id}}">成员添加</button>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </mobile-main>
  25. <van-dialog use-slot title="{{dialog.title}}" show="{{ dialog.show }}" confirmButtonText="返回">
  26. <view class="dialog">
  27. <view wx:if="{{dialog.type=='1'}}" class="dialog_1">
  28. <form>
  29. <view class="content">
  30. <view class="left"><text>名称</text></view>
  31. <view class="right"><input name="name" value="{{info.name}}" disabled></input></view>
  32. </view>
  33. <view class="content">
  34. <view class="left"><text>创建时间</text></view>
  35. <view class="right"><input name="create_time" value="{{info.create_time}}" disabled></input></view>
  36. </view>
  37. <view class="content">
  38. <view class="left"><text>简介</text></view>
  39. <view class="right"><input name="brief" value="{{info.brief}}" disabled></input></view>
  40. </view>
  41. <view class="content">
  42. <view class="left"><text>状态</text></view>
  43. <view class="right"><input name="status" value="{{info.status}}" disabled></input></view>
  44. </view>
  45. </form>
  46. </view>
  47. <view wx:if="{{dialog.type=='2'}}" class="dialog_1">
  48. <form catchsubmit="formSubmit">
  49. <view class="content">
  50. <view class="left"><text>名称</text></view>
  51. <view class="right"><input name="name" value="{{info.name}}" disabled></input></view>
  52. </view>
  53. <view class="content">
  54. <view class="left"><text>status</text></view>
  55. <view class="right">
  56. <radio-group name="radio" style="font-size: 12px;">
  57. <label><radio value="radio1"/>待审中</label>
  58. <label><radio value="radio2"/>审核通过</label>
  59. <label><radio value="radio3"/>审核拒绝</label>
  60. </radio-group>
  61. </view>
  62. </view>
  63. <view class="btn-area">
  64. <button style="margin: 30rpx 0" type="primary" formType="submit">确认</button>
  65. </view>
  66. </form>
  67. </view>
  68. </view>
  69. </van-dialog>