Просмотр исходного кода

在售产品价格显示问题

yangc 7 лет назад
Родитель
Сommit
e883bcfd9b
1 измененных файлов с 7 добавлено и 3 удалено
  1. 7 3
      src/main/webapp/resources/view/vendor/forstore/vendor_onSale.html

+ 7 - 3
src/main/webapp/resources/view/vendor/forstore/vendor_onSale.html

@@ -733,6 +733,10 @@
     }
     .edit-form td div span.marginL27{
         margin-left: 27px;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
+        width: 92px;
     }
     .edit-form td div span.marginL10{
         margin-left: 30px;
@@ -1033,17 +1037,17 @@
                         </td>
                         <td>
                             <div ng-repeat="price in commodity.prices" >
-                                <span ng-bind="price.start + '+'" class="marginL40"></span>
+                                <span title="{{price.start + '+'}}" ng-bind="price.start + '+'" class="marginL40"></span>
                             </div>
                         </td>
                         <td ng-if="onsale.currency == 'USD'">
                             <div  ng-repeat="price in commodity.prices" ng-if="price.uSDPrice" >
-                                <span ng-bind="price.uSDPrice | formateNumber : 6 | currencySysmbol : commodity.currencyName" class="marginL27"></span>
+                                <span title="{{price.uSDPrice | formateNumber : 6 | currencySysmbol : commodity.currencyName}}" ng-bind="price.uSDPrice | formateNumber : 6 | currencySysmbol : commodity.currencyName" class="marginL27"></span>
                             </div>
                         </td>
                         <td ng-if="onsale.currency == 'RMB'">
                             <div ng-repeat="price in commodity.prices" ng-if="price.rMBPrice">
-                                <span ng-bind="price.rMBPrice | formateNumber : 6 | currencySysmbol : commodity.currencyName" class="marginL27"></span>
+                                <span title="{{price.rMBPrice | formateNumber : 6 | currencySysmbol : commodity.currencyName}}" ng-bind="price.rMBPrice | formateNumber : 6 | currencySysmbol : commodity.currencyName" class="marginL27"></span>
                             </div>
                         </td>
                         <td>