Преглед изворни кода

零售端-金刚区显示优化

ouyang пре 2 дана
родитељ
комит
30fa9454d0
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5 3
      mallApp/src/components/home/navGrid.vue

+ 5 - 3
mallApp/src/components/home/navGrid.vue

@@ -100,11 +100,12 @@ export default {
   box-sizing: border-box;
   padding: 0 11upx;
 }
+/* 金刚区图标:无底色,图片铺满圆形裁切(小程序需 overflow:hidden 才能圆角生效) */
 .nav-icon-wrap {
   width: 117upx;
   height: 117upx;
   border-radius: 50%;
-  background: #FFF3F5;
+  overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
@@ -114,8 +115,9 @@ export default {
   font-size: 53upx;
 }
 .nav-icon-img {
-  width: 80upx;
-  height: 80upx;
+  width: 117upx;
+  height: 117upx;
+  border-radius: 50%;
 }
 .nav-name {
   font-size: 24upx;