From d68a23a0f0588a1f721817427cff200bfc94adea Mon Sep 17 00:00:00 2001 From: zhangsir <2207038757@qq.com> Date: Mon, 25 Sep 2023 18:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/courserecommended/CourseCheck.vue | 14 +++++++------- .../courserecommended/CourseRecommended.vue | 4 ++-- src/views/courselibrary/CourseRecommended.vue | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/courserecommended/CourseCheck.vue b/src/components/courserecommended/CourseCheck.vue index b43441bc..0962b09a 100644 --- a/src/components/courserecommended/CourseCheck.vue +++ b/src/components/courserecommended/CourseCheck.vue @@ -247,7 +247,7 @@ getList() dataIndex: "recommendBy", key: "recommendBy", width: "35%", - align: "left", + align: "center", ellipsis: true, className: "h", customRender: ({ text }) => { @@ -259,7 +259,7 @@ getList() dataIndex: "listPageName", key: "listPageName", width: "15%", - align: "left", + align: "center", className: "h", customRender: ({ text }) => { return text ? text : "-"; @@ -270,7 +270,7 @@ getList() dataIndex: "recommendTime", key: "recommendTime", width: "15%", - align: "left", + align: "center", className: "h", customRender: ({ text }) => { return text ? text : "-"; @@ -281,7 +281,7 @@ getList() dataIndex: "courseCount", key: "courseCount", width: "15%", - align: "left", + align: "center", className: "h", customRender: ({ text }) => { return text ? text : "-"; @@ -292,7 +292,7 @@ getList() width: "10%", dataIndex: "operation", key: "operation", - align: "left", + align: "center", slots: { customRender: "operation" }, }, @@ -463,12 +463,12 @@ getList() margin-bottom: 32px; margin-top: 17px; } - .ant-input{ + .inp>.ant-input{ width: 130px; height: 40px; margin-right: 18px; } - .ant-btn-primary{ + .inp>.ant-btn-primary{ width: 90px; height: 40px; border-radius: 5px; diff --git a/src/components/courserecommended/CourseRecommended.vue b/src/components/courserecommended/CourseRecommended.vue index 86959eb8..cb4b5505 100644 --- a/src/components/courserecommended/CourseRecommended.vue +++ b/src/components/courserecommended/CourseRecommended.vue @@ -419,12 +419,12 @@ getList() margin-bottom: 32px; margin-top: 17px; } - .ant-input{ + .inp>.ant-input{ width: 130px; height: 40px; margin-right: 18px; } - .ant-btn-primary{ + .inp>.ant-btn-primary{ width: 90px; height: 40px; border-radius: 5px; diff --git a/src/views/courselibrary/CourseRecommended.vue b/src/views/courselibrary/CourseRecommended.vue index 0835ee18..cb51d00e 100644 --- a/src/views/courselibrary/CourseRecommended.vue +++ b/src/views/courselibrary/CourseRecommended.vue @@ -152,7 +152,7 @@ - +