From 4c2aab909435e22178d2fcaaae7019823a317ca7 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 2 Jan 2020 14:55:16 +0800 Subject: [PATCH] update Former-commit-id: 94ed2ecf0f7f2e3af3ec6a5fbfd0e94e8ce29f55 --- projects/IoTCenter/wwwroot/css/app.css | 74 +- projects/IoTCenter/wwwroot/index.html | 6 +- .../src/main/resources/static/css/app.css | 72 + .../src/main/resources/static/index.html | 3 + .../src/main/resources/static/js/app.js | 2 +- .../resources/static/lib/mint-ui/index.js | 4 + .../resources/static/lib/mint-ui/style.css | 2008 +++++++++++++++++ .../src/main/resources/static/pages/home.html | 26 +- .../src/main/resources/static/pages/home.js | 2 +- projects/lib/package.json | 3 +- 10 files changed, 2189 insertions(+), 11 deletions(-) create mode 100644 projects/gateway/src/main/resources/static/lib/mint-ui/index.js create mode 100644 projects/gateway/src/main/resources/static/lib/mint-ui/style.css diff --git a/projects/IoTCenter/wwwroot/css/app.css b/projects/IoTCenter/wwwroot/css/app.css index 0fd3958f..3aeea38c 100644 --- a/projects/IoTCenter/wwwroot/css/app.css +++ b/projects/IoTCenter/wwwroot/css/app.css @@ -1,4 +1,5 @@ -body, html { +/*weui*/ +body, html { height: 100%; -webkit-tap-highlight-color: transparent } @@ -597,3 +598,74 @@ ul { padding: 0 } } +/*mint ui*/ +/* 覆盖mint-ui的primary颜色,改为微信UI的绿色 */ + +.mint-header { + background-color: #1aad19; +} + +.mint-button:not(.is-disabled):active::after { + opacity: .2 /* .6 */ +} + +.mint-button--primary { + background-color: #1aad19; +} + + .mint-button--primary.is-plain { + border: 1px solid #1aad19; + color: #1aad19 + } + +.mint-badge.is-primary { + background-color: #1aad19 +} + +.mint-switch-input:checked + .mint-switch-core { + border-color: #1aad19; + background-color: #1aad19; +} + +.mint-navbar .mint-tab-item.is-selected { + border-bottom: 3px solid #1aad19; + color: #1aad19; +} + +.mint-tabbar > .mint-tab-item.is-selected { + color: #1aad19; +} + +.mint-searchbar-cancel { + color: #1aad19; +} + +.mint-checkbox-input:checked + .mint-checkbox-core { + background-color: #1aad19; + border-color: #1aad19; +} + +.mint-radio-input:checked + .mint-radio-core { + background-color: #1aad19; + border-color: #1aad19; +} + +.mt-range-progress { + background-color: #1aad19; +} + +.mt-progress-progress { + background-color: #1aad19; +} + +.mint-msgbox-confirm { + color: #1aad19; +} + + .mint-msgbox-confirm:active { + color: #1aad19; + } + +.mint-datetime-action { + color: #1aad19; +} \ No newline at end of file diff --git a/projects/IoTCenter/wwwroot/index.html b/projects/IoTCenter/wwwroot/index.html index 649c2f4c..74fc912c 100644 --- a/projects/IoTCenter/wwwroot/index.html +++ b/projects/IoTCenter/wwwroot/index.html @@ -1,7 +1,11 @@
物联网中心
+用户中心
+