From e28d9a93eff5435dda00d4b60ec47ae22547a89a Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 06 二月 2023 20:50:58 +0800 Subject: [PATCH] # 隐藏电池状态 --- App.vue | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 52 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index 61c65ec..631f49a 100644 --- a/App.vue +++ b/App.vue @@ -1,6 +1,9 @@ <script> import Vue from 'vue' export default { + globalData: { + baseHttp:'', + }, onLaunch: function() { Vue.prototype.ColorList = [{ title: '瀚g孩', @@ -80,6 +83,10 @@ ] }, onShow: function() { + // 闅愯棌鏃堕棿,鐢甸噺,淇″彿绛� + // #ifdef APP-PLUS + plus.navigator.setFullscreen(true) + // #endif console.log('App Show') }, onHide: function() { @@ -339,9 +346,8 @@ .content-input input { display: inline-block; float: left; - height: 100%; + height: 80rpx; width: 90%; - /* background-color: #007AFF; */ text-indent: 20rpx; font-size: 32rpx; letter-spacing: 3rpx; @@ -393,7 +399,7 @@ display: inline-block; float: right; height: 80rpx; - width: 70%; + width: 94%; margin: 10rpx 3% 10rpx 0 ; } .square-none { @@ -401,6 +407,7 @@ height: 100rpx; } .square-1 { + position: relative; background-color: #ffffff; box-shadow: 0px 0px 5px #d9d9d9; width: 94%; @@ -416,9 +423,10 @@ color: #7a7a7a; } .title-text { + /* background-color: #000000; */ display: inline-block; height: 100rpx; - width: 10em; + width: 250rpx; line-height: 110rpx; font-size: 40rpx; font-weight: 700; @@ -448,4 +456,44 @@ border-radius: 20rpx; margin: 20rpx auto 20rpx auto; } + .searchBox { + position: absolute; + width: 94%; + height: 80%; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin: auto; + background-color: #F9F9F9; + border-radius: 20rpx; + } + .searchIcon { + display: inline-block; + float: left; + width: 10%; + height: 100%; + text-align: center; + line-height: 80rpx; + } + + .searchArea { + display: inline-block; + float: left; + width: 80%; + height: 100%; + } + .searchArea input { + height: 100%; + font-size: 14px; + color: #5f5f5f; + } + .closeIcon { + display: inline-block; + float: left; + width: 10%; + height: 100%; + text-align: center; + line-height: 80rpx; + } </style> -- Gitblit v1.9.1