index.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <My_GeneralTemplate padBot="20rpx">
  2. <view class="store_message">
  3. <My_GreyRectangleForm title="需求分类" required>
  4. <view class="clickPop" bindtap="showPop">{{ftype?ftype:"点击选择"}}</view>
  5. </My_GreyRectangleForm>
  6. <My_GreyRectangleForm title="需求标题" required>
  7. <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 }}" />
  8. </My_GreyRectangleForm>
  9. <My_GreyRectangleForm title="需求内容" required>
  10. <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 }}" />
  11. </My_GreyRectangleForm>
  12. <My_GreyRectangleForm title="产品图">
  13. <My_UploadFiles id="UploadFiles" fileList="{{attinfos}}" upType="SupplyAndDemand" UploadShow="2" previewSize="60px" maxCount="3" tsupplyanddemand="{{tsupplyanddemand}}" previewSize="65px" bindimageChange="imageChange"></My_UploadFiles>
  14. </My_GreyRectangleForm>
  15. <My_GreyRectangleForm title="下架日期">
  16. <!-- 时间选择器 -->
  17. <picker mode="date" start="{{dateStart}}" end="{{dateEnd}}" bindchange="dateChange">
  18. <view class="picker">
  19. {{optionDate}}
  20. </view>
  21. </picker>
  22. </My_GreyRectangleForm>
  23. </view>
  24. </My_GeneralTemplate>
  25. <!-- 弹出层 -->
  26. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  27. <My_MultipleChoice title="需求分类" dataList="{{ftypeList}}" pitchOnItem="{{ftype}}" bind:optionChange="radioChange"></My_MultipleChoice>
  28. </van-action-sheet>
  29. <!-- 提交按钮 -->
  30. <view class="submit_but">
  31. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">发 布</van-button>
  32. </view>