Przeglądaj źródła

器件选型产品列表页,刷新页面样式抖动问题处理。

yangc 8 lat temu
rodzic
commit
a6b54bbeba

+ 1 - 1
components/common/buyOrCar/buyComponent.vue

@@ -161,7 +161,7 @@
   }
   }
 </script>
 </script>
 
 
-<style>
+<style scoped>
   /* 物品列表按钮 */
   /* 物品列表按钮 */
   .btn-buy-now {
   .btn-buy-now {
     background-color: #5078CB;
     background-color: #5078CB;

+ 7 - 1
components/product/ComponentGoods.vue

@@ -223,10 +223,16 @@
 
 
   .product-list td {
   .product-list td {
     font-size: 12px;
     font-size: 12px;
-    color: #333;
+    /*color: #333;*/
     text-align: center;
     text-align: center;
     line-height: 20px;
     line-height: 20px;
   }
   }
+  .product-list td a{
+    color: #337ab7;
+  }
+  .product-list td a:hover {
+    color: #23527c;
+  }
 
 
   /* 物品列表按钮 */
   /* 物品列表按钮 */
   .product-list .btn-buy-now {
   .product-list .btn-buy-now {