This commit is contained in:
wangweidong 2026-03-25 13:50:02 +08:00
parent b43cc87fe9
commit 83103ca1b2
4 changed files with 10 additions and 11 deletions

View File

@ -19,14 +19,15 @@
<scroll-view class="scroll-box" scroll-y="true">
<text>{{update_tips}}</text>
</scroll-view>
<view class="zy-progress radius striped active" v-if="update_flag">
<view :class="'bg-'+theme" style="background-color: royalblue;" :style="'width: '+update_process+'%;'">
{{update_process}}
<view class="zy-progress radius striped active" style="border-radius: 36upx;overflow: hidden;" v-if="update_flag">
<view :class="'bg-'+theme" style="background-color: royalblue;border-radius: 36upx;"
:style="'width: '+update_process+'%;'">
{{update_process}}%
</view>
</view>
</view>
<view class="zy-bar">
<view class="action" v-if="!update_flag && forceupgrade">
<view class="action" v-if="!update_flag && forceupgrade" >
<button class="zy-btn" :class="'bg-'+theme" @click="upgrade_checked">确认升级</button>
</view>
@ -35,7 +36,7 @@
<view class="zy-quxiao"
v-if="!forceupgrade" @click="upgrade_cancel">取消升级</view>
</view>
<view class="action text-center" v-if="update_flag&&!forceupgrade">
<view class="action text-center" v-if="update_flag&&!forceupgrade" style="margin-top: 40rpx;">
<button class="zy-btn" :class="'bg-'+theme" @click="upgrade_break">中断升级</button>
</view>
</view>

View File

@ -2,8 +2,8 @@
"name" : "护理单元",
"appid" : "__UNI__FB2D473",
"description" : "护理单元",
"versionName" : "1.0.036",
"versionCode" : 10036,
"versionName" : "1.0.037",
"versionCode" : 10037,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -998,7 +998,7 @@
const clickeveryday = () => {
nosave.value.cycleTypeId = "1";
nosave.value.cycleValue = ""
nosave.value.cycleValue = "0"
nosave.value.optCount = ""
}
@ -1058,8 +1058,6 @@
optTime: ts,
instructionTagId:typearray.value[whitchtype.value]?.instructionType
}
// console.log("", data)
editDirective(data).then((res) => {
// console.log("1111", res)
if (res.success) {

View File

@ -1,6 +1,6 @@
// 全局请求封装
const base_url = 'https://www.focusnu.com/opeapi'
// const base_url = 'http://192.168.2.27:8081/opeapi'
// const base_url = 'http://192.168.2.18:8081/opeapi'
// const base_url = 'http://192.168.2.55:8081/opeapi'
// 请求超出时间
const timeout = 5000