|
@@ -4410,7 +4410,11 @@ var Active_Vip_Invite = function (nowTime) {
|
|
|
this.getHtml = function () {
|
|
|
// SVGA 动画支持
|
|
|
if (adv_img.indexOf('.svga') !== -1) {
|
|
|
- return '<div class="pop-new" id="app-mainSearch-dialog--svga"></div>'
|
|
|
+ var styleHtml = ''
|
|
|
+ if (typeof AD === 'object' && AD.o_extend != undefined) {
|
|
|
+ styleHtml = 'style="width:' + (AD.o_extend.width ? (AD.o_extend.width + "px") : 'auto') + ';height:' + (AD.o_extend.height ? (AD.o_extend.height + "px") : 'auto') + ';"'
|
|
|
+ }
|
|
|
+ return '<div class="pop-new" ' + styleHtml + ' id="app-mainSearch-dialog--svga"></div>'
|
|
|
}
|
|
|
var html = '<img class="pop-new" id="wx-mainSearch-dialog" style="border-radius: 8px;" src ="' + adv_img + '">'
|
|
|
var _html = '<div class="pop-new" style="background: url(' + adv_img + ');background-size: 100% 100%;height: inherit;width: inherit;border-radius: 8px;">'
|