diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index cdc6ef0..2b26eda 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -18,35 +18,35 @@ @@ -59,29 +59,29 @@ @@ -93,7 +93,7 @@ 商品 - 📦 + 商品浏览 @@ -232,11 +232,37 @@ export default { padding: 16rpx 0; } -.menu-icon { - font-size: 50rpx; +.menu-icon-box { + width: 90rpx; + height: 90rpx; + border-radius: 20rpx; + display: flex; + align-items: center; + justify-content: center; margin-bottom: 12rpx; } +.menu-icon-box.blue { background: #e8f4ff; } +.menu-icon-box.green { background: #f6ffed; } +.menu-icon-box.orange { background: #fff7e6; } +.menu-icon-box.red { background: #fff1f0; } +.menu-icon-box.purple { background: #f9f0ff; } +.menu-icon-box.pink { background: #fff0f6; } +.menu-icon-box.cyan { background: #e6f7ff; } + +.icon-text { + font-size: 36rpx; + font-weight: bold; +} + +.blue .icon-text { color: #1890ff; } +.green .icon-text { color: #52c41a; } +.orange .icon-text { color: #fa8c16; } +.red .icon-text { color: #ff4d4f; } +.purple .icon-text { color: #722ed1; } +.pink .icon-text { color: #eb2f96; } +.cyan .icon-text { color: #13c2c2; } + .menu-text { font-size: 24rpx; color: #666;