shish il y a 4 ans
Parent
commit
f85b50caa7
1 fichiers modifiés avec 11 ajouts et 8 suppressions
  1. 11 8
      hdPad/src/pages/home/components/rightItem.vue

+ 11 - 8
hdPad/src/pages/home/components/rightItem.vue

@@ -126,16 +126,17 @@ export default {
     flex-direction: column;
     box-sizing: border-box;
     & .shop-show_box{
+        display:flex;
+        justify-content:space-around;
         & .show-shop_box{
             & .item-detail{
                 position: relative;
-                margin-right: 9upx;
                 margin-bottom: 6upx;
-                width: 82upx;
-                height: 82upx;
+                width: 72upx;
+                height: 72upx;
                 & .img {
-                    width: 82upx;
-                    height: 82upx;
+                    width: 72upx;
+                    height: 72upx;
                 }
                 .shop-info_price {
                     position: absolute;
@@ -146,12 +147,12 @@ export default {
                     color: #ffffff;
                     height:25upx;
                     & > view {
-                        font-size: 10upx;
                         & > view:nth-child(1) {
                             overflow: hidden;
                             text-overflow:ellipsis;
                             white-space: nowrap;
                             width:90%;
+                            font-size:9upx;
                         }
                         & > view:nth-child(2) {
                             font-size:8upx;
@@ -168,11 +169,13 @@ export default {
         flex-wrap: wrap;
         overflow-y: scroll;
         border-bottom:1upx solid #EEEEEE;
+        justify-content:center;
+        padding-bottom:2upx;
         & > view {
             border:1px solid #e4e4e4;
             padding: 12upx 0upx;
-            font-size: 15px;
-            min-width: 75upx;
+            font-size: 12upx;
+            width: 68upx;
             text-align: center;
             &.active {
                 background-color: #428369;