baimeng il y a 9 ans
Parent
commit
4ec74ab5c5

+ 1 - 0
wl/www/js/controllers/goods.js

xqd
@@ -27,6 +27,7 @@
                 var more = (result.data.data.length >= $scope.filter.pageSize);
                 $scope.filter.hasMore = more;
                 $scope.items = $scope.items.concat(result.data.data);
+              
                 if (init) {
                     $scope.$broadcast('scroll.refreshComplete');
                 } else {

+ 1 - 1
wl/www/templates/car/index.html

xqd
@@ -39,7 +39,7 @@
                 <div class="list">
                     <a class="item item-thumbnail-left"  ng-repeat="item in items" ng-click="detail(item)">
                         <img src="img/demo/defaultcar.png" />
-                        <h2 style="white-space:normal">【{{item.begin_address | shortAddress}}】-【{{item.end_address | shortAddress}}】<span style="color:gray;">({{item.title}})</span></h2>
+                        <h2 style="white-space:normal">【{{item.begin_address }}】-【{{item.end_address }}】<span style="color:gray;">({{item.title}})</span></h2>
                         <p><span style="float:left"><b style="color:orangered">¥{{item.price}}</b><em style="padding-left:3px;font-size:0.75em">起</em></span></p>
                         <p><span style="float:left">联系人:{{item.contact_name}}</span> <span style="float:right">电话:{{item.contact_phone}}</span></p> 
                     </a>

+ 1 - 1
wl/www/templates/goods/index.html

xqd
@@ -36,7 +36,7 @@
                 </div>          
                 <div class="list">
                     <a class="item" ng-repeat="item in items" ng-click="detail(item)">
-                        <h2>【{{item.begin_address | shortAddress}}】-【{{item.end_address | shortAddress}}】</h2>
+                        <h2>【{{item.begin_address}}】-【{{item.end_address}}】</h2>
                         <p>
                             <span style="float:left"><b style="color:orangered">¥{{item.price}}</b><em style="padding-left:3px;font-size:0.75em">起</em></span>
                             <span style="float:right">途经:{{item.midway_address | shortAddress}}</span>