@dolphinweex/weex-vue-render 0.2.29 → 0.2.31
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/dist/index.common.js +4 -4
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -2737,7 +2737,7 @@ function init$1 (viewportWidth) {
|
|
|
2737
2737
|
setRootFont(screenWidth, viewportWidth);
|
|
2738
2738
|
setMetaViewport(viewportWidth);
|
|
2739
2739
|
|
|
2740
|
-
window.addEventListener('resize', resetDeviceHeight);
|
|
2740
|
+
// window.addEventListener('resize', resetDeviceHeight);
|
|
2741
2741
|
|
|
2742
2742
|
/**
|
|
2743
2743
|
* why not to use window.screen.width to get screenWidth ? Because in some
|
|
@@ -3833,7 +3833,7 @@ function px2px(pv) {
|
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
3835
3835
|
const ignoreSubKey = ['scale']
|
|
3836
|
-
function px2rem (px, rootValue) {
|
|
3836
|
+
function px2rem (px, rootValue = 75) {
|
|
3837
3837
|
// fix: 适配鸿蒙wx单位
|
|
3838
3838
|
if (px.indexOf("--harmory") > -1) return px;
|
|
3839
3839
|
|
|
@@ -7534,7 +7534,7 @@ var slideMixin = {
|
|
|
7534
7534
|
|
|
7535
7535
|
if (indicatorVnode) {
|
|
7536
7536
|
indicatorVnode.data.attrs = indicatorVnode.data.attrs || {};
|
|
7537
|
-
indicatorVnode.data.attrs.count = cells.length
|
|
7537
|
+
indicatorVnode.data.attrs.count = cells.length; // 显示实际数量
|
|
7538
7538
|
indicatorVnode.data.attrs.active = this.currentIndex ;
|
|
7539
7539
|
this._indicator = indicatorVnode;
|
|
7540
7540
|
}
|
|
@@ -10319,7 +10319,7 @@ var dom = {
|
|
|
10319
10319
|
}
|
|
10320
10320
|
else {}
|
|
10321
10321
|
if (options && options.animated === false) {
|
|
10322
|
-
return scrollElement.call(ct, dSuffix,
|
|
10322
|
+
return scrollElement.call(ct, dSuffix, 0)
|
|
10323
10323
|
}
|
|
10324
10324
|
step$1({
|
|
10325
10325
|
scrollable: ct,
|
package/package.json
CHANGED