Authored by 郭成尧

'address'

@@ -44,7 +44,7 @@ exports.address = (req, res, next) => { @@ -44,7 +44,7 @@ exports.address = (req, res, next) => {
44 exports.addressAct = (req, res, next) => { 44 exports.addressAct = (req, res, next) => {
45 let responseData = { 45 let responseData = {
46 module: 'home', 46 module: 'home',
47 - page: 'address', 47 + page: 'address-act',
48 pageHeader: headerModel.setNav({ 48 pageHeader: headerModel.setNav({
49 navTitle: '编辑地址' 49 navTitle: '编辑地址'
50 }), 50 }),
@@ -5,9 +5,9 @@ @@ -5,9 +5,9 @@
5 */ 5 */
6 var $ = require('yoho-jquery'), 6 var $ = require('yoho-jquery'),
7 Hammer = require('yoho-hammer'), 7 Hammer = require('yoho-hammer'),
8 - tip = require('../../plugin/tip'),  
9 - security = require('../../plugin/security'),  
10 - loading = require('../../plugin/loading'); 8 + tip = require('../plugin/tip'),
  9 + security = require('../plugin/security'),
  10 + loading = require('../plugin/loading');
11 11
12 var $addressForm = $('.edit-address'), 12 var $addressForm = $('.edit-address'),
13 $submit = $('.submit'), 13 $submit = $('.submit'),
@@ -85,6 +85,3 @@ $action.on('touchstart', 'a,span', function() { @@ -85,6 +85,3 @@ $action.on('touchstart', 'a,span', function() {
85 }).on('touchend touchcancel', 'a,span', function() { 85 }).on('touchend touchcancel', 'a,span', function() {
86 $(this).css('background', 'transparent'); 86 $(this).css('background', 'transparent');
87 }); 87 });
88 -  
89 -require('./address/address-act');  
90 -require('./address/address-modify');