mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 细节完善
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="mb-6px px-4px cursor-pointer" @mouseenter="setTrue" @mouseleave="setFalse">
|
||||
<div
|
||||
class="flex-center flex-col py-12px rounded-2px"
|
||||
:class="{ 'text-primary bg-primary-active': isActive, 'text-primary': isHover }"
|
||||
class="flex-center flex-col py-12px rounded-2px bg-transparent transition-colors duration-300 ease-in-out"
|
||||
:class="{ 'text-primary !bg-primary-active': isActive, 'text-primary': isHover }"
|
||||
>
|
||||
<component :is="icon" :class="[isMini ? 'text-16px' : 'text-20px']" />
|
||||
<p
|
||||
|
@ -39,7 +39,7 @@ export default class CustomAxiosInstance {
|
||||
const handleConfig = { ...config };
|
||||
if (handleConfig.headers) {
|
||||
// 数据转换
|
||||
const contentType = handleConfig.headers['Content-Type'];
|
||||
const contentType = handleConfig.headers['Content-Type'] as string;
|
||||
handleConfig.data = await transformRequestData(handleConfig.data, contentType);
|
||||
// 设置token
|
||||
handleConfig.headers.Authorization = getToken();
|
||||
|
@ -3,24 +3,28 @@ import type { ThemeSetting } from '@/interface';
|
||||
|
||||
const themeColorList = [
|
||||
'#1890ff',
|
||||
'#009688',
|
||||
'#536dfe',
|
||||
'#409EFF',
|
||||
'#ff5c93',
|
||||
'#0960bd',
|
||||
'#ee4f12',
|
||||
'#007AFF',
|
||||
'#2d8cf0',
|
||||
'#409EFF',
|
||||
'#536dfe',
|
||||
'#5856D6',
|
||||
'#0096c7',
|
||||
'#9c27b0',
|
||||
'#ff9800',
|
||||
'#FF3D68',
|
||||
'#00C1D4',
|
||||
'#009688',
|
||||
'#5AC8FA',
|
||||
'#34C759',
|
||||
'#71EFA3',
|
||||
'#171010',
|
||||
'#78DEC7',
|
||||
'#1768AC',
|
||||
'#FC5404',
|
||||
'#ee4f12',
|
||||
'#FF9500',
|
||||
'#fadb14',
|
||||
'#FC5404'
|
||||
'#FFCC00',
|
||||
'#FF3B30',
|
||||
'#FF2D55',
|
||||
'#ff5c93',
|
||||
'#9c27b0',
|
||||
'#AF52DE'
|
||||
];
|
||||
|
||||
const defaultThemeSetting: ThemeSetting = {
|
||||
|
Reference in New Issue
Block a user