...
|
...
|
@@ -72,18 +72,18 @@ const configData = { |
|
|
value: '1',
|
|
|
text: '目的型购物'
|
|
|
},
|
|
|
{
|
|
|
type: 'radio',
|
|
|
key: 'shopping',
|
|
|
value: '2',
|
|
|
text: '冲动型购物'
|
|
|
},
|
|
|
{
|
|
|
type: 'radio',
|
|
|
key: 'shopping',
|
|
|
value: '3',
|
|
|
text: '保守型购物'
|
|
|
}],
|
|
|
{
|
|
|
type: 'radio',
|
|
|
key: 'shopping',
|
|
|
value: '2',
|
|
|
text: '冲动型购物'
|
|
|
},
|
|
|
{
|
|
|
type: 'radio',
|
|
|
key: 'shopping',
|
|
|
value: '3',
|
|
|
text: '保守型购物'
|
|
|
}],
|
|
|
|
|
|
// 着装习惯
|
|
|
dressHabits: [{
|
...
|
...
|
@@ -93,49 +93,49 @@ const configData = { |
|
|
value: '1',
|
|
|
text: '正装'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-2',
|
|
|
value: '2',
|
|
|
text: '商务'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-3',
|
|
|
value: '3',
|
|
|
text: '街头流行'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-4',
|
|
|
value: '4',
|
|
|
text: '运动休闲'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-5',
|
|
|
value: '5',
|
|
|
text: '文艺气质'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-6',
|
|
|
value: '6',
|
|
|
text: '甜美可爱'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-7',
|
|
|
value: '7',
|
|
|
text: '另类'
|
|
|
}],
|
|
|
headDefaultImgIcon: '//img10.static.yhbimg.com/headimg/' +
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-2',
|
|
|
value: '2',
|
|
|
text: '商务'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-3',
|
|
|
value: '3',
|
|
|
text: '街头流行'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-4',
|
|
|
value: '4',
|
|
|
text: '运动休闲'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-5',
|
|
|
value: '5',
|
|
|
text: '文艺气质'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-6',
|
|
|
value: '6',
|
|
|
text: '甜美可爱'
|
|
|
},
|
|
|
{
|
|
|
type: 'checkbox',
|
|
|
key: 'dress[]',
|
|
|
index: 'dress-7',
|
|
|
value: '7',
|
|
|
text: '另类'
|
|
|
}],
|
|
|
headDefaultImgIcon: '//img10.static.yhbimg.com/headimg/' +
|
|
|
'2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'
|
|
|
};
|
|
|
|
...
|
...
|
@@ -263,7 +263,7 @@ const getUserInfo = (channel, uid) => { |
|
|
|
|
|
userInfo = result[1].data || {};
|
|
|
|
|
|
finalResult.userThumb = userInfo.head_ico === '' ?
|
|
|
finalResult.userThumb = userInfo.head_ico === '' ?
|
|
|
configData.headDefaultImgIcon : Images.getImageUrl(userInfo.head_ico, 100, 100, 2);
|
|
|
|
|
|
if (userInfo) {
|
...
|
...
|
@@ -484,6 +484,9 @@ const getUserInfo = (channel, uid) => { |
|
|
};
|
|
|
|
|
|
const editUserInfo = (req, uid) => {
|
|
|
let userInfo;
|
|
|
|
|
|
userInfo.uid = uid;
|
|
|
console.info(req.body);
|
|
|
console.info(req.body.nickname);
|
|
|
console.info(req.body.username);
|
...
|
...
|
|