From f420a56577828ebb2377214699286bc6a376aa37 Mon Sep 17 00:00:00 2001
From: muzi <1099438829@qq.com>
Date: Wed, 7 Aug 2019 23:05:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
js/mac.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/js/mac.js b/js/mac.js
index 2993ed7..0b0cedc 100644
--- a/js/mac.js
+++ b/js/mac.js
@@ -255,16 +255,16 @@ window.Win10 = {
if($this.data('url') !== "") {
//>> 获取弹窗标题
var title = $this.data('title')||'',
- areaAndOffset;
+ areaAndOffset,icon;
//>> 判断是否有标题图片
var bg=$this.data('icon-bg')?$this.data('icon-bg'):'';
if($this.data('icon-image')) {
//>> 加入到标题中
- title = '
' + title;
+ icon = '
';
}
if($this.data('icon-font')) {
//>> 加入到标题中
- title = '' + title;
+ icon = '';
}
if(!title && $this.children('.icon').length===1 && $this.children('.title').length===1){
title = $this.children('.icon').prop("outerHTML")+$this.children('.title').html();
@@ -278,7 +278,7 @@ window.Win10 = {
}
}
//>> 调用win10打开url方法
- Win10.openUrl($this.data('url'), title, areaAndOffset);
+ Win10.openUrl($this.data('url'),icon, title, areaAndOffset);
}
})
},
@@ -402,7 +402,7 @@ window.Win10 = {
}, function (value, i) {
layer.close(i);
layer.msg(Win10.lang('请稍候...','Hold on please...'),{time:1500},function () {
- Win10.openUrl(value,value);
+ Win10.openUrl(value,'',value);
});
});
});