浏览代码

店铺banner图片更改大小

hangb 7 年之前
父节点
当前提交
ddffe28331
共有 2 个文件被更改,包括 9 次插入4 次删除
  1. 3 1
      components/store/home/EnterpriseInfo.vue
  2. 6 3
      components/store/home/StoreBanner.vue

+ 3 - 1
components/store/home/EnterpriseInfo.vue

@@ -344,12 +344,14 @@
             margin: -5px 0 0 1px;
             margin: -5px 0 0 1px;
             border-radius: 5px;
             border-radius: 5px;
            .list{
            .list{
-             height: 150px;
+             margin-top: -20px;
+             height: 170px;
              border-radius: 5px;
              border-radius: 5px;
              background: #fff;
              background: #fff;
             .information-list {
             .information-list {
               font-size: 12px;
               font-size: 12px;
               color: #333;
               color: #333;
+              margin-bottom: 3px;
               /*background: #fff;*/
               /*background: #fff;*/
             &:first-child{
             &:first-child{
                /*padding-top: 10px;*/
                /*padding-top: 10px;*/

+ 6 - 3
components/store/home/StoreBanner.vue

@@ -316,7 +316,7 @@ export default {
 		margin-left: 0px;
 		margin-left: 0px;
 		margin-right: 0px;
 		margin-right: 0px;
     position: relative;
     position: relative;
-    background: #fff;
+    /*background: #fff;*/
 	}
 	}
   #title-fragment .logo{
   #title-fragment .logo{
     width: 28px;
     width: 28px;
@@ -337,6 +337,7 @@ export default {
     padding-top: 10px;
     padding-top: 10px;
   }
   }
 	#title-fragment .shop-logo {
 	#title-fragment .shop-logo {
+    margin-right: 10px;
 		width: 220px;
 		width: 220px;
 		height: 260px;
 		height: 260px;
 		border: 1px solid #e8e8e8;
 		border: 1px solid #e8e8e8;
@@ -344,6 +345,7 @@ export default {
 		text-align: center;
 		text-align: center;
 		line-height: 210px;
 		line-height: 210px;
     position: relative;
     position: relative;
+    background: #fff;
     .shop-name{
     .shop-name{
       height: 40px;
       height: 40px;
       line-height: 40px;
       line-height: 40px;
@@ -460,15 +462,16 @@ export default {
 	#title-fragment .shop-banner {
 	#title-fragment .shop-banner {
 		float: left;
 		float: left;
 		position: relative;
 		position: relative;
-		width: 970px;
+		width: 955px;
 		height: 280px;
 		height: 280px;
 		border: 1px solid #e8e8e8;
 		border: 1px solid #e8e8e8;
 		border-left: none;
 		border-left: none;
 		overflow: hidden;
 		overflow: hidden;
+    border-radius: 5px;
 	}
 	}
 
 
 	#title-fragment .shop-banner img {
 	#title-fragment .shop-banner img {
-		width: 970px;
+		width: 955px;
 		height: 280px;
 		height: 280px;
 	}
 	}