评论组件完成

This commit is contained in:
aixianling
2022-05-25 17:04:52 +08:00
parent f36e184fb7
commit 8f40ac4dd4
5 changed files with 424 additions and 170 deletions

View File

@@ -18,8 +18,6 @@
<div class="files" v-if="detail.contentType==1 && detail.files && detail.files.length">
<video class="file-img" :src="file.url" v-for="(file,index) in detail.files" :key="index"/>
</div>
<div v-if="comment" class="comments"/>
</section>
</template>
@@ -30,7 +28,6 @@ export default {
props: {
title: {default: ""},
detail: {default: () => ({})},
comment: Boolean
},
methods: {
preview(index) {
@@ -42,8 +39,8 @@ export default {
<style lang="scss" scoped>
.AiDetail {
min-height: 100vh;
background: #ffffff;
padding-bottom: 80px;
background: #fff;
.header {
.title {