From acc907013495f02dc650292b6714b460a59a37e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= <49033970+XiaoMoDonnie@users.noreply.github.com> Date: Tue, 6 Dec 2022 18:02:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E9=A6=96=E6=AC=A1?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E9=A1=B5=E9=9D=A2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 4 ++++ config/halo.config.template.js | 10 +++++++++- pagesA/start/start.vue | 30 ++++++++++++++++++++++-------- 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index ee5be77..4bbcf3c 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -10,6 +10,10 @@ { "launchtype" : "local" }, + "h5" : + { + "launchtype" : "local" + }, "mp-weixin" : { "launchtype" : "local" diff --git a/config/halo.config.template.js b/config/halo.config.template.js index 4d6e800..5da4b91 100644 --- a/config/halo.config.template.js +++ b/config/halo.config.template.js @@ -18,9 +18,17 @@ export default { apiAuthorization: '', // Halo中-系统-博客设置-切换到高级选项-API设置-Access key title: '', // 博客标题 - indexImageUrl: '', // 开屏首页图片 miniCodeImageUrl: '', // 小程序码地址 + start: { // 首次启动页配置 + title: 'uni-halo', // 标题 + bg: '', // 留空则使用默认 开屏首页背景,可以是颜色值或者图片图片地址 + logo: 'https://b.925i.cn/uni_halo/uni_halo_logo.png', // logo + desc1: '全新UI,准备出发', // 描述信息1 + desc2: '新触动 新感受 新体验', // 描述信息2 + btnText: '全新触发' // 按钮文字 + }, + author: { name: '', // 昵称 avatar: '', // 头像地址 diff --git a/pagesA/start/start.vue b/pagesA/start/start.vue index 2767b69..3759f44 100644 --- a/pagesA/start/start.vue +++ b/pagesA/start/start.vue @@ -1,6 +1,5 @@