选择人数不让可以x轴滑动

This commit is contained in:
WindowBird 2025-09-19 11:02:40 +08:00
parent 6b98ec2773
commit 6e05856775

View File

@ -30,7 +30,8 @@
</view>
</scroll-view>
<text>参与活动人数</text>
<scroll-view class="scroll-view" scroll-x="true">
<!-- <scroll-view class="scroll-view" scroll-x="true">-->
<scroll-view class="scroll-view">
<view
v-for="(number, index) in numberOptions"
:key="index"
@ -271,8 +272,8 @@ export default {
number: this.getSelectedNumberLabel(),
};
const queryString = Object.keys(params)
.map(key => `${key}=${encodeURIComponent(params[key])}`)
.join('&');
.map((key) => `${key}=${encodeURIComponent(params[key])}`)
.join("&");
uni.navigateTo({
url: `/pages/activity/appointmentSuccess?${queryString}`,
});