@bi-nova/ui-weapp 1.2.0-beta.202608171830 → 1.2.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bi-nova/ui-weapp",
3
- "version": "1.2.0-beta.202608171830",
3
+ "version": "1.2.0",
4
4
  "description": "BI Nova SDK WeChat Mini Program Components",
5
5
  "miniprogram": "src",
6
6
  "license": "ISC",
@@ -3,7 +3,7 @@
3
3
  * @Author wutao
4
4
  * @Date 2026-04-10
5
5
  * @LastEditors wutao
6
- * @LastEditTime 2026-08-14 16:14:20
6
+ * @LastEditTime 2026-08-18 11:38:13
7
7
  */
8
8
  const {
9
9
  navigateCustomAd
@@ -28,7 +28,7 @@ Component({
28
28
  mediaUrl: '',
29
29
  posterUrl: '',
30
30
  isImage: true,
31
- mediaFitMode: 'contain',
31
+ mediaFitMode: 'cover',
32
32
  hasCustomMedia: false,
33
33
  customLoaded: false,
34
34
  isFullScreen: false,
@@ -324,9 +324,9 @@ Component({
324
324
  * @returns {'contain' | 'cover'}
325
325
  */
326
326
  getMediaFitMode(customAd) {
327
- return customAd && String(customAd.fitMode || '').trim().toLowerCase() === 'cover'
328
- ? 'cover'
329
- : 'contain'
327
+ return customAd && String(customAd.fitMode || '').trim().toLowerCase() === 'contain'
328
+ ? 'contain'
329
+ : 'cover'
330
330
  },
331
331
 
332
332
  /**