Showing
7 changed files
with
9 additions
and
17 deletions
@@ -574,7 +574,7 @@ const getChangeType = (uid, areaCode) => { | @@ -574,7 +574,7 @@ const getChangeType = (uid, areaCode) => { | ||
574 | const getChangeGoodsList = (orderCode, uid) => { | 574 | const getChangeGoodsList = (orderCode, uid) => { |
575 | return returnsAPI.getChangeGoodsListAsync(orderCode, uid).then(result => { | 575 | return returnsAPI.getChangeGoodsListAsync(orderCode, uid).then(result => { |
576 | const basicData = { | 576 | const basicData = { |
577 | - title: '申请换货' | 577 | + title: '换货申请' |
578 | }; | 578 | }; |
579 | let data; | 579 | let data; |
580 | 580 |
@@ -66,7 +66,7 @@ let index = (req, res) => { | @@ -66,7 +66,7 @@ let index = (req, res) => { | ||
66 | location: '+86', | 66 | location: '+86', |
67 | countryName: {text: '中国'}, | 67 | countryName: {text: '中国'}, |
68 | captchaUrl: helpers.urlFormat('/passport/images', {t: Date.now()}), | 68 | captchaUrl: helpers.urlFormat('/passport/images', {t: Date.now()}), |
69 | - itemUrl: helpers.urlFormat('/help'), | 69 | + itemUrl: helpers.urlFormat('/help', {id: 5}), |
70 | referUrl: refer, | 70 | referUrl: refer, |
71 | loginUrl: helpers.urlFormat('/passport/login', {refer: refer}), | 71 | loginUrl: helpers.urlFormat('/passport/login', {refer: refer}), |
72 | regBtnText: '立即注册' | 72 | regBtnText: '立即注册' |
@@ -55,7 +55,7 @@ const findUserAsync = (type, phone, area) => { | @@ -55,7 +55,7 @@ const findUserAsync = (type, phone, area) => { | ||
55 | 55 | ||
56 | const findBy = { | 56 | const findBy = { |
57 | email: LoginService.findByEmailAsync, | 57 | email: LoginService.findByEmailAsync, |
58 | - mobile: (phone1, area1) => LoginService.findByMobileAsync(area1, phone1) // 交换参数 | 58 | + mobile: _.rearg(LoginService.findByMobileAsync, [1, 0]) // 交换参数 |
59 | }; | 59 | }; |
60 | 60 | ||
61 | const OK = {code: 200, message: MESSAGE.ok}; | 61 | const OK = {code: 200, message: MESSAGE.ok}; |
@@ -71,7 +71,7 @@ module.exports = { | @@ -71,7 +71,7 @@ module.exports = { | ||
71 | appSecret: 'c0af9c29e0900813028c2ccb42021792' | 71 | appSecret: 'c0af9c29e0900813028c2ccb42021792' |
72 | }, | 72 | }, |
73 | alipay: { // OK | 73 | alipay: { // OK |
74 | - partnerID: '2088701661478015', | 74 | + partnerID: '2088421464239504', |
75 | appSecret: 'e3i54meghrac3qhryzhw1h5yzeijik7e' | 75 | appSecret: 'e3i54meghrac3qhryzhw1h5yzeijik7e' |
76 | }, | 76 | }, |
77 | sina: { // 还未申请 | 77 | sina: { // 还未申请 |
@@ -118,6 +118,8 @@ function bindColorEvent() { | @@ -118,6 +118,8 @@ function bindColorEvent() { | ||
118 | var colorText = $this.attr('alt'); | 118 | var colorText = $this.attr('alt'); |
119 | var $c = $this.closest('.group.color').find('.color-text'); | 119 | var $c = $this.closest('.group.color').find('.color-text'); |
120 | 120 | ||
121 | + $('.size-list .active').removeClass('active'); | ||
122 | + | ||
121 | $c.text(colorText); | 123 | $c.text(colorText); |
122 | $c.attr('data-color', colorId); | 124 | $c.attr('data-color', colorId); |
123 | 125 |
@@ -7,7 +7,7 @@ var addr; | @@ -7,7 +7,7 @@ var addr; | ||
7 | var validate = require('./validation'); | 7 | var validate = require('./validation'); |
8 | 8 | ||
9 | var addressReg = /^[\s\S]{2,100}$/; | 9 | var addressReg = /^[\s\S]{2,100}$/; |
10 | -var phoneReg = /^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])(\*{4}[0-9]{4}|[0-9]{8})$/; | 10 | +var phoneReg = /^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/; |
11 | 11 | ||
12 | var validateMap = { | 12 | var validateMap = { |
13 | name: { | 13 | name: { |
@@ -151,15 +151,6 @@ function editOrder(onEdit) { | @@ -151,15 +151,6 @@ function editOrder(onEdit) { | ||
151 | phone: phone | 151 | phone: phone |
152 | }; | 152 | }; |
153 | 153 | ||
154 | - if (/\*/.test(mobile)) { | ||
155 | - d = { | ||
156 | - orderCode: code, | ||
157 | - areaCode: areaCode, | ||
158 | - userName: userName, | ||
159 | - address: address, | ||
160 | - phone: phone | ||
161 | - }; | ||
162 | - } | ||
163 | 154 | ||
164 | $.ajax({ | 155 | $.ajax({ |
165 | url: '/me/editOrder', | 156 | url: '/me/editOrder', |
@@ -21,9 +21,8 @@ | @@ -21,9 +21,8 @@ | ||
21 | left: 12px; | 21 | left: 12px; |
22 | width: 0; | 22 | width: 0; |
23 | height: 0; | 23 | height: 0; |
24 | - border-width: 5px; | ||
25 | top: -10px; | 24 | top: -10px; |
26 | - border-style: solid dashed dashed; | ||
27 | - border-color: transparent transparent #379ed6; | 25 | + border: 5px solid transparent; |
26 | + border-bottom: 5px solid #379ed6; | ||
28 | } | 27 | } |
29 | } | 28 | } |
-
Please register or login to post a comment