|
@@ -0,0 +1,217 @@
|
|
|
+<template>
|
|
|
+ <div class="i_body_box">
|
|
|
+ <div class="i_header">
|
|
|
+ <div class="i_header_box">
|
|
|
+ <div class="i_header_span">
|
|
|
+ <span>25</span>
|
|
|
+ <span>节</span>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_content">评论课程数</div>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_box">
|
|
|
+ <div class="i_header_span">
|
|
|
+ <span>25</span>
|
|
|
+ <span>条</span>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_content">评论总数</div>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_box">
|
|
|
+ <div class="i_header_span">
|
|
|
+ <span>25</span>
|
|
|
+ <span>字</span>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_content">评论总字数</div>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_box">
|
|
|
+ <div class="i_header_span">
|
|
|
+ <span>25</span>
|
|
|
+ <span>条</span>
|
|
|
+ </div>
|
|
|
+ <div class="i_header_content">评论录音数</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="i_body">
|
|
|
+ <div class="i_course_box">
|
|
|
+ <div class="i_course_header">
|
|
|
+ <span :class="{ active: bool }" @click="bool = !bool"></span>
|
|
|
+ <span>课程名称</span>
|
|
|
+ <span>课程创建者</span>
|
|
|
+ <span>课程分类</span>
|
|
|
+ </div>
|
|
|
+ <div class="i_course_content" v-show="bool">
|
|
|
+ <div class="i_course_c_box">
|
|
|
+ <div class="i_course_c_img"></div>
|
|
|
+ <div class="i_course_c_body"></div>
|
|
|
+ <div class="i_course_c_type">
|
|
|
+ <span>2023.11.12 17.09</span>
|
|
|
+ <span>发表个人评论</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="i_course_c_box">
|
|
|
+ <div class="i_course_c_img"></div>
|
|
|
+ <div class="i_course_c_body"></div>
|
|
|
+ <div class="i_course_c_type">
|
|
|
+ <span>2023.11.12 17.09</span>
|
|
|
+ <span>回复了刘雨桐</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ props: {
|
|
|
+ oid: {
|
|
|
+ type: String,
|
|
|
+ },
|
|
|
+ userid: {
|
|
|
+ type: String,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ bool: false
|
|
|
+ }
|
|
|
+ },
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.i_body_box {
|
|
|
+ height: calc(100% - 15px);
|
|
|
+ padding: 15px 0 0;
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+.i_header {
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.i_header_box {
|
|
|
+ width: calc(100% / 4 - (30px / 4));
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ min-height: 100px;
|
|
|
+ border: 1px solid #dbdbdb;
|
|
|
+ border-radius: 18px;
|
|
|
+ font-size: 23px;
|
|
|
+ padding: 0 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.i_header_box+.i_header_box {
|
|
|
+ margin-left: 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.i_header_span {}
|
|
|
+
|
|
|
+.i_header_span>span {
|
|
|
+ color: #007dff;
|
|
|
+}
|
|
|
+
|
|
|
+.i_header_span>span:nth-child(1) {
|
|
|
+ font-size: 35px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.i_header_span>span:nth-child(2) {
|
|
|
+ font-size: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.i_header_content {
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.i_body {
|
|
|
+ margin-top: 20px;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_box {
|
|
|
+ box-shadow: 0 0 4px 3px #e0e0e0;
|
|
|
+ width: calc(100% - 4px);
|
|
|
+ box-sizing: border-box;
|
|
|
+ margin: 0 auto;
|
|
|
+ border-radius: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_header {
|
|
|
+ height: 50px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_header>span {
|
|
|
+ margin: 0 20px 0 0;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_header>span:nth-child(1) {
|
|
|
+ background-image: url(../../../../assets/icon/expand.png);
|
|
|
+ width: 15px;
|
|
|
+ height: 15px;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ cursor: pointer;
|
|
|
+ transform: rotate(-90deg);
|
|
|
+ transition: all .3s;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_header>span.active {
|
|
|
+ transform: rotate(0deg);
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_content {
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_c_box+.i_course_c_box {
|
|
|
+ border-top: 1px solid #e0e0e0;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_c_box {
|
|
|
+ padding: 10px 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_c_img {
|
|
|
+ height: 40px;
|
|
|
+ width: 40px;
|
|
|
+ background: #3760af;
|
|
|
+ border-radius: 50%;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_c_body {
|
|
|
+ width: calc(100% - 40px - 120px - 20px);
|
|
|
+ word-break: break-all;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_c_type {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-end;
|
|
|
+ height: 40px;
|
|
|
+ width: 120px;
|
|
|
+ font-size: 14px;
|
|
|
+ justify-content: space-between;
|
|
|
+ color: #7d7d7d;
|
|
|
+}
|
|
|
+
|
|
|
+.i_course_c_type>span {
|
|
|
+ max-width: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ word-break: break-all;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+}</style>
|