Comparing version 1.0.3 to 1.0.4
@@ -56,3 +56,3 @@ import './popup.css' | ||
let node = document.createElement('div'); | ||
node.innerHTML = `<div class="fl-popup-box">${data.title?'<div class="popup-title">'+data.title+'</div>':''}<div class="popup-content">${data.content}</div><div class="popup-bottom"><div class="popup-btn" style="width:50%;border-right: 1px solid #DADADA;">${data.button[0]}</div><div class="popup-btn" style="width:50%">${data.button[1]}</div></div></div><div class="popup-mask"></div>` | ||
node.innerHTML = `<div class="fl-popup-box">${data.title?'<div class="popup-title">'+data.title+'</div>':''}<div class="popup-content">${data.content}</div><div class="popup-bottom"><div class="popup-btn" style="width:50%;border-right: 1px solid #DADADA;color:#999">${data.button[0]}</div><div class="popup-btn" style="width:50%;color:#ec3629">${data.button[1]}</div></div></div><div class="popup-mask"></div>` | ||
node.setAttribute("id", this.id); | ||
@@ -59,0 +59,0 @@ node.setAttribute("class", 'fl-popup'); |
{ | ||
"name": "fl-popup", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "原生js移动端提示弹框", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6245