12345678910111213141516171819202122232425262728293031323334353637 |
- <My_GeneralTemplate padBot="20rpx">
- <view class="store_message">
- <My_GreyRectangleForm title="需求分类" required>
- <view class="clickPop {{ftype==''?'':'selected'}} {{errTips.ftype?'selected':''}}" style="color: {{errTips.ftype?'#EF2C48':'#000'}};" bindtap="showPop">{{ftype?ftype:"点击选择"}}</view>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="需求标题" required>
- <van-field 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 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!='选择日期'?'selected':''}}">
- {{optionDate}}
- </view>
- </picker>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="是否上架">
- <van-switch checked="{{ checked }}" size="24px" active-color="#4CBECF" bind:change="checkedOnChange" />
- </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>
|