From 5658d712786b0be4eea471e548629460213a5a29 Mon Sep 17 00:00:00 2001
From: subing008 <275120420@qq.com>
Date: Mon, 4 Aug 2025 10:52:58 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EAlink=E8=AE=BE=E5=A4=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
BLEPages/child/F01PRO.vue | 5 +++--
assets/iconfont.css | 8 +++++---
manifest.json | 3 ++-
pageTwo/web/web.vue | 40 +++++++++++++++++++++++++++++++++++++++
pages.json | 8 ++++++++
pages/index/index.vue | 24 +++++++++++++----------
pages/search/devType.vue | 3 +--
7 files changed, 73 insertions(+), 18 deletions(-)
create mode 100644 pageTwo/web/web.vue
diff --git a/BLEPages/child/F01PRO.vue b/BLEPages/child/F01PRO.vue
index 76b77f5..52270dc 100644
--- a/BLEPages/child/F01PRO.vue
+++ b/BLEPages/child/F01PRO.vue
@@ -168,8 +168,9 @@
if (!device.name && !device.localName) {
return
}
- if (device.name.indexOf('AiLink_') != -1 || (device.localName && device.localName
- .indexOf('AiLink_') != -1)) {
+ if (device.name.indexOf('AiLink_') != -1 || device.name.indexOf('PCF01') != -1 || (device.localName && (device.localName
+ .indexOf('AiLink_') != -1 || device.localName
+ .indexOf('PCF01') != -1))) {
clearTimeout(myTime);
let buff = device.advertisData.slice(-6)
device.mac = new Uint8Array(buff) // 保存广播数据中的mac地址,这是由于iOS不直接返回mac地址
diff --git a/assets/iconfont.css b/assets/iconfont.css
index c67cf8a..92c85f8 100644
--- a/assets/iconfont.css
+++ b/assets/iconfont.css
@@ -9,9 +9,11 @@
@font-face {
font-family: 'iconfont';
/* Project id 4209383 */
- src: url('https://at.alicdn.com/t/c/font_4209383_trk0ap2c0n.woff2?t=1692064993104') format('woff2'),
- url('https://at.alicdn.com/t/c/font_4209383_trk0ap2c0n.woff?t=1692064993104') format('woff'),
- url('https://at.alicdn.com/t/c/font_4209383_trk0ap2c0n.ttf?t=1692064993104') format('truetype');
+ src: url('?#iefix') format('embedded-opentype'),
+ url('https://at.alicdn.com/t/font_2887906_iss556n2nq8.woff2') format('woff2'),
+ url('https://at.alicdn.com/t/font_2887906_iss556n2nq8.woff') format('woff'),
+ url('https://at.alicdn.com/t/font_2887906_iss556n2nq8.ttf') format('truetype'),
+ url('#iconfont') format('svg');
}
.iconfont {
diff --git a/manifest.json b/manifest.json
index c50b8ce..6c3d695 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,10 +1,11 @@
{
"name" : "成人",
- "appid" : "__UNI__1EBB7E8",
+ "appid" : "__UNI__6495D2C",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
+ "sassImplementationName" : "node-sass",
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
diff --git a/pageTwo/web/web.vue b/pageTwo/web/web.vue
new file mode 100644
index 0000000..f07b28f
--- /dev/null
+++ b/pageTwo/web/web.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index c5f2c43..4c1a498 100644
--- a/pages.json
+++ b/pages.json
@@ -146,6 +146,14 @@
"navigationBarTitleText": "详情",
"navigationBarBackgroundColor": "#F9FAFC"
}
+ },
+ {
+ "path" : "web/web",
+ "style" :
+ {
+ "navigationBarTitleText": "详情",
+ "navigationBarBackgroundColor": "#F9FAFC"
+ }
}
]
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 5f8163b..c068739 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -39,7 +39,7 @@
体质评估
-
+
儿童测量
@@ -88,6 +88,14 @@
+
+
+
+
+
+
+
+
健康分析
@@ -160,14 +168,6 @@
-
-
-
-
-
-
-
-
—— 到底了,看看别的吧 ——
@@ -207,6 +207,10 @@
that.userId = options.userid
}
await that.login()
+
+ uni.redirectTo({
+ url: '/BLEPages/child/B68T'
+ })
},
onShow() {
this.token = uni.getStorageSync('token')
@@ -467,7 +471,7 @@
}
if (e.type == 2) {
uni.navigateTo({
- url: "/pageTwo/zixun/detail?url=" + e.content
+ url: "/pageTwo/web/web?url=" + e.content
})
return
diff --git a/pages/search/devType.vue b/pages/search/devType.vue
index f7602f8..68f94f3 100644
--- a/pages/search/devType.vue
+++ b/pages/search/devType.vue
@@ -187,7 +187,7 @@
that.handleDevice(device)
return;
}
- if (device.name.toLowerCase().indexOf('ailink') != -1 || (device.localName && device.localName.toLowerCase().indexOf('ailink') != -1)) {
+ if (device.name.toLowerCase().indexOf('ailink') != -1 || device.name.toLowerCase().indexOf('pcf01') != -1 || (device.localName && (device.localName.toLowerCase().indexOf('ailink') != -1 || device.localName.toLowerCase().indexOf('pcf01') != -1))) {
clearTimeout(myTime);
let buff = device.advertisData.slice(-6)
device.mac = new Uint8Array(buff) // 保存广播数据中的mac地址,这是由于iOS不直接返回mac地址
@@ -247,7 +247,6 @@
weight: 0,
imp: 0
}).then(res => {
- console.log("2222", res)
if (res.code == 0) {
res.data.deviceId = sn
that.devList.push(res.data);