baimeng пре 9 година
родитељ
комит
bc28df5115

+ 2 - 1
wl/www/css/style.css

xqd
@@ -30,9 +30,10 @@
 .list-user-set .item.item-icon-left { padding: 12px 16px 12px 54px; border-color: #EEE; }
 .list-user-set .item.item-icon-left i img { margin-top: 6px; }
 .list-user-set.list-set-arrow .item, .list-user-set .item.item-set-arrow { padding-right: 30px; }
-.i-user-phone, .i-user-email, .i-user-message, .i-user-order, .i-user-passsword, .i-user-set,.i-user-car { background: no-repeat center/32px auto; width: 32px; height:32px; position: absolute; left: 11px; top: 6px; vertical-align: middle; }
+.i-user-phone, .i-user-info, .i-user-message, .i-user-order, .i-user-passsword, .i-user-set,.i-user-car { background: no-repeat center/32px auto; width: 32px; height:32px; position: absolute; left: 11px; top: 6px; vertical-align: middle; }
 .item-icon-left i img { width: 32px; height: 32px; margin-top: 10px; }
 
+.i-user-info { background-image: url(../img/icon/i_user_info.png) }
 .i-user-car { background-image: url(../img/icon/i_user_car.png) }
 .i-user-set { background-image: url(../img/icon/i_user_set.png) }
 .i-user-order { background-image: url(../img/icon/i_user_wallet.png) }

BIN
wl/www/img/icon/i_user_info.png


+ 30 - 85
wl/www/js/config/router.js

xqd xqd
@@ -109,6 +109,15 @@
                 }
             }
         })
+             .state('wl.my_profile', {
+                 url: '/my/profile',
+                 views: {
+                     'wl-my': {
+                         templateUrl: 'templates/my/profile.html',
+                         controller: 'myProfileCtrl'
+                     }
+                 }
+             })
         .state('wl.my_setting', {
             url: '/my/setting',
             views: {
@@ -127,97 +136,33 @@
                 }
             }
         })
-         .state('wl.my_apply', {
-             url: '/my/apply',
+       .state('wl.my_truck', {
+           url: '/my/truck',
+            views: {
+                'wl-my': {
+                    templateUrl: 'templates/my/truck.html',
+                    controller: 'myTruckCtrl'
+                }
+            }
+       })
+       .state('wl.my_truck_add', {
+           url: '/my/truck/add',
              views: {
                  'wl-my': {
-                     templateUrl: 'templates/my/apply.html',
-                     controller: 'myApplyCtrl'
+                     templateUrl: 'templates/my/truck-add.html',
+                     controller: 'myTruckAddCtrl'
                  }
              }
          })
-      .state('wl.my_apply_profile', {
-          url: '/my/apply/profile',
-                   views: {
-                       'wl-my': {
-                           templateUrl: 'templates/my/apply-profile.html',
-                           controller: 'myApplyProfileCtrl'
-                       }
-                   }
-      })
-             .state('wl.my_apply_job', {
-                 url: '/my/apply/job',
-                 views: {
-                     'wl-my': {
-                         templateUrl: 'templates/my/apply-job.html',
-                         controller: 'myApplyJobCtrl'
-                     }
-                 }
-             })
-             .state('wl.my_apply_contact', {
-                 url: '/my/apply/contact',
-                 views: {
-                     'wl-my': {
-                         templateUrl: 'templates/my/apply-contact.html',
-                         controller: 'myApplyContactCtrl'
-                     }
-                 }
-             })
-             .state('wl.my_apply_bank', {
-                 url: '/my/apply/bank',
-                 views: {
-                     'wl-my': {
-                         templateUrl: 'templates/my/apply-bank.html',
-                         controller: 'myApplyBankCtrl'
-                     }
-                 }
-             })
-        .state('wl.my_profile', {
-            url: '/my/profile',
-            views: {
-                'wl-my': {
-                    templateUrl: 'templates/my/profile.html',
-                    controller: 'myProfileCtrl'
-                }
-            }
-        })
-        .state('wl.my_fenqi', {
-            url: '/my/fenqi',
-            views: {
-                'wl-my': {
-                    templateUrl: 'templates/my/fenqi.html',
-                    controller: 'myFenqiCtrl'
-                }
-            }
-        })
-        .state('wl.my_fenqi_wait', {
-            url: '/my/fenqi/wait',
-                 views: {
-                     'wl-my': {
-                         templateUrl: 'templates/my/fenqi-wait.html',
-                         controller: 'myFenqiWaitCtrl'
-                     }
+         .state('wl.my_truck_detail', {
+             url: '/my/truck/detail',
+             views: {
+                 'wl-my': {
+                     templateUrl: 'templates/my/truck-detail.html',
+                     controller: 'myTruckDetailCtrl'
                  }
-             })
-        .state('wl.my_fenqi_success', {
-            url: '/my/fenqi/success',
-            views: {
-                'wl-my': {
-                    templateUrl: 'templates/my/fenqi-success.html',
-                    controller: 'myFenqiSuccessCtrl'
-                }
-            }
-        })
-        .state('wl.my_sudai', {
-            url: '/my/sudai',
-            views: {
-                'wl-my': {
-                    templateUrl: 'templates/my/sudai.html',
-                    controller: 'mySudaiCtrl'
-                }
-            }
-        });
-
+             }
+         })
         $urlRouterProvider.otherwise('/wl/goods');
     }]);
 })(angular.module('app'));

+ 6 - 60
wl/www/js/controllers/my.js

xqd xqd
@@ -20,10 +20,8 @@
 
         }
     }]);
-    app.controller('myApplyCtrl', ['$scope', function ($scope) {
-
-    }]);
-    app.controller('myApplyProfileCtrl', ['$scope', 'userService', 'msg', 'util','data', function ($scope, userService, msg, util,data) {
+    
+    app.controller('myProfileCtrl', ['$scope', 'userService', 'msg', 'util','data', function ($scope, userService, msg, util,data) {
         $scope.user = data.getObject('user');
         $scope.vm = {};
         $scope.genderOpt = [
@@ -77,67 +75,15 @@
         }
        
     }]);
-    app.controller('myApplyJobCtrl', ['$scope', '$ionicModal', function ($scope, $ionicModal) {
-        $ionicModal.fromTemplateUrl('industryConditions.html', {
-            scope: $scope,
-            animation: 'slide-in-up'
-        }).then(function (modal) {
-            $scope.industryConditions = modal;
-        });
-        $scope.vm = {};
-        $scope.chooseIndustry = function () {
-            $scope.industryConditions.show();
-        }
-        $scope.closeIndustryConditions = function () {
-            $scope.industryConditions.hide();
-        }
-        $scope.Industries = ['农、林、牧、渔业', '采矿业', '制造业',
-            '电力、热力、燃气及水的生产和供应业', '环境和公共设施管理业', '建筑业', '交通运输、仓储业和邮政业', '信息传输、计算机服务和软件业', '批发和零售业',
-            '住宿、餐饮业', '金融、保险业', '房地产业', '租赁和商务服务业', '科学研究、技术服务和地质勘查业', '水利、环境和公共设施管理业', '居民服务和其他服务业', '教育', '卫生、社会保障和社会服务业', '文化、体育、娱乐业', '综合(含投资类、主业不明显)', '其它'];
-        
-    }]);
-    app.controller('myApplyContactCtrl', ['$scope', function ($scope) {
-
-    }]);
-    app.controller('myApplyBankCtrl', ['$scope', function ($scope) {
-        $scope.add = function () {
-
-        }
-    }]);
-    app.controller('profileCtrl', ['$scope', function ($scope) {
-        $scope.data = {};
     
-        $scope.relationshipOpt = [
-            {name:'父母',value:1},
-            {name:'配偶',value:2},
-            {name:'亲戚',value:3},
-            {name:'同学',value:4},
-            {name:'同事',value:5},
-            {name:'朋友',value:6},
-            {name:'其它',value:7}
-        ];
-        $scope.save = function () {
+    app.controller('myTruckCtrl', ['$scope', function ($scope) {
 
-        }
     }]);
-    app.controller('myFenqiCtrl', ['$scope','$state', function ($scope,$state) {
-        $scope.gotowait = function () {
-            $state.go('uf7.my_fenqi_wait');
-        }
+    app.controller('myTruckAddCtrl', ['$scope', function ($scope) {
 
     }]);
-    app.controller('myfenqiWaitCtrl', ['$scope', '$state', function ($scope, $state) {
-      
-        $scope.gotoSucess = function () {
-            $state.go('uf7.my_fenqi_success'); 
-        }
-    }]);
-    app.controller('myFenqiSuccessCtrl', ['$scope', '$state', function ($scope, $state) {
-        $scope.gotobill = function () {
-            $state.go('uf7.bill');
-        }
-    }]);
-    app.controller('mySudaiCtrl', ['$scope', function ($scope) {
+    app.controller('myTruckDetailCtrl', ['$scope', function ($scope) {
 
     }]);
+    
 })(angular.module('app.controllers'));

+ 0 - 29
wl/www/templates/my/apply-bank.html

xqd
@@ -1,29 +0,0 @@
-<ion-view view-title="绑定银行卡">
-    <ion-content> 
-        <div class="list">
-            <div class="item item-divider">
-               <span>填写您本人名下的银行借记卡</span>
-                <a class="button button-icon icon ion-plus-round" ng-click="add()" style="float:right;margin-top:-5px"></a>
-            </div>
-            <label class="item item-input ">
-                <span class="input-label">银行卡号</span>
-                <input style="text-align:right" type="text" placeholder="银行卡号">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">所属银行</span>
-                <input style="text-align:right" type="text" placeholder="所属银行">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">开户行所在地</span>
-                <input style="text-align:right" type="text" placeholder="开户行所在地">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">预留手机</span>
-                <input style="text-align:right" type="text" placeholder="开户行所在地">
-            </label>
-            <div class="padding">
-                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
-            </div>
-        </div>
-    </ion-content>
-</ion-view>

+ 0 - 28
wl/www/templates/my/apply-contact.html

xqd
@@ -1,28 +0,0 @@
-<ion-view view-title="紧急联系人">
-    <ion-content>
-        <div class="list">
-            <div class="item item-divider">
-                请如实填写
-            </div>
-            <label class="item item-input item-select item-select-width">
-                <span class="input-label">
-                    关系
-                </span>
-                <select ng-model="data.Gender" ng-options="x.value as x.name for x in relationshipOpt"></select>
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">姓名</span>
-                <input style="text-align:right" type="text" placeholder="姓名">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">电话</span>
-                <input style="text-align:right" type="text" placeholder="电话">
-            </label>
-             
-            <div class="padding">
-                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
-            </div>
-        </div>
-    </ion-content>
-  
-</ion-view>

+ 0 - 52
wl/www/templates/my/apply-job.html

xqd
@@ -1,52 +0,0 @@
-<ion-view view-title="工作情况">
-    <ion-content>
-        <div class="list">
-            <div class="item item-divider">
-                请如实填写
-            </div>
-            <label class="item item-input ">
-                <span class="input-label">从事行业</span>
-                <input style="text-align:right" type="text" ng-click="chooseIndustry()" readonly="readonly" placeholder="从事行业" class="ion-amap-place" ng-model="vm.Industry" >
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">工作岗位</span>
-                <input style="text-align:right" type="text"  placeholder="工作岗位">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">单位名称</span>
-                <input style="text-align:right" type="text" placeholder="单位名称">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">单位所在地</span>
-                <input style="text-align:right" type="text" placeholder="单位所在地">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">详细地址</span>
-                <input style="text-align:right" type="text" placeholder="详细地址">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">单位电话<span style="color:red">*</span></span>
-                <input style="text-align:right" type="text" placeholder="单位电话">
-            </label>
-            
-            <div class="padding">
-                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
-            </div>
-        </div>
-    </ion-content>
-    <script id="industryConditions.html" type="text/ng-template">
-        <ion-modal-view>
-            <ion-header-bar class="bar-positive bar bar-header">
-                <h1 class="title">从事行业</h1>
-                <div class="buttons">
-                    <button class="button" ng-click="closeIndustryConditions()">确认</button>
-                </div>
-            </ion-header-bar>
-            <ion-content>
-                <div class="list">
-                    <ion-radio ng-model="vm.Industry" ng-repeat="condition in Industries" ng-value="condition">{{condition}}</ion-radio>
-                </div>
-            </ion-content>
-        </ion-modal-view>
-    </script>
-</ion-view>

+ 0 - 57
wl/www/templates/my/apply-profile.html

xqd
@@ -1,57 +0,0 @@
-<ion-view view-title="身份信息">
-    <ion-content>
-        <div class="list">
-            <div class="item item-divider">
-                请如实填写
-            </div>
-            <a class="item">
-                <em class="fl">手机号</em>
-                <span style="float:right">{{user.mobile}}</span>
-            </a>
-            <label class="item item-input ">
-                <span class="input-label">姓名<span class="mustfill">*</span></span>
-                <input style="text-align:right" ng-model="vm.Name" type="text" placeholder="真实姓名">
-            </label>
-            <label class="item item-input">
-                <span class="input-label">身份证号<span class="mustfill">*</span></span>
-                <input style="text-align:right" ng-model="vm.IDCard" type="text" placeholder="身份证号">
-            </label>
-            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(1)">
-                <img ng-src="vm.CardImgFront"/>
-                <h2>上传照片<span class="mustfill">*</span></h2>
-                <p>证件照正面</p>
-            </a>
-            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(2)">
-                <img ng-src="vm.CardImgBack" />
-                <h2>上传照片<span class="mustfill">*</span></h2>
-                <p>证件照反面</p>
-            </a>
-            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(3)">
-                <img ng-src="vm.CardImgSelf" />
-                <h2>上传照片<span class="mustfill">*</span></h2>
-                <p>自拍照</p>
-            </a>
-            <label class="item item-input item-select item-select-width">
-                <span class="input-label">
-                    性别
-                </span>
-                <select ng-model="vm.Sex" ng-options="x.value as x.name for x in genderOpt"></select>
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">现居城市<span class="mustfill">*</span></span>
-                <input style="text-align:right" ng-model="vm.City" type="text" placeholder="现居城市">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">详细地址<span class="mustfill">*</span></span>
-                <input style="text-align:right" type="text"  ng-model="vm.HomeAddress" placeholder="详细地址">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">居住时长</span>
-                <input style="text-align:right" type="text"  placeholder="居住时长">
-            </label>
-            <div class="padding">
-                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
-            </div>
-        </div>
-    </ion-content>
-</ion-view>

+ 0 - 71
wl/www/templates/my/apply.html

xqd
@@ -1,71 +0,0 @@
- <ion-view  view-title="申请资料">
-     <ion-content>
-         <div class="list list-set-arrow">
-             <a class="item item-avatar item-avatar-icon" ui-sref="uf7.my_apply_profile">
-                 <div class="item-avatar-type"><span class="no">未填写</span></div>
-                 <span class="item-image item-image-icon">
-                     <img src="../../img/icon/i_user_idcard.png" />
-                 </span>
-                 <h2>
-                  身份信息
-                 </h2>
-                 <p>
-                   让U分期知道你是谁
-                 </p>
-                 <span class="badge">必填</span>
-             </a>
-             <a class="item item-avatar item-avatar-icon" ui-sref="uf7.my_apply_job">
-                 <div class="item-avatar-type"><span class="no">未填写</span></div>
-                 <span class="item-image item-image-icon">
-                     <img src="../../img/icon/i_user_work.png" />
-                 </span>
-                 <h2>
-                   工作信息
-                 </h2>
-                 <p>
-                    告诉U分期你在做什么
-                 </p>
-                 <span class="badge">必填</span>
-             </a>
-             <a class="item item-avatar item-avatar-icon" ui-sref="uf7.my_apply_contact">
-                 <div class="item-avatar-type"><span class="no">未填写</span></div>
-                 <span class="item-image item-image-icon">
-                     <img src="../../img/icon/i_user_contact.png" />
-                 </span>
-                 <h2>
-                     紧急联系人
-                 </h2>
-                 <p>
-                     遇特殊情况可以帮助我们联系到您
-                 </p>
-                 <span class="badge">必填</span>
-             </a>
-             <a class="item item-avatar item-avatar-icon" ui-sref="uf7.my_apply_bank">
-                 <div class="item-avatar-type"><span class="no">未填写</span></div>
-                 <span class="item-image item-image-icon">
-                     <img src="../../img/icon/i_user_bankcard.png" />
-                 </span>
-                 <h2>
-                  银行卡信息
-                 </h2>
-                 <p>
-                     您分期或还款时需要用到
-                 </p>
-                 <span class="badge">必填</span>
-             </a>
-             <a class="item item-avatar item-avatar-icon">
-                
-                 <span class="item-image item-image-icon">
-                     <img src="../../img/icon/i_user_more.png" />
-                 </span>
-                 <h2>
-                   更多信息
-                 </h2>
-                 <p>
-                     可选信息,可酌情填写
-                 </p>
-                  
-             </a>
-         </div>
-     </ion-content>
- </ion-view>

+ 0 - 22
wl/www/templates/my/fenqi-success.html

xqd
@@ -1,22 +0,0 @@
-<ion-view title="U分期">
-    <ion-content>
-        <div class="padding">
-            <div class="casehistory-item">
-
-                <div class="casehistory-item-photo selftest-item-photo">
-                    <img src="../../img/demo/test_pic1.jpg" />
-                </div>
-                <div class="casehistory-item-info  casehistory-photo-item-info">
-                    <p><span>成都华美美容整形----春熙店</span></p>
-                    <p>分期金额:6890</p>
-                    <p>分期期数:6期</p>
-                    <p>月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;供:1350元</p>
-                </div>
-            </div>
-            <button type="submit" ng-click="gotobill()" class="button button-full button-positive">
-                您的申请已通过,查看账单
-            </button>
-
-        </div>
-    </ion-content>
-</ion-view>

+ 0 - 22
wl/www/templates/my/fenqi-wait.html

xqd
@@ -1,22 +0,0 @@
-<ion-view title="U分期">
-    <ion-content>
-        <div class="padding">
-            <div class="casehistory-item">
-
-                <div class="casehistory-item-photo selftest-item-photo">
-                    <img src="../../img/demo/test_pic1.jpg" />
-                </div>
-                <div class="casehistory-item-info  casehistory-photo-item-info">
-                    <p><span>成都华美美容整形----春熙店</span></p>
-                    <p>分期金额:6890</p>
-                    <p>分期期数:6期</p>
-                    <p>月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;供:1350元</p>
-                </div>
-            </div>
-            <button type="submit" ng-click="gotoSucess()" class="button button-full button-positive">
-              申请审核中,请耐心等待
-            </button>
-             
-        </div>
-    </ion-content>
-</ion-view>

+ 0 - 23
wl/www/templates/my/fenqi.html

xqd
@@ -1,23 +0,0 @@
-<ion-view title="U分期">
-    <ion-content>
-        <div class="padding">
-            <div class="casehistory-item">
-
-                <div class="casehistory-item-photo selftest-item-photo">
-                    <img src="../../img/demo/test_pic1.jpg" />
-                </div>
-                <div class="casehistory-item-info  casehistory-photo-item-info">
-                    <p><span>成都华美美容整形----春熙店</span></p>
-                    <p>分期金额:6890</p>
-                    <p>分期期数:6期</p>
-                    <p>月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;供:1350元</p>
-                </div>
-            </div>
-            <button type="submit" ng-click="gotowait()" class="button button-full button-positive">
-                确认,立即U分期
-            </button>
-            <div>本人同意:</div>
-            <a href="" style="text-decoration:none;">平台服务协议、借款协议、授权委托书</a>
-        </div>
-    </ion-content>
-</ion-view>

+ 3 - 0
wl/www/templates/my/index.html

xqd
@@ -14,6 +14,9 @@
             </div>
         </div>
         <div class="list list-user-set list-set-arrow">
+            <a class="item item-icon-left" ui-sref="wl.my_profile">
+                <i class="i-user-info"></i><em class="fl">基本信息</em>
+            </a>
             <a class="item item-icon-left" ui-sref="wl.my_apply">
                 <i class="i-user-car"></i><em class="fl">车辆管理</em>
             </a>

+ 29 - 117
wl/www/templates/my/profile.html

xqd
@@ -1,145 +1,57 @@
-<ion-view view-title="申请资料">
+<ion-view view-title="身份信息">
     <ion-content>
         <div class="list">
             <div class="item item-divider">
-                个人信息
+                请如实填写
             </div>
             <a class="item">
                 <em class="fl">手机号</em>
-                <span style="float:right">15928676789</span>
+                <span style="float:right">{{user.mobile}}</span>
             </a>
             <label class="item item-input ">
-                <span class="input-label">姓名</span>
-                <input style="text-align:right" ng-model="data.Name" type="text" placeholder="真实姓名">
+                <span class="input-label">姓名<span class="mustfill">*</span></span>
+                <input style="text-align:right" ng-model="vm.Name" type="text" placeholder="真实姓名">
             </label>
             <label class="item item-input">
-                <span class="input-label">身份证号</span>
-                <input style="text-align:right" ng-model="data.IDCard" type="text" placeholder="身份证号">
+                <span class="input-label">身份证号<span class="mustfill">*</span></span>
+                <input style="text-align:right" ng-model="vm.IDCard" type="text" placeholder="身份证号">
             </label>
-            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator()">
-                <img />
-                <h2>上传证件照</h2>
-                <p>证件号:{{data.IDCard}}</p>
+            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(1)">
+                <img ng-src="vm.CardImgFront"/>
+                <h2>上传照片<span class="mustfill">*</span></h2>
+                <p>证件照正面</p>
+            </a>
+            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(2)">
+                <img ng-src="vm.CardImgBack" />
+                <h2>上传照片<span class="mustfill">*</span></h2>
+                <p>证件照反面</p>
+            </a>
+            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(3)">
+                <img ng-src="vm.CardImgSelf" />
+                <h2>上传照片<span class="mustfill">*</span></h2>
+                <p>自拍照</p>
             </a>
             <label class="item item-input item-select item-select-width">
                 <span class="input-label">
                     性别
                 </span>
-                <select ng-model="data.Gender" ng-options="x.value as x.name for x in genderOpt"></select>
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">现居城市</span>
-                <input style="text-align:right"  type="text" placeholder="现居城市">
-            </label> 
-            <label class="item item-input ">
-                <span class="input-label">详细地址</span>
-                <input style="text-align:right" type="text" placeholder="详细地址">
-            </label>  
-            <label class="item item-input ">
-                <span class="input-label">居住时长</span>
-                <input style="text-align:right" type="text" placeholder="居住时长">
-            </label> 
-            <div class="item item-divider">
-                工作情况
-            </div>
-            <label class="item item-input ">
-                <span class="input-label">从事行业</span>
-                <input style="text-align:right" type="text" placeholder="从事行业">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">工作岗位</span>
-                <input style="text-align:right" type="text" placeholder="工作岗位">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">单位名称</span>
-                <input style="text-align:right" type="text" placeholder="单位名称">
+                <select ng-model="vm.Sex" ng-options="x.value as x.name for x in genderOpt"></select>
             </label>
             <label class="item item-input ">
-                <span class="input-label">单位所在地</span>
-                <input style="text-align:right" type="text" placeholder="单位所在地">
+                <span class="input-label">现居城市<span class="mustfill">*</span></span>
+                <input style="text-align:right" ng-model="vm.City" type="text" placeholder="现居城市">
             </label>
             <label class="item item-input ">
-                <span class="input-label">详细地址</span>
-                <input style="text-align:right" type="text" placeholder="详细地址">
+                <span class="input-label">详细地址<span class="mustfill">*</span></span>
+                <input style="text-align:right" type="text"  ng-model="vm.HomeAddress" placeholder="详细地址">
             </label>
             <label class="item item-input ">
-                <span class="input-label">单位电话</span>
-                <input style="text-align:right" type="text" placeholder="单位电话">
-            </label>
-            <div class="item item-divider">
-                紧急联系人
-            </div>
-            <label class="item item-input item-select item-select-width">
-                <span class="input-label">
-                    关系
-                </span>
-                <select ng-model="data.Gender" ng-options="x.value as x.name for x in relationshipOpt"></select>
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">姓名</span>
-                <input style="text-align:right" type="text" placeholder="姓名">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">电话</span>
-                <input style="text-align:right" type="text" placeholder="电话">
-            </label>
-            <div class="item item-divider">
-                绑定银行卡<span style="font-size:14px">(填写您本人名下的银行借记卡)</span>
-            </div>
-            <label class="item item-input ">
-                <span class="input-label">银行卡号</span>
-                <input style="text-align:right" type="text" placeholder="银行卡号">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">所属银行</span>
-                <input style="text-align:right" type="text" placeholder="所属银行">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">开户行所在地</span>
-                <input style="text-align:right" type="text" placeholder="开户行所在地">
-            </label>
-            <label class="item item-input ">
-                <span class="input-label">预留手机</span>
-                <input style="text-align:right" type="text" placeholder="开户行所在地">
+                <span class="input-label">居住时长</span>
+                <input style="text-align:right" type="text"  placeholder="居住时长">
             </label>
             <div class="padding">
-                <button type="button" ng-click="save()" class="button button-full button-positive">提交申请</button>
+                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
             </div>
         </div>
     </ion-content>
-    <script id="chooseLivingConditions.html" type="text/ng-template">
-        <ion-modal-view>
-            <ion-header-bar>
-                <h1 class="title">居住情况</h1>
-                <div class="buttons">
-                    <button class="button" ng-click="closeLivingConditions()">确认</button>
-                </div>
-            </ion-header-bar>
-            <ion-content>
-                <div class="list">
-                    <ion-checkbox ng-repeat="condition in LivingConditions"
-                                  ng-model="condition.check">{{ condition.Text }}</ion-checkbox>
-
-                </div>
-            </ion-content>
-        </ion-modal-view>
-    </script>
-
-    <script id="chooseMedicalInsurance.html" type="text/ng-template">
-        <ion-modal-view>
-            <ion-header-bar>
-                <h1 class="title">医保类型</h1>
-                <div class="buttons">
-                    <button class="button" ng-click="closeMedicalInsurance()">确认</button>
-                </div>
-            </ion-header-bar>
-            <ion-content>
-                <div class="list">
-                    <ion-checkbox ng-repeat="condition in MedicalInsurance"
-                                  ng-model="condition.check">{{ condition.Text }}</ion-checkbox>
-
-                </div>
-            </ion-content>
-        </ion-modal-view>
-    </script>
 </ion-view>

+ 5 - 0
wl/www/templates/my/truck-add.html

xqd
@@ -0,0 +1,5 @@
+ <ion-view view-title="添加车辆">
+    <ion-content>
+
+    </ion-content>
+</ion-view>

+ 5 - 0
wl/www/templates/my/truck-detial.html

xqd
@@ -0,0 +1,5 @@
+<ion-view view-title="车辆详情">
+    <ion-content>
+
+    </ion-content>
+</ion-view>

+ 5 - 0
wl/www/templates/my/truck.html

xqd
@@ -0,0 +1,5 @@
+<ion-view view-title="我的车辆">
+    <ion-content>
+         
+    </ion-content>
+</ion-view>