Przeglądaj źródła

供应商计数器修改以及首页计数器bug修复

gaoxm 7 lat temu
rodzic
commit
af4a4a03aa

+ 5 - 2
components/home/count/displayCard.vue

@@ -43,7 +43,7 @@
          <p v-else><span>0条</span></p>
        </div>
        <a class="enter" @click="goStoreApply()">
-         <img src="/images/all/enter.png">
+         <img src="/images/all/enter1.png">
        </a>
      </div>
   </div>
@@ -171,12 +171,15 @@
       right: 0px;
       top: 0px;
       opacity: 0.8;
+      &:hover{
+        cursor: pointer;
+      }
     }
     .content{
       margin-top: 10px;
       width: 143px;
       height: 517px;
-      background: url('/images/all/displayCard.png') no-repeat;
+      background: url('/images/all/countBackground.png') no-repeat;
       div{
         height: 66px;
         width: 136px;

+ 31 - 19
components/supplier/merchant.vue

@@ -5,13 +5,19 @@
       <div class="title">
         <p>High quality dealer</p>
         <h2>供应商列表</h2>
-        <div class="count">
+       <!-- <div class="count">
           <img src="/images/supplier/count.png" alt=""/>
           <div class="count_num">
             <span v-for="spCount in all" v-text="spCount"></span>
           </div>
-        </div>
+        </div>-->
       </div>
+       <div class="count">
+          <img src="/images/supplier/count1.png" alt=""/>
+          <div class="count_num">
+            <span v-for="spCount in all" v-text="spCount"></span>
+          </div>
+        </div>
       <div class="search">
         <div class="input-group">
           <input type="search" class="form-control" title="code" placeholder="名称/地址/行业"
@@ -206,6 +212,7 @@
       width:215px;
       border-bottom:1px solid #ff5151;
       color:#fff;
+      padding-bottom: 3px;
       p{
         margin:0;
       }
@@ -214,27 +221,12 @@
         margin:0;
         line-height: 46px;
       }
-      div.count{
-        position: relative;
-        .count_num {
-          position:absolute;
-          top:4px;
-          left:3px;
-          span {
-            display:inline-block;
-            width:29px;
-            text-align: center;
-            font-size: 28px;
-            color:#4a2f01;
-          }
-        }
-      }
       &:before{
         content: '';
         display:block;
         position:relative;
         left:55px;
-        top:61px;
+        top:63px;
         width:105px;
         height:1px;
         background: #ff8a00;
@@ -244,12 +236,32 @@
         display:block;
         position:relative;
         left:55px;
-        top:4px;
+        top:8px;
         width:105px;
         height:1px;
         background: #fff600;
       }
     }
+    .count{
+      position: relative;
+      width: 200px;
+      margin: 20px auto;
+      margin-bottom: 0px;
+      .count_num {
+        position:absolute;
+        top: 9px;
+        left: 24px;
+        span {
+          display:inline-block;
+          text-align: center;
+          width: 20px;
+          font-size: 28px;
+          color: #0066e4;
+          font-family: "Microsoft Yahei", "微软雅黑";
+          font-weight: bold;
+        }
+      }
+    }
     .search{
       float:right;
       width:310px;

BIN
static/images/all/countBackground.png


BIN
static/images/all/displayCard.png


+ 0 - 0
static/images/all/enter.png → static/images/all/enter1.png


BIN
static/images/supplier/count.png


BIN
static/images/supplier/count1.png