12345678910111213141516171819202122232425262728293031323334353637383940 |
- <My_GeneralTemplate padBot="20rpx">
- <view class="store_message">
- <My_GreyRectangleForm title="需求分类" required>
- <view class="clickPop" bindtap="showPop">{{ftype?ftype:"点击选择"}}</view>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="需求标题" required>
- <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 }}" />
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="需求内容" required>
- <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 }}" />
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="产品图">
- <My_UploadFiles id="UploadFiles" fileList="{{attinfos}}" upType="SupplyAndDemand" UploadShow="2" previewSize="60px" maxCount="3" tsupplyanddemand="{{tsupplyanddemand}}" previewSize="65px" bindimageChange="imageChange"></My_UploadFiles>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="下架日期">
- <!-- 时间选择器 -->
- <picker mode="date" start="{{dateStart}}" end="{{dateEnd}}" bindchange="dateChange">
- <view class="picker">
- {{optionDate}}
- </view>
- </picker>
- <!-- 时间选择器 -->
- <picker mode="time" start="{{tiemStart}}" end="{{tiemEnd}}" bindchange="timeChange">
- <view wx:if="{{optionDate!='选择日期'}}" class="picker" style="margin-left: 8rpx;">
- {{opitonTime}}
- </view>
- </picker>
- </My_GreyRectangleForm>
- </view>
- </My_GeneralTemplate>
- <!-- 弹出层 -->
- <van-action-sheet show="{{ popups }}" bind:close="showPop">
- <My_MultipleChoice title="需求分类" dataList="{{ftypeList}}" pitchOnItem="{{ftype}}" bind:optionChange="radioChange"></My_MultipleChoice>
- </van-action-sheet>
- <!-- 提交按钮 -->
- <view class="submit_but">
- <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">发 布</van-button>
- </view>
|