Эх сурвалжийг харах

fix: 调整店铺装修页面

周玉环 1 өдөр өмнө
parent
commit
930348370c

+ 6 - 10
xinkeaboard-seller/src/pages/store/pc_diy/pcdecorate.less

@@ -166,9 +166,8 @@ a {
 .adv_02_part .adv_02_left {
   width: 250px;
   height: 100%;
-  background-image: url('@/assets/pc_diy_img/adv_floor_02_left.png');
+  // background-image: url('@/assets/pc_diy_img/adv_floor_02_left.png');
   background-repeat: no-repeat;
-  background-size: 100% 100%;
   position: relative;
   cursor: pointer;
   display: flex;
@@ -186,8 +185,7 @@ a {
 .adv_02_part .adv_02_center {
   width: 890px;
   height: 100%;
-  background-image: url('@/assets/pc_diy_img/adv_floor_02_goods.png');
-  background-size: 100% 100%;
+  // background-image: url('@/assets/pc_diy_img/adv_floor_02_goods.png');
   background-repeat: no-repeat;
   position: relative;
   word-break: break-all;
@@ -223,10 +221,8 @@ a {
   justify-content: space-around;
   align-items: center;
   position: relative;
-  background-image: url('@/assets/pc_diy_img/adv_floor_02_right.png');
-  background-size: 100% 100%;
+  // background-image: url('@/assets/pc_diy_img/adv_floor_02_right.png');
   background-repeat: no-repeat;
-
 }
 
 .imgs_wrap {
@@ -377,7 +373,7 @@ a {
 .adv_02_center .goods_item .right .goods_name {
   color: #333;
   font-size: 1rem;
-  height: 2.6rem;
+  height: 80px;
   line-height: 1.3rem;
   overflow: hidden;
   text-overflow: ellipsis;
@@ -385,7 +381,7 @@ a {
   margin-top: 13px;
   word-break: break-all;
   display: -webkit-box;
-  -webkit-line-clamp: 2;
+  -webkit-line-clamp: 4;
   /*! autoprefixer: off */
   -webkit-box-orient: vertical;
 }
@@ -1664,7 +1660,7 @@ a {
   text-align: center;
 }
 .adv_12 .adv_12_wrap .item.right .img_bottom a:last-child{
-  margin-left: 10px;
+  margin-left: 30px;
 }
 /* adv_12-end */
 

+ 13 - 10
xinkeaboard-web/assets/style/decorate.scss

@@ -287,8 +287,8 @@
 
 .adv_02_center .goods_item .left {
   float: left;
-  width: 192px;
-  height: 192px;
+  width: 200px;
+  height: 200px;
   display: table-cell;
   vertical-align: middle;
   text-align: center;
@@ -301,21 +301,25 @@
 }
 
 .adv_02_center .goods_item .left img {
-  max-width: 140px;
-  max-height: 140px;
-  margin-top: 10px;
+  width: 100%;
+  height: 100%;
+  object-fit: cover;
 }
 
 .adv_02_center .goods_item .right {
   float: right;
   width: 180px;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  height: 192px;
   margin-left: 0;
 }
 
 .adv_02_center .goods_item .right .goods_name {
   color: #333;
   font-size: 14px;
-  height: 41.6px;
+  height: 80px;
   overflow: hidden;
   margin-bottom: 0;
   margin-top: 18px;
@@ -323,7 +327,7 @@
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
-  -webkit-line-clamp: 2;
+  -webkit-line-clamp: 4;
   -webkit-box-orient: vertical;
   word-break: break-word;
   white-space: normal;
@@ -2013,9 +2017,8 @@
   position: relative;
   overflow: hidden;
 
-  &:first-child {
-    margin-bottom: 20px;
-  }
+        margin-bottom: 15px;
+
 }
 
 .adv_13 .adv_13_wrap .item.right .img_bottom {