From 3919bf693424f290040df0f6a7eff9ece6d481b2 Mon Sep 17 00:00:00 2001
From: zhouxueli <2841188632@qq.com>
Date: Thu, 26 Sep 2024 17:00:29 +0800
Subject: [PATCH] =?UTF-8?q?task#15348,=E5=9F=B9=E8=AE=AD=E6=96=87=E6=A1=A3?=
=?UTF-8?q?=E5=92=8C=E6=96=87=E6=A1=A3=E8=B5=84=E6=96=99=E5=B8=83=E5=B1=80?=
=?UTF-8?q?=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/styles/docment.scss | 37 +++++++++++++++++++---
src/views/documentView/docmentList.vue | 42 +++----------------------
src/views/documentView/trainDocment.vue | 40 +++++++++++++++++------
3 files changed, 67 insertions(+), 52 deletions(-)
diff --git a/src/styles/docment.scss b/src/styles/docment.scss
index 14f0d1a7..0462ac9b 100644
--- a/src/styles/docment.scss
+++ b/src/styles/docment.scss
@@ -2,7 +2,7 @@
.wrap{
@include wh(100%,100%);
background-color: #F4F5F7;
- overflow-y: auto;
+
}
.navBar{
margin-bottom: 46px;
@@ -13,10 +13,37 @@
@include wh(17px, 17px);
}
}
+.tab_wrap {
+ @include fontWeightSize(bold, 12px);
+ display: flex;
+ justify-content: space-around;
+ padding: 5px 0 5px 0;
+ @include colorOpa(#737373,0.7);
+ div {
+ padding-top: 8px;
+ }
+ .active {
+ color: #3678FF;
+ position: relative;
+ }
+ .active:after {
+ content: '';
+ display: block;
+ @include wh(50px,2px);
+ background: linear-gradient(270deg, #33A3FF 0%, #176AFE 100%);
+ border-radius: 2px;
+ position: absolute;
+ margin-top: 3px;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+}
.contentWrap{
@include sizingPadding(0,8px);
+ overflow-y: auto;
width: 100%;
- margin-top: 20px;
+ height: calc(100% - 100px);
+ margin-top: 10px;
.itemWrap{
margin-bottom: 16px;
@include wh(100%, 300px);
@@ -35,15 +62,15 @@
@include wh(100%,200px);
position: relative;
img{
- @include wh(100%,200px);
+ @include wh(100%,100%);
}
- .name{
+ /* .name{
position: absolute;
left: 30px;
bottom: 30px;
@include fontWeightSize(bold,14px);
color: #FFFFFF;
- }
+ }*/
}
.left{
color: red;
diff --git a/src/views/documentView/docmentList.vue b/src/views/documentView/docmentList.vue
index 3ce1055a..b882ae15 100644
--- a/src/views/documentView/docmentList.vue
+++ b/src/views/documentView/docmentList.vue
@@ -32,21 +32,13 @@
-