36 lines
498 B
Vue
36 lines
498 B
Vue
<script setup lang="ts">
|
|
const props = withDefaults(
|
|
defineProps<{
|
|
data?: any;
|
|
isMobile?: boolean;
|
|
}>(),
|
|
{}
|
|
);
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div class="content text-[16px]" v-html="data"></div>
|
|
</template>
|
|
|
|
<style lang="scss">
|
|
.content {
|
|
padding-top: 15px;
|
|
overflow: hidden;
|
|
color: #333131;
|
|
}
|
|
.content p{
|
|
padding: 0;
|
|
line-height: 2.2rem;
|
|
}
|
|
.content img{
|
|
padding: 8px 0;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
.content video {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
</style>
|