From 8d13c89a8cc55132e61e3a844c52127e880f7ad6 Mon Sep 17 00:00:00 2001
From: DCloud_LXH <283700113@qq.com>
Date: Mon, 15 Jul 2024 15:29:41 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20uni-upgrade-center-app=20=E5=8D=87?=
=?UTF-8?q?=E7=BA=A7=E8=87=B3=200.8.2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../uni-upgrade-center-app/changelog.md | 2 +
.../uni-upgrade-center-app.uvue | 4 +-
.../uni-upgrade-center-app/package.json | 38 +++++++++---------
.../pages/upgrade-popup.vue | 4 +-
.../static/{ => app}/app_update_close.png | Bin
.../static/{ => app}/bg_top.png | Bin
6 files changed, 25 insertions(+), 23 deletions(-)
rename uni_modules/uni-upgrade-center-app/static/{ => app}/app_update_close.png (100%)
rename uni_modules/uni-upgrade-center-app/static/{ => app}/bg_top.png (100%)
diff --git a/uni_modules/uni-upgrade-center-app/changelog.md b/uni_modules/uni-upgrade-center-app/changelog.md
index 555df080..aaafc44e 100644
--- a/uni_modules/uni-upgrade-center-app/changelog.md
+++ b/uni_modules/uni-upgrade-center-app/changelog.md
@@ -1,3 +1,5 @@
+## 0.8.2(2024-07-15)
+- 更新 static 下的静态图片放入 static/app 目录下,防止编译除 app 平台以外的平台时带入
## 0.8.1(2024-04-28)
- 修复 在 HX 4.0.3+ uni-app x 项目运行到 Android 调不起安装的Bug
## 0.8.0(2024-04-15)
diff --git a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue
index 6ad28105..14e42e0c 100644
--- a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue
+++ b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue
@@ -5,7 +5,7 @@
{{title}}
+ src="/uni_modules/uni-upgrade-center-app/static/app/bg_top.png">
@@ -53,7 +53,7 @@
-
+
diff --git a/uni_modules/uni-upgrade-center-app/package.json b/uni_modules/uni-upgrade-center-app/package.json
index d332654c..09ecffa5 100644
--- a/uni_modules/uni-upgrade-center-app/package.json
+++ b/uni_modules/uni-upgrade-center-app/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-upgrade-center-app",
"displayName": "升级中心 uni-upgrade-center - App",
- "version": "0.8.1",
+ "version": "0.8.2",
"description": "uni升级中心 - 客户端检查更新",
"keywords": [
"uniCloud",
@@ -48,32 +48,32 @@
"client": {
"App": {
"app-vue": "y",
- "app-nvue": "u"
+ "app-nvue": "y"
},
"H5-mobile": {
- "Safari": "y",
- "Android Browser": "y",
- "微信浏览器(Android)": "y",
- "QQ浏览器(Android)": "y"
+ "Safari": "n",
+ "Android Browser": "n",
+ "微信浏览器(Android)": "n",
+ "QQ浏览器(Android)": "n"
},
"H5-pc": {
- "Chrome": "y",
- "IE": "y",
- "Edge": "y",
- "Firefox": "y",
- "Safari": "y"
+ "Chrome": "n",
+ "IE": "n",
+ "Edge": "n",
+ "Firefox": "n",
+ "Safari": "n"
},
"小程序": {
- "微信": "u",
- "阿里": "u",
- "百度": "u",
- "字节跳动": "u",
- "QQ": "u",
- "京东": "u"
+ "微信": "n",
+ "阿里": "n",
+ "百度": "n",
+ "字节跳动": "n",
+ "QQ": "n",
+ "京东": "n"
},
"快应用": {
- "华为": "u",
- "联盟": "u"
+ "华为": "n",
+ "联盟": "n"
},
"Vue": {
"vue2": "y",
diff --git a/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue b/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue
index 86fba100..9e143c21 100644
--- a/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue
+++ b/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue
@@ -3,7 +3,7 @@
{{title}}
-
+
@@ -57,7 +57,7 @@
-
+
diff --git a/uni_modules/uni-upgrade-center-app/static/app_update_close.png b/uni_modules/uni-upgrade-center-app/static/app/app_update_close.png
similarity index 100%
rename from uni_modules/uni-upgrade-center-app/static/app_update_close.png
rename to uni_modules/uni-upgrade-center-app/static/app/app_update_close.png
diff --git a/uni_modules/uni-upgrade-center-app/static/bg_top.png b/uni_modules/uni-upgrade-center-app/static/app/bg_top.png
similarity index 100%
rename from uni_modules/uni-upgrade-center-app/static/bg_top.png
rename to uni_modules/uni-upgrade-center-app/static/app/bg_top.png
--
GitLab