Fix Eventview Rows in 3.1.0
This commit is contained in:
parent
d945361341
commit
113ea75ed6
|
@ -19,7 +19,7 @@
|
||||||
</div>
|
</div>
|
||||||
<slot name="subtitle" />
|
<slot name="subtitle" />
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" v-show="showScrollLeftButton">
|
<!-- <div class="hidden sm:block" v-show="showScrollLeftButton">
|
||||||
<button
|
<button
|
||||||
@click="scrollLeft"
|
@click="scrollLeft"
|
||||||
class="absolute inset-y-0 my-auto z-10 rounded-full bg-white dark:bg-transparent w-10 h-10 border border-shadowColor -left-5 ml-2"
|
class="absolute inset-y-0 my-auto z-10 rounded-full bg-white dark:bg-transparent w-10 h-10 border border-shadowColor -left-5 ml-2"
|
||||||
|
@ -34,14 +34,14 @@
|
||||||
<slot name="content" />
|
<slot name="content" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" v-show="showScrollRightButton">
|
<!-- <div class="hidden sm:block" v-show="showScrollRightButton">
|
||||||
<button
|
<button
|
||||||
@click="scrollRight"
|
@click="scrollRight"
|
||||||
class="absolute inset-y-0 my-auto z-10 rounded-full bg-white dark:bg-transparent w-10 h-10 border border-shadowColor -right-5"
|
class="absolute inset-y-0 my-auto z-10 rounded-full bg-white dark:bg-transparent w-10 h-10 border border-shadowColor -right-5"
|
||||||
>
|
>
|
||||||
<span class="">></span>
|
<span class="">></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ const emit = defineEmits(["doGeoLoc"]);
|
||||||
|
|
||||||
const { t } = useI18n({ useScope: "global" });
|
const { t } = useI18n({ useScope: "global" });
|
||||||
|
|
||||||
const showScrollRightButton = ref(true);
|
// const showScrollRightButton = ref(true);
|
||||||
const showScrollLeftButton = ref(false);
|
// const showScrollLeftButton = ref(false);
|
||||||
|
|
||||||
// const scrollContainer = ref<any>();
|
// const scrollContainer = ref<any>();
|
||||||
|
|
||||||
|
@ -97,9 +97,9 @@ const showScrollLeftButton = ref(false);
|
||||||
// evt.deltaY > 0 ? doScroll(evt, 300) : doScroll(evt, -300);
|
// evt.deltaY > 0 ? doScroll(evt, 300) : doScroll(evt, -300);
|
||||||
// };
|
// };
|
||||||
|
|
||||||
onMounted(async () => {
|
// onMounted(async () => {
|
||||||
scrollContainer.value.addEventListener("wheel", scrollHorizontalToVertical);
|
// scrollContainer.value.addEventListener("wheel", scrollHorizontalToVertical);
|
||||||
});
|
// });
|
||||||
|
|
||||||
// onUnmounted(() => {
|
// onUnmounted(() => {
|
||||||
// if (scrollContainer.value) {
|
// if (scrollContainer.value) {
|
||||||
|
|
Loading…
Reference in a new issue