From 2591e298a3fd1332ad0ca33059f6ba0b7d426f51 Mon Sep 17 00:00:00 2001 From: pengwei <2071057782@qq.com> Date: 星期四, 20 三月 2025 10:08:00 +0800 Subject: [PATCH] 最新代码提交 --- 项目代码/client/src/App.vue | 155 ++++----------------------------------------------- 1 files changed, 13 insertions(+), 142 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/App.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/App.vue" index 7d5bc66..16387ff 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/App.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/App.vue" @@ -1,116 +1,13 @@ -<template> - <div id="nav"></div> - <el-config-provider :locale="locale"> - <router-view /> - </el-config-provider> -</template> -<script> -import { ElConfigProvider } from "element-plus"; -import zhCn from "element-plus/lib/locale/lang/zh-cn"; -export default { - name: "vol_app", - components: { - [ElConfigProvider.name]: ElConfigProvider, //娣诲姞缁勪欢 - }, - data() { - return { - locale: zhCn, - }; - }, -}; +<script setup> +import { RouterLink, RouterView } from "vue-router"; </script> -<style lang="less"> -.header { - //鑷畾涔� - .el-select__wrapper { - min-height: 2rem; - font-size: 0.88rem; - line-height: 1.25rem; - box-shadow: none !important; - border: none; - outline: none; - } - .el-select__placeholder.is-transparent { - color: #101010; - font-size: 0.88rem; - } - .el-input__inner { - min-height: 2rem; - line-height: 1.25rem; - height: 2rem; - font-size: 0.88rem; - width: 15rem; - } +<template> + <RouterView /> +</template> - .el-input__wrapper { - box-shadow: none !important; - } - - .el-input__wrapper.is-focus { - box-shadow: none !important; - } -} - -.el-menu-item.is-active { - color: #fff !important; - background-color: #1f63ff; -} - -.el-menu-item:hover { - outline: 0 !important; - color: #fff !important; - background-color: #1f63ff !important; -} - -.el-menu { - border: 0 !important; -} - -.paginationBox { - /deep/ .btn-prev { - //涓婁竴椤垫寜閽� - background-color: #ffff; - color: #101010 60%; - font-size: 0.88rem; - } - - /deep/ .btn-next { - //涓嬩竴椤垫寜閽� - background-color: #fff; - color: #101010 60%; - font-size: 0.88rem; - } - - /deep/ .el-pagination__jump { - color: #000; //鍓嶅線锛堬級椤� - font-size: 0.88rem; - } - - /deep/ .el-input__inner { - color: #020202; //鏂囧瓧棰滆壊 - } - - /deep/ .el-pager li { - //鎸夐挳鍒楄〃 - border-radius: 0.19rem; - background-color: rgba(255, 255, 255, 1); - color: rgba(2, 2, 2, 0.6); - font-size: 0.88rem; - text-align: center; - border: 0.06rem solid rgba(220, 220, 220, 1); - margin-right: 0.5rem; - } - - /deep/ .el-pager li:hover { - //鎸夐挳鍒楄〃 hover - color: rgba(38, 111, 232, 1); - border: 0.06rem solid rgba(38, 111, 232, 1); - } -} - +<style lang="scss"> /* 缂栧啓濯掍綋鏌ヨ锛屾牴鎹睆骞曞ぇ灏忔敼鍙榟tml鐨勫瓧浣撳ぇ灏� */ - @media screen and (max-width: 1200px) { html { font-size: 10px; @@ -153,44 +50,18 @@ box-sizing: border-box; } +// #app { +// width: 100vw; +// height: 100vh; +// display: flex; +// align-items: center; +// justify-content: center; +// } #app { font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; height: 100%; width: 100%; -} - -.el-alert--error.is-light { - border: 1px solid #ffe0e0; -} - -.el-alert--error.is-light { - color: #f74444 !important; -} - -.el-alert--warning.is-light { - border: 1px solid #ffe6c1; -} - -.el-alert--info.is-light { - border: 1px solid #e6e5e5; -} - -.el-alert--info .el-alert__description { - color: #6b6b6b !important; -} - -.el-alert--warning.is-light { - background-color: #fdf6ec; - color: #d68409 !important; -} - -.el-alert--success.is-light { - border: 1px solid #cdf7b8; -} - -.el-alert--success.is-light .el-alert__description { - color: #3baf02 !important; } </style> -- Gitblit v1.9.3