1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <My_GeneralTemplate padBot="20rpx">
- <view class="store_message">
- <My_GreyRectangleForm title="通告标题" required>
- <van-field value="{{ ftitle }}" bind:input='eliminate' 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 value="{{ fsummary }}" bind:input='eliminate' data-name="fsummary" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fsummary}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="通告内容" required>
- <view style="width: 400rpx; text-align: right; color:{{errTips.fcontent?'#EF2855':'#4BBECF'}} ; text-decoration: underline;" catchtap="toRichText">
- 编辑/预览
- </view>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="通告封面">
- <My_UploadFiles id="UploadFiles" fileList="{{coverFiles}}" upType="annunciate" UploadShow="2" previewSize="60px" maxCount="1" previewSize="63px" bindimageChange="imageChange"></My_UploadFiles>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="上传附件">
- <view style="width: 430rpx; display: flex; justify-content: flex-end;">
- <My_UploadFiles filesType='file' id="UpFiles" fileList="{{defaultFiles}}" upType="annunciate" UploadShow="2" previewSize="60px" maxCount="99" previewSize="63px" bindimageChange="filesChange"></My_UploadFiles>
- </view>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm title="发布类型" required>
- <view class="clickPop {{ftype==''?'':'selected'}}" style="color: {{errTips.ftype?'#EF2C48':'#000'}};opacity:{{errTips.ftype?'1':'0.3'}} ;" bindtap="showPop">{{ftype?ftype:"点击选择"}}</view>
- </My_GreyRectangleForm>
- <My_GreyRectangleForm wx:if="{{ftype=='合作商通告'}}" title="发布范围">
- <view class="clickPop" style="color: #000; opacity: 1;" bindtap="checkboxShowPop">{{fisspecifiedrange==0?"全部":"指定范围"}}</view>
- </My_GreyRectangleForm>
- </view>
- </My_GeneralTemplate>
- <!-- 发布类型弹出层 -->
- <van-action-sheet show="{{ popups }}" bind:close="showPop">
- <My_MultipleChoice type='annunciate' title="发布类型" pitchOnItem="{{ftype}}" bind:optionChange="radioChange" />
- </van-action-sheet>
- <!-- 发布范围弹出层 -->
- <van-action-sheet show="{{ checkboxShow }}" bind:close="checkboxShowPop">
- <My_Checkbox type='annunciate' title="合作商" saleprodclass='{{include}}' isAll="{{fisspecifiedrange}}" isRequest='{{false}}' bind:saleprodChange='scopeCallBack' />
- </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>
|