🧹 清理重复配置文件
- 删除根目录中重复的 NestJS 配置文件 - 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc - 保留 wwjcloud-nest/ 目录中的完整配置 - 避免配置冲突,确保项目结构清晰
This commit is contained in:
321
admin-vben/src/styles/common.scss
Normal file
321
admin-vben/src/styles/common.scss
Normal file
@@ -0,0 +1,321 @@
|
||||
:root {
|
||||
--aside-width: 210px;
|
||||
--el-mask-color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
html, body {
|
||||
font-family: Helvetica Neue, Helvetica, Arial;
|
||||
}
|
||||
|
||||
:root input:-webkit-autofill, :root textarea:-webkit-autofill, :root select:-webkit-autofill {
|
||||
box-shadow: 0 0 50px 50px white inset;
|
||||
}
|
||||
|
||||
:focus{
|
||||
outline: none;
|
||||
}
|
||||
|
||||
// 字体设置
|
||||
// 海报价格字体
|
||||
@font-face {
|
||||
font-family: 'poster_price_font';
|
||||
src: url('./font/OPLUSSANS3-REGULAR.ttf') format('truetype');
|
||||
}
|
||||
// 海报价格字体
|
||||
@font-face {
|
||||
font-family: 'poster_default_font';
|
||||
src: url('./font/PingFang-Medium.ttf') format('truetype');
|
||||
}
|
||||
|
||||
// 以下最新,请勿改动 2024.5.25
|
||||
|
||||
/** 数据展示面板 **/
|
||||
.el-statistic {
|
||||
--el-statistic-content-font-size: 28px !important;
|
||||
}
|
||||
|
||||
/** 背景 **/
|
||||
.bg {
|
||||
background-color: #f5f7f9;
|
||||
}
|
||||
|
||||
/** 边框 **/
|
||||
.border-color {
|
||||
border-color: var(--el-border-color-lighter);
|
||||
}
|
||||
|
||||
/** 表单 **/
|
||||
.page-form {
|
||||
|
||||
.input-width {
|
||||
width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
.el-form {
|
||||
|
||||
// 提示
|
||||
.form-tip {
|
||||
font-size: var(--el-font-size-small);
|
||||
line-height: 1;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
color: var(--el-color-info-light-3);
|
||||
}
|
||||
}
|
||||
|
||||
/** 面板标题 **/
|
||||
.panel-title {
|
||||
font-size: 14px !important;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
/** 筛选框 **/
|
||||
.table-search-wrap {
|
||||
|
||||
.el-card__body {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.el-form {
|
||||
margin-bottom: -18px;
|
||||
}
|
||||
}
|
||||
|
||||
/** 底部浮动保存 **/
|
||||
.fixed-footer-wrap {
|
||||
height: 48px;
|
||||
|
||||
.fixed-footer {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
right: 15px;
|
||||
bottom: 0;
|
||||
left: 15px;
|
||||
display: flex;
|
||||
height: inherit;
|
||||
background: var(--el-bg-color-overlay);
|
||||
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
||||
--tw-shadow: var(--el-box-shadow);
|
||||
--tw-shadow-colored: var(--el-box-shadow);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out;
|
||||
}
|
||||
}
|
||||
/* 单行超出隐藏 */
|
||||
.using-hidden {
|
||||
word-break: break-all;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
|
||||
/** 多行超出隐藏 **/
|
||||
.multi-hidden {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
white-space: normal;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
/** 黑暗模式 **/
|
||||
html.dark {
|
||||
|
||||
.bg {
|
||||
background-color: var(--el-bg-color) !important;
|
||||
}
|
||||
|
||||
.table-search-wrap {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.el-table {
|
||||
--el-table-header-text-color: var(--el-text-color-secondary) !important;
|
||||
--el-table-header-bg-color: var(--el-bg-color) !important;
|
||||
}
|
||||
|
||||
// 编辑器
|
||||
.edui-default {
|
||||
|
||||
.edui-editor, .edui-editor-toolbarboxinner {
|
||||
background-color: var(--el-bg-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// 以下全部开发完可以删除
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// .main-container{
|
||||
// // background-color: #fff;
|
||||
// background-color: var(--el-bg-color-overlay);
|
||||
// min-height: calc(100vh - 84px);
|
||||
// overflow: hidden;
|
||||
// .full-container {
|
||||
// height: calc(100vh - 122px);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 表格
|
||||
|
||||
|
||||
|
||||
|
||||
// 背景颜色
|
||||
.base-bg{
|
||||
background-color: transparent !important;
|
||||
// background-color: #F5F7F9 !important; 原来的颜色
|
||||
}
|
||||
|
||||
|
||||
|
||||
.region-input {
|
||||
--region-input-border-color: var(--el-border-color);
|
||||
--el-input-border-radius: 0;
|
||||
display: flex;
|
||||
box-shadow: 0 0 0 1px var(--region-input-border-color) inset;
|
||||
border-radius: var(--el-input-border-radius,var(--el-border-radius-base));
|
||||
height: calc(var(--el-input-inner-height) - 2px);
|
||||
line-height: calc(var(--el-input-inner-height) - 2px);
|
||||
transition: var(--el-transition-box-shadow);
|
||||
|
||||
&:hover {
|
||||
--region-input-border-color: var(--el-color-primary);
|
||||
}
|
||||
|
||||
.separator {
|
||||
flex: 1;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
padding: 0 5px;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
word-break: keep-all;
|
||||
color: var(--el-text-color-primary);
|
||||
}
|
||||
|
||||
.el-form-item {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
input {
|
||||
padding: 0 10px;
|
||||
appearance: none;
|
||||
border: none;
|
||||
outline: 0;
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
font-size: var(--el-font-size-base);
|
||||
color: var(--el-text-color-regular);
|
||||
background-color: transparent;
|
||||
|
||||
&::placeholder {
|
||||
color: var(--el-text-color-placeholder);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 温馨提示样式
|
||||
// .warm-prompt {
|
||||
// background-color: var(--el-color-primary-light-9) !important;
|
||||
// .el-icon,p,li{
|
||||
// color: var(--el-color-primary-light-3);
|
||||
// }
|
||||
// .el-alert__content{
|
||||
// padding: 0;
|
||||
// }
|
||||
// }
|
||||
// html.dark {
|
||||
// .warm-prompt {
|
||||
// background-color: var(--el-color-primary-light-5) !important;
|
||||
// .el-icon, p {
|
||||
// color: var(--el-color-primary-dark-2);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
.app-item {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
html.dark {
|
||||
.app-item {
|
||||
background: #191a23;
|
||||
}
|
||||
}
|
||||
|
||||
// 详情的头部 完部修改完删除
|
||||
.detail-head {
|
||||
display: flex;
|
||||
margin: 15px;
|
||||
align-items: center;
|
||||
|
||||
.left {
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
margin-top: 1px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.adorn {
|
||||
font-size: 14px;
|
||||
margin: 0 12px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.right{
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.t-window {
|
||||
line-height: normal!important;
|
||||
padding-top: 10px!important;
|
||||
--t-main-background-color: #1d1f3a;
|
||||
--t-main-font-color: #ececee;
|
||||
|
||||
.t-cmd-key {
|
||||
font-weight: normal;
|
||||
color: var(--t-main-font-color);
|
||||
}
|
||||
|
||||
.t-log-box {
|
||||
margin-block-start: 3px;
|
||||
margin-block-end: 3px;
|
||||
&:first-child {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.t-content-normal .error {
|
||||
display: none;
|
||||
|
||||
& + span {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
79
admin-vben/src/styles/element-plus.scss
Normal file
79
admin-vben/src/styles/element-plus.scss
Normal file
@@ -0,0 +1,79 @@
|
||||
:root {}
|
||||
|
||||
.el-header {
|
||||
--el-header-padding: 0 !important;
|
||||
--el-header-height: 64px !important;
|
||||
}
|
||||
|
||||
/** 卡片面板 **/
|
||||
.el-card {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
/** 表格 **/
|
||||
.el-table {
|
||||
--el-table-header-bg-color: #f5f7f9 !important;
|
||||
--el-table-header-text-color: #333333 !important;
|
||||
|
||||
thead,
|
||||
thead th {
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
// 修改表格中上传图片样式冲突的问题
|
||||
.el-table__cell {
|
||||
position: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
/** 文本框 **/
|
||||
.el-input__wrapper, .el-input-group__append, .el-textarea__inner {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.el-textarea__inner {
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
background-color: rgb(192, 196, 204);
|
||||
opacity: .3;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background-color: transparent ;
|
||||
}
|
||||
}
|
||||
|
||||
/** 按钮 **/
|
||||
.el-button {
|
||||
background-color: var(--el-button-bg-color, var(--el-color-white));
|
||||
}
|
||||
|
||||
.el-button:not(.is-round) {
|
||||
border-radius: 2px !important;
|
||||
}
|
||||
.el-slider {
|
||||
--el-slider-button-size: 15px !important;
|
||||
}
|
||||
|
||||
/** 下拉框 **/
|
||||
.el-select__wrapper {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.el-form-item {
|
||||
& > .el-input, .el-cascader, .el-select, .el-date-editor, .el-autocomplete {
|
||||
width: 214px;
|
||||
}
|
||||
}
|
||||
|
||||
.el-dropdown .el-tooltip__trigger {
|
||||
outline: none!important;
|
||||
}
|
||||
BIN
admin-vben/src/styles/font/OPLUSSANS3-REGULAR.TTF
Normal file
BIN
admin-vben/src/styles/font/OPLUSSANS3-REGULAR.TTF
Normal file
Binary file not shown.
BIN
admin-vben/src/styles/font/PingFang-Medium.ttf
Normal file
BIN
admin-vben/src/styles/font/PingFang-Medium.ttf
Normal file
Binary file not shown.
1
admin-vben/src/styles/icon/addon-iconfont.css
Normal file
1
admin-vben/src/styles/icon/addon-iconfont.css
Normal file
@@ -0,0 +1 @@
|
||||
/* addon-iconfont.css */
|
||||
3207
admin-vben/src/styles/icon/iconfont.css
Normal file
3207
admin-vben/src/styles/icon/iconfont.css
Normal file
File diff suppressed because it is too large
Load Diff
1566
admin-vben/src/styles/icon/official-iconfont.css
Normal file
1566
admin-vben/src/styles/icon/official-iconfont.css
Normal file
File diff suppressed because it is too large
Load Diff
2242
admin-vben/src/styles/icon/official-iconfont.json
Normal file
2242
admin-vben/src/styles/icon/official-iconfont.json
Normal file
File diff suppressed because it is too large
Load Diff
9
admin-vben/src/styles/index.scss
Normal file
9
admin-vben/src/styles/index.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
@import 'element-plus/dist/index.css';
|
||||
@import 'element-plus/theme-chalk/dark/css-vars.css';
|
||||
@import 'element-plus/theme-chalk/display.css';
|
||||
@import 'tailwind.css';
|
||||
@import 'element-plus.scss';
|
||||
@import 'icon/iconfont.css';
|
||||
@import 'icon/addon-iconfont.css'; // 安装卸载插件时,动态引用插件的图标库文件
|
||||
@import 'icon/official-iconfont.css';
|
||||
@import 'common.scss';
|
||||
3
admin-vben/src/styles/tailwind.css
Normal file
3
admin-vben/src/styles/tailwind.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
Reference in New Issue
Block a user