Authored by yyq

fix

... ... @@ -9,6 +9,7 @@ let formatCountDown = require('./yoluck/formatCountDown');
let YolukcApi = require('./yoluck/api');
let api = new YolukcApi();
let tip = require('js/plugin/tip');
let dialog = require('js/plugin/dialog');
let yoSdk = require('yoho-activity-sdk');
let yoho = require('js/yoho-app');
... ... @@ -121,7 +122,7 @@ function share() {
});
} else if (/QQ/i.test(navigator.userAgent) ||
/MicroMessenger/i.test(navigator.userAgent)) {
yoSdk.tip({tipClassName: 'yoluck-guide-mask'});
dialog.showDialog({hasClass: 'yoluck-guide-mask'});
} else if (yoSdk.env === 'h5') {
$('.js-clipbroad').trigger('click');
}
... ...
... ... @@ -213,7 +213,7 @@ function fellow(id) {
if (lotteryInfo) {
if (yoSdk.env === 'app' && lotteryInfo.app) {
$.yAlert({
content: `<div>本期中奖号码: <span style="font-weight: bolder;">${lotteryInfo.app}</span></div>`
content: `<div class="modal-view-lottery">本期中奖号码: <span style="font-weight: bolder;">${lotteryInfo.app}</span></div>` // eslint-disable-line
});
return;
} else if (yoSdk.env === 'h5' && lotteryInfo.h5) {
... ...
... ... @@ -115,15 +115,15 @@
border-top: 1px solid #e0e0e0;
}
.featuretip .tip.yoluck-guide-mask {
.dialog-wrapper .dialog-box.yoluck-guide-mask {
width: 284px;
height: 278px;
background: url("img/activity/yoluck/share-tip.png");
background-size: 100% 100%;
margin: 0;
margin: 0 !important;
border: 0;
right: 92px;
top: 28px;
top: 28px !important;
left: auto;
> * {
... ...
... ... @@ -85,3 +85,7 @@
width: 100%;
height: 234px;
}
.modal-view-lottery {
padding-top: 20px;
}
... ...
... ... @@ -6,7 +6,7 @@
bottom: 0;
left: 0;
display: none;
z-index: 2;
z-index: 20;
.dialog-box {
width: 540px;
... ...