index.wxml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <view class="home-index">
  2. <view class="page-section page-section-spacing swiper">
  3. <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
  4. <block wx:for="{{background}}" wx:key="index">
  5. <swiper-item>
  6. <image class="swiper-image" src="{{item}}" mode="scaleToFill" />
  7. </swiper-item>
  8. </block>
  9. </swiper>
  10. </view>
  11. <view class="form-index">
  12. <van-row gutter="1">
  13. <van-col span="12">
  14. <van-field label="活动城市" readonly="{{ true }}" right-icon="location" value="{{ formData.city_name }}" placeholder="活动城市" bindtap="onFormChange" data-type="city" />
  15. </van-col>
  16. <van-col span="12">
  17. <van-field label="联系电话" clickable="{{ true }}" value="{{ phone }}" maxlength="11" placeholder="联系电话" bind:blur="onPhoneChange" />
  18. </van-col>
  19. <van-col span="12">
  20. <van-field label="活动时间" readonly="{{ true }}" right-icon="arrow" value="{{ formData.act_time_name }}" placeholder="活动举办时间?" bindtap="onFormChange" data-type="act_time" />
  21. </van-col>
  22. <van-col span="12">
  23. <van-field label="活动人数" readonly="{{ true }}" right-icon="arrow" value="{{ formData.participant_name }}" placeholder="参加人数?" bindtap="onFormChange" data-type="participant" />
  24. </van-col>
  25. <van-col span="12">
  26. <van-field label="活动预算" readonly="{{ true }}" right-icon="arrow" value="{{ formData.budget_name }}" placeholder="大致预算?" bindtap="onFormChange" data-type="budget" />
  27. </van-col>
  28. <van-col span="12">
  29. <van-field label="活动类型" readonly="{{ true }}" right-icon="arrow" value="{{ formData.require_item_name }}" placeholder="办一场什么活动?" bindtap="onFormChange" data-type="require_item" />
  30. </van-col>
  31. <van-col span="24">
  32. <van-field label="其他需求" bindtap="onFormChange" data-type="req_demand" readonly="{{ true }}" right-icon="arrow" value="{{ formData.req_demand_name }}" placeholder="您的需求项目?" border="{{ false }}" />
  33. </van-col>
  34. </van-row>
  35. <view class="form-btn">
  36. <van-button type="primary" custom-style="font-size:16px;font-weight:bold" round block bindtap="submitTap">
  37. 免费帮我找场地
  38. </van-button>
  39. </view>
  40. </view>
  41. <popup-modal show="{{show}}" popupType="{{popupType}}" popupKey="{{popupKey}}" popupTitle="{{popupTitle}}" popupValue="{{popupValue}}" popupApi="{{popupApi}}" binditemClick="tapItemClick" bindleftClick="popupLeft"/>
  42. </view>