Vant Weapp uses the slider component. Use 2 at the same time, one maximum value is 60, the other maximum value is 100, the upper one can't be pulled to the bottom, it's 60.

Please enter the code

< div class= "line" >

                    <van-slider value="0" step="1" bar-height="10px" @change="onChange" :bgl="bgl" :max="60" min="1" :key="1"/>
                    <div class="time_from"></div>
                    <div class="cores">{{cores}}</div>
                
                </div>
                <div class="line">
                    <van-slider value="0" step="1" bar-height="10px" @change="onChanges" :bgl="bgl" :max="100" min="1" :key="2"/>
                    <div class="time_from"></div>
                    <div class="cores">{{nums}}</div>
                
                </div>

your thinking is wrong, this: max is the maximum value, what is the maximum value, not the total length
look at this step means step size (how long is a step) you write a step length of 1, so there is a reason why you want 60% but only 60% now
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6631-1dd0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6631-1dd0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?