index.wxml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <view class="home-index">
  2. <view class="page-section page-section-spacing swiper">
  3. <swiper class="my-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="24">
  14. <van-field label="活动名称" clickable="{{ true }}" value="{{ formData.name }}" maxlength="50" placeholder="活动名称" bind:blur="onNameChange" />
  15. </van-col>
  16. <van-col span="12">
  17. <van-field label="活动城市" readonly="{{ true }}" right-icon="location" value="{{ formData.city_name }}" placeholder="活动城市" bindtap="onFormChange" data-type="city" />
  18. </van-col>
  19. <van-col span="12">
  20. <van-field label="联系电话" clickable="{{ true }}" value="{{ phone }}" maxlength="11" placeholder="联系电话" bind:blur="onPhoneChange" />
  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="活动时间" readonly="{{ true }}" right-icon="arrow" value="{{ formData.act_time_name }}" placeholder="活动举办时间?" bindtap="onFormChange" data-type="act_time" />
  33. </van-col>
  34. <van-col span="24">
  35. <van-field label="其他需求" bindtap="onFormChange" data-type="req_demand" readonly="{{ true }}" right-icon="arrow" value="{{ formData.req_demand_name }}" placeholder="您的需求项目?" border="{{ false }}" />
  36. </van-col>
  37. <van-col span="24">
  38. <van-field label="所在组织" readonly="{{ true }}" right-icon="arrow" value="{{ formData.item_id_name }}" placeholder="举办活动的组织?" bindtap="onFormChange" data-type="item_id" />
  39. </van-col>
  40. </van-row>
  41. <view class="form-btn">
  42. <van-button type="primary" custom-style="font-size:16px;font-weight:bold;width:100%" round block bindtap="submitTap">
  43. 免费帮我找场地
  44. </van-button>
  45. </view>
  46. </view>
  47. <popup-modal show="{{show}}" popupType="{{popupType}}" popupKey="{{popupKey}}" popupTitle="{{popupTitle}}" popupValue="{{popupValue}}" popupApi="{{popupApi}}" binditemClick="tapItemClick" bindleftClick="popupLeft" />
  48. </view>