From 23eed88a8af86371adc295a9a47ef3068bc3cc35 Mon Sep 17 00:00:00 2001
From: 楚江漓i <85093541@qq.com>
Date: 星期五, 12 三月 2021 19:36:50 +0800
Subject: [PATCH] 附件上传、员工附件页面修改
---
src/views/user/archivesChange.vue | 7 +++
src/views/yunpan/fujian.vue | 3 +
src/views/user/archivesEdit.vue | 7 +++
src/layout/components/AppMain.vue | 2
src/views/yunpan/zhishou.vue | 32 ++++++++++++---
src/views/yunpan/uploadfj.vue | 14 ++++--
6 files changed, 49 insertions(+), 16 deletions(-)
diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 8318bdb..14c4ad4 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -26,7 +26,7 @@
width: 100%;
position: relative;
overflow: hidden;
- background: #f3f5f8;
+ background: #fff;
font-size: .88rem;
}
diff --git a/src/views/user/archivesChange.vue b/src/views/user/archivesChange.vue
index 738039d..f5a8dde 100644
--- a/src/views/user/archivesChange.vue
+++ b/src/views/user/archivesChange.vue
@@ -1189,6 +1189,7 @@
>下载
</el-button>
<el-button
+ class="pri-del-btn"
type="primary"
icon="el-icon-search"
size="mini"
@@ -1196,7 +1197,7 @@
>删除
</el-button>
<el-popconfirm title="是否移动附件?" @onConfirm="mvdialogFormVisible = true">
- <el-button slot="reference" class="hr-but" type="danger">转存</el-button>
+ <el-button slot="reference" type="danger">转存</el-button>
</el-popconfirm>
</el-col>
</el-row>
@@ -6002,5 +6003,9 @@
color: #333 !important;
}
}
+ .pri-del-btn {
+ background-color: rgb(64, 158, 255);
+ border-color: rgb(64, 158, 255);
+ }
</style>
diff --git a/src/views/user/archivesEdit.vue b/src/views/user/archivesEdit.vue
index 72880f1..f20caa8 100644
--- a/src/views/user/archivesEdit.vue
+++ b/src/views/user/archivesEdit.vue
@@ -1330,6 +1330,7 @@
>下载
</el-button>
<el-button
+ class="pri-del-btn"
type="primary"
icon="el-icon-search"
size="mini"
@@ -1337,7 +1338,7 @@
>删除
</el-button>
<el-popconfirm title="是否移动附件?" @onConfirm="mvdialogFormVisible = true">
- <el-button slot="reference" class="hr-but" type="danger">转存</el-button>
+ <el-button slot="reference" type="danger">转存</el-button>
</el-popconfirm>
</el-col>
</el-row>
@@ -6143,5 +6144,9 @@
color: #333 !important;
}
}
+.pri-del-btn {
+ background-color: rgb(64, 158, 255) !important;
+ border-color: rgb(64, 158, 255) !important;
+}
</style>
diff --git a/src/views/yunpan/fujian.vue b/src/views/yunpan/fujian.vue
index 9a05a26..9d61551 100644
--- a/src/views/yunpan/fujian.vue
+++ b/src/views/yunpan/fujian.vue
@@ -334,7 +334,7 @@
:data="tableData"
stripe
border
- :cell-style="{padding:'7px 0','text-align':'center'}"
+ :cell-style="{padding:'4.8px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;color: #000;"
>
@@ -373,6 +373,7 @@
</el-table>
<pagination
v-show="total>0"
+ style="text-align: right;width: 98%;"
:total="total"
:page.sync="pagination.num"
:limit.sync="pagination.size"
diff --git a/src/views/yunpan/uploadfj.vue b/src/views/yunpan/uploadfj.vue
index d14afbd..a5bd21c 100644
--- a/src/views/yunpan/uploadfj.vue
+++ b/src/views/yunpan/uploadfj.vue
@@ -43,7 +43,7 @@
<el-row><el-col :span="24">
<i
class="el-icon-bell"
- style=" color: #a32c30; margin-right: 10px;"
+ style="color: #a32c30; margin-right: 10px;"
/>提示:文件不要超过10个,单个文件大小不超过50M,单击或者拖动文件到下面区域,支持单个或批量文件的上传。</el-col>
</el-row>
<el-row style="background-color: rgba(0,0,0,0.2);">
@@ -63,12 +63,13 @@
>下载</el-button>
<el-button
type="primary"
+ class="pri-del-btn"
icon="el-icon-search"
size="mini"
@click="delFile()"
>删除</el-button>
<el-popconfirm title="是否移动附件?" @onConfirm="mvdialogFormVisible = true">
- <el-button slot="reference" class="hr-but" type="danger">转存</el-button>
+ <el-button slot="reference" type="danger">转存</el-button>
</el-popconfirm>
<el-button type="warning" @click="openUpdateFileName()">重命名</el-button>
</el-col>
@@ -617,8 +618,8 @@
}
}
.add-folder-but {
- background: #fff !important;
- color: #a32c30 !important;
+ background: #a32c30 !important;
+ color: #fff !important;
margin-bottom: 20px;
}
padding: 0 15px 0 15px;
@@ -667,7 +668,6 @@
border-color: #a32c30;
}
.myRedCheckBox .el-checkbox__label {
- width: 90%;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
@@ -731,4 +731,8 @@
.el-input-number {
width: 100%;
}
+.pri-del-btn {
+ background-color: rgb(64, 158, 255);
+ border-color: rgb(64, 158, 255);
+}
</style>
diff --git a/src/views/yunpan/zhishou.vue b/src/views/yunpan/zhishou.vue
index 4e34aa0..cdb8343 100644
--- a/src/views/yunpan/zhishou.vue
+++ b/src/views/yunpan/zhishou.vue
@@ -1,5 +1,5 @@
<template>
- <div class="zs-main">
+ <div class="zs-main" style="background-color: #fff">
<el-row class="search-title">
<el-col :span="18" class="title">
<div class="zs-title">云盘智搜</div>
@@ -21,7 +21,7 @@
<el-aside width="210px" style="background-color: #fff;text-align: center;">
<el-button class="add-folder-but" @click="dialogFormVisible = true">新增</el-button>
<el-popconfirm title="是否删除目录?" @onConfirm="delFolder()">
- <el-button slot="reference" class="hr-but-all" type="danger">删除</el-button>
+ <el-button slot="reference" class="pri-del-btn" type="primary">删除</el-button>
</el-popconfirm>
<el-dialog
title="新增文件夹"
@@ -97,12 +97,13 @@
>下载</el-button>
<el-button
type="primary"
+ class="pri-del-btn"
icon="el-icon-search"
size="mini"
@click="delFile()"
>删除</el-button>
<el-popconfirm title="是否移动文件?" @onConfirm="mvdialogFormVisible = true">
- <el-button slot="reference" class="hr-but" type="danger">转存</el-button>
+ <el-button slot="reference" type="danger">转存</el-button>
</el-popconfirm>
<el-button type="warning" @click="openUpdateFileName()">重命名</el-button>
</el-col>
@@ -679,8 +680,8 @@
}
}
.add-folder-but {
- background: #fff !important;
- color: #a32c30 !important;
+ background: #a32c30 !important;
+ color: #fff !important;
margin-bottom: 20px;
}
padding: 0 15px 0 15px;
@@ -688,9 +689,10 @@
line-height: 60px;
}
.uploading-image {
- width: 100%;
- height: 100%;
+ width: 70%;
+ height: 70%;
display: block;
+ margin-left: 30px;
}
}
@@ -724,6 +726,18 @@
/* 设置鼠标经过对勾框,对勾框边框的颜色 */
.myRedCheckBox .el-checkbox__inner:hover {
border-color: #a32c30;
+}
+
+.myRedCheckBox .el-checkbox__label {
+ overflow: hidden;
+ text-overflow:ellipsis;
+ white-space: nowrap;
+}
+.myRedCheckBox {
+ margin-left: -10px;
+}
+.myRedCheckBox .el-checkbox__input {
+ vertical-align: text-top;
}
.avatar-uploader{
.el-upload-dragger{
@@ -791,5 +805,9 @@
.el-input-number {
width: 100%;
}
+.pri-del-btn {
+ background-color: rgb(64, 158, 255) !important;
+ border-color: rgb(64, 158, 255) !important;
+}
</style>
--
Gitblit v1.8.0