From 35cf520f1f9892b9269e8f4b9c06eb87a37c4e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Wed, 22 Mar 2023 10:14:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E8=AF=BE=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E3=80=81=E7=BC=96=E8=BE=91=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../course/compenents/create.module.less | 10 ++- .../course/compenents/hour-update.module.less | 10 ++- .../course/compenents/update.module.less | 67 ------------------- 3 files changed, 8 insertions(+), 79 deletions(-) diff --git a/src/pages/course/compenents/create.module.less b/src/pages/course/compenents/create.module.less index 779eb4e..26e0ddd 100644 --- a/src/pages/course/compenents/create.module.less +++ b/src/pages/course/compenents/create.module.less @@ -22,7 +22,7 @@ } .hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -32,7 +32,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-left: 42px; .no-hours { height: 24px; @@ -40,7 +40,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } @@ -65,7 +64,7 @@ margin-right: 24px; } .chapter-hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -75,7 +74,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-top: 16px; .no-hours { height: 24px; @@ -83,7 +82,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } } diff --git a/src/pages/course/compenents/hour-update.module.less b/src/pages/course/compenents/hour-update.module.less index 80e90f4..f519010 100644 --- a/src/pages/course/compenents/hour-update.module.less +++ b/src/pages/course/compenents/hour-update.module.less @@ -42,7 +42,7 @@ } .hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -52,7 +52,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-left: 42px; .no-hours { height: 24px; @@ -60,7 +60,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } @@ -85,7 +84,7 @@ margin-right: 24px; } .chapter-hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -95,7 +94,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-top: 16px; .no-hours { height: 24px; @@ -103,7 +102,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } } diff --git a/src/pages/course/compenents/update.module.less b/src/pages/course/compenents/update.module.less index 779eb4e..b44cb43 100644 --- a/src/pages/course/compenents/update.module.less +++ b/src/pages/course/compenents/update.module.less @@ -20,70 +20,3 @@ margin-right: 0; } } - -.hous-box { - width: 502px; - min-height: 56px; - background: #ffffff; - border-radius: 6px; - border: 1px solid rgba(0, 0, 0, 0.15); - box-sizing: border-box; - -moz-box-sizing: border-box; - /* Firefox */ - -webkit-box-sizing: border-box; - /* Safari */ - padding: 16px 16px 16px 0; - margin-left: 42px; - .no-hours { - height: 24px; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.25); - line-height: 24px; - margin-left: 16px; - } -} - -.chapter-item { - width: 502px; - height: auto; - display: flex; - flex-direction: column; - margin-left: 42px; - margin-bottom: 16px; - .label { - width: 78px; - height: 32px; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.85); - line-height: 32px; - } - .input { - width: 208px; - height: 32px; - margin-right: 24px; - } - .chapter-hous-box { - width: 502px; - min-height: 56px; - background: #ffffff; - border-radius: 6px; - border: 1px solid rgba(0, 0, 0, 0.15); - box-sizing: border-box; - -moz-box-sizing: border-box; - /* Firefox */ - -webkit-box-sizing: border-box; - /* Safari */ - padding: 16px 16px 16px 0; - margin-top: 16px; - .no-hours { - height: 24px; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.25); - line-height: 24px; - margin-left: 16px; - } - } -}