baimeng 9 rokov pred
rodič
commit
454922209e

BIN
wl/resources/android/splash.zip


BIN
wl/resources/android/splash/drawable-land-hdpi-screen.png


BIN
wl/resources/android/splash/drawable-land-ldpi-screen.png


BIN
wl/resources/android/splash/drawable-land-mdpi-screen.png


BIN
wl/resources/android/splash/drawable-land-xhdpi-screen.png


BIN
wl/resources/android/splash/drawable-land-xxhdpi-screen.png


BIN
wl/resources/android/splash/drawable-land-xxxhdpi-screen.png


BIN
wl/resources/android/splash/drawable-port-hdpi-screen.png


BIN
wl/resources/android/splash/drawable-port-ldpi-screen.png


BIN
wl/resources/android/splash/drawable-port-mdpi-screen.png


BIN
wl/resources/android/splash/drawable-port-xhdpi-screen.png


BIN
wl/resources/android/splash/drawable-port-xxhdpi-screen.png


BIN
wl/resources/android/splash/drawable-port-xxxhdpi-screen.png


BIN
wl/resources/android/splash/横.psd


BIN
wl/resources/android/splash/竖.psd


BIN
wl/resources/ios/splash.zip


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

xqd
@@ -73,6 +73,7 @@
             msg.error(erro.data.message);
         });
         $scope.save = function () {
+            $scope.vm.type = 2;
             var price = new Number($scope.vm.price);
             if (!price) {
                 msg.text('输入价格');

+ 1 - 1
wl/www/js/services/mapservice.js

xqd
@@ -15,7 +15,7 @@
                     var p = result.data.pois[0];
                     if (p) {
                         var l = p.location;
-                        var m = "http://restapi.amap.com/v3/staticmap?location=" + l + "&zoom=9&size=360*160&markers=mid,,A:" + l + "&key=" + key;
+                        var m = "http://restapi.amap.com/v3/staticmap?location=" + l + "&zoom=10&size=720*180&markers=mid,,A:" + l + "&key=" + key;
                         deferred.resolve(m);
                     } else {
                         deferred.resolve(defaultPath);

+ 10 - 19
wl/www/templates/car/add.html

xqd xqd
@@ -7,30 +7,18 @@
             <label class="item item-input">
                 <input ng-model="vm.price"   type="number" placeholder="价格">
             </label>
-            <div class="item item-input item-myselect">
-                <span class="input-label" style="width:15%">
-                    出发地址
-                </span>
-                <china-area-selector region="vm.begin_addressPick"></china-area-selector>
-            </div>
-            <div class="item item-input item-myselect">
-                <span class="input-label" style="width:15%">
-                    到达地址
-                </span>
-                <china-area-selector region="vm.end_addressPick"></china-area-selector>
-            </div>
-            <div class="item item-input item-myselect">
-                <span class="input-label" style="width:15%">
-                    途经地址
-                </span>
-                <china-area-selector region="vm.midway_addressPick"></china-area-selector>
-            </div>
+            <ionic-city-picker options='vm.begin_addressPick'></ionic-city-picker>
+            <ionic-city-picker options='vm.end_addressPick'></ionic-city-picker>
+            <ionic-city-picker options='vm.midway_addressPick'></ionic-city-picker>
             <label class="item item-input item-select item-select-width">
                 <span class="input-label">
                     车辆
                 </span>
                 <select ng-model="vm.truck_id" ng-options="x.id as x.name for x in truckOpt" placeholder="车辆"></select>
             </label>
+            <label class="item item-input">
+                <input ng-model="vm.price" type="text" placeholder="价格">
+            </label>
             <label class="item item-input ">
                 <input ng-model="vm.contact_name" type="text" placeholder="随车联系人">
             </label>
@@ -38,7 +26,10 @@
                 <input  ng-model="vm.contact_phone" type="text" placeholder="联系电话">
             </label>
             <label class="item item-input">
-                <textarea placeholder="详情" rows="8" ng-model="vm.detail"></textarea>
+                <input ng-model="vm.expiry_date" type="text" placeholder="信息有效期">
+            </label>
+            <label class="item item-input">
+                <textarea placeholder="备注" rows="8" ng-model="vm.detail"></textarea>
             </label>
             <div class="padding">
                 <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>

+ 23 - 5
wl/www/templates/car/detail.html

xqd
@@ -10,16 +10,34 @@
                 </div>
 
                 <div class="item item-body">
+                    <p>车牌号:{{vm.truck.data.truck_no}}</p>
+                    <p>车类型:{{vm.truck.data.type}}</p>
                     <p>出发地:{{vm.begin_address | fullAddress}}</p>
                     <p>途经:{{vm.midway_address | fullAddress}}</p>
                     <p>目的地:{{vm.end_address | fullAddress}}</p>
-                    <p>车名:{{vm.truck.data.name}}</p>
-                    <p>车类型:{{vm.truck.data.type}}</p>
-                    <p>车牌:{{vm.truck.data.truck_no}}</p>
-                    <p>载重:{{vm.truck.data.load_weight}}</p>
                     <p>
-                        {{vm.detail}}
+                      备注:{{vm.detail}}
                     </p>
+
+                </div>
+
+                <div class="item item-body">
+                    <p>联系人:{{vm.contact_name}}</p>
+                    <p>联系电话:{{vm.contact_phone}}</p>
+                    <p>信息有效期:{{vm.expiry_date}}</p>
+                </div>
+
+                <div class="item item-body">
+                    <p>车名:{{vm.truck.data.name}}</p>
+                    <p>载重:{{vm.truck.data.load_weight}}</p>
+                    <p>车长:{{vm.truck.data.length}}</p>
+                    <p>车宽:{{vm.truck.data.width}}</p>
+                    <p>车高:{{vm.truck.data.height}}</p>
+                    <p>容量:{{vm.truck.data.capacity}}</p>
+                    <p>自重:{{vm.truck.data.truck_weight}}</p>
+                    <p>开始使用日期:{{vm.truck.data.begin_use_date}}</p>
+                    <p>报废日期:{{vm.truck.data.expire_date}}</p>
+                    
                     <p> 
                      {{vm.created_at}}
                     </p>

+ 10 - 4
wl/www/templates/goods/detail.html

xqd
@@ -13,13 +13,19 @@
                     <p>途经:{{vm.midway_address | fullAddress}}</p>
                     <p>目的地:{{vm.end_address | fullAddress}}</p>
                     <p>货物名称:{{vm.title}}</p>
-                    <p>联系人:{{vm.contact_name}}</p>
-                    <p>联系电话:{{vm.contact_phone}}</p>
                     <p>
                         {{vm.detail}}
                     </p>
-                    <p style="color:red"> 
-                     有效期:{{vm.created_at}}
+                </div>
+
+
+                <div class="item item-body">
+                    <p>联系人:{{vm.contact_name}}</p>
+                    <p>联系电话:{{vm.contact_phone}}</p>
+                    <p>信息有效期:{{vm.expiry_date}}</p>
+            
+                    <p> 
+                     {{vm.created_at}}
                     </p>
                 </div>
             </div>