From 6e91e4223a481efde7d7f3a9134a68079772c2dc Mon Sep 17 00:00:00 2001 From: songsong428 Date: Tue, 10 Mar 2020 00:27:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/components/home.vue | 6 +++--- uni.scss | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/index/components/home.vue b/pages/index/components/home.vue index 53ea566..5235011 100644 --- a/pages/index/components/home.vue +++ b/pages/index/components/home.vue @@ -108,15 +108,15 @@ margin: 0 auto; width: 230rpx; height: 230rpx; - border-radius: 10px; + border-radius: 6px; overflow: hidden; - background: $ghostWhite; + background: $whiteShadow; .healthy-code { margin: 5rpx; width: 220rpx; height: 220rpx; - border-radius: 10px; + border-radius: 6px; } } diff --git a/uni.scss b/uni.scss index cb06d34..1274bf0 100644 --- a/uni.scss +++ b/uni.scss @@ -58,6 +58,7 @@ $brownShadow: rgba(140, 88, 53, 0.2); $greyShadow: rgba(114, 130, 138, 0.2); $grayShadow: rgba(114, 130, 138, 0.2); $blackShadow: rgba(26, 26, 26, 0.2); +$whiteShadow: rgba(255, 255, 255, 0.2); /* 行为相关颜色 */ $uni-color-primary: #007aff;