shteam.wxml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="container main">
  3. <view class="one">
  4. <input type="text" value="{{searchInfo.teammate_name}}" bindconfirm="search" placeholder="请输入队友姓名" />
  5. </view>
  6. <view class="two">
  7. <scroll-view scroll-y="true" class="scroll-view">
  8. <view class="list-scroll-view">
  9. <view class="list" wx:for="{{list}}" wx:key="item">
  10. <view class="name textOver">{{item.apply_time||'暂无'}}</view>
  11. <view class="other">
  12. <view class="other_1"><text>赛事名称:</text><text>{{item.match_name}}</text></view>
  13. <view class="other_1"><text>申请组队姓名:</text><text>{{item.applyuser_name}}</text></view>
  14. <view class="other_1"><text>队友姓名:</text><text>{{item.teammate_name}}</text></view>
  15. <view class="other_1"><text>状态:</text><text>{{item.status=='0'?'待审中':item.status=='1'?'审核通过':'审核拒绝'}}</text></view>
  16. </view>
  17. <view class="btn">
  18. <button size="mini" type="primary" bindtap="toView" data-item="{{item}}">详细信息</button>
  19. <button size="mini" type="primary" bindtap="toCheck" data-item="{{item}}">审核申请</button>
  20. </view>
  21. </view>
  22. </view>
  23. </scroll-view>
  24. </view>
  25. </view>
  26. </mobile-main>
  27. <e-dialog dialog="{{dialog}}" bind:toClose="toClose">
  28. <view slot="info">
  29. <view class="dialog_one" wx:if="{{dialog.type=='1'}}">
  30. <view class="one_1">
  31. <text class="text">赛事名称:</text>
  32. <text class="text1">{{info.match_name||'暂无'}}</text>
  33. </view>
  34. <view class="one_1">
  35. <text class="text">赛事组别:</text>
  36. <text class="text1">{{info.grouping_name||'暂无'}}</text>
  37. </view>
  38. <view class="one_1">
  39. <text class="text">组内项目:</text>
  40. <text class="text1">{{info.project_name||'暂无'}}</text>
  41. </view>
  42. <view class="one_1">
  43. <text class="text">申请组队姓名:</text>
  44. <text class="text1">{{info.applyuser_name||'暂无'}}</text>
  45. </view>
  46. <view class="one_1">
  47. <text class="text">队友姓名:</text>
  48. <text class="text1">{{info.teammate_name||'暂无'}}</text>
  49. </view>
  50. <view class="one_1">
  51. <text class="text">申请时间:</text>
  52. <text class="text1">{{info.apply_time||'暂无'}}</text>
  53. </view>
  54. <view class="one_1">
  55. <text class="text">状态:</text>
  56. <text class="text1">{{info.status=='0'?'待审中':info.status=='1'?'审核通过':'审核拒绝'}}</text>
  57. </view>
  58. </view>
  59. <view class="dialog_two" wx:elif="{{dialog.type=='2'}}">
  60. <form bindsubmit="onSubmit">
  61. <view class="content">
  62. <view class="label textOver">状态</view>
  63. <view class="value">
  64. <picker mode="selector" bindchange="statusChange" name="status" value="{{info.status}}" range-key="label" range="{{statusList}}">
  65. <view class="input">{{info.status=='0'?'待审中':info.status=='1'?'审核通过':'审核拒绝'}}</view>
  66. </picker>
  67. </view>
  68. </view>
  69. <view class="btn">
  70. <button type="primary" size="mini" formType="submit">提交审核</button>
  71. </view>
  72. </form>
  73. </view>
  74. </view>
  75. </e-dialog>