sadais-piui 1.2.4-beta2 → 1.2.4-beta3
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/components/pi-calendar-panel/index.vue +4 -3
- package/components/pi-dropdown/index.vue +1 -1
- package/components/pi-marquee/index.vue +2 -2
- package/components/pi-mask/index.vue +2 -2
- package/components/pi-popup/index.vue +2 -2
- package/components/pi-skeleton/index.vue +1 -1
- package/package.json +1 -1
|
@@ -300,7 +300,6 @@ export default {
|
|
|
300
300
|
},
|
|
301
301
|
watch: {
|
|
302
302
|
value(val) {
|
|
303
|
-
console.log(val)
|
|
304
303
|
this.init()
|
|
305
304
|
}
|
|
306
305
|
},
|
|
@@ -401,8 +400,10 @@ export default {
|
|
|
401
400
|
this.calendarValue = calendarValue
|
|
402
401
|
this.val =
|
|
403
402
|
this.type === 'range'
|
|
404
|
-
? this.calendarValue.map(cv =>
|
|
405
|
-
|
|
403
|
+
? this.calendarValue.map(cv =>
|
|
404
|
+
this.$pi.date.formatDate(new Date(cv.timestamp), this.dateFormat)
|
|
405
|
+
)
|
|
406
|
+
: this.$pi.date.formatDate(new Date(this.calendarValue.timestamp), this.dateFormat)
|
|
406
407
|
this.handleEmitChange()
|
|
407
408
|
}
|
|
408
409
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
:class="[customClass, isVertical ? 'vertical' : '']"
|
|
6
6
|
@mouseenter="handlePause"
|
|
7
7
|
@mouseleave="handleStart"
|
|
8
|
-
@touchmove.stop.prevent
|
|
9
|
-
@mousewheel.stop.prevent
|
|
8
|
+
@touchmove.stop.prevent="() => {}"
|
|
9
|
+
@mousewheel.stop.prevent="() => {}"
|
|
10
10
|
>
|
|
11
11
|
<view class="inner-wrap" :class="direction" :style="[animate]">
|
|
12
12
|
<view v-for="(marqueeItems, index) in getItems" :key="index" class="inner">
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
'animation-duration': getDuration.css
|
|
17
17
|
}
|
|
18
18
|
]"
|
|
19
|
-
@touchmove.stop.prevent
|
|
19
|
+
@touchmove.stop.prevent="() => {}"
|
|
20
20
|
@tap.stop.prevent="handleCloseMask"
|
|
21
21
|
>
|
|
22
22
|
<!-- 遮罩层内区域插槽 -->
|
|
23
|
-
<view @tap.stop.prevent><slot /></view>
|
|
23
|
+
<view @tap.stop.prevent="() => {}"><slot /></view>
|
|
24
24
|
</view>
|
|
25
25
|
</template>
|
|
26
26
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
'animation-duration': getDuration.css
|
|
15
15
|
}
|
|
16
16
|
]"
|
|
17
|
-
@touchmove.stop.prevent
|
|
17
|
+
@touchmove.stop.prevent="() => {}"
|
|
18
18
|
@tap.stop.prevent="handleCloseMask"
|
|
19
19
|
>
|
|
20
20
|
<view
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
positionStyle,
|
|
36
36
|
customStyle
|
|
37
37
|
]"
|
|
38
|
-
@tap.stop.prevent
|
|
38
|
+
@tap.stop.prevent="() => {}"
|
|
39
39
|
>
|
|
40
40
|
<!-- 关闭图标 -->
|
|
41
41
|
<view
|