From 84e14a34a082e00aa2d47a64ee36398088c12aec Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 16 九月 2022 14:37:51 +0800
Subject: [PATCH] 添加http服务功能、取消网络和sockte链接检查
---
src/views/home/index.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 8a5f84a..81465d3 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -141,13 +141,14 @@
}
)
watch(
- () => weightInfo.value.resultTime,
+ () => weightInfo.value.result,
() => {
settime()
- console.log("体重变化了")
+ console.log("体重变化了",weightInfo.value)
// AudioRef2.value.play()
if (patientInfo.value.id === 0) {
AudioRef0.value.play()
+ inputRef.value.focus();
}
else {
AudioRef2.value.play()
@@ -179,6 +180,7 @@
}
if (patientInfo.value.id === 0) {
AudioRef0.value.play()
+ inputRef.value.focus();
settime()
} else {
AudioRef3.value.play()
@@ -259,12 +261,12 @@
<audio src="https://dhcdn.leon056.com/hemo/autoselfsign/step4.mp3" ref="AudioRef3" id="eventAudio4"></audio>
<!-- 没有找到患者 -->
<audio src="https://dhcdn.leon056.com/hemo/autoselfsign/step5.mp3" ref="AudioRef4" id="eventAudio5"></audio>
- <el-dialog title="提示" v-model="netLink" width="30%">
+ <!-- <el-dialog title="提示" v-model="netLink" width="30%">
<span>无法链接到网络!</span>
- </el-dialog>
- <el-dialog title="提示" v-model="isLink" width="30%">
+ </el-dialog> -->
+ <!-- <el-dialog title="提示" v-model="isLink" width="30%">
<span>sockte连接失败正在重连。。。。。。</span>
- </el-dialog>
+ </el-dialog> -->
<el-row class="header">
<el-col :span="8">
<img
@@ -498,6 +500,7 @@
}
.rowdiv{
/* background: #769AFF; */
+ font-size: 300%;
height: 15%;
margin-top: 5%;
}
@@ -507,7 +510,7 @@
}
.tilaft{
text-align: left;
- font-size: 2.5rem;
+ font-size: 300%;
font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
font-weight: 400;
color: #333333;
@@ -528,7 +531,7 @@
vertical-align:middle;
width: 100%;
text-align: center;
- font-size: 120px;
+ font-size: 800%;
font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
color: #769AFF;
@@ -543,11 +546,10 @@
.userinfo{
padding-top: 6%;
/* background: #769AFF; */
- font-size: 2.5rem;
+ font-size: 300%;
text-align: right;
}
.lableclass{
- font-size: 2.5rem;
text-align: right;
font-weight: 400;
color: #777777;
@@ -555,7 +557,6 @@
}
.textclass{
- font-size: 2.5rem;
text-align: left;
font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
font-weight: 500;
--
Gitblit v1.8.0