ouxq 8 жил өмнө
parent
commit
266b6e841c

+ 9 - 0
assets/scss/common.scss

@@ -281,3 +281,12 @@
 .swiper-button-prev:hover,.swiper-button-next:hover{
   opacity: 1;
 }
+.menu-title{
+  line-height: 30px;
+  font-size: 14px;
+  margin-bottom: 10px;
+}
+.menu-title a {
+  color: #5078cb;
+  font-size: 14px;
+}

+ 3 - 2
assets/scss/reset.scss

@@ -18,7 +18,8 @@ article,aside,dialog,footer,header,section,footer,nav,figure,menu {
   display: block
 }
 .container{
-  padding: 0;
+  padding: 0 !important;
+  width: 1190px !important;
 }
 h1,
 h2,
@@ -30,7 +31,7 @@ h6 {
   font-family: inherit;
   line-height: inherit;
 }
-a:focus{
+a:focus,a:hover{
   text-decoration: none !important;
 }
 h1 {

+ 3 - 1
components/main/Nav.vue

@@ -36,7 +36,9 @@
 <style lang="scss" scoped>
   @import '~assets/scss/variables';
   $nav-height: 40px;
-
+  .nav-list a span{
+    font-size: 14px;
+  }
   .nav-list {
     background-color: rgb(244, 248, 255);
     height: $nav-height;

+ 3 - 1
components/main/Search.vue

@@ -154,7 +154,9 @@
       width: 78px;
       border-radius: 0;
     }
-
+    .search-hot ul li a{
+      color: #838383;
+    }
     .search-hot {
       .item {
         display: inline-block;

+ 1 - 0
components/news/Left.vue

@@ -121,6 +121,7 @@
 
   .hot-news li h5 a:hover{
     color: #5078cb;
+    text-decoration: underline !important;
   }
 
   .hot-time{

+ 1 - 0
components/news/Right.vue

@@ -130,6 +130,7 @@
   }
   .news .new h5 a:hover {
    color: #5078cb;
+    text-decoration: underline !important;
   }
   .news-list >p{
     line-height: 25px;

+ 1 - 2
components/store/CommodityInfo.vue

@@ -61,7 +61,7 @@
               <span class="name">数&nbsp;量</span>:
               <div class="input-group" style="width: 120px">
                 <div class="input-group-addon operate" @click="subNum()" :disabled="!fragment.canAdd">-</div>
-                <input type="text" class="form-control text-center" placeholder="数量" v-model="fragment.num" @change="inputNum()"/>
+                <input type="text" class="form-control" placeholder="数量" v-model="fragment.num" @change="inputNum()"/>
                 <div class="input-group-addon operate" @click="addNum()" :disabled="!fragment.canSub">+</div>
               </div>
               ×
@@ -224,7 +224,6 @@ export default {
 		padding-right: 0px;
 		font-family: "Microsoft Yahei", "微软雅黑";
 	}
-
 	.commodity .commodity-detail {
 		width: 100%;
 		display: inline-block;

+ 39 - 0
components/store/CommodityList.vue

@@ -207,6 +207,45 @@ export default {
 }
 </script>
 <style>
+/*  产品分类调整*/
+  .category-content .el-tree{
+    border: none;
+  }
+  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.el-tree-node:hover{
+    background: none !important;
+  }
+  .el-tree-node__content:hover{
+    background: none !important;
+  }
+  .el-tree-node__content:hover span{
+    color: #5078cb;
+  }
+  .el-pagination .el-pager li.active{
+    background-color: #5078cb;
+    border-color: #337ab7;
+  }
+.el-tree-node__expand-icon{
+  font-family: "iconfont" !important;
+  font-size: 14px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  width: inherit;
+  height: inherit;
+  border: inherit;
+  font-weight: bold;
+  text-shadow: -1px 0px 0 #333;
+  margin-right: 3px !important;
+}
+.el-tree-node__content{
+  line-height: 30px;
+  height: 30px;
+}
+.el-tree-node__expand-icon.is-leaf{
+  visibility: hidden;
+}
+.el-tree-node__expand-icon:before{
+  content: "\E621";
+}
   #goods-list-fragment{
 		font-family: "Microsoft Yahei", "微软雅黑";
 	}

+ 2 - 1
components/store/StoreHeader.vue

@@ -52,7 +52,7 @@
   </div>
 </template>
 <script>
-import SearchBox from '~components/home/Search.vue'
+import SearchBox from '~components/main/Search.vue'
 
 export default {
   name: 'store-header',
@@ -114,6 +114,7 @@ export default {
 		width: 40px;
 		height: 20px;
 		line-height: 14px;
+    padding: 0;
 	}
 
 	#nav_fragment .btn-nav .watch {