From d3eb99a82ee27e932553ae9d94654233819c0a57 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Wed, 8 Nov 2023 14:53:17 +0800 Subject: [PATCH] =?UTF-8?q?(*)=20=E8=BF=91=E4=B8=83=E5=A4=A9=E5=8F=91?= =?UTF-8?q?=E7=8E=B0=E9=97=AE=E9=A2=98=E8=B7=B3=E8=BD=AC&banner=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=A0=87=E9=A2=98=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/pages/home/home.js | 5 +++++ weapp/pages/home/home.wxml | 3 ++- weapp/pages/home/home.wxss | 10 ++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/weapp/pages/home/home.js b/weapp/pages/home/home.js index ff4406d..1743c34 100644 --- a/weapp/pages/home/home.js +++ b/weapp/pages/home/home.js @@ -10,6 +10,11 @@ Page({ url: `/package/subSystem/subSystem?key=${key}`, }) }, + jumpToRiskCalendar () { + wx.navigateTo({ + url: `/package/riskManagement/riskCalendar/riskCalendar`, + }) + }, /** * 页面的初始数据 */ diff --git a/weapp/pages/home/home.wxml b/weapp/pages/home/home.wxml index a62c9cb..9a82227 100644 --- a/weapp/pages/home/home.wxml +++ b/weapp/pages/home/home.wxml @@ -3,6 +3,7 @@ + 河州路智慧管廊 数字化智能运维 @@ -32,7 +33,7 @@ - + 发现问题个数 {{sevenDaysQuestionCount}} diff --git a/weapp/pages/home/home.wxss b/weapp/pages/home/home.wxss index 347752d..1e99ee9 100644 --- a/weapp/pages/home/home.wxss +++ b/weapp/pages/home/home.wxss @@ -15,7 +15,17 @@ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); margin-top: 12px; margin-bottom: 12px; + position: relative; +} +.absolute-header { + position: absolute; + top: 0; + left: 0; + width: 100%; + z-index: 100; + color: #fff; + text-align: center; } .card2 {