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 +2 -2
- package/src/ad-sdk-wrapper.js +1 -1
package/package.json
CHANGED
package/src/ad-sdk-wrapper.js
CHANGED
|
@@ -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">
|