Closed VomeShop closed 1 month ago
1.2.22
微信小程序
git@github.com:VomeShop/shaokx.git
</wd-navbar> <wd-search custom-class="search" @change="change" @blur="blur" :hide-cancel="true" :focusWhenClear="true" :placeholder-left="true"> <template #suffix> <wd-button custom-class="buttons" size="small">搜索</wd-button> </template> </wd-search> </view> </view> <view @click="closeOutside" style="display: flex; text-align: center;"> <wd-drop-menu style="flex: 1"> <wd-drop-menu-item v-model="region" :options="option1" @change="regionchange" title="区域" /> <wd-drop-menu-item title="价格" ref="dropMenu"> <view style="padding: 16px; display: flex; flex-wrap: wrap; justify-content: space-between;"> <view style="padding: 8px 0;" v-for="(item, index) in pricebutton" :key="index"> <wd-button block type="info" @click="pricebuttons(item.price)">{{item.value}}</wd-button> </view> </view> <view style="flex: 1;"> <view style="margin-top:16px;">价格区间:{{ pricemax() }}</view> <view style="display: flex;justify-content: center;width: 100%;"> <view style="width: 80%;"> <wd-slider v-model="price" :min="0" :max="300" :active-color="'#00ae66'" /> </view> </view> <view style="padding:16px;display: flex; justify-content: space-between;"> <wd-button size="large" plain @click="reset">重置</wd-button> <wd-button size="large" @click="confirm">确定</wd-button> </view> </view> </wd-drop-menu-item> </wd-drop-menu> </view>
在wd-drop-menu组件加入wd-slider组件时,步长正常
滑动滑块时会直接跳到max值,没有步长
No response
Wot Design Uni 版本号
1.2.22
平台
微信小程序
复现Demo地址
git@github.com:VomeShop/shaokx.git
重现步骤
期望的结果是什么?
在wd-drop-menu组件加入wd-slider组件时,步长正常
实际的结果是什么?
滑动滑块时会直接跳到max值,没有步长
环境信息
No response
其他补充信息
No response