Showing
1 changed file
with
5 additions
and
4 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-11-03 10:39:44 | 4 | + * @LastEditTime: 2022-11-03 11:55:27 |
| 5 | * @FilePath: /swx/src/pages/createActivity/index.vue | 5 | * @FilePath: /swx/src/pages/createActivity/index.vue |
| 6 | * @Description: 创建活动页面 | 6 | * @Description: 创建活动页面 |
| 7 | --> | 7 | --> |
| ... | @@ -219,9 +219,10 @@ | ... | @@ -219,9 +219,10 @@ |
| 219 | <view v-if="!limit_number" class="form-item border"> | 219 | <view v-if="!limit_number" class="form-item border"> |
| 220 | <view class="form-item-title fix">参加人数</view> | 220 | <view class="form-item-title fix">参加人数</view> |
| 221 | <view style="float: right;"> | 221 | <view style="float: right;"> |
| 222 | - <van-field :value="temp_reg_max" type="number" label="" placeholder="请输入参加人数" | 222 | + <!-- <van-field :value="temp_reg_max" label="" placeholder="请输入参加人数" |
| 223 | placeholder-style="color: #999; font-size: 1rem;" input-align="right" customStyle="" rightIcon="" | 223 | placeholder-style="color: #999; font-size: 1rem;" input-align="right" customStyle="" rightIcon="" |
| 224 | - maxlength="" :border="false" @change="onRegMaxChange" /> | 224 | + maxlength="" :border="false" @change="onRegMaxChange" /> --> |
| 225 | + <input :value="temp_reg_max" type="number" placeholder="请输入参加人数" @change="onRegMaxChange" style="padding-top: 0.6rem; text-align: right;" /> | ||
| 225 | </view> | 226 | </view> |
| 226 | </view> | 227 | </view> |
| 227 | </view> | 228 | </view> |
| ... | @@ -530,7 +531,7 @@ const temp_reg_max = ref(''); // 弹框显示人数绑定 | ... | @@ -530,7 +531,7 @@ const temp_reg_max = ref(''); // 弹框显示人数绑定 |
| 530 | const limit_number = ref(false); | 531 | const limit_number = ref(false); |
| 531 | 532 | ||
| 532 | const onRegMaxChange = ({ detail }) => { | 533 | const onRegMaxChange = ({ detail }) => { |
| 533 | - temp_reg_max.value = detail; | 534 | + temp_reg_max.value = detail.value; |
| 534 | } | 535 | } |
| 535 | const onChangeLimit = ({ detail }) => { // 不限制开关回调 | 536 | const onChangeLimit = ({ detail }) => { // 不限制开关回调 |
| 536 | limit_number.value = detail | 537 | limit_number.value = detail | ... | ... |
-
Please register or login to post a comment