|
@@ -69,7 +69,7 @@ const configData = { |
|
@@ -69,7 +69,7 @@ const configData = { |
69
|
type: 'radio',
|
69
|
type: 'radio',
|
70
|
key: 'shopping',
|
70
|
key: 'shopping',
|
71
|
value: '1',
|
71
|
value: '1',
|
72
|
- text: '目的型购物',
|
72
|
+ text: '目的型购物'
|
73
|
},
|
73
|
},
|
74
|
{
|
74
|
{
|
75
|
type: 'radio',
|
75
|
type: 'radio',
|
|
@@ -83,13 +83,14 @@ const configData = { |
|
@@ -83,13 +83,14 @@ const configData = { |
83
|
value: '3',
|
83
|
value: '3',
|
84
|
text: '保守型购物'
|
84
|
text: '保守型购物'
|
85
|
}],
|
85
|
}],
|
86
|
- //着装习惯
|
86
|
+
|
|
|
87
|
+ // 着装习惯
|
87
|
dressHabits: [{
|
88
|
dressHabits: [{
|
88
|
type: 'checkbox',
|
89
|
type: 'checkbox',
|
89
|
key: 'dress[]',
|
90
|
key: 'dress[]',
|
90
|
index: 'dress-1',
|
91
|
index: 'dress-1',
|
91
|
value: '1',
|
92
|
value: '1',
|
92
|
- text: '正装',
|
93
|
+ text: '正装'
|
93
|
},
|
94
|
},
|
94
|
{
|
95
|
{
|
95
|
type: 'checkbox',
|
96
|
type: 'checkbox',
|
|
@@ -189,9 +190,9 @@ const getBirthday = (birthday) => { |
|
@@ -189,9 +190,9 @@ const getBirthday = (birthday) => { |
189
|
};
|
190
|
};
|
190
|
|
191
|
|
191
|
const isEmpty = (value) => {
|
192
|
const isEmpty = (value) => {
|
192
|
- return (Array.isArray(value) && value.length === 0)
|
|
|
193
|
- || (Object.prototype.isPrototypeOf(value) && Object.keys(value).length === 0);
|
|
|
194
|
-}
|
193
|
+ return (Array.isArray(value) && value.length === 0) ||
|
|
|
194
|
+ (Object.prototype.isPrototypeOf(value) && Object.keys(value).length === 0);
|
|
|
195
|
+};
|
195
|
|
196
|
|
196
|
/**
|
197
|
/**
|
197
|
* 联动取地区信息
|
198
|
* 联动取地区信息
|
|
@@ -449,7 +450,7 @@ const getUserInfo = (channel, uid) => { |
|
@@ -449,7 +450,7 @@ const getUserInfo = (channel, uid) => { |
449
|
data: dressHabitArr
|
450
|
data: dressHabitArr
|
450
|
}
|
451
|
}
|
451
|
]
|
452
|
]
|
452
|
- }
|
453
|
+ };
|
453
|
}
|
454
|
}
|
454
|
|
455
|
|
455
|
if (result[4].code === 200) {
|
456
|
if (result[4].code === 200) {
|
|
@@ -457,7 +458,8 @@ const getUserInfo = (channel, uid) => { |
|
@@ -457,7 +458,8 @@ const getUserInfo = (channel, uid) => { |
457
|
// finalResult.favorite = {
|
458
|
// finalResult.favorite = {
|
458
|
// subTitle: '喜爱品牌',
|
459
|
// subTitle: '喜爱品牌',
|
459
|
// submitId: 'favorite-brand',
|
460
|
// submitId: 'favorite-brand',
|
460
|
- // likebrand: (substr($userLikeBrandInfo['likeBrandStr'], 0, 1) == ',') ? $userLikeBrandInfo['likeBrandStr'] : ',' . $userLikeBrandInfo['likeBrandStr'],
|
461
|
+ // likebrand: (substr($userLikeBrandInfo['likeBrandStr'], 0, 1) == ',') ?
|
|
|
462
|
+ // $userLikeBrandInfo['likeBrandStr'] : ',' . $userLikeBrandInfo['likeBrandStr'],
|
461
|
// favoriteBrands: $userLikeBrandInfo['favBrands'],
|
463
|
// favoriteBrands: $userLikeBrandInfo['favBrands'],
|
462
|
// hotBrands: $userLikeBrandInfo['hotBrands'],
|
464
|
// hotBrands: $userLikeBrandInfo['hotBrands'],
|
463
|
// }
|
465
|
// }
|