调整地图字体大小

This commit is contained in:
quantulr
2024-02-29 17:24:49 +08:00
parent 1228cceb41
commit dc29644a2e
2 changed files with 59 additions and 59 deletions

View File

@ -526,7 +526,7 @@ watch(mapIndex, (newVal, oldVal) => {
top: 20px; top: 20px;
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 36px; font-size: 24px;
font-family: Source Han Sans CN, sans-serif; font-family: Source Han Sans CN, sans-serif;
font-weight: 300; font-weight: 300;
color: #ffffff; color: #ffffff;
@ -565,16 +565,16 @@ watch(mapIndex, (newVal, oldVal) => {
.th { .th {
display: flex; display: flex;
color: white; color: white;
font-size: 14px;
.title, .title,
.count { .count {
width: 100px; width: 60px;
padding: 8px 12px; padding: 8px 12px;
text-align: center; text-align: center;
} }
.title { .title {
width: 80px; width: 120px;
border-right: 1px solid #0054ff; border-right: 1px solid #0054ff;
word-break: break-all; word-break: break-all;
} }

View File

@ -1,11 +1,11 @@
import { defineConfig, loadEnv } from "vite"; import {defineConfig, loadEnv} from "vite";
import path from "path"; import path from "path";
import createVitePlugins from "./vite/plugins"; import createVitePlugins from "./vite/plugins";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig(({ mode, command }) => { export default defineConfig(({mode, command}) => {
const env = loadEnv(mode, process.cwd()); const env = loadEnv(mode, process.cwd());
const { VITE_APP_ENV } = env; const {VITE_APP_ENV} = env;
return { return {
// 部署生产环境和开发环境下的URL。 // 部署生产环境和开发环境下的URL。
// 默认情况下vite 会假设你的应用是被部署在一个域名的根路径上 // 默认情况下vite 会假设你的应用是被部署在一个域名的根路径上
@ -32,7 +32,7 @@ export default defineConfig(({ mode, command }) => {
// https://cn.vitejs.dev/config/#server-proxy // https://cn.vitejs.dev/config/#server-proxy
"/dev-api": { "/dev-api": {
// target: "http://101.34.131.16:1618", // target: "http://101.34.131.16:1618",
target: "http://119.45.197.174:81/api", target: "http://129.211.170.150/api",
// target: "http://192.168.0.201:1618", // target: "http://192.168.0.201:1618",
// target: 'http://172.18.3.127:1618', // target: 'http://172.18.3.127:1618',
changeOrigin: true, changeOrigin: true,