@dolphinweex/weex-vue-render 0.2.77 → 0.2.79
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 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -5827,7 +5827,6 @@ function getImage(weex) {
|
|
|
5827
5827
|
if (!url || url === 'undefined') {
|
|
5828
5828
|
return '';
|
|
5829
5829
|
}
|
|
5830
|
-
url = url.replace(/\s+/g, '')
|
|
5831
5830
|
// 编码空格与括号,避免 CSS url() 与资源解析失败
|
|
5832
5831
|
if (url.includes(' ') || url.includes('(') || url.includes(')')) {
|
|
5833
5832
|
let processed = url.replace(/\s/g, match => encodeURIComponent(match));
|
|
@@ -8716,6 +8715,13 @@ var slideMixin = {
|
|
|
8716
8715
|
},
|
|
8717
8716
|
|
|
8718
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
|
+
}
|
|
8719
8725
|
if (!this.scrollable || this.frameCount<=1) {
|
|
8720
8726
|
return // 🚫 禁止滚动行为
|
|
8721
8727
|
}
|
package/package.json
CHANGED