conference.wxml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <view class="{{show?'fixed':''}}">
  2. <image class='banner' src="{{info.img}}"></image>
  3. <view class='name'>{{info.name}}</view>
  4. <view class="info">
  5. <text>发布单位:{{info.publish_unit}}</text>
  6. <text>主办方:{{info.hold_unit}}</text>
  7. <text>承办方:{{info.assist_unit}}</text>
  8. <text>发表时间:{{info.uptime}}</text>
  9. <text>活动时间:{{info.begin_time}}至{{info.end_time}}</text>
  10. </view>
  11. <view class="title">活动简介:</view>
  12. <view class="content">
  13. {{info.desc}}
  14. </view>
  15. <view class="title" wx:if='{{info.content}}'>活动内容:</view>
  16. <view class="content">
  17. <rich-text nodes='{{info.content}}'></rich-text>
  18. </view>
  19. <view class="title" wx:if='{{info.speaker.length>0}}'>主讲人</view>
  20. <view class="list" wx:for='{{info.speaker}}'>
  21. <image mode="widthFix" src="{{item.img}}"></image>
  22. <view>
  23. <view class="tt">{{item.name}} </view>
  24. <text>{{item.intruduce}}</text>
  25. </view>
  26. </view>
  27. <button wx:if='{{info.is_signup && !info.is_over && !info.is_user_signuped}}' bindtap="open" class="post">我要报名</button>
  28. <button wx:if='{{info.is_signup && info.is_over}}' disabled="true" class="post">已结束</button>
  29. <button wx:if='{{info.is_signup && info.is_user_signuped && !info.is_over}}' disabled="true" class="post">已报名</button>
  30. </view>
  31. <view class="bg" wx:if='{{show}}'>
  32. <form class="form" bindsubmit='submit'>
  33. <image bindtap='close' class='close' mode="widthFix" src="../images/close.png"></image>
  34. <view class="form_tt">请填写报名信息</view>
  35. <view class="item">
  36. <label>手机号:</label>
  37. <input bindinput="phoneChange" name='phone'
  38. placeholder-style='color:#999;' placeholder="请输入手机号"></input>
  39. <text wx:if='{{text=="发送验证码"}}' bindtap="sendcode" class="code">{{text}}</text>
  40. <text wx:else style="color:#999;" class="code">{{text}}</text>
  41. </view>
  42. <view class="item">
  43. <label>验证码:</label><input name='code' placeholder-style='color:#999;' placeholder="请输入验证码"></input>
  44. </view>
  45. <view class="item" wx:for='{{info.signup_fields}}' wx:if='{{item!="phone"}}'>
  46. <label>{{labels[item]}}:</label>
  47. <input wx:if='{{item!="sex"}}' name='{{item}}' placeholder-style='color:#999;'
  48. placeholder="请输入{{labels[item]}}"></input>
  49. <picker wx:if='{{item == "sex"}}' name='sex' bindchange="bindSexChange"
  50. value="{{sex}}" range="{{sex_array}}">
  51. <view class="picker">
  52. <text wx:if='{{sex<0}}'>请选择</text>
  53. {{sex_array[sex]}}
  54. </view>
  55. </picker>
  56. </view>
  57. <text class="ts">温馨提示</text>
  58. <text class="ts">报名成功后工作人员会尽快与您取得联系</text>
  59. <button formType="submit" class="post">提交报名信息</button>
  60. </form>
  61. </view>