Authored by 郭成尧

code-clean

... ... @@ -63,17 +63,7 @@ exports.addressAct = (req, res, next) => {
};
/**
* 新版地区选择
*/
exports.addressActVue = (req, res) => {
res.render('address/address-act-vue', {
vue: true,
localCss: true
});
};
/**
* TODO DELETE 模拟省数据
* 地址数据
*/
exports.newGetAddress = (req, res, next) => {
addressModel.newGetAddress({
... ...
... ... @@ -132,7 +132,6 @@ router.get('/installment/card-detail', installment.cardDetail); // 银行卡详
router.get('/installment/delBankCard', installment.delBankCard); // 删除绑定
router.get('/installment/setMasterCard', installment.setMasterCard); // 切换主卡
router.get('/address-vact', addressController.addressActVue); // 地址添加页面
router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟省数据
module.exports = router;
... ...
/**
* Created by yoho on 2016/12/14.
*/
var Vue = require('vue');
var app = require('home/address/address-act.vue');
new Vue({
el: '#app',
components: {
app: app
}
});