Authored by 郭成尧

code-clean

@@ -63,17 +63,7 @@ exports.addressAct = (req, res, next) => { @@ -63,17 +63,7 @@ exports.addressAct = (req, res, next) => {
63 }; 63 };
64 64
65 /** 65 /**
66 - * 新版地区选择  
67 - */  
68 -exports.addressActVue = (req, res) => {  
69 - res.render('address/address-act-vue', {  
70 - vue: true,  
71 - localCss: true  
72 - });  
73 -};  
74 -  
75 -/**  
76 - * TODO DELETE 模拟省数据 66 + * 地址数据
77 */ 67 */
78 exports.newGetAddress = (req, res, next) => { 68 exports.newGetAddress = (req, res, next) => {
79 addressModel.newGetAddress({ 69 addressModel.newGetAddress({
@@ -132,7 +132,6 @@ router.get('/installment/card-detail', installment.cardDetail); // 银行卡详 @@ -132,7 +132,6 @@ router.get('/installment/card-detail', installment.cardDetail); // 银行卡详
132 router.get('/installment/delBankCard', installment.delBankCard); // 删除绑定 132 router.get('/installment/delBankCard', installment.delBankCard); // 删除绑定
133 router.get('/installment/setMasterCard', installment.setMasterCard); // 切换主卡 133 router.get('/installment/setMasterCard', installment.setMasterCard); // 切换主卡
134 134
135 -router.get('/address-vact', addressController.addressActVue); // 地址添加页面  
136 router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟省数据 135 router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟省数据
137 136
138 module.exports = router; 137 module.exports = router;
1 -<div id="app">  
2 - <app></app>  
3 -</div>  
1 -/**  
2 - * Created by yoho on 2016/12/14.  
3 - */  
4 -var Vue = require('vue');  
5 -  
6 -var app = require('home/address/address-act.vue');  
7 -  
8 -new Vue({  
9 - el: '#app',  
10 - components: {  
11 - app: app  
12 - }  
13 -});