fix:新增更新中图片&设备页面新增跳转wifi页面入口

This commit is contained in:
2026-06-09 09:59:13 +08:00
parent 9b47b313a7
commit 54e5427a77
3 changed files with 12 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ const progressValue = computed(() => Math.min(100, Math.max(0, Number(props.prog
<!-- 更新中复用成功标题图正文区域展示进度条无底部按钮 --> <!-- 更新中复用成功标题图正文区域展示进度条无底部按钮 -->
<block v-else-if="isProgress"> <block v-else-if="isProgress">
<image src="../static/ota/update-ok.png" mode="aspectFit" class="result-title-img" style="width: 220rpx; height: 62rpx;" /> <image src="../static/ota/update_progress.png" mode="aspectFit" class="result-title-img" style="width: 220rpx; height: 62rpx;" />
<view class="progress-wrap"> <view class="progress-wrap">
<view class="progress-track"> <view class="progress-track">
<view class="progress-fill" :style="{ width: `${progressValue}%` }"></view> <view class="progress-fill" :style="{ width: `${progressValue}%` }"></view>
@@ -220,7 +220,7 @@ const progressValue = computed(() => Math.min(100, Math.max(0, Number(props.prog
position: relative; position: relative;
width: 482rpx; width: 482rpx;
border-radius: 24rpx; border-radius: 24rpx;
border: 2px solid #F9D5A1; border: 2rpx solid #F9D5A1;
overflow: visible; overflow: visible;
background-color: #392F1D; background-color: #392F1D;
} }

View File

@@ -93,6 +93,11 @@ const unbindDevice = async () => {
device.value = {}; device.value = {};
}; };
/** 连接wifi跳转到wifi列表页面 */
const joinWifi = () => {
uni.navigateTo({ url: "/pages/ota-wifi" });
};
const toDeviceIntroPage = () => { const toDeviceIntroPage = () => {
uni.navigateTo({ uni.navigateTo({
url: "/pages/device-intro", url: "/pages/device-intro",
@@ -273,6 +278,11 @@ onShow(() => {
>解绑</SButton >解绑</SButton
> >
</view> </view>
<view :style="{ marginTop: '20rpx' }">
<SButton :onClick="() => $clickSound(joinWifi)" width="80vw" :rounded="40"
>设备连接WIFI</SButton
>
</view>
</view> </view>
</Container> </Container>
</template> </template>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB