eventDetail.wxml 10 KB

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