Authored by zhangxiaoru

brand

... ... @@ -574,7 +574,7 @@ const getChangeType = (uid, areaCode) => {
const getChangeGoodsList = (orderCode, uid) => {
return returnsAPI.getChangeGoodsListAsync(orderCode, uid).then(result => {
const basicData = {
title: '申请换货'
title: '换货申请'
};
let data;
... ...
... ... @@ -66,7 +66,7 @@ let index = (req, res) => {
location: '+86',
countryName: {text: '中国'},
captchaUrl: helpers.urlFormat('/passport/images', {t: Date.now()}),
itemUrl: helpers.urlFormat('/help'),
itemUrl: helpers.urlFormat('/help', {id: 5}),
referUrl: refer,
loginUrl: helpers.urlFormat('/passport/login', {refer: refer}),
regBtnText: '立即注册'
... ...
... ... @@ -55,7 +55,7 @@ const findUserAsync = (type, phone, area) => {
const findBy = {
email: LoginService.findByEmailAsync,
mobile: (phone1, area1) => LoginService.findByMobileAsync(area1, phone1) // 交换参数
mobile: _.rearg(LoginService.findByMobileAsync, [1, 0]) // 交换参数
};
const OK = {code: 200, message: MESSAGE.ok};
... ...
... ... @@ -71,7 +71,7 @@ module.exports = {
appSecret: 'c0af9c29e0900813028c2ccb42021792'
},
alipay: { // OK
partnerID: '2088701661478015',
partnerID: '2088421464239504',
appSecret: 'e3i54meghrac3qhryzhw1h5yzeijik7e'
},
sina: { // 还未申请
... ...
... ... @@ -118,6 +118,8 @@ function bindColorEvent() {
var colorText = $this.attr('alt');
var $c = $this.closest('.group.color').find('.color-text');
$('.size-list .active').removeClass('active');
$c.text(colorText);
$c.attr('data-color', colorId);
... ...
... ... @@ -7,7 +7,7 @@ var addr;
var validate = require('./validation');
var addressReg = /^[\s\S]{2,100}$/;
var phoneReg = /^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])(\*{4}[0-9]{4}|[0-9]{8})$/;
var phoneReg = /^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/;
var validateMap = {
name: {
... ... @@ -151,15 +151,6 @@ function editOrder(onEdit) {
phone: phone
};
if (/\*/.test(mobile)) {
d = {
orderCode: code,
areaCode: areaCode,
userName: userName,
address: address,
phone: phone
};
}
$.ajax({
url: '/me/editOrder',
... ...
... ... @@ -21,9 +21,8 @@
left: 12px;
width: 0;
height: 0;
border-width: 5px;
top: -10px;
border-style: solid dashed dashed;
border-color: transparent transparent #379ed6;
border: 5px solid transparent;
border-bottom: 5px solid #379ed6;
}
}
... ...