index.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 type="textarea" 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 type="textarea" 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 type="textarea" 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 id="UploadFiles" fileList="{{attinfos}}" upType="SupplyAndDemand" UploadShow="{{true}}" maxCount="3" tsupplyanddemand="{{tsupplyanddemand}}" previewSize="65px" bindimageChange="imageChange"></My_UploadFiles>
  15. </My_GreyRectangleForm>
  16. <My_GreyRectangleForm title="下架日期">
  17. <!-- 时间选择器 -->
  18. <picker mode="date" start="{{dateStart}}" end="{{dateEnd}}" bindchange="dateChange">
  19. <view class="picker">
  20. {{optionDate}}
  21. </view>
  22. </picker>
  23. <!-- 时间选择器 -->
  24. <picker mode="time" start="{{tiemStart}}" end="{{tiemEnd}}" bindchange="timeChange">
  25. <view wx:if="{{optionDate!='选择日期'}}" class="picker" style="margin-left: 8rpx;">
  26. {{opitonTime}}
  27. </view>
  28. </picker>
  29. </My_GreyRectangleForm>
  30. </view>
  31. </My_GeneralTemplate>
  32. <!-- 弹出层 -->
  33. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  34. <My_MultipleChoice title="需求分类" dataList="{{ftypeList}}" pitchOnItem="{{ftype}}" bind:optionChange="radioChange"></My_MultipleChoice>
  35. </van-action-sheet>
  36. <!-- 提交按钮 -->
  37. <view class="submit_but">
  38. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">发 布</van-button>
  39. </view>