<My_GeneralTemplate padBot="20rpx">
    <view class="store_message">
        <My_GreyRectangleForm title="需求分类" required>
            <view style="width: 100%; height: 100%; z-index: 999; position: absolute;" bindtap="showPop"></view>
            <van-field autosize model:value="{{ ftype }}" data-name="ftype" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.ftype}}" input-class="input-class" placeholder="点击选择" border="{{ false }}" />
        </My_GreyRectangleForm>
        <My_GreyRectangleForm title="需求标题" required>
            <van-field autosize 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 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="{{true}}" 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>