qb-pc-sdk 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qb-pc-sdk",
3
- "version": "1.1.2",
4
- "description": "趣变广告 SDK 封装器 - 修复广告自适应问题,添加关闭按钮",
3
+ "version": "1.1.3",
4
+ "description": "趣变广告 SDK 封装器 - 固定关闭按钮样式",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "index.js",
@@ -560,7 +560,7 @@
560
560
  // 构建 HTML 结构
561
561
  this.container.innerHTML = `
562
562
  <div class="${wrapperClass}">
563
- <button class="q-ad-close" title="关闭广告">×</button>
563
+ <button class="q-ad-close" title="关闭广告" style="position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; background: rgba(0,0,0,0.5); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; z-index: 10; transition: background 0.2s; flex-shrink: 0; padding: 0; margin: 0; box-sizing: border-box; font-family: Arial, sans-serif; font-weight: bold;">×</button>
564
564
  <div class="q-media-container">
565
565
  <div class="q-ad-video" style="display:none"></div>
566
566
  <img class="q-ad-img" style="display:none">