...
|
...
|
@@ -69,7 +69,7 @@ const configData = { |
|
|
type: 'radio',
|
|
|
key: 'shopping',
|
|
|
value: '1',
|
|
|
text: '目的型购物',
|
|
|
text: '目的型购物'
|
|
|
},
|
|
|
{
|
|
|
type: 'radio',
|
...
|
...
|
@@ -83,13 +83,14 @@ const configData = { |
|
|
value: '3',
|
|
|
text: '保守型购物'
|
|
|
}],
|
|
|
//着装习惯
|
|
|
|
|
|
// 着装习惯
|
|
|
dressHabits: [{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-1',
|
|
|
value: '1',
|
|
|
text: '正装',
|
|
|
text: '正装'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
...
|
...
|
@@ -189,9 +190,9 @@ const getBirthday = (birthday) => { |
|
|
};
|
|
|
|
|
|
const isEmpty = (value) => {
|
|
|
return (Array.isArray(value) && value.length === 0)
|
|
|
|| (Object.prototype.isPrototypeOf(value) && Object.keys(value).length === 0);
|
|
|
}
|
|
|
return (Array.isArray(value) && value.length === 0) ||
|
|
|
(Object.prototype.isPrototypeOf(value) && Object.keys(value).length === 0);
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
* 联动取地区信息
|
...
|
...
|
@@ -449,7 +450,7 @@ const getUserInfo = (channel, uid) => { |
|
|
data: dressHabitArr
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
};
|
|
|
}
|
|
|
|
|
|
if (result[4].code === 200) {
|
...
|
...
|
@@ -457,7 +458,8 @@ const getUserInfo = (channel, uid) => { |
|
|
// finalResult.favorite = {
|
|
|
// subTitle: '喜爱品牌',
|
|
|
// submitId: 'favorite-brand',
|
|
|
// likebrand: (substr($userLikeBrandInfo['likeBrandStr'], 0, 1) == ',') ? $userLikeBrandInfo['likeBrandStr'] : ',' . $userLikeBrandInfo['likeBrandStr'],
|
|
|
// likebrand: (substr($userLikeBrandInfo['likeBrandStr'], 0, 1) == ',') ?
|
|
|
// $userLikeBrandInfo['likeBrandStr'] : ',' . $userLikeBrandInfo['likeBrandStr'],
|
|
|
// favoriteBrands: $userLikeBrandInfo['favBrands'],
|
|
|
// hotBrands: $userLikeBrandInfo['hotBrands'],
|
|
|
// }
|
...
|
...
|
|