Browse Source

购物车金额保留两位小数

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7893 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 years ago
parent
commit
e1741231d3

+ 1 - 1
src/main/webapp/resources/tpl/index/purc/cart_detail.html

@@ -31,7 +31,7 @@
 			</div>
 			<div class="col-xs-3">
 				<span class="title">金额</span>
-				<div class="content" ng-bind="::cart.total| number: 2"></div>
+				<div class="content" ng-bind="::cart.total| number:2"></div>
 			</div>
 			<div class="col-xs-3">
 				<span class="title">汇率</span>

+ 1 - 1
src/main/webapp/resources/tpl/index/purc/vendor_detail.html

@@ -47,7 +47,7 @@
                         <span>邮箱</span>
                         <span class="wid02">操作</span>
                     </dt>
-                    <dd ng-repeat = "contact in vendorContacts| orderBy: '$index'">
+                    <dd ng-repeat = "contact in vendorContacts| orderBy:'-id'">
                         <span class="wid01">{{contact.venduser}}</span>
                         <span class="wid01" ng-bind="contact.sex == 'F' ? '女' : '男'"></span>
                         <span class="wid01">{{contact.position}}</span>