1
0
forked from dyf/APP

频率数值调整

This commit is contained in:
fengerli
2026-03-04 14:25:01 +08:00
parent 8c6bd79410
commit 2db6ac47b7
2 changed files with 7 additions and 4 deletions

View File

@ -163,7 +163,7 @@
<text class="sliderVal">{{ formData.strobeFrequency }}HZ</text> <text class="sliderVal">{{ formData.strobeFrequency }}HZ</text>
</view> </view>
<view class="slider-container"> <view class="slider-container">
<slider min="0.5" max="10" step="0.5" :disabled="false" :value="formData.strobeFrequency" <slider min="1" max="10" step="1" :disabled="false" :value="formData.strobeFrequency"
activeColor="#bbe600" backgroundColor="#686767" block-size="20" block-color="#ffffffde" activeColor="#bbe600" backgroundColor="#686767" block-size="20" block-color="#ffffffde"
@change="onFreqChanging" @changing="onFreqChanging" class="custom-slider" /> @change="onFreqChanging" @changing="onFreqChanging" class="custom-slider" />
</view> </view>
@ -583,6 +583,8 @@
if (these.Status.apiType === 'listA') { if (these.Status.apiType === 'listA') {
these.fetchDeviceDetail(data.data.id) these.fetchDeviceDetail(data.data.id)
} else { } else {
this.activePermissions = data.data.permission ? data.data.permission.split(',') : [];
console.log(this.activePermissions,'this.activePermissions');
these.fetchDeviceDetail(data.data.deviceId) these.fetchDeviceDetail(data.data.deviceId)
} }

View File

@ -181,12 +181,13 @@
border-radius: 32px; border-radius: 32px;
background: rgba(255, 200, 78, 0.06); background: rgba(255, 200, 78, 0.06);
display: inline-block; display: inline-block;
width: 152rpx; width: 100rpx;
height: 60rpx; height: 50rpx;
text-align: center; text-align: center;
line-height: 60rpx; line-height: 50rpx;
color: rgba(224, 52, 52, 1); color: rgba(224, 52, 52, 1);
cursor: pointer; cursor: pointer;
margin-top: 30rpx;
} }
.IMG { .IMG {