eventDetail.wxml 11 KB

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