eventDetail.wxml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <wxs src="../../utils/util.wxs" module="tools" />
  2. <image class='banner' mode="widthFix" src="{{info.img}}"></image>
  3. <view class="info">
  4. <view>{{info.name}}</view>
  5. <text>主办单位:{{info.organizer_info.name}}</text>
  6. <text>主讲人:{{info.speaker}}</text>
  7. <text>时间:{{info.begin_time}}—{{info.end_time}} </text>
  8. <text>地址:{{info.city}}{{info.address}}</text>
  9. </view>
  10. <view class="content">
  11. <view class="tt">会议简介</view>
  12. <view id='content' class="p {{zk1==1?'':'sq'}}">
  13. {{info.desc}}
  14. </view>
  15. <block wx:if='{{show1}}'>
  16. <text bindtap="sq1" class="zksq" wx:if='{{zk1}}'>收起</text>
  17. <text bindtap="zk1" class="zksq" wx:if='{{!zk1}}'>展开</text>
  18. </block>
  19. </view>
  20. <view class="content">
  21. <view class="tt">{{info.organizer_info.name}}</view>
  22. <view id='content1' class="p {{zk2==1?'':'sq'}}">
  23. {{info.organizer_info.desc}}
  24. </view>
  25. <block wx:if='{{show2}}'>
  26. <text bindtap="sq2" class="zksq" wx:if='{{zk2}}'>收起</text>
  27. <text bindtap="zk2" class="zksq" wx:if='{{!zk2}}'>展开</text>
  28. </block>
  29. </view>
  30. <view>
  31. <view class="tt">会议内容</view>
  32. <!-- <editor style="margin:10px 0;padding:0 10px;" read-only="{{true}}" id="editor" class="ql-container">
  33. </editor> -->
  34. <view class="content">
  35. <rich-text nodes='{{info.content}}'></rich-text>
  36. </view>
  37. </view>
  38. <view class="hotel" wx:if='{{info.hotel.name}}'>
  39. <view class="tt">酒店信息</view>
  40. <image style="width:100%;" mode="widthFix" src="{{info.hotel.imgs[0]}}"></image>
  41. <view>{{info.hotel.name}}</view>
  42. <view>地址:{{info.hotel.address}} <text class="map" bindtap="map">查看地图</text></view>
  43. <view>联系电话:{{info.hotel.telephone}}</view>
  44. <view class="room">
  45. <image src="{{info.room.imgs[0]}}"></image>
  46. <view>
  47. <view>{{info.room.name}}</view>
  48. <view><text>{{info.room.room_area}}m²</text> <text>{{info.room.enable_number}}人入住</text></view>
  49. <view>剩余数量:{{info.room.room_number}}</view>
  50. </view>
  51. </view>
  52. </view>
  53. <button wx:if='{{info.is_signup && !info.is_user_signuped && !info.is_over}}' bindtap="open" class="post">我要报名</button>
  54. <button wx:if='{{info.is_signup && info.is_user_signuped && !info.is_over}}' disabled="true" class="post">已报名</button>
  55. <button wx:if='{{info.is_over}}' disabled="true" class="post">已结束</button>
  56. <view class="bg" wx:if='{{show}}'>
  57. <form wx:if='{{page==1}}' class="form" bindsubmit='submit'>
  58. <image bindtap='close' class='close' mode="widthFix" src="../images/close.png"></image>
  59. <view class="form_tt">请填写报名信息</view>
  60. <view class="item">
  61. <label>姓名:</label><input name='name' placeholder-style='color:#999;' placeholder="请输入姓名"></input>
  62. </view>
  63. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "sex")}}'>
  64. <label>性别:</label>
  65. <picker name='sex' bindchange="bindSexChange" value="{{sex}}" range="{{sex_array}}">
  66. <view class="picker">
  67. <text wx:if='{{sex<0}}'>请选择</text>
  68. {{sex_array[sex]}}
  69. </view>
  70. </picker>
  71. </view>
  72. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "age")}}'>
  73. <label>年龄:</label><input name='age' placeholder-style='color:#999;' placeholder="请输入年龄"></input>
  74. </view>
  75. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "job")}}'>
  76. <label>职务:</label><input name='job' placeholder-style='color:#999;' placeholder="请输入职务"></input>
  77. </view>
  78. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "title")}}'>
  79. <label>职称:</label><input name='title' placeholder-style='color:#999;' placeholder="请输入职称"></input>
  80. </view>
  81. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "company")}}'>
  82. <label>所属单位:</label>
  83. <picker name='is_caos' bindchange="bindPickerChange" value="{{job}}" range="{{job_array}}">
  84. <view class="picker">
  85. {{job_array[job]}}
  86. </view>
  87. </picker>
  88. </view>
  89. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "company")}}'>
  90. <label>单位名称:</label>
  91. <input wx:if='{{job==0}}' name='company' placeholder-style='color:#999;' placeholder="请输入单位名称"></input>
  92. <picker wx:else mode="multiSelector" bindchange="bindMultiPickerChange" range-key='value'
  93. bindcolumnchange="bindMultiPickerColumnChange" value="{{index}}" range="{{list}}">
  94. <view class="picker">
  95. {{list[0][index[0]].value}} {{list[1][index[1]].value}} {{list[2][index[2]].value}}
  96. </view>
  97. </picker>
  98. </view>
  99. <view class="item">
  100. <label>手机号:</label><input bindinput="phoneChange" name='phone' placeholder-style='color:#999;' placeholder="请输入手机号"></input>
  101. <text wx:if='{{text=="发送验证码"}}' bindtap="sendcode" class="code">{{text}}</text>
  102. <text wx:else style="color:#999;" class="code">{{text}}</text>
  103. </view>
  104. <view class="item">
  105. <label>验证码:</label><input name='code' placeholder-style='color:#999;' placeholder="请输入验证码"></input>
  106. </view>
  107. <view class="item" wx:if='{{tools.indexOf(info.signup_fields, "email")}}'>
  108. <label>邮箱:</label><input name='email' placeholder-style='color:#999;' placeholder="请输入邮箱"></input>
  109. </view>
  110. <text class="ts">温馨提示</text>
  111. <text class="ts">报名成功后工作人员会尽快与您取得联系</text>
  112. <button formType="submit" class="post">提交报名信息</button>
  113. </form>
  114. <view class="form form1" wx:if='{{page==2}}'>
  115. <view class="form_tt">提示</view>
  116. <view class="tips">您的报名信息已提交成功,请尽快缴纳会议费。
  117. <text>(!参会人员需先缴纳会议费,才能预订酒店住房)</text>
  118. </view>
  119. <view class="form_info">
  120. <text>{{info.sign_note}}</text>
  121. <!-- <text>会议费有以下2种方式付款:</text>
  122. <text>(1)转账汇款(公对公转账)。备注:姓名+29次年会转账汇款信息:</text>
  123. <text>单位名称:中国科学院文献情报中心</text>
  124. <text>账号:0200 00450908 8129 221</text>
  125. <text>开户行:北京工行海淀西区支行</text>
  126. <text>(2)支票(仅限北京参会代表)。</text> -->
  127. </view>
  128. <button bindtap="next" class="post">下一步</button>
  129. </view>
  130. <form class="form form2" wx:if='{{page==3}}' bindsubmit='submit1'>
  131. <view class="form_tt">上传入住凭证</view>
  132. <view class="upload" bindtap="upload">
  133. <block wx:if='{{!proof_img}}'>
  134. <image mode="widthFix" src="../images/up.png"></image>
  135. (上传银行汇款凭证或其他财务转账证明)
  136. </block>
  137. <image class="proof_img" wx:else mode="heightFix" src="{{proof_img}}"></image>
  138. </view>
  139. <view class="item">
  140. <label style="width:105rpx;">支付方式</label>
  141. <radio-group name='paytype'>
  142. <radio value="1">汇款</radio>
  143. <radio style="margin-left:10px;" value="2">支票</radio>
  144. </radio-group>
  145. </view>
  146. <view class="item">
  147. <label style="width:105rpx;">发票种类:</label>
  148. <radio-group name='billtype'>
  149. <radio value="1">增值税普通发票</radio>
  150. <radio style="margin-left:8px;" value="2">增值税专用发票</radio>
  151. </radio-group>
  152. </view>
  153. <view class="item">
  154. <label>发票抬头:</label><input name='billhead'></input>
  155. </view>
  156. <view class="item">
  157. <label>纳税人识别号:</label><input name='billno'></input>
  158. </view>
  159. <view class="item">
  160. <label>注册地址(专票必填):</label><input name='billaddress'></input>
  161. </view>
  162. <view class="item">
  163. <label>注册电话(专票必填):</label><input name='billphone'></input>
  164. </view>
  165. <view class="item">
  166. <label>开户行(专票必填):</label><input name='billbank'></input>
  167. </view>
  168. <view class="item">
  169. <label>银行帐号(专票必填):</label><input name='billbankno'></input>
  170. </view>
  171. <view class="btns">
  172. <button formType="submit">提交信息</button>
  173. <button bindtap="skip" class="success">跳过</button>
  174. </view>
  175. </form>
  176. <view class="form form1" style="height:600rpx;" wx:if='{{page==4}}'>
  177. <view class="form_tt">提示</view>
  178. <view class="suc">凭证上传成功</view>
  179. <view class="form_info">
  180. <text>待文献情报中心财务部门确认收到会议费后,系统将发送授权码至报名手机。</text>
  181. <text>请您凭授权码登录报名系统预订酒店住房。</text>
  182. </view>
  183. <!-- <button bindtap="sure" class="post">关闭</button> -->
  184. <button bindtap="home" class="post">确认</button>
  185. </view>
  186. <view wx:if='{{page==5}}' class="bg end" style="background:#F1F1F1;">
  187. <icon type="success" size='72'></icon>
  188. <view>恭喜您报名成功</view>
  189. <view class="form_info">请您准时参加会议,到达会议地点届时将会有我方工作人员安排您的入住</view>
  190. <button bindtap="home" class="post">确认</button>
  191. </view>
  192. </view>