From fc777ef92d71985104966b370e7c6ab79392643b Mon Sep 17 00:00:00 2001 From: white <1293616053@qq.com> Date: Fri, 27 Sep 2024 16:14:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/cankao/cankao.vue | 14 +- components/echarts-data/echarts-data.vue | 15 +- hybrid/html/ai.html | 9 +- pages/index/index.vue | 35 ++ uni_modules/x-skeleton/changelog.md | 11 + .../x-skeleton/x-skeleton-configs.js | 147 ++++++++ .../components/x-skeleton/x-skeleton.vue | 324 ++++++++++++++++++ uni_modules/x-skeleton/package.json | 84 +++++ uni_modules/x-skeleton/readme.md | 93 +++++ 9 files changed, 719 insertions(+), 13 deletions(-) create mode 100644 uni_modules/x-skeleton/changelog.md create mode 100644 uni_modules/x-skeleton/components/x-skeleton/x-skeleton-configs.js create mode 100644 uni_modules/x-skeleton/components/x-skeleton/x-skeleton.vue create mode 100644 uni_modules/x-skeleton/package.json create mode 100644 uni_modules/x-skeleton/readme.md diff --git a/components/cankao/cankao.vue b/components/cankao/cankao.vue index 68d8ca0..5473540 100644 --- a/components/cankao/cankao.vue +++ b/components/cankao/cankao.vue @@ -149,13 +149,13 @@ .xnz{ width: 8rpx; height: 20rpx; - background-color: #fff; - border-left: 1rpx solid black; - border-right: 1rpx solid black; - position: absolute; - right: 50rpx; - top: 19rpx; - transform: rotate(15deg); + // background-color: #fff; + // border-left: 1rpx solid black; + // border-right: 1rpx solid black; + // position: absolute; + // right: 50rpx; + // top: 19rpx; + // transform: rotate(15deg); } .zzt-body{ height: 10rpx; diff --git a/components/echarts-data/echarts-data.vue b/components/echarts-data/echarts-data.vue index f766081..4600859 100644 --- a/components/echarts-data/echarts-data.vue +++ b/components/echarts-data/echarts-data.vue @@ -17,7 +17,9 @@ - + + + @@ -179,7 +181,7 @@ import { mapGetters } from "vuex"; name:'血脂概况', tb_head:[ '', - '范围', + '单日测量范围', '平均值' ], data:[ @@ -248,7 +250,7 @@ import { mapGetters } from "vuex"; 0.00, -0.04 ], - max:1.5 + max:3 }, { name:'低密度脂蛋白', @@ -1142,4 +1144,11 @@ import { mapGetters } from "vuex"; width: 80%; padding: 0rpx 20rpx; } + +.charts { + margin: 0rpx 100rpx; + border: 1rpx solid gray; + border-radius: 20px; + padding: 20px 0px; +} \ No newline at end of file diff --git a/hybrid/html/ai.html b/hybrid/html/ai.html index 195dbc1..acaa603 100755 --- a/hybrid/html/ai.html +++ b/hybrid/html/ai.html @@ -39,7 +39,7 @@
-
正在听…
+
@@ -56,7 +56,7 @@
- +
@@ -246,6 +246,7 @@ // 文本输入框 + const statusTxt = document.querySelector('#status-txt'); const voiceTxt = document.querySelector('#voice-txt'); // 防止多次请求 @@ -280,8 +281,8 @@ onTextChange: function (text) { // 监听识别结果的变化 - console.log(text, '监听') voiceTxt.value = text; + statusTxt.value = '正在听…'; // 3秒钟内没有说话,就自动关闭 if (text) { @@ -471,6 +472,8 @@ isCallbackExecuted = true; return } + + statusTxt.value = ''; }, 3000); } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 9c645c6..7eba577 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,5 +1,18 @@