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;