index.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <My_GeneralTemplate padBot="20rpx">
  2. <view class="store_message">
  3. <My_GreyRectangleForm title="需求分类" required>
  4. <view style="width: 100%; height: 100%; z-index: 999; position: absolute;" bindtap="showPop"></view>
  5. <van-field autosize model:value="{{ ftype }}" data-name="ftype" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.ftype}}" input-class="input-class" placeholder="点击设置" border="{{ false }}" />
  6. </My_GreyRectangleForm>
  7. <My_GreyRectangleForm title="需求标题" required>
  8. <van-field autosize model:value="{{ ftitle }}" data-name="ftitle" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.ftitle}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  9. </My_GreyRectangleForm>
  10. <My_GreyRectangleForm title="需求内容" required>
  11. <van-field autosize model:value="{{ fcontent }}" data-name="fcontent" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fcontent}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  12. </My_GreyRectangleForm>
  13. <My_GreyRectangleForm title="产品图">
  14. <My_UploadFiles fileList="{{attinfos}}" upType="SupplyAndDemand" UploadShow="{{true}}" maxCount="3" tsupplyanddemand="{{tsupplyanddemand}}" previewSize="65px"></My_UploadFiles>
  15. </My_GreyRectangleForm>
  16. <My_GreyRectangleForm title="下架日期">
  17. <view style="width: 100%; height: 100%; z-index: 999; position: absolute;" bindtap="setDate"></view>
  18. <van-field autosize model:value="{{ fenddate }}" input-class="input-class" placeholder="点击设置" border="{{ false }}" />
  19. </My_GreyRectangleForm>
  20. </view>
  21. </My_GeneralTemplate>
  22. <!-- 弹出层 -->
  23. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  24. <My_MultipleChoice title="需求分类" dataList="{{ftypeList}}" pitchOnItem="{{ftype}}" bind:optionChange="radioChange"></My_MultipleChoice>
  25. </van-action-sheet>
  26. <!-- 时间选择器 -->
  27. <My_selectTime id="SetDate" maxDate="{{maxDate}}" minDate="{{minDate}}" bind:getTimeData="setSoldOut"></My_selectTime>
  28. <!-- 提交按钮 -->
  29. <view class="submit_but">
  30. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">发 布</van-button>
  31. </view>