Authored by 邱骏

修改头部样式

... ... @@ -34,32 +34,29 @@
.top-downloadbar .download-text {
position: absolute;
top: 50%;
-webkit-transform: translateY(-80%);
transform: translateY(-80%);
-webkit-transform: translateY(10%);
transform: translateY(10%);
left: 3.5rem;
color: #fff;
color: #c7c7c7;
font-size: .6rem;
}
.top-downloadbar-wechat .download-text {
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
/*<span class="download-text-desc">新人领299元礼包</span>*/
}
.top-downloadbar .download-text-desc {
position: absolute;
top: 50%;
-webkit-transform: translateY(-10%) scale(0.5);
transform: translateY(-10%) scale(0.5);
-webkit-transform-origin: left center;
transform-origin: left center;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
left: 3.5rem;
color: #c7c7c7;
font-size: 1rem;
color: #fff;
font-size: 0.65rem;
}
.top-downloadbar .download-go {
right: .375rem;
right: 0;
background: red;
}
... ... @@ -71,16 +68,16 @@
transform: translateY(-50%);
font-size: .6rem;
padding: 0 .375rem;
height: 1.125rem;
line-height: 1.125rem;
border-radius: .125rem;
height: 2.9rem;
line-height: 2.9rem;
/*border-radius: .125rem;*/
color: #fff;
text-decoration: none;
}
.top-downloadbar .download-go-wechat {
right: 4.7rem;
background: #000;
right: 3.7rem;
background: #ff0000;
}
.top-downloadbar .download-wechat,
... ... @@ -89,13 +86,13 @@
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right: .375rem;
right: 0;
font-size: .6rem;
padding: 0 .375rem;
height: 1.125rem;
line-height: 1.125rem;
border-radius: .125rem;
background: red;
height: 2.9rem;
line-height: 2.9rem;
/*border-radius: .125rem;*/
background: #000;
color: #fff;
text-decoration: none;
}
... ...
{
"name": "yas-jssdk",
"version": "2.4.20",
"version": "2.4.21",
"description": "YOHO!采集系统的前端js的开发包",
"keywords": [
"YOHO!",
... ...
... ... @@ -287,14 +287,17 @@ exports.getDownloadStr = function(isWechat) {
}
str += '" id="top-downloadbar"><a href="javascript:void(0);" class="download-close" id="download-close"></a>\
<span class="download-icon"></span><span class="download-text">Yoho!Buy有货</span>';
<span class="download-icon"></span>';
if (isWechat) {
str += '<a class="download-go-wechat" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">立即打开</a>';
str += '<span class="download-text">Yoho!Buy有货</span>';
str += '<span class="download-text-desc">新人领299元礼包</span>';
str += '<a class="download-go-wechat" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">下载领取</a>';
str += '<a class="mini-app-open" id="mini-app-open" href="javascript:;">进入小程序</a>';
// str += '<a class="download-wechat" id="download-wechat" href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5ODI5MDA4MA==&scene=110#wechat_redirect">加关注</a></div>';
} else {
str += '<span class="download-text">Yoho!Buy有货 潮流购物逛不停</span>';
str += '<p class="download-text-desc">新用户送惊喜礼包</p>';
str += '<a class="download-go" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">立即打开</a></div>';
str += '<a class="download-go" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">下载领取</a></div>';
}
return str;
... ...