From db3fdea847234226f6721fa347e667c267e16343 Mon Sep 17 00:00:00 2001 From: LAPTOP-RI7D261L\Mr Ke <545800322@qq.com> Date: Mon, 03 Feb 2020 14:10:10 +0800 Subject: [PATCH] 小程序修改 --- SunshineLnsMinApp/pages/index/index.wxss | 95 +++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 86 insertions(+), 9 deletions(-) diff --git a/SunshineLnsMinApp/pages/index/index.wxss b/SunshineLnsMinApp/pages/index/index.wxss index 084db44..8350f7c 100644 --- a/SunshineLnsMinApp/pages/index/index.wxss +++ b/SunshineLnsMinApp/pages/index/index.wxss @@ -31,12 +31,12 @@ z-index: 1; } -.userinfo-avatar{ - overflow:hidden; - display: block; - width: 10vh; - height: 10vh; - border-radius: 50%; +.userinfo-avatar { + overflow: hidden; + display: block; + width: 10vh; + height: 10vh; + border-radius: 50%; } .index-item-icon { @@ -76,7 +76,8 @@ height: 14vh; width: 100%; display: flex; - margin: 5vh 0 0; + padding: 5vh 0 0; + background-color: #fff; } .index-mycontent-left { @@ -157,7 +158,7 @@ justify-content: center; align-items: center; height: 4vh; - text-align:center; + text-align: center; } .index-pane { @@ -256,9 +257,85 @@ } .popup-button { - width:14vh; + width: 14vh; font-size: 16px; color: #1dab1d; border: 1px solid #1dab1d; background-color: #fff; } + +/* pages/component/nav/nav.wxss */ + +.VerticalNav.nav { + width: 280rpx; + white-space: initial; +} + +.VerticalNav.nav .cu-item { + width: 100%; + text-align: center; + background-color: #fff; + margin: 0; + border: none; + height: 50px; + position: relative; +} + +.VerticalNav.nav .cu-item.cur { + background-color: #f1f1f1; +} + +.VerticalNav.nav .cu-item.cur::after { + content: ""; + width: 8rpx; + height: 30rpx; + border-radius: 10rpx 0 0 10rpx; + position: absolute; + background-color: currentColor; + top: 0; + right: 0rpx; + bottom: 0; + margin: auto; +} + +.VerticalBox { + display: flex; +} + +.VerticalMain { + background-color: #f1f1f1; +} + +.VerticalNav-flex { + width: 100%; + background: #f1f1f1; +} + +.VerticalNav-flex-t { + display: flex; + text-align: center; + line-height: 48px; +} + +.VerticalNav-flex-div { + flex: 1; + height: 78px; + color: #fff; + margin: 6px; + text-align: center; + line-height: 78px; + /* background-color: #000; + opacity: 0.2; */ + background-repeat: no-repeat; + background-size: 100% 100%; +} + +.VerticalNav-flex-div1 { + flex: 1; + height: 78px; + color: #fff; + margin: 6px; + text-align: center; + line-height: 78px; + opacity: 0.2; +} -- Gitblit v1.8.0