提交 7159b3fc authored 作者: xiejiang's avatar xiejiang

style: 修改页面还原度

上级 bd00dd49
......@@ -2,7 +2,7 @@
# @Author: xiejiang
# @Date: 2024-11-05 10:14:56
# @LastEditors: xiejiang
# @LastEditTime: 2024-12-05 11:37:54
# @LastEditTime: 2024-12-11 22:10:08
# @Description:
# Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
###
......@@ -16,7 +16,7 @@ VITE_PUBLIC_PATH = /
VITE_DROP_CONSOLE = true
# 开发环境接口地址
VITE_API_URL = https://api.iep.seevin.com
VITE_API_URL = http://api.iep.casdio.com
# 汪洋
# VITE_API_URL = http://172.16.3.197:8095
......
......@@ -15,4 +15,4 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_DROP_CONSOLE = true
# 线上环境接口地址
VITE_API_URL = "https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"
VITE_API_URL = "https://api.iep.seevin.com"
......@@ -2,7 +2,7 @@
# @Author: xiejiang
# @Date: 2024-12-08 09:25:35
# @LastEditors: xiejiang
# @LastEditTime: 2024-12-10 15:55:57
# @LastEditTime: 2024-12-11 21:33:24
# @Description:
# Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
###
......@@ -23,4 +23,4 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_DROP_CONSOLE = true
# 测试环境接口地址
VITE_API_URL = https://api.iep.seevin.com
VITE_API_URL = http://api.iep.casdio.com
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-11-06 09:53:55
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 10:58:57
* @LastEditTime: 2024-12-11 21:55:38
* @Description: 图片预览
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
......@@ -23,7 +23,7 @@
<template v-if="props.isDel">
<span class="mx-[8px]"> | </span>
<span @click.stop="handleDel" class="flex items-center">
<DeleteIcon size="1.2em" class="mr-[4px]" /> 删除
<DeleteIcon size="1.2em" class="!mr-[4px]" /> 删除
</span>
</template>
</div>
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-11-07 11:19:31
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 20:21:42
* @LastEditTime: 2024-12-11 22:37:22
* @Description: 表格页面容器组件
-->
<template>
......
......@@ -85,7 +85,7 @@
v-show="isShowFilterResult"
theme="default"
variant="outline"
class="mt-[12px] clear-btn"
class="!mt-[12px] !clear-btn"
@click="handleClear"
>
清空
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2023-07-13 10:27:58
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 11:06:17
* @LastEditTime: 2024-12-11 21:54:54
* @Description: 搜索组件
-->
<template>
......@@ -19,7 +19,7 @@
<SearchIcon />
</template>
</t-input>
<t-button class="search-btn ml-[8px]" :loading="loading" @click="handleFullySearch"> 搜索 </t-button>
<t-button class="search-btn !ml-[8px]" :loading="loading" @click="handleFullySearch"> 搜索 </t-button>
</div>
</template>
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-11-06 09:53:55
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 11:06:46
* @LastEditTime: 2024-12-11 21:54:38
* @Description: 系统提示确认
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
......@@ -23,7 +23,7 @@
</template>
<template #footer>
<div class="mt-[16px] text-right">
<t-button variant="outline" @click="onClose" class="mr-[8px]"> 取消</t-button>
<t-button variant="outline" @click="onClose" class="!mr-[8px]"> 取消</t-button>
<t-button :loading="loading" @click="handleConfirm">确定</t-button>
</div>
</template>
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-12-10 15:36:04
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 15:32:44
* @LastEditTime: 2024-12-11 21:54:27
* @Description: 更新版本弹窗
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
......@@ -29,7 +29,7 @@
<div class="content-div text-[var(--td-font-gray-1)]" v-html="state?.description"></div>
</div>
<div class="flex justify-center">
<t-button class="mt-[60px] w-[200px]" @click="handleConfirm">更新至最新版本</t-button>
<t-button class="!mt-[60px] !w-[200px]" @click="handleConfirm">更新至最新版本</t-button>
</div>
</main>
</template>
......
<!--
* @Author: zhanyoulin<zhanyoulin456@163.com>
* @Date: 2023-06-13 09:41:17
* @LastEditors: zhanyoulin
* @LastEditTime: 2023-07-04 15:05:43
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 21:54:12
* @Description:
-->
<template>
<div class="flx-center footer">
<a href="https://www.hlsok.com/" target="_blank"> 2023 © Hiteacher. All Rights Reserved. 好老师教育 版权所有 </a>
<a href="https://www.hlsok.com/" target="_blank"> 2024 © Hiteacher. All Rights Reserved. 好老师教育 版权所有 </a>
</div>
</template>
......
......@@ -2,25 +2,25 @@
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 14:32:29
* @LastEditTime: 2024-12-11 21:53:21
* @Description:
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
<template>
<t-head-menu theme="light" class="header bg-white">
<t-head-menu theme="light" class="header !bg-white">
<template #logo>
<img
:src="isCollapse ? iconLogoCollapse : iconLogo"
alt="logo"
:width="isCollapse ? 64 : 208"
:height="isCollapse ? 64 : 64"
class="ml-[0px] logo-transition"
class="!ml-[0px] logo-transition"
@click="$router.push('/')"
/>
<Icon
:name="isCollapse ? 'indent-right' : 'indent-left'"
size="24"
class="cursor-pointer ml-[15px]"
class="!cursor-pointer !ml-[15px]"
@click="changeCollapse"
></Icon>
<Breadcrumb id="breadcrumb" />
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 15:19:39
* @LastEditTime: 2024-12-11 22:18:14
* @Description:
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
......@@ -94,10 +94,6 @@ onMounted(() => {
color: var(--td-font-gray-1);
}
// .t-menu__content {
// font-size: 13px;
// }
.t-default-menu.t-is-collapsed {
width: 52px !important;
}
......
......@@ -17,7 +17,7 @@
}
.t-button--variant-outline {
border-color: var(--td-gray-color-2);
border-color: var(--td-gray-color-2) !important;
}
.t-button--variant-base.t-button--theme-primary {
......@@ -39,7 +39,7 @@
border-color: none;
}
.t-is-error .t-form__controls-content .t-input--focused {
.t-input--focused {
box-shadow: none !important;
}
......@@ -71,7 +71,7 @@ p {
.t-input,
.t-textarea__inner {
border-color: var(--td-gray-color-2);
border-color: var(--td-gray-color-2) !important;
}
// 表格
......@@ -102,7 +102,7 @@ p {
td {
border: none;
font-size: 13px;
padding: 10px 16px;
padding: 10px 16px !important;
}
.t-table__content {
......@@ -115,11 +115,11 @@ p {
.t-dialog-new-class {
.t-dialog__body__icon {
color: var(--td-font-gray-2);
color: var(--td-font-gray-2) !important;
}
.t-button {
background-color: var(--td-gray-color-1);
background-color: var(--td-gray-color-1) !important;
}
}
......
......@@ -2,14 +2,14 @@
* @Author: xiejiang
* @Date: 2024-12-01 10:26:11
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 18:43:44
* @LastEditTime: 2024-12-11 21:56:56
* @Description: 新增编辑角色
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
<template>
<div class="bg-white h-full p-[12px] institution-edit">
<Back />
<t-form ref="formRef" label-align="top" class="form-class pt-[24px]" :rules="rules" :data="formData">
<t-form ref="formRef" label-align="top" class="form-class !pt-[24px]" :rules="rules" :data="formData">
<t-form-item label="机构名称" name="companyName">
<t-input maxlength="20" v-model="formData.companyName" placeholder="请输入机构名称"> </t-input>
</t-form-item>
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-11-05 10:14:56
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 17:20:34
* @LastEditTime: 2024-12-11 22:15:15
* @Description: 登录
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
......@@ -58,7 +58,11 @@
</span>
</t-form-item>
<t-form-item>
<t-button class="mt-[60px] w-full text-[16px]" :disabled="isLoginButtonDisable" type="submit" size="large"
<t-button
class="!mt-[60px] !w-full !text-[16px]"
:disabled="isLoginButtonDisable"
type="submit"
size="large"
>登 录</t-button
>
</t-form-item>
......@@ -266,7 +270,7 @@ const onSubmit: FormProps['onSubmit'] = ({ validateResult }) => {
justify-content: center;
&-form {
margin-top: 32px;
margin-top: 56px;
:deep(.t-input__wrap) {
flex: 1;
......
......@@ -2,13 +2,13 @@
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 20:00:34
* @LastEditTime: 2024-12-11 21:51:44
* @Description: 菜单管理
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
<template>
<div class="h-full overflow-auto">
<t-tabs class="px-[16px]" v-model="tabValue" :on-change="onTabChange">
<t-tabs class="!px-[16px]" v-model="tabValue" :on-change="onTabChange">
<t-tab-panel :value="0" label="平台菜单" :destroy-on-hide="false" />
<t-tab-panel :value="1" :disabled="true" label="机构菜单" :destroy-on-hide="false" />
</t-tabs>
......
......@@ -2,13 +2,13 @@
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 20:00:51
* @LastEditTime: 2024-12-11 21:51:06
* @Description: 版本管理
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
<template>
<div class="h-full overflow-auto">
<t-tabs class="px-[16px]" v-model="tabValue" :on-change="onTabChange">
<t-tabs class="!px-[16px]" v-model="tabValue" :on-change="onTabChange">
<t-tab-panel :value="1" label="平台端" :destroy-on-hide="false" />
</t-tabs>
......
......@@ -10,7 +10,7 @@
@close="close"
>
<InfoLable class="mb-[20px]" label="当前终端" :value="props.tabType == 1 ? '平台端' : '机构端'" />
<t-form ref="formRef" label-align="top" class="form pt-[20px]" :rules="rules" :data="formData">
<t-form ref="formRef" label-align="top" class="form !pt-[20px]" :rules="rules" :data="formData">
<t-form-item label="版本号" name="version">
<t-input maxlength="20" v-model="formData.version" placeholder="请输入版本号"> </t-input>
</t-form-item>
......
......@@ -9,7 +9,7 @@
<template>
<div class="authority h-full bg-white">
<div class="left">
<SearchWithButton width="240px" placeholder="搜索角色" v-model="roleName" @on-search="handleSearch" />
<SearchWithButton width="250px" placeholder="搜索角色" v-model="roleName" @on-search="handleSearch" />
<!-- <div class="role-add" @click="dialogVisible = true">+ 创建角色</div> -->
<ul class="left-list" v-loading="loading">
<li
......@@ -34,7 +34,7 @@
<!-- 功能权限 -->
<div v-show="tabValue === 1">
<SearchWithButton
width="240px"
width="250px"
class="m-[16px]"
placeholder="搜索菜单功能名称"
v-model="condMenuName"
......@@ -71,7 +71,7 @@
</div>
<FooterFixBtn>
<template #button>
<t-button variant="outline" class="mr-[16px]" @click="handleClear">{{
<t-button variant="outline" class="!mr-[16px]" @click="handleClear">{{
tabValue === 1 ? '清空' : '应用至其他菜单'
}}</t-button>
<t-button theme="primary" :loading="submitLoading" @click="handleConfirm"> 保存</t-button></template
......
......@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Date: 2024-12-05 17:16:22
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 17:31:53
* @LastEditTime: 2024-12-11 22:31:51
* @Description: 功能权限
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
......@@ -30,7 +30,7 @@
:key="it.menuId"
v-model="it.selected"
@change="handleSelectAll(it)"
class="mr-[20px] my-[7px]"
class="!mr-[20px] !my-[7px]"
/>
</div>
</div>
......@@ -182,14 +182,18 @@ defineExpose({
display: flex;
flex-wrap: wrap;
align-items: center;
:deep(.t-checkbox) {
margin: 7px 10px 7px 0;
}
}
:deep(.t-collapse-panel) {
.t-collapse-panel__header {
padding: 8px;
margin-top: -1px;
background: var(--td-brand-color-12);
border: 1px solid var(--td-border);
background: var(--td-brand-color-12) !important;
border: 1px solid var(--td-border) !important;
}
.t-collapse-panel__content {
......
......@@ -28,7 +28,7 @@
<div class="flex items-center mb-[24px]">
<span class="mr-[38px]">通用范围</span>
<t-checkbox class="text-[var(--td-font-gray-2)]" :default-checked="true" readonly>本人创建数据</t-checkbox>
<t-checkbox class="!text-[var(--td-font-gray-2)]" :default-checked="true" readonly>本人创建数据</t-checkbox>
</div>
<div class="flex mb-[24px] w-full">
<span class="mr-[20px]">自定义范围</span>
......
/*
* @Author: xiejiang
* @Date: 2024-12-08 09:25:35
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 21:25:03
* @Description:
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
*/
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
......@@ -67,6 +75,7 @@ export default {
}
},
plugins: [],
// important: true, // 解决 覆盖不了问题
corePlugins: {
preflight: false
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论