Authored by 张丽霞

关于我们

... ... @@ -46,8 +46,8 @@ const _getInfoNumData = (uid) => {
if (data[0].data) {
for (let k in data[0].data) {
if (res[k] !== undefined) {
res[k] = data[0].data[k] ? data[0].data[k] : "";
if (res[k] !== null) {
res[k] = data[0].data[k] ? data[0].data[k] : '';
if (k !== 'yoho_coin_num' && res[k] > 99) {
res[k] = '99+';
}
... ... @@ -56,11 +56,11 @@ const _getInfoNumData = (uid) => {
}
if (data[1].data) {
res = _.merge(res, {
address_num: data[1].data.length ? data[1].data.length : ""
address_num: data[1].data.length ? data[1].data.length : ''
});
}
return res;
})
});
};
... ... @@ -87,8 +87,8 @@ exports.getHelpInfo = (data) => {
infoData = Object.assign(defaultParam, data);
return api.get('', infoData).then(result => {
const helpData = result.data;
const formatData = [];
var helpData = result.data;
var formatData = [];
helpData = helpData || [];
_.forEach(helpData, (item) => {
... ... @@ -136,4 +136,4 @@ exports.saveFeedback = (data) => {
// 参考接口数据
});
};
\ No newline at end of file
};
... ...
... ... @@ -21,7 +21,7 @@ router.get('/mycurrency', home.coin); // yoho币
router.get('/orderDetail', home.orderDetail); // yoho币
router.get('/help', home.help); // 帮助中心列表页
router.get('/helpDetail', home.helpDetail); // 帮助中心详情页
router.get('/help-detail', home.helpDetail); // 帮助中心详情页
router.get('/feedback', home.feedback); // 个人中心-意见反馈
router.post('/save-feedback', home.saveFeedback); // 个人中心-提交意见反馈
... ... @@ -37,4 +37,4 @@ router.get('/refund/logistics', refund.logistics); // 退换货 - 商品寄回
router.get('/about-us', home.aboutUs); // 个人中心 - 关于我们
module.exports = router;
\ No newline at end of file
module.exports = router;
... ...
<div class="about-us">
<div class="description">
<p>From yoho! 2015 high-end store </p>
<p>i fancy, you like.</p>
</div>
<div class="icon-container">
<div class="blk-icon"></div>
... ...

6.48 KB | W: | H:

4.51 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -2,17 +2,23 @@
width: 100%;
height: 100%;
background: #fff;
position: relative;
.description {
position:absolute;
position: absolute;
top: 30%;
width: 100%;
width: 411px;
height: 75px;
background: resolve("home/about-us-tip.png") no-repeat;
background-size: 100%;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}
.icon-container {
position: absolute;
top: 45%;
top: 43%;
left: 0;
right: 0;
margin-left: auto;
... ... @@ -21,8 +27,8 @@
.blk-icon {
background: resolve("home/app-icon.png") no-repeat;
width: 160px;
height: 160px;
width: 180px;
height: 180px;
left: 0;
right: 0;
margin-left: auto;
... ... @@ -31,6 +37,7 @@
}
.icon-label {
margin-top: 10px;
font-size: 30px;
left: 0;
right: 0;
... ... @@ -41,5 +48,6 @@
p {
text-align: center;
font-size: 24px;
font-family: BrownStd Regular;
}
}
\ No newline at end of file
}
... ...