Showing
1 changed file
with
12 additions
and
14 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-21 16:04:10 | 2 | * @Date: 2022-09-21 16:04:10 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-10-31 18:42:52 | 4 | + * @LastEditTime: 2022-11-02 11:44:47 |
| 5 | * @FilePath: /swx/src/pages/createActivity/index.vue | 5 | * @FilePath: /swx/src/pages/createActivity/index.vue |
| 6 | * @Description: 创建活动页面 | 6 | * @Description: 创建活动页面 |
| 7 | --> | 7 | --> |
| ... | @@ -93,20 +93,19 @@ | ... | @@ -93,20 +93,19 @@ |
| 93 | <view class="form-item public-sub"> | 93 | <view class="form-item public-sub"> |
| 94 | <view class="public-sub-border"> | 94 | <view class="public-sub-border"> |
| 95 | <van-row> | 95 | <van-row> |
| 96 | - <van-col span="12"> | 96 | + <van-col span="12" offset="0"> |
| 97 | <view class="form-item-title fix"> | 97 | <view class="form-item-title fix"> |
| 98 | 是否公开显示 | 98 | 是否公开显示 |
| 99 | <van-icon :name="icon_vip" size="1rem" color="" class="vip-icon" /> | 99 | <van-icon :name="icon_vip" size="1rem" color="" class="vip-icon" /> |
| 100 | </view> | 100 | </view> |
| 101 | </van-col> | 101 | </van-col> |
| 102 | - <van-col span="12"> | 102 | + <van-col span="12" offset="0"> |
| 103 | <view> | 103 | <view> |
| 104 | <van-field :value="public_type" label-class="label-class-super" input-class="input-class" label="" | 104 | <van-field :value="public_type" label-class="label-class-super" input-class="input-class" label="" |
| 105 | :right-icon="icon_sel" input-align="right" placeholder="请选择" placeholder-style="color: #999;" | 105 | :right-icon="icon_sel" input-align="right" placeholder="请选择" placeholder-style="color: #999;" |
| 106 | customStyle="" maxlength="" type="" :border="false" @tap="show_public_popup=true" :required="false" | 106 | customStyle="" maxlength="" type="" :border="false" @tap="show_public_popup=true" :required="false" |
| 107 | :disabled="true" /> | 107 | :disabled="true" /> |
| 108 | </view> | 108 | </view> |
| 109 | - | ||
| 110 | </van-col> | 109 | </van-col> |
| 111 | </van-row> | 110 | </van-row> |
| 112 | </view> | 111 | </view> |
| ... | @@ -133,20 +132,19 @@ | ... | @@ -133,20 +132,19 @@ |
| 133 | </view> | 132 | </view> |
| 134 | <view class="form-item server-sub"> | 133 | <view class="form-item server-sub"> |
| 135 | <van-row> | 134 | <van-row> |
| 136 | - <van-col span="10"> | 135 | + <van-col span="10" offset="0"> |
| 137 | <view class="form-item-title fix"> | 136 | <view class="form-item-title fix"> |
| 138 | 服务岗位报名 | 137 | 服务岗位报名 |
| 139 | <van-icon :name="icon_vip" size="1rem" color="" class="vip-icon" /> | 138 | <van-icon :name="icon_vip" size="1rem" color="" class="vip-icon" /> |
| 140 | </view> | 139 | </view> |
| 141 | </van-col> | 140 | </van-col> |
| 142 | - <van-col span="14"> | 141 | + <van-col span="14" offset="0"> |
| 143 | <view style=""> | 142 | <view style=""> |
| 144 | <van-field :value="job_post" label-class="label-class-super" input-class="input-class" label="" | 143 | <van-field :value="job_post" label-class="label-class-super" input-class="input-class" label="" |
| 145 | type="textarea" placeholder="岗位名以中文逗号分隔" placeholder-style="color: #999;" customStyle="" | 144 | type="textarea" placeholder="岗位名以中文逗号分隔" placeholder-style="color: #999;" customStyle="" |
| 146 | inputAlign="left" rightIcon="" :required="false" maxlength="" :border="false" | 145 | inputAlign="left" rightIcon="" :required="false" maxlength="" :border="false" |
| 147 | :autosize="{ maxHeight: 80, minHeight: 20 }" @change="onExtendChange" @blur="onExtendBlur" /> | 146 | :autosize="{ maxHeight: 80, minHeight: 20 }" @change="onExtendChange" @blur="onExtendBlur" /> |
| 148 | </view> | 147 | </view> |
| 149 | - | ||
| 150 | </van-col> | 148 | </van-col> |
| 151 | </van-row> | 149 | </van-row> |
| 152 | </view> | 150 | </view> |
| ... | @@ -192,12 +190,12 @@ | ... | @@ -192,12 +190,12 @@ |
| 192 | size="1.5rem" active-color="#199A74" inactive-color="#FFFFFF" /> | 190 | size="1.5rem" active-color="#199A74" inactive-color="#FFFFFF" /> |
| 193 | </view> | 191 | </view> |
| 194 | <van-row> | 192 | <van-row> |
| 195 | - <van-col span="12"> | 193 | + <van-col span="12" offset="0"> |
| 196 | <view class="cancel-box"> | 194 | <view class="cancel-box"> |
| 197 | <view class="button" @tap="closeEditSign">取消</view> | 195 | <view class="button" @tap="closeEditSign">取消</view> |
| 198 | </view> | 196 | </view> |
| 199 | </van-col> | 197 | </van-col> |
| 200 | - <van-col span="12"> | 198 | + <van-col span="12" offset="0"> |
| 201 | <view class="confirm-box"> | 199 | <view class="confirm-box"> |
| 202 | <view class="button" @tap="confirmEditSign">确定</view> | 200 | <view class="button" @tap="confirmEditSign">确定</view> |
| 203 | </view> | 201 | </view> |
| ... | @@ -228,12 +226,12 @@ | ... | @@ -228,12 +226,12 @@ |
| 228 | </view> | 226 | </view> |
| 229 | </view> | 227 | </view> |
| 230 | <van-row> | 228 | <van-row> |
| 231 | - <van-col span="12"> | 229 | + <van-col span="12" offset="0"> |
| 232 | <view class="limit-button-wrapper"> | 230 | <view class="limit-button-wrapper"> |
| 233 | <view class="button cancel" @tap="closeEditLimit">取消</view> | 231 | <view class="button cancel" @tap="closeEditLimit">取消</view> |
| 234 | </view> | 232 | </view> |
| 235 | </van-col> | 233 | </van-col> |
| 236 | - <van-col span="12"> | 234 | + <van-col span="12" offset="0"> |
| 237 | <view class="limit-button-wrapper"> | 235 | <view class="limit-button-wrapper"> |
| 238 | <view class="button confirm" @tap="confirmEditLimit">确定</view> | 236 | <view class="button confirm" @tap="confirmEditLimit">确定</view> |
| 239 | </view> | 237 | </view> |
| ... | @@ -242,18 +240,18 @@ | ... | @@ -242,18 +240,18 @@ |
| 242 | </van-popup> | 240 | </van-popup> |
| 243 | <!-- 是否发布弹出框 --> | 241 | <!-- 是否发布弹出框 --> |
| 244 | <van-popup :show="show_publish_popup" position="bottom" custom-style="height: 50%;" :lock-scroll="true"> | 242 | <van-popup :show="show_publish_popup" position="bottom" custom-style="height: 50%;" :lock-scroll="true"> |
| 245 | - <van-picker :show-toolbar="true" title="" confirm-button-text="确定" :columns="columns" toolbar-class="picker-toolbar" | 243 | + <van-picker :show-toolbar="true" title="" confirm-button-text="确定" :columns="columns" toolbar-class="picker-toolbar" :defaultIndex="0" |
| 246 | @confirm="onPublishConfirm" @cancel="onPublishCancel" @change="onPublishChange" /> | 244 | @confirm="onPublishConfirm" @cancel="onPublishCancel" @change="onPublishChange" /> |
| 247 | </van-popup> | 245 | </van-popup> |
| 248 | <!-- 活动方式弹出框 --> | 246 | <!-- 活动方式弹出框 --> |
| 249 | <van-popup :show="show_activity_type_popup" position="bottom" custom-style="height: 50%;" :lock-scroll="true"> | 247 | <van-popup :show="show_activity_type_popup" position="bottom" custom-style="height: 50%;" :lock-scroll="true"> |
| 250 | - <van-picker :show-toolbar="true" title="" confirm-button-text="确定" :columns="activity_type_columns" | 248 | + <van-picker :show-toolbar="true" title="" confirm-button-text="确定" :columns="activity_type_columns" :defaultIndex="0" |
| 251 | toolbar-class="picker-toolbar" @confirm="onActivityTypeConfirm" @cancel="onActivityTypeCancel" | 249 | toolbar-class="picker-toolbar" @confirm="onActivityTypeConfirm" @cancel="onActivityTypeCancel" |
| 252 | @change="onActivityTypeChange" /> | 250 | @change="onActivityTypeChange" /> |
| 253 | </van-popup> | 251 | </van-popup> |
| 254 | <!-- 是否公开显示弹出框 --> | 252 | <!-- 是否公开显示弹出框 --> |
| 255 | <van-popup :show="show_public_popup" position="bottom" custom-style="height: 50%;" :lock-scroll="true"> | 253 | <van-popup :show="show_public_popup" position="bottom" custom-style="height: 50%;" :lock-scroll="true"> |
| 256 | - <van-picker :show-toolbar="true" confirm-button-text="确定" title="" :columns="public_type_columns" | 254 | + <van-picker :show-toolbar="true" confirm-button-text="确定" title="" :columns="public_type_columns" :defaultIndex="0" |
| 257 | toolbar-class="picker-toolbar" @confirm="onPublicTypeConfirm" @cancel="onPublicTypeCancel" | 255 | toolbar-class="picker-toolbar" @confirm="onPublicTypeConfirm" @cancel="onPublicTypeCancel" |
| 258 | @change="onPublicTypeChange" /> | 256 | @change="onPublicTypeChange" /> |
| 259 | </van-popup> | 257 | </van-popup> | ... | ... |
-
Please register or login to post a comment