Files
NSG_PORTAL_V2/components/dynamic-page/page-component/templates/articles/details/Video.vue
T
nguyen van thai 0dba7790b1 Fix
2024-07-09 15:15:22 +07:00

68 lines
2.3 KiB
Vue

<script setup lang="ts">
// const store = {
// page: useCmsPageStore(),
// };
// import Comment from "@/components/cms/page-component/templates/others/comments/Default.vue";
</script>
<template>
video
<!-- <div class="container overflow-hidden">
<div class="video row">
<div
class="video__left"
:class="
store.page.classifyScreenByWidth({
computer: 'col-8 px-0',
tablet: 'col-8 px-0',
smartphone: 'col-12',
})
"
>
<video controls="controls" width="100%" height="100%" data-file-id="149" data-resource="https://acp-api.vpress.vn/Resources/Video/983d2f57-7743-472f-b22d-fc73085af6d5.mp4" data-title="Download.mp4">
<source src="" type="video/mp4" />
</video>
</div>
<div
class="video__right bg-body-tertiary"
:class="
store.page.classifyScreenByWidth({
computer: 'col-4 ps-4 pt-2',
tablet: 'col-4 ps-4 pt-2',
smartphone: 'col-12 pt-2',
})
"
>
<h1
class=""
:class="
store.page.classifyScreenByWidth({
computer: 'fs-1',
tablet: 'fs-2',
smartphone: 'fs-3',
})
"
>
Tiêu đề video
</h1>
<p class="line-clamp-3 fs-5 fw-light" :class="store.page.classifyScreenByWidth({})">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<h5 class="text-end fs-4 opacity-75">Tác giả</h5>
<p><b class="text-primary fw-semibold">Danh mục</b> <span class="ms-2 opacity-25 fw-semibold">Ngày đăng video</span></p>
<Comment />
</div>
</div>
</div> -->
</template>
<style scoped lang="scss">
.line-clamp-3 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
</style>