Authored by 张孝茹

图标置灰 口令页跳转

... ... @@ -106,7 +106,7 @@ exports.userInfo = (req, res, next) => {
let params = {
uid: req.user.uid,
isApp: req.yoho.isApp
isApp: req.yoho.isYohoApp
};
req.ctx(family).userInfo(params).then(result => {
... ...
... ... @@ -42,7 +42,7 @@
<div class="grade-content">
{{# appList}}
<div class="content-item" data-login="{{login}}" data-name="{{nickname}}" data-code="{{code}}">
<img class="item-tag" src="{{image iconUrl 140 140}}">
<img class="item-tag {{#unless login}}gray{{/unless}}" src="{{image iconUrl 140 140}}">
<span class="name">{{sourceName}}</span>
<span class="level">{{name}}</span>
</div>
... ...
... ... @@ -2,12 +2,14 @@
<div class="info-list">
<div class="list-item user-pic">
<div class="title">头像</div>
<div class="main">
<div class="main" {{#unlessor isYohoApp isMarsApp}}style="padding-right: 0rem"{{/unlessor}}>
<div class="pic user-avatar" data-avatar="{{image headIco 100 100}}"></div>
</div>
{{#ifor isYohoApp isMarsApp}}
<div class="arr">
<span class="iconfont">&#xe604;</span>
</div>
{{/ifor}}
</div>
<div class="list-item">
<div class="title">昵称</div>
... ...
... ... @@ -259,7 +259,13 @@ class FamilyIndex extends Page {
// 积分图表点击跳转
jump(params) {
yoho.goH5(`${location.protocol}//m.yohobuy.com/home/family/coinDetail?plateType=${params.data.plateType}`);
let href = `${location.protocol}//m.yohobuy.com/home/family/coinDetail?plateType=${params.data.plateType}`;
if (yoho.isMarsApp || yoho.isNowApp) {
window.location.href = href;
} else {
yoho.goH5(href);
}
}
// 点击APP图标显示信息
... ...
... ... @@ -202,6 +202,10 @@
overflow: hidden;
}
.gray {
filter: grayscale(100%);
}
.name {
font-size: 28px;
color: #43b938;
... ...