diff --git a/client/src/assets/css/pagination.css b/client/src/assets/css/pagination.css
index c014942..44a0734 100644
--- a/client/src/assets/css/pagination.css
+++ b/client/src/assets/css/pagination.css
@@ -26,7 +26,7 @@
color: #67d9e8;
}
-:deep(.btn-prev) {
+:deep(.el-pagination .btn-prev) {
font-weight: bold;
width: 45px;
height: 45px;
@@ -35,7 +35,7 @@
border-radius: 50%;
}
-:deep(.btn-next) {
+:deep(.el-pagination .btn-next) {
font-weight: bold;
width: 45px;
height: 45px;
@@ -64,12 +64,12 @@
height: 35px;
}
- :deep(.btn-prev) {
+ :deep(.el-pagination .btn-prev) {
width: 35px;
height: 35px;
}
- :deep(.btn-next) {
+ :deep(.el-pagination .btn-next) {
width: 35px;
height: 35px;
}
diff --git a/client/src/views/index/FilmDetails.vue b/client/src/views/index/FilmDetails.vue
index 6033036..3c0b2ea 100644
--- a/client/src/views/index/FilmDetails.vue
+++ b/client/src/views/index/FilmDetails.vue
@@ -8,20 +8,20 @@
{{ data.detail.name }}
- 导演: {{ data.detail.descriptor.director }}
- 主演: {{ handleLongText(data.detail.descriptor.actor) }}
- 上映: {{ data.detail.descriptor.releaseDate }}
- 地区: {{ data.detail.descriptor.area }}
- 连载:{{ data.detail.descriptor.remarks }}
-
+ 导演: {{ data.detail.director }}
+ 主演: {{ handleLongText(data.detail.actor) }}
+ 上映: {{ data.detail.releaseDate }}
+ 地区: {{ data.detail.area }}
+ 连载:{{ data.detail.remarks }}
+
@@ -34,32 +34,33 @@
- {{ data.detail.descriptor.cName }}
+ {{ data.detail.cName }}
-
- {{ `${data.detail.descriptor.classTag}`.replaceAll(",", " ") }}
+
+ {{ `${data.detail.classTag}`.replaceAll(",", " ") }}
- {{ data.detail.descriptor.year }}
- {{ data.detail.descriptor.area }}
+ {{ data.detail.year }}
+ {{ data.detail.area }}
- 导演: {{ data.detail.descriptor.director }}
- 主演: {{ data.detail.descriptor.actor }}
- 上映: {{ data.detail.descriptor.releaseDate }}
- 连载:{{ data.detail.descriptor.remarks }}
- 评分:{{ data.detail.descriptor.dbScore }}
+ 导演: {{ data.detail.director }}
+ 主演: {{ data.detail.actor }}
+ 上映: {{ data.detail.releaseDate }}
+ 连载:{{ data.detail.remarks }}
+ 评分:{{ data.detail.dbScore }}
剧情:
- {{ multiBtn.text }}
-
+
-
+
@@ -69,12 +70,12 @@
-
+
@@ -100,6 +101,7 @@ import {ApiGet} from "../../utils/request";
import {ElMessage} from 'element-plus'
import {Promotion, CaretRight} from "@element-plus/icons-vue";
import RelateList from "../../components/index/RelateList.vue";
+
// 获取路由对象
const router = useRouter()
const data = reactive({
@@ -113,29 +115,27 @@ const data = reactive({
DownFrom: '',
playList: [[]],
downloadList: '',
- descriptor: {
- subTitle: '',
- cName: '',
- enName: '',
- initial: '',
- classTag: '',
- actor: '',
- director: '',
- writer: '',
- blurb: '',
- remarks: '',
- releaseDate: '',
- area: '',
- language: '',
- year: '',
- state: '',
- updateTime: '',
- addTime: '',
- dbId: '',
- dbScore: '',
- hits: '',
- content: '',
- },
+ subTitle: '',
+ cName: '',
+ enName: '',
+ initial: '',
+ classTag: '',
+ actor: '',
+ director: '',
+ writer: '',
+ blurb: '',
+ remarks: '',
+ releaseDate: '',
+ area: '',
+ language: '',
+ year: '',
+ state: '',
+ updateTime: '',
+ addTime: '',
+ dbId: '',
+ dbScore: '',
+ hits: '',
+ content: '',
list: []
},
relate: [],
@@ -155,9 +155,8 @@ const handleLongText = (t: string): string => {
}
-
// 播放源切换
-const changeTab = (id:string)=>{
+const changeTab = (id: string) => {
data.currentTabId = id
}
@@ -187,11 +186,11 @@ onBeforeMount(() => {
data.detail = resp.data.detail
// 去除影视简介中的无用内容和特殊标签格式等
data.detail.name = data.detail.name.replace(/(~.*~)/g, '')
- data.detail.descriptor.content = data.detail.descriptor.content.replace(/(&.*;)|( )|( )|(\n)|(<[^>]+>)/g, '')
+ data.detail.content = data.detail.content.replace(/(&.*;)|( )|( )|(\n)|(<[^>]+>)/g, '')
data.relate = resp.data.relate
// 处理过长数据
- data.detail.descriptor.actor = handleLongText(data.detail.descriptor.actor)
- data.detail.descriptor.director = handleLongText(data.detail.descriptor.director)
+ data.detail.actor = handleLongText(data.detail.actor)
+ data.detail.director = handleLongText(data.detail.director)
data.currentTabId = resp.data.detail.list[0].id
data.loading = true
} else {
@@ -207,7 +206,6 @@ onBeforeMount(() => {
-