Browse Source

买家中心右侧推荐栏样式调整

yangc 7 years ago
parent
commit
b9fc36da3a
1 changed files with 19 additions and 3 deletions
  1. 19 3
      src/main/webapp/resources/view/usercenter/forstore/home_center.html

+ 19 - 3
src/main/webapp/resources/view/usercenter/forstore/home_center.html

@@ -28,6 +28,22 @@
         padding-left: 22px;
         word-break: break-all;
     }
+    .user_home .right_r_01 p {
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
+    }
+    .user_home .click_bt01 {
+        line-height: 22px;
+    }
+    .user_home .right_r_01 dl dt {
+        line-height: 128px;
+    }
+    .user_home .pro_list dt img {
+        max-width: 100%;
+        max-height: 100%;
+        margin: 0;
+    }
 </style>
 <!--右侧主体部分-->
 <div class="user_home">
@@ -120,8 +136,8 @@
                     </dt>
                     <dd>
                         <p title="{{store.storeName}}">店铺名称:{{store.storeName}} </p>
-                        <p>产品数量:{{store.commodityCount}}</p>
-                        <p>品牌数量:{{store.kindCount}}</p>
+                        <p title="{{store.commodityCount}}">产品数量:{{store.commodityCount}}</p>
+                        <p title="{{store.kindCount}}">品牌数量:{{store.kindCount}}</p>
                         <a ng-href="{{'store/' + store.uuid}}" class="click_bt01" target="_blank">点击进入</a>
                     </dd>
                 </dl>
@@ -135,7 +151,7 @@
                     </dt>
                     <dd>
                         <p title="{{commodity.code}}">{{commodity.code}}</p>
-                        <p>产品数量:{{commodity.reserve}}</p>
+                        <p title="{{commodity.reserve}}">产品数量:{{commodity.reserve}}</p>
                         <p title="{{commodity.kindNameCn}}">品牌名称:{{commodity.kindNameCn}}</p>
                         <a ng-href="{{'store/productDetail/' + commodity.batchCode}}" class="click_bt01 bg_red" target="_blank">点击进入</a>
                     </dd>