@dolphinweex/weex-vue-render 0.2.78 → 0.2.80
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 +7 -0
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -8715,6 +8715,13 @@ var slideMixin = {
|
|
|
8715
8715
|
},
|
|
8716
8716
|
|
|
8717
8717
|
_handleTouchStart: function _handleTouchStart (event) {
|
|
8718
|
+
var target = event.target || event.currentTarget;
|
|
8719
|
+
if (target) {
|
|
8720
|
+
var type = target.getAttribute('type');//横向滚动组件 在轮播图内 触摸到他的时候 不触发轮播图移动
|
|
8721
|
+
if (type && ['native/midea-seek-bar','native/midea-drag-slider'].includes(type)) {
|
|
8722
|
+
return
|
|
8723
|
+
}
|
|
8724
|
+
}
|
|
8718
8725
|
if (!this.scrollable || this.frameCount<=1) {
|
|
8719
8726
|
return // 🚫 禁止滚动行为
|
|
8720
8727
|
}
|
package/package.json
CHANGED