乐企第一次提交

This commit is contained in:
2025-07-09 15:36:17 +08:00
commit d8bd3d7624
349 changed files with 20563 additions and 0 deletions

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
# @see: http://editorconfig.org
root = true
[*] # 表示所有文件适用
charset = utf-8 # 设置文件字符集为 utf-8
end_of_line = lf # 控制换行类型(lf | cr | crlf)
insert_final_newline = true # 始终在文件末尾插入一个新行
indent_style = space # 缩进风格tab | space
indent_size = 2 # 缩进大小
max_line_length = 130 # 最大行长度
[*.md] # 表示仅对 md 文件适用以下规则
max_line_length = off # 关闭最大行长度限制
trim_trailing_whitespace = false # 关闭末尾空格修剪

11
.env Normal file
View File

@@ -0,0 +1,11 @@
# title
VITE_GLOB_APP_TITLE = F2B211发票管理平台
# 本地运行端口号
VITE_PORT = 8080
# 启动时自动打开浏览器
VITE_OPEN = true
# 打包后是否生成包分析文件
VITE_REPORT = true

29
.env.development Normal file
View File

@@ -0,0 +1,29 @@
ENV = 'dev'
VITE_APP_API_VERSION = ""
VITE_APP_API_BASEURL = https://dev.leqi.api.f2b211.com/v1/
VITE_APP_SSO_LOGINURL = http://dev.uc.v3.f2b211.com/uc/login #// http://dev.uc.f2b211.com/index.php/uc/user/login.html
VITE_APP_SSO_APPID = 100905298197217281
VITE_REDIRECT_URL = http://localhost:8080/login
#VITE_REDIRECT_URL = http://dev.leqi.f2b211.com/login #单点从定向地址
VITE_SINGLE_URL = https://dev.uc.v3.f2b211.com/ #单点登录通知
# 本地环境
VITE_USER_NODE_ENV = development
# 公共基础路径
VITE_PUBLIC_PATH = /
# 打包时是否删除 console
VITE_DROP_CONSOLE = true
# 是否开启 VitePWA
VITE_PWA = false
# 开发环境接口地址
VITE_API_URL = /api
# 开发环境跨域代理,支持配置多个
VITE_PROXY = [["/api","https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"]]
# VITE_PROXY = [["/api","https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0"]]
# VITE_PROXY = [["/api-easymock","https://mock.mengxuegu.com"],["/api-fastmock","https://www.fastmock.site"]]

32
.env.production Normal file
View File

@@ -0,0 +1,32 @@
ENV = 'production'
VITE_APP_API_VERSION = ""
VITE_APP_API_BASEURL = https://leqi.api.f2b211.com/v1/
VITE_APP_SSO_LOGINURL = https://uc.v3.f2b211.com/uc/login #// http://dev.uc.f2b211.com/index.php/uc/user/login.html
VITE_APP_SSO_APPID = 100664627590856708
#VITE_REDIRECT_URL = http://localhost:8080/login
VITE_REDIRECT_URL = http://leqi.f2b211.com/login #单点从定向地址
#VITE_SINGLE_URL = https://dev.uc.v3.f2b211.com/ #单点登录通知
# 线上环境
VITE_USER_NODE_ENV = production
# 公共基础路径
VITE_PUBLIC_PATH = /
# 是否启用 gzip 或 brotli 压缩打包,如果需要多个压缩规则,可以使用 “,” 分隔
# Optional: gzip | brotli | none
VITE_BUILD_COMPRESS = none
# 打包压缩后是否删除源文件
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# 打包时是否删除 console
VITE_DROP_CONSOLE = true
# 是否开启 VitePWA
VITE_PWA = true
# 线上环境接口地址
VITE_API_URL = "https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"

29
.env.test Normal file
View File

@@ -0,0 +1,29 @@
ENV = 'test'
VITE_APP_API_VERSION = ""
VITE_APP_API_BASEURL = https://dev.leqi.f2b211.com/v1/
VITE_APP_SSO_LOGINURL = http://dev.uc.v3.f2b211.com/uc/login #// http://dev.uc.f2b211.com/index.php/uc/user/login.html
VITE_APP_SSO_APPID = 100905298197217281
VITE_REDIRECT_URL = http://dev.leqi.f2b211.com/adm/login #单点从定向地址
VITE_SINGLE_URL = https://dev.uc.v3.f2b211.com/ #单点登录通知
# 测试环境
VITE_USER_NODE_ENV = test
# 公共基础路径
VITE_PUBLIC_PATH = /
# 是否启用 gzip 或 brotli 压缩打包,如果需要多个压缩规则,可以使用 “,” 分隔
# Optional: gzip | brotli | none
VITE_BUILD_COMPRESS = none
# 打包压缩后是否删除源文件
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# 打包时是否删除 console
VITE_DROP_CONSOLE = true
# 是否开启 VitePWA
VITE_PWA = false
# 测试环境接口地址
VITE_API_URL = "https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0"

16
.eslintignore Normal file
View File

@@ -0,0 +1,16 @@
*.sh
node_modules
*.md
*.woff
*.ttf
.vscode
.idea
dist
/public
/docs
.husky
.local
/bin
/src/mock/*
stats.html
/src/assets

66
.eslintrc.cjs Normal file
View File

@@ -0,0 +1,66 @@
// @see: http://eslint.cn
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true
},
// 指定如何解析语法
parser: "vue-eslint-parser",
// 优先级低于 parse 的语法解析配置
parserOptions: {
parser: "@typescript-eslint/parser",
ecmaVersion: 2020,
sourceType: "module",
jsxPragma: "React",
ecmaFeatures: {
jsx: true
}
},
// 继承某些已有的规则
extends: ["plugin:vue/vue3-recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
/**
* "off" 或 0 ==> 关闭规则
* "warn" 或 1 ==> 打开的规则作为警告(不影响代码执行)
* "error" 或 2 ==> 规则作为一个错误(代码不能执行,界面报错)
*/
rules: {
// eslint (http://eslint.cn/docs/rules)
"no-var": "error", // 要求使用 let 或 const 而不是 var
"no-multiple-empty-lines": ["error", { max: 1 }], // 不允许多个空行
"prefer-const": "off", // 使用 let 关键字声明但在初始分配后从未重新分配的变量,要求使用 const
"no-use-before-define": "off", // 禁止在 函数/类/变量 定义之前使用它们
//import.meta.env.ENV process.env.NODE_ENV
// typeScript (https://typescript-eslint.io/rules)
"@typescript-eslint/no-unused-vars": "error",
//'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
// "@typescript-eslint/no-unused-vars": "error", // 禁止定义未使用的变量
"@typescript-eslint/prefer-ts-expect-error": "error", // 禁止使用 @ts-ignore
"@typescript-eslint/ban-ts-comment": "error", // 禁止 @ts-<directive> 使用注释或要求在指令后进行描述
"@typescript-eslint/no-inferrable-types": "off", // 可以轻松推断的显式类型可能会增加不必要的冗长
"@typescript-eslint/no-namespace": "off", // 禁止使用自定义 TypeScript 模块和命名空间
"@typescript-eslint/no-explicit-any": "off", // 禁止使用 any 类型
"@typescript-eslint/ban-types": "off", // 禁止使用特定类型
"@typescript-eslint/no-var-requires": "off", // 允许使用 require() 函数导入模块
"@typescript-eslint/no-empty-function": "off", // 禁止空函数
"@typescript-eslint/no-non-null-assertion": "off", // 不允许使用后缀运算符的非空断言(!)
// vue (https://eslint.vuejs.org/rules)
"vue/script-setup-uses-vars": "error", // 防止<script setup>使用的变量<template>被标记为未使用此规则仅在启用该no-unused-vars规则时有效
"vue/v-slot-style": "off", // 强制执行 v-slot 指令样式 要开启
"vue/valid-v-slot": "off", //要开启
"vue/no-mutating-props": "error", // 不允许改变组件 prop
"vue/custom-event-name-casing": "error", // 为自定义事件名称强制使用特定大小写
"vue/html-closing-bracket-newline": "off", // 在标签的右括号之前要求或禁止换行
"vue/attribute-hyphenation": "off", // 对模板中的自定义组件强制执行属性命名样式my-prop="prop"
"vue/attributes-order": "off", // vue api使用顺序强制执行属性顺序
"vue/no-v-html": "off", // 禁止使用 v-html
"vue/require-default-prop": "off", // 此规则要求为每个 prop 为必填时,必须提供默认值
"vue/multi-word-component-names": "off", // 要求组件名称始终为 “-” 链接的单词
"vue/v-on-event-hyphenation": "off", //对模板中的自定义方法强制执行命名样式my-prop="prop"
"vue/no-dupe-keys": "off" // 要开启
}
};
// console.log(import.meta.env, process.env.NODE_ENV, "===有吗===");

26
.gitignore vendored Normal file
View File

@@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
stats.html
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

4
.husky/commit-msg Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no-install commitlint --edit $1

4
.husky/pre-commit Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run lint:lint-staged

10
.prettierignore Normal file
View File

@@ -0,0 +1,10 @@
/dist/*
.local
/node_modules/**
**/*.svg
**/*.sh
/public/*
stats.html
/src/assets

41
.prettierrc.cjs Normal file
View File

@@ -0,0 +1,41 @@
// @see: https://www.prettier.cn
module.exports = {
// 指定最大换行长度
printWidth: 130,
// 缩进制表符宽度 | 空格数
tabWidth: 4,
// 使用制表符而不是空格缩进行 (true制表符false空格)
useTabs: false,
// 结尾不用分号 (truefalse没有)
semi: true,
// 使用单引号 (true单引号false双引号)
singleQuote: false,
// 在对象字面量中决定是否将属性名用引号括起来 可选值 "<as-needed|consistent|preserve>"
quoteProps: "as-needed",
// 在JSX中使用单引号而不是双引号 (true单引号false双引号)
jsxSingleQuote: false,
// 多行时尽可能打印尾随逗号 可选值"<none|es5|all>"
trailingComma: "none",
// 在对象,数组括号与文字之间加空格 "{ foo: bar }" (truefalse没有)
bracketSpacing: true,
// 将 > 多行元素放在最后一行的末尾,而不是单独放在下一行 (true放末尾false单独一行)
bracketSameLine: false,
// (x) => {} 箭头函数参数只有一个时是否要有小括号 (avoid省略括号always不省略括号)
arrowParens: "avoid",
// 指定要使用的解析器,不需要写文件开头的 @prettier
requirePragma: false,
// 可以在文件顶部插入一个特殊标记,指定该文件已使用 Prettier 格式化
insertPragma: false,
// 用于控制文本是否应该被换行以及如何进行换行
proseWrap: "preserve",
// 在html中空格是否是敏感的 "css" - 遵守 CSS 显示属性的默认值, "strict" - 空格被认为是敏感的 "ignore" - 空格被认为是不敏感的
htmlWhitespaceSensitivity: "css",
// 控制在 Vue 单文件组件中 <script> 和 <style> 标签内的代码缩进方式
vueIndentScriptAndStyle: false,
// 换行符使用 lf 结尾是 可选值 "<auto|lf|crlf|cr>"
endOfLine: "auto",
// 这两个选项可用于格式化以给定字符偏移量(分别包括和不包括)开始和结束的代码 (rangeStart开始rangeEnd结束)
rangeStart: 0,
rangeEnd: Infinity
};

5
.stylelintignore Normal file
View File

@@ -0,0 +1,5 @@
/dist/*
/public/*
public/*
stats.html

40
.stylelintrc.cjs Normal file
View File

@@ -0,0 +1,40 @@
// @see: https://stylelint.io
module.exports = {
root: true,
// 继承某些已有的规则
extends: [
"stylelint-config-standard", // 配置 stylelint 拓展插件
"stylelint-config-html/vue", // 配置 vue 中 template 样式格式化
"stylelint-config-standard-scss", // 配置 stylelint scss 插件
"stylelint-config-recommended-vue/scss", // 配置 vue 中 scss 样式格式化
"stylelint-config-recess-order" // 配置 stylelint css 属性书写顺序插件,
],
overrides: [
// 扫描 .vue/html 文件中的 <style> 标签内的样式
{
files: ["**/*.{vue,html}"],
customSyntax: "postcss-html"
}
],
rules: {
"function-url-quotes": "always", // URL 的引号 "always(必须加上引号)"|"never(没有引号)"
"color-hex-length": "long", // 指定 16 进制颜色的简写或扩写 "short(16进制简写)"|"long(16进制扩写)"
"rule-empty-line-before": "never", // 要求或禁止在规则之前的空行 "always(规则之前必须始终有一个空行)"|"never(规则前绝不能有空行)"|"always-multi-line(多行规则之前必须始终有一个空行)"|"never-multi-line(多行规则之前绝不能有空行)"
"font-family-no-missing-generic-family-keyword": null, // 禁止在字体族名称列表中缺少通用字体族关键字
"scss/at-import-partial-extension": null, // 解决不能使用 @import 引入 scss 文件
"property-no-unknown": null, // 禁止未知的属性
"no-empty-source": null, // 禁止空源码
"selector-class-pattern": null, // 强制选择器类名的格式
"value-no-vendor-prefix": null, // 关闭 vendor-prefix (为了解决多行省略 -webkit-box)
"no-descending-specificity": null, // 不允许较低特异性的选择器出现在覆盖较高特异性的选择器
"value-keyword-case": null, // 解决在 scss 中使用 v-bind 大写单词报错
"selector-pseudo-class-no-unknown": [
true,
{
ignorePseudoClasses: ["global", "v-deep", "deep"]
}
]
},
ignoreFiles: ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts"]
};

14
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"recommendations": [
"vue.volar",
"vue.vscode-typescript-vue-plugin",
"hollowtree.vue-snippets",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker",
"syler.sass-indented",
"mikestead.dotenv"
]
}

90
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,90 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit"
},
"stylelint.enable": true,
"stylelint.validate": ["css", "less", "postcss", "scss", "vue", "sass", "html"],
"files.eol": "\n",
"typescript.tsdk": "node_modules/typescript/lib",
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": [
"AMAP",
"apng",
"axios",
"Biao",
"brotli",
"cascader",
"commitlint",
"contentleft",
"contentright",
"daterange",
"datetimerange",
"echarts",
"fangda",
"Gitee",
"hexs",
"iconfont",
"juejin",
"liquidfill",
"longpress",
"monthrange",
"nprogress",
"officedocument",
"openxmlformats",
"ops",
"Pageable",
"persistedstate",
"pinia",
"pjpeg",
"Prefixs",
"Relust",
"sortablejs",
"sousuo",
"spreadsheetml",
"styl",
"stylelint",
"stylelintignore",
"stylelintrc",
"suoxiao",
"truetype",
"unplugin",
"VITE",
"vuedraggable",
"vueuse",
"Vuex",
"wangeditor",
"xiaoxi",
"zhongyingwen",
"zhuti"
]
}

58
README.md Normal file
View File

@@ -0,0 +1,58 @@
# 乐企开票管理
### 本项目已经全部引入ts对接了单点动态路由配置基础框架已建立
## 对接金蝶开票和公司业务不及时问题,方便操作
# 项目图片
![输入图片说明](public/image.png)
# node 版本
16.12.0
# nrm 安装(镜像源管理)
npm i -g nrm
npm use taobao
# 依赖安装
npm i
# 运行
npm run dev (开发)
npm run build:test(测试)
npm run build:pro(生产)
npm run lint:prettier(修复 prettier 报错)
npm run lint:stylelint(修复 样式 报错)
npm run lint:eslint(修复 eslint 报错)
# 环境配置(多公司多请求地址后会走代理)
env.test(测试)
env.development(开发)
env.production(生产)
# 提交(已添加提交规范)
npm run commit
# 分支说明 dev->test->pro
matser模板分支只有项目模板方便以后通用禁止将代码合并到 matser
pro (生产分支,用于生产环境,来源于合并 test 分支)
test (测试分支,用于测试环境,来源于合并 dev 分支)
dev(开发分支,用于开环境、解决冲突,来源于其他开发分支)
分支拉取请从 pro 分支进行拉取!
冲突请在 dev 分支解决,解决冲突后再合并测试分支

46
build/getEnv.ts Normal file
View File

@@ -0,0 +1,46 @@
import path from "path";
export function isDevFn(mode: string): boolean {
return mode === "development";
}
export function isProdFn(mode: string): boolean {
return mode === "production";
}
export function isTestFn(mode: string): boolean {
return mode === "test";
}
/**
* Whether to generate package preview
*/
export function isReportMode(): boolean {
return process.env.VITE_REPORT === "true";
}
// Read all environment variable configuration files to process.env
export function wrapperEnv(envConf: Recordable): ViteEnv {
const ret: any = {};
for (const envName of Object.keys(envConf)) {
let realName = envConf[envName].replace(/\\n/g, "\n");
realName = realName === "true" ? true : realName === "false" ? false : realName;
if (envName === "VITE_PORT") realName = Number(realName);
if (envName === "VITE_PROXY") {
try {
realName = JSON.parse(realName);
} catch (error) {}
}
ret[envName] = realName;
}
return ret;
}
/**
* Get user root directory
* @param dir file path
*/
export function getRootPath(...dir: string[]) {
return path.resolve(process.cwd(), ...dir);
}

144
build/plugins.ts Normal file
View File

@@ -0,0 +1,144 @@
import { resolve } from "path";
import { PluginOption } from "vite";
import { VitePWA } from "vite-plugin-pwa";
import { visualizer } from "rollup-plugin-visualizer";
import { createHtmlPlugin } from "vite-plugin-html";
import { createSvgIconsPlugin } from "vite-plugin-svg-icons";
import vue from "@vitejs/plugin-vue";
import vueJsx from "@vitejs/plugin-vue-jsx";
import eslintPlugin from "vite-plugin-eslint";
import viteCompression from "vite-plugin-compression";
import vueSetupExtend from "unplugin-vue-setup-extend-plus/vite";
// 自动导入vue中hook reactive ref等
import AutoImport from "unplugin-auto-import/vite";
// 自动导入ui-组件 比如说ant-design-vue element-plus等
import Components from "unplugin-vue-components/vite";
// element
import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
// 导入图标
import Icons from "unplugin-icons/vite";
import IconsResolver from "unplugin-icons/resolver";
/**
* 创建 vite 插件
* @param viteEnv
*/
export const createVitePlugins = (viteEnv: ViteEnv): (PluginOption | PluginOption[])[] => {
const { VITE_GLOB_APP_TITLE, VITE_REPORT, VITE_PWA } = viteEnv;
return [
vue(),
// vue 可以使用 jsx/tsx 语法
vueJsx(),
// esLint 报错信息显示在浏览器界面上
eslintPlugin(),
// name 可以写在 script 标签上
vueSetupExtend({}),
// 创建打包压缩配置
createCompression(viteEnv),
// 注入变量到 html 文件
createHtmlPlugin({
inject: {
data: { title: VITE_GLOB_APP_TITLE }
}
}),
// 使用 svg 图标
createSvgIconsPlugin({
iconDirs: [resolve(process.cwd(), "src/assets/icons")],
symbolId: "icon-[dir]-[name]"
}),
// element按需导入
AutoImport({
// 安装两行后你会发现在组件中不用再导入refreactive等
imports: ["vue", "vue-router"],
dts: "src/auto-import.d.ts",
// element
resolvers: [
ElementPlusResolver({ importStyle: "sass" }),
IconsResolver({
prefix: "Icon"
})
]
}),
Components({
// element
resolvers: [
ElementPlusResolver({ importStyle: "sass" }),
IconsResolver({
enabledCollections: ["ep"]
})
],
// 默认存放位置
dts: "src/components.d.ts"
}),
Icons({
autoInstall: true
}),
// vitePWA
VITE_PWA && createVitePwa(viteEnv),
// 是否生成包预览,分析依赖包大小做优化处理
VITE_REPORT && (visualizer({ filename: "stats.html", gzipSize: true, brotliSize: true }) as PluginOption)
];
};
/**
* @description 根据 compress 配置,生成不同的压缩规则
* @param viteEnv
*/
const createCompression = (viteEnv: ViteEnv): PluginOption | PluginOption[] => {
const { VITE_BUILD_COMPRESS = "none", VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE } = viteEnv;
const compressList = VITE_BUILD_COMPRESS.split(",");
const plugins: PluginOption[] = [];
if (compressList.includes("gzip")) {
plugins.push(
viteCompression({
ext: ".gz",
algorithm: "gzip",
deleteOriginFile: VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE
})
);
}
if (compressList.includes("brotli")) {
plugins.push(
viteCompression({
ext: ".br",
algorithm: "brotliCompress",
deleteOriginFile: VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE
})
);
}
return plugins;
};
/**
* @description VitePwa
* @param viteEnv
*/
const createVitePwa = (viteEnv: ViteEnv): PluginOption | PluginOption[] => {
const { VITE_GLOB_APP_TITLE } = viteEnv;
return VitePWA({
registerType: "autoUpdate",
manifest: {
name: VITE_GLOB_APP_TITLE,
short_name: VITE_GLOB_APP_TITLE,
theme_color: "#ffffff",
icons: [
{
src: "/logo.png",
sizes: "192x192",
type: "image/png"
},
{
src: "/logo.png",
sizes: "512x512",
type: "image/png"
},
{
src: "/logo.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable"
}
]
}
});
};

30
build/proxy.ts Normal file
View File

@@ -0,0 +1,30 @@
import type { ProxyOptions } from "vite";
type ProxyItem = [string, string];
type ProxyList = ProxyItem[];
type ProxyTargetList = Record<string, ProxyOptions>;
/**
* 创建代理,用于解析 .env.development 代理配置
* @param list
*/
export function createProxy(list: ProxyList = []) {
const ret: ProxyTargetList = {};
for (const [prefix, target] of list) {
const httpsRE = /^https:\/\//;
const isHttps = httpsRE.test(target);
// https://github.com/http-party/node-http-proxy#options
ret[prefix] = {
target: target,
changeOrigin: true,
ws: true,
rewrite: path => path.replace(new RegExp(`^${prefix}`), ""),
// https is require secure=false
...(isHttps ? { secure: false } : {})
};
}
return ret;
}

162
commitlint.config.cjs Normal file
View File

@@ -0,0 +1,162 @@
// @see: https://cz-git.qbenben.com/zh/guide
const fs = require("fs");
const path = require("path");
const scopes = fs
.readdirSync(path.resolve(__dirname, "src"), { withFileTypes: true })
.filter(dirent => dirent.isDirectory())
.map(dirent => dirent.name.replace(/s$/, ""));
/** @type {import('cz-git').UserConfig} */
module.exports = {
ignores: [commit => commit.includes("init")],
extends: ["@commitlint/config-conventional"],
rules: {
// @see: https://commitlint.js.org/#/reference-rules
"body-leading-blank": [2, "always"],
"footer-leading-blank": [1, "always"],
"header-max-length": [2, "always", 108],
"subject-empty": [2, "never"],
"type-empty": [2, "never"],
"subject-case": [0],
"type-enum": [
2,
"always",
[
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert",
"wip",
"workflow",
"types",
"release"
]
]
},
prompt: {
messages: {
type: "Select the type of change that you're committing:",
scope: "Denote the SCOPE of this change (optional):",
customScope: "Denote the SCOPE of this change:",
subject: "Write a SHORT, IMPERATIVE tense description of the change:\n",
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
breaking: 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
footerPrefixsSelect: "Select the ISSUES type of changeList by this change (optional):",
customFooterPrefixs: "Input ISSUES prefix:",
footer: "List any ISSUES by this change. E.g.: #31, #34:\n",
confirmCommit: "Are you sure you want to proceed with the commit above?"
// 中文版
// type: "选择你要提交的类型 :",
// scope: "选择一个提交范围(可选):",
// customScope: "请输入自定义的提交范围 :",
// subject: "填写简短精炼的变更描述 :\n",
// body: '填写更加详细的变更描述(可选)。使用 "|" 换行 :\n',
// breaking: '列举非兼容性重大的变更(可选)。使用 "|" 换行 :\n',
// footerPrefixsSelect: "选择关联issue前缀可选:",
// customFooterPrefixs: "输入自定义issue前缀 :",
// footer: "列举关联issue (可选) 例如: #31, #I3244 :\n",
// confirmCommit: "是否提交或修改commit ?"
},
types: [
// {
// value: "feat",
// name: "feat: 🚀 A new feature",
// emoji: "🚀"
// },
// {
// value: "fix",
// name: "fix: 🧩 A bug fix",
// emoji: "🧩"
// },
// {
// value: "docs",
// name: "docs: 📚 Documentation only changes",
// emoji: "📚"
// },
// {
// value: "style",
// name: "style: 🎨 Changes that do not affect the meaning of the code",
// emoji: "🎨"
// },
// {
// value: "refactor",
// name: "refactor: ♻️ A code change that neither fixes a bug nor adds a feature",
// emoji: "♻️"
// },
// {
// value: "perf",
// name: "perf: ⚡️ A code change that improves performance",
// emoji: "⚡️"
// },
// {
// value: "test",
// name: "test: ✅ Adding missing tests or correcting existing tests",
// emoji: "✅"
// },
// {
// value: "build",
// name: "build: 📦️ Changes that affect the build system or external dependencies",
// emoji: "📦️"
// },
// {
// value: "ci",
// name: "ci: 🎡 Changes to our CI configuration files and scripts",
// emoji: "🎡"
// },
// {
// value: "chore",
// name: "chore: 🔨 Other changes that don't modify src or test files",
// emoji: "🔨"
// },
// {
// value: "revert",
// name: "revert: ⏪️ Reverts a previous commit",
// emoji: "⏪️"
// },
// {
// value: "wip",
// name: "wip: 🕔 work in process",
// emoji: "🕔"
// },
// {
// value: "workflow",
// name: "workflow: 📋 workflow improvements",
// emoji: "📋"
// },
// {
// value: "type",
// name: "type: 🔰 type definition file changes",
// emoji: "🔰"
// }
// 中文版
{ value: "feat", name: "特性: 🚀 新增功能", emoji: "🚀" },
{ value: "fix", name: "修复: 🧩 修复缺陷", emoji: "🧩" },
{ value: "docs", name: "文档: 📚 文档变更", emoji: "📚" },
{ value: "style", name: "格式: 🎨 代码格式(不影响功能,例如空格、分号等格式修正)", emoji: "🎨" },
{ value: "refactor", name: "重构: ♻️ 代码重构(不包括 bug 修复、功能新增)", emoji: "♻️" },
{ value: "perf", name: "性能: ⚡️ 性能优化", emoji: "⚡️" },
{ value: "test", name: "测试: ✅ 添加疏漏测试或已有测试改动", emoji: "✅" },
{ value: "build", name: "构建: 📦️ 构建流程、外部依赖变更(如升级 npm 包、修改 webpack 配置等)", emoji: "📦️" },
{ value: "ci", name: "集成: 🎡 修改 CI 配置、脚本", emoji: "🎡" },
{ value: "chore", name: "回退: ⏪️ 回滚 commit", emoji: "⏪️" },
{ value: "revert", name: "其他: 🔨 对构建过程或辅助工具和库的更改(不影响源文件、测试用例)", emoji: "🔨" },
{ value: "wip", name: "开发: 🕔 正在开发中", emoji: "🕔" },
{ value: "workflow", name: "工作流: 📋 工作流程改进", emoji: "📋" },
{ value: "types", name: "类型: 🔰 类型定义文件修改", emoji: "🔰" }
],
useEmoji: true,
scopes: [...scopes],
customScopesAlign: "bottom",
emptyScopesAlias: "empty",
customScopesAlias: "custom",
allowBreakingChanges: ["feat", "fix"]
}
};

156
index.html Normal file
View File

@@ -0,0 +1,156 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/assets/images/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%- title %></title>
</head>
<body>
<div id="app">
<style>
html,
body,
#app {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font-size: 12px !important;
}
.loading-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.loading-box .loading-wrap {
display: flex;
align-items: center;
justify-content: center;
padding: 98px;
}
.dot {
position: relative;
box-sizing: border-box;
display: inline-block;
width: 32px;
height: 32px;
font-size: 32px;
transform: rotate(45deg);
animation: ant-rotate 1.2s infinite linear;
}
.dot i {
position: absolute;
display: block;
width: 14px;
height: 14px;
background-color: #409eff;
border-radius: 100%;
opacity: 0.3;
transform: scale(0.75);
transform-origin: 50% 50%;
animation: ant-spin-move 1s infinite linear alternate;
}
.dot i:nth-child(1) {
top: 0;
left: 0;
}
.dot i:nth-child(2) {
top: 0;
right: 0;
animation-delay: 0.4s;
}
.dot i:nth-child(3) {
right: 0;
bottom: 0;
animation-delay: 0.8s;
}
.dot i:nth-child(4) {
bottom: 0;
left: 0;
animation-delay: 1.2s;
}
@keyframes ant-rotate {
to {
transform: rotate(405deg);
}
}
@keyframes ant-spin-move {
to {
opacity: 1;
}
}
</style>
<div class="loading-box">
<div class="loading-wrap">
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
</div>
</div>
</div>
<script>
// 默认布局设置
const globalState = JSON.parse(window.localStorage.getItem("wms-global"));
if (globalState) {
const dot = document.querySelectorAll(".dot i");
const html = document.querySelector("html");
dot.forEach(item => (item.style.background = globalState.primary));
if (globalState.isDark) html.style.background = "#141414";
}
</script>
<script type="module" src="/src/main.ts"></script>
<script>
let wmsUser = JSON.parse(localStorage.getItem("wms-user"));
if (wmsUser) {
const { phpToken, refreshToken } = wmsUser;
function offline() {
// const pathurl = localStorage.getItem("baseUrl") + `uc/offline`;
// fetch(pathurl, {
// method: "POST",
// credentials: "include",
// keepalive: true,
// headers: {
// Authorization: phpToken,
// "Refresh-Authorization": refreshToken
// }
// });
}
window.onbeforeunload = function (e) {
// offline();
};
// window.addEventListener("beforeunload", event => {
// offline();
// });
var ua = window.navigator.userAgent.toLowerCase();
var rkn =
/\b(opera|chrome|webkit|safari|msie|firefox|gecko|qqbrowser|edg)\b(\s*(version|rv:|\/)*(\d+(\.\d+)*))?/g;
window.addEventListener("mouseover", function () {
// window.removeEventListener("beforeunload", offline, true);
// ua.replace(rkn, function (match, type, all, rv, version) {
// if (type == "chrome" && parseInt(version) <= 86) {
// window.removeEventListener("unload", offline, true);
// }
// });
});
window.addEventListener("mouseout", function () {
// window.addEventListener("beforeunload", offline, true);
// ua.replace(rkn, function (match, type, all, rv, version) {
// if (type == "qqbrowser" || type == "edg" || (type == "chrome" && parseInt(version) <= 86)) {
// window.addEventListener("unload", offline, true);
// }
// });
});
if (window.location.pathnam !== "/login") {
// window.removeEventListener("beforeunload", offline);
// window.removeEventListener("unload", offline);
}
}
</script>
</body>
</html>

8
lint-staged.config.cjs Normal file
View File

@@ -0,0 +1,8 @@
module.exports = {
"*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": ["prettier --write--parser json"],
"package.json": ["prettier --write"],
"*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"],
"*.{scss,less,styl,html}": ["stylelint --fix", "prettier --write"],
"*.md": ["prettier --write"]
};

123
package.json Normal file
View File

@@ -0,0 +1,123 @@
{
"name": "ops_admin_ts",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"serve": "vite",
"build:dev": "vue-tsc && vite build --mode development",
"build:test": "vue-tsc && vite build --mode test",
"build:pro": "vue-tsc && vite build --mode production",
"type:check": "vue-tsc --noEmit --skipLibCheck",
"preview": "npm run build:dev && vite preview",
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged",
"prepare": "husky install",
"release": "standard-version",
"commit": "git add -A && czg && git push"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@types/decimal.js": "^7.4.0",
"@vueuse/core": "^10.1.2",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"async-validator": "^4.2.5",
"axios": "^1.4.0",
"dayjs": "^1.11.9",
"decimal": "^0.0.2",
"default-passive-events": "^2.0.0",
"driver.js": "^0.9.8",
"element-plus": "^2.3.4",
"file-saver": "^2.0.5",
"js-md5": "^0.7.3",
"jsbarcode": "^3.11.6",
"lodash-es": "^4.17.21",
"mitt": "^3.0.0",
"nprogress": "^0.2.0",
"pinia": "^2.1.3",
"pinia-plugin-persistedstate": "^3.1.0",
"print-js": "^1.6.0",
"qs": "^6.11.2",
"sortablejs": "^1.15.0",
"vue": "^3.3.4",
"vue-pdf-embed": "^1.2.1",
"vue-router": "^4.2.2",
"vuedraggable": "^4.1.0",
"vxe-table": "^4.5.0-beta.10",
"xe-utils": "^3.5.11",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@iconify-json/ep": "^1.1.10",
"@types/file-saver": "^2.0.5",
"@types/js-md5": "^0.7.0",
"@types/nprogress": "^0.2.0",
"@types/qs": "^6.9.7",
"@types/sortablejs": "^1.15.1",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"autoprefixer": "^10.4.14",
"cz-git": "^1.6.1",
"czg": "^1.6.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.14.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"postcss": "^8.4.23",
"postcss-html": "^1.5.0",
"prettier": "^2.8.8",
"qrcode": "^1.5.3",
"rollup-plugin-visualizer": "^5.9.0",
"sass": "^1.62.1",
"standard-version": "^9.5.0",
"stylelint": "^15.6.2",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.0.0",
"stylelint-config-recommended-scss": "^12.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-config-standard-scss": "^9.0.0",
"typescript": "^5.0.2",
"unplugin-auto-import": "^0.16.4",
"unplugin-icons": "^0.16.3",
"unplugin-vue-components": "^0.25.1",
"unplugin-vue-setup-extend-plus": "^1.0.0",
"vite": "^4.3.9",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-pwa": "^0.15.0",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^1.6.5"
},
"engines": {
"node": ">=16.0.0"
},
"browserslist": {
"production": [
"> 1%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}

5
postcss.config.cjs Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
};

BIN
public/image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

1
public/vue.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>

After

Width:  |  Height:  |  Size: 496 B

29
src/App.vue Normal file
View File

@@ -0,0 +1,29 @@
<template>
<el-config-provider :locale="locale" :size="assemblySize" :button="buttonConfig">
<router-view></router-view>
</el-config-provider>
</template>
<script setup lang="ts">
import { reactive, ref, computed } from "vue";
import { useTheme } from "@/hooks/useTheme";
import { ElConfigProvider } from "element-plus";
import { useGlobalStore } from "@/stores/modules/global";
import zhCn from "element-plus/es/locale/lang/zh-cn";
const globalStore = useGlobalStore();
// init theme
const { initTheme } = useTheme();
initTheme();
const locale = ref(zhCn);
// element assemblySize
const assemblySize = computed(() => globalStore.assemblySize);
// element button config
const buttonConfig = reactive({ autoInsertSpace: false });
</script>

View File

@@ -0,0 +1,3 @@
// 后端微服务模块前缀
export const PORT1 = "/api";
export const PORT2 = "/hooks";

View File

@@ -0,0 +1,47 @@
// ? 暂未使用,目前使用全局 Loading 来控制重复请求
import { CustomAxiosRequestConfig } from "../index";
import qs from "qs";
// 声明一个 Map 用于存储每个请求的标识 和 取消函数
let pendingMap = new Map<string, AbortController>();
// 序列化参数
export const getPendingUrl = (config: CustomAxiosRequestConfig) =>
[config.method, config.url, qs.stringify(config.data), qs.stringify(config.params)].join("&");
export class AxiosCanceler {
/**
* @description: 添加请求
* @param {Object} config
* @return void
*/
addPending(config: CustomAxiosRequestConfig) {
// 在请求开始前,对之前的请求做检查取消操作
this.removePending(config);
const url = getPendingUrl(config);
const controller = new AbortController();
config.signal = controller.signal;
pendingMap.set(url, controller);
}
/**
* @description: 移除请求
* @param {Object} config
*/
removePending(config: CustomAxiosRequestConfig) {
const url = getPendingUrl(config);
// 如果在 pending 中存在当前请求标识,需要取消当前请求
const controller = pendingMap.get(url);
controller && controller.abort();
}
/**
* @description: 清空所有pending
*/
removeAllPending() {
pendingMap.forEach(controller => {
controller && controller.abort();
});
pendingMap.clear();
}
}

View File

@@ -0,0 +1,43 @@
import { ElMessage } from "element-plus";
/**
* @description: 校验网络请求状态码
* @param {Number} status
* @return void
*/
export const checkStatus = (status: number) => {
switch (status) {
case 400:
ElMessage.error("请求失败!请您稍后重试");
break;
case 401:
ElMessage.error("登录失效!请您重新登录");
break;
case 403:
ElMessage.error("当前账号无权限访问!");
break;
case 404:
ElMessage.error("你所访问的资源不存在!");
break;
case 405:
ElMessage.error("请求方式错误!请您稍后重试");
break;
case 408:
ElMessage.error("请求超时!请您稍后重试");
break;
case 500:
ElMessage.error("服务异常!");
break;
case 502:
ElMessage.error("网关错误!");
break;
case 503:
ElMessage.error("服务不可用!");
break;
case 504:
ElMessage.error("网关超时!");
break;
default:
ElMessage.error("请求失败!");
}
};

192
src/api/index.ts Normal file
View File

@@ -0,0 +1,192 @@
import axios, { AxiosInstance, AxiosError, AxiosRequestConfig, InternalAxiosRequestConfig, AxiosResponse } from "axios";
//endLoading
import { showFullScreenLoading, tryHideFullScreenLoading } from "@/config/serviceLoading";
import { usePathUrl } from "@/hooks/usePathUrl";
import { ElMessage } from "element-plus";
import { ResultData } from "@/api/interface";
import { ResultEnum } from "@/enums/httpEnum";
import { checkStatus } from "./helper/checkStatus";
import { useUserStore } from "@/stores/modules/user";
import router from "@/routers";
import { useMsg } from "@/hooks/useMsg";
const getUcOffline = () => {
const userStore = useUserStore();
// let httpUrl = import.meta.env.VITE_SINGLE_URL + "uc/offline";
// fetch(httpUrl, {
// method: "POST",
// credentials: "include",
// keepalive: true,
// headers: {
// Authorization: userStore.phpToken,
// "Refresh-Authorization": userStore.refreshToken
// }
// })
// .then((res: any) => {
// if (res.status === 200) {
// useMsg("success", "退出登录成功 ");
// setTimeout(() => {
// location.href = usePathUrl();
// // 2.重置用户数据
// userStore.$reset();
// // 3.清除 本地
// localStorage.clear();
// }, 800);
// }
// })
// .catch(() => {
// useMsg("error", "退出登录失败,请稍后再试 ");
// });
useMsg("success", "退出登录成功 ");
setTimeout(() => {
location.href = usePathUrl();
// 2.重置用户数据
userStore.$reset();
// 3.清除 本地
localStorage.clear();
}, 800);
};
// const getUcOnline = (phpToken: any, refreshToken: any) => {
// let httpUrl = import.meta.env.VITE_SINGLE_URL + "uc/online";
// fetch(httpUrl, {
// method: "POST",
// credentials: "include",
// keepalive: true,
// headers: {
// Authorization: phpToken,
// "Refresh-Authorization": refreshToken
// }
// });
// };
//登出地址
export interface CustomAxiosRequestConfig extends InternalAxiosRequestConfig {
noLoading?: boolean;
}
//计步器
// let setUp: number = 0;
const config = {
// 默认地址请求地址,可在 .env.** 文件中修改
baseURL: (import.meta.env.VITE_APP_API_BASEURL + import.meta.env.VITE_APP_API_VERSION) as string,
// 设置超时时间
timeout: ResultEnum.TIMEOUT as number,
// 跨域时候允许携带凭证
withCredentials: true
};
class RequestHttp {
service: AxiosInstance;
public constructor(config: AxiosRequestConfig) {
// instantiation
this.service = axios.create(config);
/**
* @description 请求拦截器
* 客户端发送请求 -> [请求拦截器] -> 服务器
* token校验(JWT) : 接受服务器返回的 token,存储到 vuex/pinia/本地储存当中
*/
this.service.interceptors.request.use(
(config: CustomAxiosRequestConfig) => {
const userStore = useUserStore();
// 当前请求不需要显示 loading在 api 服务中通过指定的第三个参数: { noLoading: true } 来控制
config.noLoading || showFullScreenLoading();
if (config.headers && typeof config.headers.set === "function") {
config.headers.set("authorization", userStore.newUserToken);
// config.headers.set("Refresh-Authorization", userStore.refreshToken);
}
// getUcOnline(userStore.phpToken, userStore.refreshToken);
return config;
},
(error: AxiosError) => {
return Promise.reject(error);
}
);
/**
* @description 响应拦截器
* 服务器换返回信息 -> [拦截统一处理] -> 客户端JS获取到信息
*/
this.service.interceptors.response.use(
(response: AxiosResponse) => {
const { data } = response;
const userStore = useUserStore();
// 更新token如果接口返回新的token
if ("authorization" in response.headers && response.headers.authorization) {
let newtoken = "Bearer " + response.headers.authorization;
userStore.setToken(newtoken);
userStore.setRefreshToken(newtoken);
userStore.setPhpToken(newtoken);
}
tryHideFullScreenLoading();
// 登陆失效
if (data.code == 401) {
ElMessage.error(data.msg || data.message);
getUcOffline();
return Promise.reject(data);
}
if (data.code === 504) {
ElMessage.error("请求超时!请您稍后重试");
}
// 全局错误信息拦截(防止下载文件的时候返回数据流,没有 code 直接报错)
if (data.code && data.code !== ResultEnum.SUCCESS) {
if (data.code == 1 && data.msg == "没有权限菜单数据") {
getUcOffline();
}
ElMessage.error(data.msg);
return Promise.reject(data);
}
//当是200但是msg不是Success弹出错误信息
if (data.code !== 0 && data.msg !== "success") {
ElMessage.error(data.message);
}
// 成功请求(在页面上除非特殊情况,否则不用处理失败逻辑)
return data;
},
async (error: AxiosError) => {
// if (!setUp) {
const { response } = error;
tryHideFullScreenLoading();
//setUp++;
// 请求超时 && 网络错误单独判断,没有 response
if (error.message.indexOf("timeout") !== -1) ElMessage.error("请求超时!请您稍后重试");
if (error.message.indexOf("Network Error") !== -1) ElMessage.error("网络错误!请您稍后重试");
// 根据服务器响应的错误状态码,做不同的处理
if (response) {
checkStatus(response.status);
if (response.status === 401) {
getUcOffline();
}
}
// 服务器结果都没有返回(可能服务器错误可能客户端断网),断网处理:可以跳转到断网页面
if (!window.navigator.onLine) router.replace("/500");
return Promise.reject(error);
// } else {
// endLoading();
// }
}
);
}
/**
* @description 常用请求方法封装
*/
get<T>(url: string, params?: object, _object = {}): Promise<ResultData<T>> {
return this.service.get(url, { params, ..._object });
}
post<T>(url: string, params?: object | string, _object = {}): Promise<ResultData<T>> {
return this.service.post(url, params, _object);
}
put<T>(url: string, params?: object, _object = {}): Promise<ResultData<T>> {
return this.service.put(url, params, _object);
}
delete<T>(url: string, params?: any, _object = {}): Promise<ResultData<T>> {
return this.service.delete(url, { params, ..._object });
}
download(url: string, params?: object, _object = {}): Promise<BlobPart> {
return this.service.post(url, params, { ..._object, responseType: "blob" });
}
}
export default new RequestHttp(config);

View File

@@ -0,0 +1,59 @@
// 全局模块
export namespace Global {
//供应链
export interface ResSupplier {
id: number;
code: string;
name: string;
disable: boolean;
}
//单位
export interface ResUnit {
disable: boolean;
id: number;
isClosed: boolean;
name: string;
precision: number;
roundoffType: number;
}
//汇率
export interface ResTaxRate {
disable: boolean;
id: number;
name: string;
}
//仓库
export interface ResWarehouse {
id: number;
name: string;
code: null;
contacts: string;
contactsId: number;
useOrgId: null;
customerWarehouseTag: boolean;
tempTransferWarehouse: number;
defaultReplenishCustomer: number;
customerId: number;
stockType: number;
disable: boolean;
}
//用户
export interface ResUserList {
id: number;
code: null;
name: string;
number: number;
disable: boolean;
}
interface ResDropDownAllItem {
id: 15756737;
level: 2;
name: "jx_cs_15_01";
number: "123456";
}
//物料分类
export interface ResDropDownAll {
groupNameList: ResDropDownAllItem;
chinds: ResDropDownAllItem[];
}
}

View File

@@ -0,0 +1,8 @@
import { Global } from "./global";
import { User } from "./user";
import { Material } from "./material";
import { Login } from "./login";
import { Result, ResultData } from "./result";
import { ResPage, ReqPage } from "./page";
import { Upload } from "./upload";
export type { Global, User, Material, Login, ResultData, Result, ResPage, ReqPage, Upload };

View File

@@ -0,0 +1,61 @@
// 登录模块
export interface Dept {
id: number;
deptCode: string;
deptName: string;
managerId: null;
}
export namespace Login {
//登录要传的参数
export interface ReqLoginCode {
code: string;
}
//登录返回的参数
interface Dept {
id: number;
deptCode: string;
deptName: string;
managerId: null;
}
export interface ResLogin {
isSuccess: boolean;
message: string;
status: number;
data: {
accessToken: {
token: string;
phpToken: string;
tokenType: string;
refreshToken: string;
expired: string;
};
signedIn: boolean;
userInfo: {
seesionId: string;
ucId: number;
depts: Dept[];
staffId: number;
staff_code: string;
business_code: null;
avatar: null;
closed: number;
createdAt: string;
email: null;
mobile: string;
nickname: string;
roleId: string;
signinAt: string;
updatedAt: string;
companyId: number;
companyName: string;
orgId: number;
supplierId: null;
supplierName: null;
customerId: null;
customerName: null;
identity: number;
};
};
}
}

View File

@@ -0,0 +1,88 @@
//物料模块
export namespace Material {
// 物料列表请求参数
export interface ListParams {
product: string;
supplyChain: string;
is211: string;
isDisable: boolean;
supplyOrgId: string;
supplierId: string;
barCode: string;
brand: string;
orgId: number;
pageNo: number;
pageSize: number;
}
// 物料列表相应参数
export interface ListRelust {
id: number;
isDisable: boolean;
name: string;
number: string;
documentStatus: string;
documentStatusName: string;
specifications: string;
groupId: number;
groupOne: string;
groupTwo: string;
groupThree: string;
groupFour: string;
purchasePrice: number;
cost: number;
picture: string;
materialProperty: string;
supplier: string;
supplyOrg: string;
supplyChain: string;
is211: boolean;
productLocation: string;
lifeCycle: string;
color: string;
safety: string;
barCode: string;
brand: string;
brandType: string;
productNoColor: string;
productSPU: string;
minNumber: number;
}
export interface DocumentStatus {
a: string;
b: string;
c: string;
d: string;
}
export interface Status {
documentStatus: DocumentStatus;
materialType: { [key: string]: string };
supplyChainType: { [key: string]: string };
productLocationType: { [key: string]: string };
lifeCycleType: { [key: string]: string };
brandType: { [key: string]: string };
safetyType: { [key: string]: string };
materialPropertyType: { [key: string]: string };
materialBearType: { [key: string]: string };
sendMaterialType: { [key: string]: string };
salesPromotionType: { [key: string]: string };
}
export interface SysMaterials {
id: number;
inputType: number;
queryField: string;
queryFieldType: string;
queryName: string;
}
export interface CommitList {
ids: number[];
}
export interface CommitListRelust {
detailId: number;
isSuccess: boolean;
msg: string;
orderId: number;
orderNo: string;
parentOrderId: any;
parentOrderNo: any;
}
}

15
src/api/interface/page.ts Normal file
View File

@@ -0,0 +1,15 @@
//分页
import { Result } from "./result";
// 分页响应参数
export interface ResPage<T = any> extends Result {
data: {
list: T[];
total: number;
};
}
// 分页请求参数
export interface ReqPage {
pageNum: number;
pageSize: number;
}

View File

@@ -0,0 +1,11 @@
// 请求响应参数不包含data
export interface Result {
isSuccess: boolean;
message: string;
status: number;
}
// 请求响应参数包含data
export interface ResultData<T = any> extends Result {
data: T;
}

View File

@@ -0,0 +1,6 @@
// 文件上传模块
export namespace Upload {
export interface ResFileUrl {
fileUrl: string;
}
}

44
src/api/interface/user.ts Normal file
View File

@@ -0,0 +1,44 @@
// 用户管理模块
export namespace User {
// 获取组织list
export interface ResUserOrgs {
id: number;
orgCode: string;
name: string;
orgType: string;
standardCoin: string;
standardCoinId: number;
autoDetaultStockId: number;
disable: boolean;
}
export interface ResUserDept {
id: number;
name: string;
pid: number;
managerId: null;
disable: boolean;
children: ResUserDept[];
}
export interface ResWarehouse {
id: number;
name: string;
code: null;
contacts: string;
contactsId: number;
useOrgId: null;
customerWarehouseTag: boolean;
tempTransferWarehouse: number;
defaultReplenishCustomer: number;
customerId: number;
stockType: number;
disable: boolean;
}
//获取组织下的用户
export interface ResUserList {
id: number;
code: null;
name: string;
number: number;
disable: boolean;
}
}

View File

@@ -0,0 +1,61 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 发票列表
*/
//发票列表
export const getInvoiceListtApi = (params: Record<string, any>) => {
return http.get<ResPage<any>>(`/invoice/index`, params);
};
//系统字典数据接口
export const getdictApi = (code: any) => {
return http.get<ResPage<any>>(`/sys/dict`, { code: code });
};
//预览发票
export const getInvoicePreview = (serialno: string, invoiceno: string, type: Number) => {
return http.get<ResPage<any>>(`/invoice/preview/${serialno}/${invoiceno}`, { type: type });
};
//重开
export const getInvoiceRedo = (id: string) => {
return http.get<ResPage<any>>(`/invoice/redo`, { id: id });
};
//回传
export const getInvoiceBackfill = (id: string) => {
return http.get<ResPage<any>>(`invoice/backfill`, { id: id });
};
//查看失败原因
export const getInvoicefindfailInfobyId = (id: Number) => {
return http.get<ResPage<any>>(`/invoice/${id}/view/failmsg`);
};
//公司分页列表
export const getCompanyList = (params: Record<string, any>) => {
return http.get<ResPage<any>>(`/company/index`, params);
};
//公司新增
export const addCompany = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`/company/create`, params);
};
//公司更新
export const editCompany = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`/company/update`, params);
};
//启用公司
export const useCompany = (id: Number) => {
return http.get<ResPage<any>>(`/company/${id}/enable`);
};
//禁用公司
export const disableCompany = (id: Number) => {
return http.get<ResPage<any>>(`/company/${id}/disable`);
};
//公司列表下拉框场景
export const getCompanyListSelect = (params: Record<string, any>) => {
return http.get<ResPage<any>>(`/company/list`, params);
};
// 汇总确认
export const getInvoiceConfirm = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`/invoice/summary/confirm`, params);
};
//汇总取消
export const getInvoiceCancel = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`/invoice/summary/cancel`, params);
};

View File

@@ -0,0 +1,13 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 盘点单
*/
//盘点单列表
export const getBoxMarkListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`BoxMark/GetList`, params);
};
//SysConfig/GetMaterialList
export const getMaterialListApi = (speci: any) => {
return http.get<any>(`SysConfig/GetMaterialList?speci=${encodeURIComponent(speci)}`);
};

View File

@@ -0,0 +1,20 @@
import http from "@/api";
/**
* @name 发货出库
*/
//出库任务列表
export const getOutStockTaskListApi = (params: Record<string, any>) => {
return http.post<any>(`OutStockTask/GetList`, params);
};
//出库单列表
export const getOutStockListApi = (params: Record<string, any>) => {
return http.post<any>(`OutStock/GetList`, params);
};
//出库单详情
export const getDetailsApi = (id: any) => {
return http.get<any>(`OutStock/GetInfo/${id}`);
};
export const getTaskDetailsApi = (id: any) => {
return http.get<any>(`OutStockTask/GetInfo/${id}`);
};

View File

@@ -0,0 +1,9 @@
import http from "@/api";
// 即时库存列表
export const getListApi = (params: Record<string, any>) => {
return http.post<any>(`FileDownManager/FileDownManagerQuery`, params);
};
//状态
export const getStatusApi = () => {
return http.get<any>(`FileDownManager/GetStatus`);
};

46
src/api/modules/global.ts Normal file
View File

@@ -0,0 +1,46 @@
import http from "@/api";
/**
* @name 全局模块(在公司下面的数据)
*/
//获取全局单位
export const getGlobalStatusApi = () => {
return http.get<any>(`SysConfig/GetStatus`);
};
//获取仓库
export const getStockApi = () => {
return http.get<any>(`SysConfig/GetUcStock`);
};
//获取仓位
export const getSubUcStockApi = (name: any) => {
return http.get<any>(`SysConfig/GetSubUcStockByName/?name=${name}`);
};
//获取组织
export const getOrgApi = (name: any) => {
return http.get<any>(`SysConfig/GetOrg/${name}`);
};
//获取供应商
export const getSupplierApi = (name: any) => {
return http.get<any>(`SysConfig/GetSupplier/${name}`);
};
//获取收货客户
export const getCustomersApi = (name: any) => {
return http.get<any>(`SysConfig/GetCustomers/${name}`);
};
//通知单点登录
export const getUcOfflineApi = () => {
return http.post<any>(`uc/offline`);
};
//全局顶部按钮操作
//提交
export const commitListApi = (url: string, params: any) => {
return http.post<any>(url, params);
};
export const getSubUcStockByNameApi = (id: any) => {
return http.get<any>(`SysConfig/GetSubUcStockByName/?name=${id}`);
};
export const getClineLoApi = (log: any) => {
return http.get<any>(`ClientLog/Log/${log}`);
};

View File

@@ -0,0 +1,17 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 其他库内操作
*/
//移箱单列表
export const getmovingBoxesListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`MoveBoxRecord/GetList`, params);
};
//出入库回退列表
export const getInboundOutboundRollbackListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`BackRecord/GetList`, params);
};
//改箱列表
export const getChangeBoxRecordListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`ChangeBoxRecord/GetList`, params);
};

View File

@@ -0,0 +1,9 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 盘点单
*/
//盘点单列表
export const getTakeStockListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`TakeStock/GetList`, params);
};

36
src/api/modules/login.ts Normal file
View File

@@ -0,0 +1,36 @@
import { ResultData, Login } from "@/api/interface/index";
// import authMenuList from "@/assets/json/authMenuList.json";
import http from "@/api";
/**
* @name 登录模块
*/
// 用户登录
export const loginApi = (params: Login.ReqLoginCode) => {
return http.get<ResultData<Login.ResLogin>>(
`/user/signin/${params.code}`,
{},
{
noLoading: true
}
);
// 正常 post json 请求 ==> application/json
// return http.post<Login.ResLogin>(PORT1 + `/login`, params, { noLoading: true }); // 控制当前请求不显示 loading
// return http.post<Login.ResLogin>(PORT1 + `/login`, {}, { params }); // post 请求携带 query 参数 ==> ?username=admin&password=123456
// return http.post<Login.ResLogin>(PORT1 + `/login`, qs.stringify(params)); // post 请求携带表单参数 ==> application/x-www-form-urlencoded
// return http.get<Login.ResLogin>(PORT1 + `/login?${qs.stringify(params, { arrayFormat: "repeat" })}`); // get 请求可以携带数组等复杂参数
};
// 获取菜单列表
export const getAuthMenuListApi = () => {
return http.get<any>(`/user/permissions`, {}, { noLoading: true });
};
// 用户退出登录
export const logoutApi = () => {
return http.get(`/user/signout`);
};
// export const LoginOutSingleApi = () => {
// return http.get(`/Login/LoginOutSingle`);
// };

View File

@@ -0,0 +1,20 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 收货入库
*/
//入库任务列表
export const getInStockTaskListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`InStockTask/GetList`, params);
};
//入库单列表
export const getInStockListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`InStock/GetList`, params);
};
//入库单详情
export const getDetailsApi = (id: any) => {
return http.get<any>(`InStock/GetInfo/${id}`);
};
export const getTaskDetailsApi = (id: any) => {
return http.get<any>(`InStockTask/GetInfo/${id}`);
};

View File

@@ -0,0 +1,17 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 报表
*/
//即时库存明细
export const getInventoryListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`Inventory/GetList`, params);
};
//物料收发明细
export const getInOutistApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`Inventory/GetListInOut`, params);
};
//箱库存查询
export const getBoxListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`Inventory/GetListBox`, params);
};

49
src/api/modules/sale.ts Normal file
View File

@@ -0,0 +1,49 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 销售模块
*/
//销售订单列表
export const getListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`SalOrder/GetList`, params);
};
//自定义条件Dictionary/sale
export const getDictionaryApi = () => {
return http.get<any>(`Dictionary/sale`);
};
//下拉框状态
export const getEnumApi = () => {
return http.get<any>(`SalOrder/GetEnum`);
};
//详情
export const getOrderDetailsApi = (id: any) => {
return http.post<any>(`SalOrder/GetInfo/${id}`);
};
//销售退货列表
export const getReturnListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`ReturnStockOrder/GetList`, params);
};
//销售退货自定义条件
export const getRetrunDictionaryApi = () => {
return http.get<any>(`Dictionary/RetrunOrder`);
};
//销售退货状态 ReturnStockOrder/GetStatus
export const getRetrunStatusApi = () => {
return http.get<any>(`ReturnStockOrder/GetStatus`);
};
//销售退货单详情
export const getRetrunDetailsApi = (id: any) => {
return http.get<any>(`ReturnStockOrder/GetInfo/${id}`);
};
// //销售出库单详情
// export const getSalOutStockOrderApi = (id: any) => {
// return http.get<any>(`SalOutStockOrder/GetInfo/${id}`);
// };
// //发货通知单列表
// export const getNoticeListApi = (params: Record<string, any>) => {
// return http.post<ResPage<any>>(`DeliveryNoticeOrder/GetList`, params);
// };

View File

@@ -0,0 +1,17 @@
import http from "@/api";
import { ResPage } from "@/api/interface/index";
/**
* @name 订阅
*/
//列表
export const getSubscriptionListApi = (params: Record<string, any>) => {
return http.post<ResPage<any>>(`SubscribeNotification/GetList`, params);
};
//詳情
export const getDetailsApi = (id: any) => {
return http.get<any>(`SubscribeNotification/GetInfo/${id}`);
};
//获取客户下拉列表(纯客户信息 不包含组织信息)
export const getCustomersNoOrgApi = (id: any) => {
return http.get<any>(`SysConfig/GetCustomersNoOrg/${id}`);
};

18
src/api/modules/upload.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Upload } from "@/api/interface/index";
import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name 文件上传模块
*/
// 图片上传
export const uploadImg = (formData: any) => {
//params: FormData
let url = import.meta.env.VITE_APP_API_BASEURL + import.meta.env.VITE_APP_API_VERSION + "/Upload?type=material&name=";
return http.post<any>(url, formData);
};
// 视频上传
export const uploadVideo = (params: FormData) => {
return http.post<Upload.ResFileUrl>(PORT1 + `/file/upload/video`, params);
};

539
src/assets/fonto/demo.css Normal file
View File

@@ -0,0 +1,539 @@
/* Logo 字体 */
@font-face {
font-family: "iconfont logo";
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}
.logo {
font-family: "iconfont logo";
font-size: 160px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* tabs */
.nav-tabs {
position: relative;
}
.nav-tabs .nav-more {
position: absolute;
right: 0;
bottom: 0;
height: 42px;
line-height: 42px;
color: #666;
}
#tabs {
border-bottom: 1px solid #eee;
}
#tabs li {
cursor: pointer;
width: 100px;
height: 40px;
line-height: 40px;
text-align: center;
font-size: 16px;
border-bottom: 2px solid transparent;
position: relative;
z-index: 1;
margin-bottom: -1px;
color: #666;
}
#tabs .active {
border-bottom-color: #f00;
color: #222;
}
.tab-container .content {
display: none;
}
/* 页面布局 */
.main {
padding: 30px 100px;
width: 960px;
margin: 0 auto;
}
.main .logo {
color: #333;
text-align: left;
margin-bottom: 30px;
line-height: 1;
height: 110px;
margin-top: -50px;
overflow: hidden;
*zoom: 1;
}
.main .logo a {
font-size: 160px;
color: #333;
}
.helps {
margin-top: 40px;
}
.helps pre {
padding: 20px;
margin: 10px 0;
border: solid 1px #e7e1cd;
background-color: #fffdef;
overflow: auto;
}
.icon_lists {
width: 100% !important;
overflow: hidden;
*zoom: 1;
}
.icon_lists li {
width: 100px;
margin-bottom: 10px;
margin-right: 20px;
text-align: center;
list-style: none !important;
cursor: default;
}
.icon_lists li .code-name {
line-height: 1.2;
}
.icon_lists .icon {
display: block;
height: 100px;
line-height: 100px;
font-size: 42px;
margin: 10px auto;
color: #333;
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
-moz-transition: font-size 0.25s linear, width 0.25s linear;
transition: font-size 0.25s linear, width 0.25s linear;
}
.icon_lists .icon:hover {
font-size: 100px;
}
.icon_lists .svg-icon {
/* 通过设置 font-size 来改变图标大小 */
width: 1em;
/* 图标和文字相邻时,垂直对齐 */
vertical-align: -0.15em;
/* 通过设置 color 来改变 SVG 的颜色/fill */
fill: currentColor;
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
normalize.css 中也包含这行 */
overflow: hidden;
}
.icon_lists li .name,
.icon_lists li .code-name {
color: #666;
}
/* markdown 样式 */
.markdown {
color: #666;
font-size: 14px;
line-height: 1.8;
}
.highlight {
line-height: 1.5;
}
.markdown img {
vertical-align: middle;
max-width: 100%;
}
.markdown h1 {
color: #404040;
font-weight: 500;
line-height: 40px;
margin-bottom: 24px;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
color: #404040;
margin: 1.6em 0 0.6em 0;
font-weight: 500;
clear: both;
}
.markdown h1 {
font-size: 28px;
}
.markdown h2 {
font-size: 22px;
}
.markdown h3 {
font-size: 16px;
}
.markdown h4 {
font-size: 14px;
}
.markdown h5 {
font-size: 12px;
}
.markdown h6 {
font-size: 12px;
}
.markdown hr {
height: 1px;
border: 0;
background: #e9e9e9;
margin: 16px 0;
clear: both;
}
.markdown p {
margin: 1em 0;
}
.markdown>p,
.markdown>blockquote,
.markdown>.highlight,
.markdown>ol,
.markdown>ul {
width: 80%;
}
.markdown ul>li {
list-style: circle;
}
.markdown>ul li,
.markdown blockquote ul>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown>ul li p,
.markdown>ol li p {
margin: 0.6em 0;
}
.markdown ol>li {
list-style: decimal;
}
.markdown>ol li,
.markdown blockquote ol>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown code {
margin: 0 3px;
padding: 0 5px;
background: #eee;
border-radius: 3px;
}
.markdown strong,
.markdown b {
font-weight: 600;
}
.markdown>table {
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
border: 1px solid #e9e9e9;
width: 95%;
margin-bottom: 24px;
}
.markdown>table th {
white-space: nowrap;
color: #333;
font-weight: 600;
}
.markdown>table th,
.markdown>table td {
border: 1px solid #e9e9e9;
padding: 8px 16px;
text-align: left;
}
.markdown>table th {
background: #F7F7F7;
}
.markdown blockquote {
font-size: 90%;
color: #999;
border-left: 4px solid #e9e9e9;
padding-left: 0.8em;
margin: 1em 0;
}
.markdown blockquote p {
margin: 0;
}
.markdown .anchor {
opacity: 0;
transition: opacity 0.3s ease;
margin-left: 8px;
}
.markdown .waiting {
color: #ccc;
}
.markdown h1:hover .anchor,
.markdown h2:hover .anchor,
.markdown h3:hover .anchor,
.markdown h4:hover .anchor,
.markdown h5:hover .anchor,
.markdown h6:hover .anchor {
opacity: 1;
display: inline-block;
}
.markdown>br,
.markdown>p>br {
clear: both;
}
.hljs {
display: block;
background: white;
padding: 0.5em;
color: #333333;
overflow-x: auto;
}
.hljs-comment,
.hljs-meta {
color: #969896;
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
color: #df5000;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #a71d5d;
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
color: #0086b3;
}
.hljs-section,
.hljs-name {
color: #63a35c;
}
.hljs-tag {
color: #333333;
}
.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #795da3;
}
.hljs-addition {
color: #55a532;
background-color: #eaffea;
}
.hljs-deletion {
color: #bd2c00;
background-color: #ffecec;
}
.hljs-link {
text-decoration: underline;
}
/* 代码高亮 */
/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,263 @@
@font-face {
font-family: "iconfont"; /* Project id 2863944 */
src: url('iconfont.woff2?t=1700032659797') format('woff2'),
url('iconfont.woff?t=1700032659797') format('woff'),
url('iconfont.ttf?t=1700032659797') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-fahuochuku:before {
content: "\e670";
}
.icon-shouhuoruku:before {
content: "\e671";
}
.icon-qitakuneicaozuo:before {
content: "\e672";
}
.icon-pandian:before {
content: "\e673";
}
.icon-baobiao1:before {
content: "\e674";
}
.icon-shouqiicon:before {
content: "\e66e";
}
.icon-zhankaiicon:before {
content: "\e66a";
}
.icon-kelong:before {
content: "\e66b";
}
.icon-baocun1:before {
content: "\e66c";
}
.icon-riliicon:before {
content: "\e66d";
}
.icon-tianjia1:before {
content: "\e65e";
}
.icon-fuzhi:before {
content: "\e65d";
}
.icon-guanbi1:before {
content: "\e65b";
}
.icon-bianji1:before {
content: "\e65a";
}
.icon-shuiwuguanli:before {
content: "\e649";
}
.icon-chengbenguanli:before {
content: "\e645";
}
.icon-yingshoukuanguanli:before {
content: "\e642";
}
.icon-zijinguanli:before {
content: "\e643";
}
.icon-feiyongguanli:before {
content: "\e644";
}
.icon-chunaguanli:before {
content: "\e646";
}
.icon-zichanguanli:before {
content: "\e647";
}
.icon-zongzhang:before {
content: "\e648";
}
.icon-yingfukuanguanli:before {
content: "\e64a";
}
.icon-caiwu:before {
content: "\e641";
}
.icon-daochu1:before {
content: "\e63f";
}
.icon-renminbi:before {
content: "\e63b";
}
.icon-xiazaiweikong:before {
content: "\e63a";
}
.icon-shanchu:before {
content: "\e639";
}
.icon-daochu:before {
content: "\e636";
}
.icon-xiadan:before {
content: "\e637";
}
.icon-piliang:before {
content: "\e638";
}
.icon-zhexiantu:before {
content: "\e635";
}
.icon-gengduo:before {
content: "\e631";
}
.icon-chenggong:before {
content: "\e630";
}
.icon-shijing:before {
content: "\e62f";
}
.icon-xinxi:before {
content: "\e62e";
}
.icon-renwuweikong:before {
content: "\e62d";
}
.icon-liulanjiluweikong:before {
content: "\e62c";
}
.icon-qingchu:before {
content: "\e62b";
}
.icon-zuobian:before {
content: "\e629";
}
.icon-youbian:before {
content: "\e62a";
}
.icon-xuanzhong:before {
content: "\e628";
}
.icon-shuangjiantoushouqi-shang:before {
content: "\e626";
}
.icon-shuangjiantouzhankai-xia:before {
content: "\e627";
}
.icon-shuaxin:before {
content: "\e625";
}
.icon-tianjia:before {
content: "\e624";
}
.icon-baocun:before {
content: "\e623";
}
.icon-you-zhankaigengduo:before {
content: "\e61d";
}
.icon-zuo-zhankaigengduo:before {
content: "\e61e";
}
.icon-xia-zhankai:before {
content: "\e61f";
}
.icon-guanbi:before {
content: "\e620";
}
.icon-baobiao:before {
content: "\e612";
}
.icon-caigou:before {
content: "\e613";
}
.icon-cangku:before {
content: "\e614";
}
.icon-shengchan:before {
content: "\e615";
}
.icon-xiaoshou:before {
content: "\e616";
}
.icon-tiaoma:before {
content: "\e617";
}
.icon-wuliao:before {
content: "\e618";
}
.icon-weiwai:before {
content: "\e619";
}
.icon-gongyingshang:before {
content: "\e61a";
}
.icon-shezhi:before {
content: "\e61b";
}
.icon-a-211:before {
content: "\e61c";
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,443 @@
{
"id": "2863944",
"name": "OPS",
"font_family": "iconfont",
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "38127193",
"name": "发货出库",
"font_class": "fahuochuku",
"unicode": "e670",
"unicode_decimal": 58992
},
{
"icon_id": "38127192",
"name": "收货入库",
"font_class": "shouhuoruku",
"unicode": "e671",
"unicode_decimal": 58993
},
{
"icon_id": "38127191",
"name": "其他库内操作",
"font_class": "qitakuneicaozuo",
"unicode": "e672",
"unicode_decimal": 58994
},
{
"icon_id": "38127190",
"name": "盘点",
"font_class": "pandian",
"unicode": "e673",
"unicode_decimal": 58995
},
{
"icon_id": "38127189",
"name": "报表",
"font_class": "baobiao1",
"unicode": "e674",
"unicode_decimal": 58996
},
{
"icon_id": "36084927",
"name": "收起icon",
"font_class": "shouqiicon",
"unicode": "e66e",
"unicode_decimal": 58990
},
{
"icon_id": "36084853",
"name": "展开icon",
"font_class": "zhankaiicon",
"unicode": "e66a",
"unicode_decimal": 58986
},
{
"icon_id": "36084854",
"name": "克隆",
"font_class": "kelong",
"unicode": "e66b",
"unicode_decimal": 58987
},
{
"icon_id": "36084855",
"name": "保存",
"font_class": "baocun1",
"unicode": "e66c",
"unicode_decimal": 58988
},
{
"icon_id": "36084856",
"name": "日历icon",
"font_class": "riliicon",
"unicode": "e66d",
"unicode_decimal": 58989
},
{
"icon_id": "32937331",
"name": "添加",
"font_class": "tianjia1",
"unicode": "e65e",
"unicode_decimal": 58974
},
{
"icon_id": "32936674",
"name": "复制",
"font_class": "fuzhi",
"unicode": "e65d",
"unicode_decimal": 58973
},
{
"icon_id": "31372064",
"name": "关闭",
"font_class": "guanbi1",
"unicode": "e65b",
"unicode_decimal": 58971
},
{
"icon_id": "31254227",
"name": "编辑",
"font_class": "bianji1",
"unicode": "e65a",
"unicode_decimal": 58970
},
{
"icon_id": "28767114",
"name": "税务管理",
"font_class": "shuiwuguanli",
"unicode": "e649",
"unicode_decimal": 58953
},
{
"icon_id": "28758569",
"name": "成本管理",
"font_class": "chengbenguanli",
"unicode": "e645",
"unicode_decimal": 58949
},
{
"icon_id": "28756346",
"name": "应收款管理",
"font_class": "yingshoukuanguanli",
"unicode": "e642",
"unicode_decimal": 58946
},
{
"icon_id": "28756347",
"name": "资金管理",
"font_class": "zijinguanli",
"unicode": "e643",
"unicode_decimal": 58947
},
{
"icon_id": "28756349",
"name": "费用管理",
"font_class": "feiyongguanli",
"unicode": "e644",
"unicode_decimal": 58948
},
{
"icon_id": "28756351",
"name": "出纳管理",
"font_class": "chunaguanli",
"unicode": "e646",
"unicode_decimal": 58950
},
{
"icon_id": "28756352",
"name": "资产管理",
"font_class": "zichanguanli",
"unicode": "e647",
"unicode_decimal": 58951
},
{
"icon_id": "28756353",
"name": "总账",
"font_class": "zongzhang",
"unicode": "e648",
"unicode_decimal": 58952
},
{
"icon_id": "28756355",
"name": "应付款管理",
"font_class": "yingfukuanguanli",
"unicode": "e64a",
"unicode_decimal": 58954
},
{
"icon_id": "28442176",
"name": "财务",
"font_class": "caiwu",
"unicode": "e641",
"unicode_decimal": 58945
},
{
"icon_id": "28373960",
"name": "导出",
"font_class": "daochu1",
"unicode": "e63f",
"unicode_decimal": 58943
},
{
"icon_id": "28043356",
"name": "人民币",
"font_class": "renminbi",
"unicode": "e63b",
"unicode_decimal": 58939
},
{
"icon_id": "27909200",
"name": "下载为空",
"font_class": "xiazaiweikong",
"unicode": "e63a",
"unicode_decimal": 58938
},
{
"icon_id": "26973680",
"name": "删除",
"font_class": "shanchu",
"unicode": "e639",
"unicode_decimal": 58937
},
{
"icon_id": "26955368",
"name": "导出",
"font_class": "daochu",
"unicode": "e636",
"unicode_decimal": 58934
},
{
"icon_id": "26955369",
"name": "下单",
"font_class": "xiadan",
"unicode": "e637",
"unicode_decimal": 58935
},
{
"icon_id": "26955370",
"name": "批量",
"font_class": "piliang",
"unicode": "e638",
"unicode_decimal": 58936
},
{
"icon_id": "26954331",
"name": "折线图",
"font_class": "zhexiantu",
"unicode": "e635",
"unicode_decimal": 58933
},
{
"icon_id": "25254824",
"name": "更多",
"font_class": "gengduo",
"unicode": "e631",
"unicode_decimal": 58929
},
{
"icon_id": "25181240",
"name": "成功",
"font_class": "chenggong",
"unicode": "e630",
"unicode_decimal": 58928
},
{
"icon_id": "25181198",
"name": "示警",
"font_class": "shijing",
"unicode": "e62f",
"unicode_decimal": 58927
},
{
"icon_id": "25181181",
"name": "信息",
"font_class": "xinxi",
"unicode": "e62e",
"unicode_decimal": 58926
},
{
"icon_id": "25176785",
"name": "任务为空",
"font_class": "renwuweikong",
"unicode": "e62d",
"unicode_decimal": 58925
},
{
"icon_id": "25176783",
"name": "浏览记录为空",
"font_class": "liulanjiluweikong",
"unicode": "e62c",
"unicode_decimal": 58924
},
{
"icon_id": "25162308",
"name": "清除",
"font_class": "qingchu",
"unicode": "e62b",
"unicode_decimal": 58923
},
{
"icon_id": "25148507",
"name": "左边",
"font_class": "zuobian",
"unicode": "e629",
"unicode_decimal": 58921
},
{
"icon_id": "25148508",
"name": "右边",
"font_class": "youbian",
"unicode": "e62a",
"unicode_decimal": 58922
},
{
"icon_id": "25100884",
"name": "选中",
"font_class": "xuanzhong",
"unicode": "e628",
"unicode_decimal": 58920
},
{
"icon_id": "25097364",
"name": "双箭头收起-上",
"font_class": "shuangjiantoushouqi-shang",
"unicode": "e626",
"unicode_decimal": 58918
},
{
"icon_id": "25097365",
"name": "双箭头展开-下",
"font_class": "shuangjiantouzhankai-xia",
"unicode": "e627",
"unicode_decimal": 58919
},
{
"icon_id": "25097087",
"name": "刷新",
"font_class": "shuaxin",
"unicode": "e625",
"unicode_decimal": 58917
},
{
"icon_id": "25097062",
"name": "添加",
"font_class": "tianjia",
"unicode": "e624",
"unicode_decimal": 58916
},
{
"icon_id": "25097053",
"name": "保存",
"font_class": "baocun",
"unicode": "e623",
"unicode_decimal": 58915
},
{
"icon_id": "24910721",
"name": "右-展开更多",
"font_class": "you-zhankaigengduo",
"unicode": "e61d",
"unicode_decimal": 58909
},
{
"icon_id": "24910731",
"name": "左-展开更多",
"font_class": "zuo-zhankaigengduo",
"unicode": "e61e",
"unicode_decimal": 58910
},
{
"icon_id": "24910740",
"name": "下-展开",
"font_class": "xia-zhankai",
"unicode": "e61f",
"unicode_decimal": 58911
},
{
"icon_id": "24910742",
"name": "关闭",
"font_class": "guanbi",
"unicode": "e620",
"unicode_decimal": 58912
},
{
"icon_id": "24903722",
"name": "报表",
"font_class": "baobiao",
"unicode": "e612",
"unicode_decimal": 58898
},
{
"icon_id": "24903723",
"name": "采购",
"font_class": "caigou",
"unicode": "e613",
"unicode_decimal": 58899
},
{
"icon_id": "24903733",
"name": "仓库",
"font_class": "cangku",
"unicode": "e614",
"unicode_decimal": 58900
},
{
"icon_id": "24903735",
"name": "生产",
"font_class": "shengchan",
"unicode": "e615",
"unicode_decimal": 58901
},
{
"icon_id": "24903736",
"name": "销售",
"font_class": "xiaoshou",
"unicode": "e616",
"unicode_decimal": 58902
},
{
"icon_id": "24903737",
"name": "条码",
"font_class": "tiaoma",
"unicode": "e617",
"unicode_decimal": 58903
},
{
"icon_id": "24903738",
"name": "物料",
"font_class": "wuliao",
"unicode": "e618",
"unicode_decimal": 58904
},
{
"icon_id": "24903739",
"name": "委外",
"font_class": "weiwai",
"unicode": "e619",
"unicode_decimal": 58905
},
{
"icon_id": "24903740",
"name": "供应商",
"font_class": "gongyingshang",
"unicode": "e61a",
"unicode_decimal": 58906
},
{
"icon_id": "24903741",
"name": "设置",
"font_class": "shezhi",
"unicode": "e61b",
"unicode_decimal": 58907
},
{
"icon_id": "24903806",
"name": "211",
"font_class": "a-211",
"unicode": "e61c",
"unicode_decimal": 58908
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src/assets/fonts/DIN.otf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,14 @@
@font-face {
font-family: YouSheBiaoTiHei;
src: url("./YouSheBiaoTiHei.ttf");
}
@font-face {
font-family: MetroDF;
src: url("./MetroDF.ttf");
}
@font-face {
font-family: DIN;
src: url("./DIN.Otf");
}

View File

@@ -0,0 +1,38 @@
@font-face {
font-family: iconfont; /* Project id 2667653 */
src: url("iconfont.ttf?t=1663324025864") format("truetype");
}
.iconfont {
font-family: iconfont !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: pointer;
}
.icon-xiaoxi::before {
font-size: 21.2px;
content: "\e61f";
}
.icon-zhuti::before {
font-size: 22.4px;
content: "\e638";
}
.icon-sousuo::before {
content: "\e611";
}
.icon-contentright::before {
content: "\e8c9";
}
.icon-contentleft::before {
content: "\e8ca";
}
.icon-fangda::before {
content: "\e826";
}
.icon-suoxiao::before {
content: "\e641";
}
.icon-zhongyingwen::before {
content: "\e8cb";
}

Binary file not shown.

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M574 342.8m-38.3 0a38.3 38.3 0 1 0 76.6 0 38.3 38.3 0 1 0-76.6 0Z" fill="#F2B843" /><path d="M627 697c15.2-20.7 45.3-294-45-383.3-3-6.1-0.4-13.5 5.7-16.5 6.2-3 13.5-0.5 16.5 5.7C689.8 370.2 719.9 573 705.1 697H627z" fill="#EA800C" /><path d="M617.8 307.4m-38.3 0a38.3 38.3 0 1 0 76.6 0 38.3 38.3 0 1 0-76.6 0Z" fill="#F2B843" /><path d="M608 272.5L461 502.8c-33.6-47.5-37.2-112.5-3.9-164.6 33.2-52.1 93.7-76.2 150.9-65.7z" fill="#3DC38A" /><path d="M742.5 132.3L569.9 299.8c-19.2-47.5-9.1-103.9 29.9-141.8 39.1-37.9 95.8-46.3 142.7-25.7z" fill="#2F9B77" /><path d="M608.7 289.2l-239.6 21.1c15.1-49 58.5-86.4 112.7-91.1 54.2-4.8 103.5 24.4 126.9 70z" fill="#2F9B77" /><path d="M594.7 269.9L408.5 168.4c35-28.6 85.2-34.8 127.3-11.9 42.1 23 64 68.6 58.9 113.4z" fill="#3DC38A" /><path d="M825.5 331.8l-271.4-31.4c28-51 84.9-82.7 146.3-75.6 61.3 7 109.5 51 125.1 107z" fill="#3DC38A" /><path d="M75.3 868.9c0-86.5 104.3-173 233-173s233 86.5 233 173h-466z" fill="#2F9B77" /><path d="M938.2 868.9c0-116.2-130.9-232.3-292.3-232.3S353.5 752.7 353.5 868.9h584.7z" fill="#3DC38A" /><path d="M858.9 701.5c-28.1-23.1-60.4-41.4-95.9-54.3-14.5-5.3-29.3-9.5-44.3-12.8 0.2-51.3-5.5-106.3-16.2-155.9-11.9-54.8-29.5-101.6-51.2-136.3 5.6-5.3 9.7-11.8 12.2-19.1l160.8 18.6c0.4 0 0.8 0.1 1.2 0.1 2.9 0 5.7-1.3 7.6-3.5 2.2-2.5 2.9-6 2-9.2-8.3-29.8-25.1-56.3-48.5-76.7-24-20.9-53.5-33.9-85.1-37.5-9.7-1.1-19.3-1.3-28.9-0.7l76.8-74.6c2.4-2.3 3.5-5.7 2.9-8.9-0.6-3.3-2.8-6-5.8-7.4-52.3-23-112.6-12.1-153.7 27.7-7.2 7-13.6 14.7-19.1 23.1-9.4-10.5-20.6-19.4-33.1-26.2-44.7-24.3-99-19.2-138.4 12.9-2.6 2.1-3.9 5.4-3.6 8.7s2.2 6.3 5.2 7.9l62.5 34c-50.2 9.8-91.2 46.2-106.6 96-1 3.2-0.3 6.6 1.8 9.2 1.9 2.4 4.8 3.7 7.8 3.7h0.9l94.5-8.3c-5.8 6.4-11 13.3-15.8 20.8-17.2 26.9-25.7 57.9-24.7 89.7 1 31 11 60.8 28.9 86 1.9 2.7 4.9 4.2 8.2 4.2h0.2c3.3-0.1 6.4-1.8 8.2-4.6L549 383.9c7.5 4.6 16.1 7.1 25.2 7.1 13.4 0 25.9-5.5 34.8-14.7 27.2 70.9 29.2 175.3 21.8 250.6-34.9 1.5-69.1 8.3-101.8 20.2-35.5 12.9-67.8 31.2-95.9 54.3-3.2 2.6-6.3 5.3-9.4 8.1-35.7-15.5-75.4-23.6-115.1-23.6-63.1 0-123.8 19.9-170.9 56.1-45.8 35.3-72.1 81.5-72.1 126.9 0 5.5 4.5 10 10 10h862.9c5.5 0 10-4.5 10-10-0.3-59.7-32.8-120.7-89.6-167.4z m-226.2-370c-3.3 2.1-7 3.4-10.9 3.9-1-6.4-3.2-12.5-6.5-17.9l27.6 3.2c-2.3 4.4-5.8 8.1-10.2 10.8z m66.6-96.8c27.6 3.2 53.3 14.5 74.3 32.7 16.6 14.5 29.4 32.4 37.5 52.6l-152.7-17.7c-0.4-0.1-0.8-0.2-1.2-0.2-0.4 0-0.8-0.1-1.2-0.1l-65.3-7.6c-1-0.3-2-0.4-2.9-0.3l-5.5-0.6c-0.1 0-0.2-0.1-0.3-0.1-0.7-0.1-1.3-0.2-2-0.2l-8.8-1c5.3-7.5 11.3-14.5 18-20.8 0.5-0.4 1-0.8 1.4-1.3 8.7-8 18.4-14.9 29.1-20.5 8-4.2 16.4-7.6 24.9-10.2 0.5-0.1 0.9-0.2 1.4-0.4 17-4.8 35.1-6.4 53.3-4.3z m-92.5-69.4c31.5-30.5 76.2-41.2 117.4-29l-87 84.4c-9.3 2.9-18.4 6.6-27.1 11.2-2.2 1.2-4.3 2.4-6.5 3.6-2.8-15.7-8.5-30.8-17-44.4 5.5-9.5 12.3-18.2 20.2-25.8z m-75.8 0.1c14.4 7.9 26.4 18.6 35.7 31.9 10.5 15.1 16.8 32.7 18.4 51-1.2 1-2.5 2-3.6 3l-74-40.3c-0.8-0.7-1.8-1.2-2.8-1.5l-77.2-42.1c31.3-18.8 70.6-20 103.5-2z m-48.2 63.8c5.2-0.5 10.3-0.6 15.4-0.4l68.2 37.1c-5.1 5.7-9.9 11.8-14.2 18.2l-60 5.3-108.1 9.5c17.8-39.1 55-66 98.7-69.7zM461.2 484c-24.3-43.9-23-97.5 4.5-140.6 8.5-13.4 19-24.9 31.3-34.4l48.3-4.2s0 0.1 0.1 0.1c1.5 3 4.4 5 7.7 5.3l17.8 2.1-32.1 50.3c-0.6 0.7-1 1.4-1.4 2.2L461.2 484zM574 371c-5.2 0-10.1-1.4-14.4-3.9l29.3-45.9 1.1-1.8c7.6 5.2 12.4 13.9 12.4 23.4v2.1c-0.1 1.8-0.5 3.8-1.1 6.1-0.2 0.6-0.4 1.1-0.6 1.7-4.2 10.9-14.8 18.3-26.7 18.3z m47.8-15.5c4.3-0.3 8.6-1.3 12.6-2.7 20.5 32.6 37.2 77.3 48.6 129.9 10.2 47.1 15.7 99.1 15.8 148-15.9-2.5-31.9-3.8-48.1-4 2.7-28.8 5.6-76.5 1.8-130.4-4-57.6-14.3-104.8-30.7-140.8zM149.6 757.9c43.6-33.5 99.9-52 158.7-52 34.2 0 68.3 6.5 99.4 18.8-38.4 40-61.1 87.2-63.9 134.2h-258c3.6-35.9 26.4-72.2 63.8-101z m391.7 101H363.8c3.4-50.5 32.8-101.8 81.7-142 26.4-21.7 56.6-38.8 90-50.9 35.4-12.8 72.5-19.4 110.4-19.4 37.9 0 75 6.5 110.3 19.4 33.4 12.1 63.6 29.3 90 50.9 48.9 40.2 78.2 91.5 81.6 142H541.3z" fill="#4D3500" /></svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M489.6 541.1V166l283.5 375.1H489.6" fill="#3DC38A" /><path d="M489.6 101.3l-323.2 491h323.2z" fill="#F2B843" /><path d="M489.6 715.7c-16.3 0-29.6-13.2-29.6-29.6V95c0-16.3 13.2-29.6 29.6-29.6 16.3 0 29.6 13.2 29.6 29.6v591.1c-0.1 16.3-13.3 29.6-29.6 29.6z" fill="#EA800C" /><path d="M489.6 608.4H145.3c-16.3 0-29.6-13.2-29.6-29.6 0-16.3 13.2-29.6 29.6-29.6h344.3c16.3 0 29.6 13.2 29.6 29.6-0.1 16.3-13.3 29.6-29.6 29.6z" fill="#EA800C" /><path d="M783.8 557.2H503.1c-16.3 0-29.6-13.2-29.6-29.6 0-16.3 13.2-29.6 29.6-29.6h280.7c16.3 0 29.6 13.2 29.6 29.6 0 16.3-13.3 29.6-29.6 29.6z" fill="#EA800C" /><path d="M752.4 759.8l-67-88.8c-7.9-10.5-20.3-16.7-33.5-16.7H302c-18.3 0-34.5 11.9-40 29.3l-25 76.2h515.4z" fill="#2F9B77" /><path d="M920.8 704.6c15.6-0.8 26.8 14.8 21.1 29.3l-54.5 138.8-28.6 72.8H133.7L81.5 775c-4.1-13.4 5.5-27 19.4-27.8l143.3-7.5 676.6-35.1z" fill="#3DC38A" /><path d="M802.3 791.8m-27 0a27 27 0 1 0 54 0 27 27 0 1 0-54 0Z" fill="#F2B843" /><path d="M947.5 707.7c-6.3-8.7-16.4-13.6-27.2-13.1l-196.8 10.2-30-39.9c-9.8-12.9-25.3-20.6-41.5-20.6H529.2v-77.1h254.7c21.8 0 39.6-17.8 39.6-39.6S805.7 488 783.9 488h-38.3L529.2 201.7V95c0-21.8-17.8-39.6-39.6-39.6S450 73.2 450 95v48.2L189.3 539.3h-44c-21.8 0-39.6 17.8-39.6 39.6s17.8 39.6 39.6 39.6H450v25.8H302c-22.7 0-42.6 14.6-49.5 36.2l-16.2 49.6-135.9 7.1c-9.7 0.6-18.5 5.5-24.1 13.5-5.6 8-7.1 17.9-4.3 27.2l52.2 170.5c1.3 4.2 5.2 7.1 9.6 7.1h725.1c4.1 0 7.8-2.5 9.3-6.3l28.6-72.8 54.5-138.8c3.8-10 2.4-21.2-3.8-29.9zM720.5 488H529.2V234.9L720.5 488zM450 179.6v359.7H213.3L450 179.6z m20 428.8c0-5.5-4.5-10-10-10-0.5 0-0.9 0-1.3 0.1H145.3c-10.8 0-19.6-8.8-19.6-19.6s8.8-19.6 19.6-19.6H460c5.5 0 10-4.5 10-10V95c0-10.8 8.8-19.6 19.6-19.6s19.6 8.8 19.6 19.6v403c0 5.5 4.5 10 10 10h264.7c10.8 0 19.6 8.8 19.6 19.6s-8.8 19.6-19.6 19.6H519.2c-5.5 0-10 4.5-10 10v87.1H470v-35.9z m-198.5 78.3s0-0.1 0 0c4.3-13.4 16.5-22.4 30.5-22.4h350c9.9 0 19.5 4.8 25.5 12.7l21.9 29.1L257.7 729l13.8-42.3z m661.1 43.5L878.1 869 852 935.5H141.1l-50-163.4c-1-3.4-0.5-7 1.6-9.9 2-2.9 5.3-4.8 8.8-5l141.5-7.4h0.6c0.6 0 1.1-0.1 1.7-0.1l473.6-24.6h0.7l201.7-10.5c4-0.2 7.6 1.5 9.9 4.8 2.3 3.2 2.8 7.2 1.4 10.8z" fill="#4D3500" /><path d="M802.3 754.8c-20.4 0-37 16.6-37 37s16.6 37 37 37 37-16.6 37-37-16.6-37-37-37z m0 54c-9.4 0-17-7.6-17-17s7.6-17 17-17 17 7.6 17 17-7.6 17-17 17z" fill="#4D3500" /></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M252.8 862.9h-73.4c-6.8 0-12.4-5.6-12.4-12.4V134.4c0-6.8 5.6-12.4 12.4-12.4h73.4l5.3 6.8v728.8l-5.3 5.3z" fill="#F2B843" /><path d="M338.5 942l-42.9-18.1-42.8 18.1v-79.1l7.5-5.3h71.3l7 5.3-0.1 79.1z" fill="#EA800C" /><path d="M844.6 327.9h-40.7l-5.3-5.8v-93.3l5.3-7.2h40.7c6.8 0 12.4 5.6 12.4 12.4v81.5c0 6.9-5.6 12.4-12.4 12.4z" fill="#F2B843" /><path d="M844.6 540.5h-40.7l-5.3-7.3v-90.6l5.3-8.4h40.7c6.8 0 12.4 5.6 12.4 12.4v81.5c0 6.8-5.6 12.4-12.4 12.4z" fill="#EA800C" /><path d="M844.6 753h-40.7l-5.3-6.7v-92.1l5.3-7.5h40.7c6.8 0 12.4 5.6 12.4 12.4v81.5c0 6.8-5.6 12.4-12.4 12.4z" fill="#2F9B77" /><path d="M791.8 862.9h-539V122h539.1c6.7 0 12 5.4 12 12v716.8c0 6.7-5.4 12.1-12.1 12.1z" fill="#3DC38A" /><path d="M680.3 661.1H343.7c-14 0-25.5-11.5-25.5-25.5s11.5-25.5 25.5-25.5h336.6c14 0 25.5 11.5 25.5 25.5s-11.5 25.5-25.5 25.5zM680.3 779.8H343.7c-14 0-25.5-11.5-25.5-25.5s11.5-25.5 25.5-25.5h336.6c14 0 25.5 11.5 25.5 25.5s-11.5 25.5-25.5 25.5z" fill="#2F9B77" /><path d="M594.8 511.1c-79.2 45.7-180.5 18.6-226.3-60.6S350 270 429.2 224.2s180.5-18.6 226.3 60.6 18.5 180.6-60.7 226.3z" fill="#3DC38A" /><path d="M523.7 318.1c-1.2 0.3-3.5 0.9-4.5 1.7-1.2 1 0.7 2.3 0 2.9-1.2 1-2.1 2.7-4.7 2.6-5.5-0.3-13.9-7.5-19-10.2 8.1-8.3-4.7-9.6-9.7-9.1-6.5 0.5-17.7 0-23.5 3.2-4.1 2.3-9.5 11.7-12.8 15.5-4.6 5.2-9.1 9.8-12.1 16-10.9 23 5.9 49.4 32.2 46.3 7.3-0.9 14.9-5.5 21.4 0.6 4.8 4.5 2.3 8.7 3.5 13.9 1.1 4.5 6.1 7.3 7.8 11.4 3.3 7.9 1.2 12.9-1.1 20.2-3.1 9.6 4.9 21 8 30.2 1.6 4.7 6.1 17.7 10.7 19.8 7.1 3.2 18.1-6.4 22.4-11.6 3.3-4.1 2.2-8.2 4.4-12 2.4-4.1 5.4-5.3 7.1-10.6 1.8-5.7 3.7-7.1 7.5-11.3 6.2-6.7 5.2-10.6 2.7-18.6-5.1-16.5 13.5-24.2 21.8-36.3 8.7-12.6-8.2-8.4-14.8-12.8-6.8-4.4-9.8-12.9-13.1-19.9s-6-17.5-11.4-23.3c-4.2-4.3-16.9-6.4-22.8-8.6zM609.2 428.8c-2.6 8.9-5.3 17.8-7.9 26.7-1.8 6.2-8.4 26.6-17.5 13.6-3.5-5-0.6-11.4 1.3-16 2.4-5.8-0.9-8.7 0.9-14.1 2-6.2 10-6.4 13.8-10.8 2.7-3 4.3-7.9 6.2-11.5 1 4 2.1 8.1 3.2 12.1z" fill="#F2B843" /><path d="M655.4 284.9c-28.5-49.4-78.7-78.5-131.6-82.4l-21.6 27.2-46.4 16.3-12.5 30.2 19.2 26.9 2-5.7c3.4-9.5 12.4-15.8 22.5-15.8h31.7l36.4 12.8 12.5 12v7.6l17.4 33.4 5.1-1.9c11-4 20.9-10.4 29.2-18.7l-4.2-6.3c-1.4-2 0.1-4.7 2.5-4.7h10.2c3 0 5.8 1.3 7.7 3.6l8.3 9.7c0.8 0.9 1.4 2 1.8 3.1l9.1 25.2 4.4-4.4c2.7-2.7 4.1-6.5 4.2-10.4 0-3.1 1.4-6.1 3.7-8.2l3.4-3c0.8-0.8 1.8-1.4 2.8-1.8-3.6-15.3-9.5-30.4-17.8-44.7zM407.6 291.3l7.9-8.5c5.8-6.2 7.4-15.2 4.2-23-3.4-8.3-10.9-13.6-19.2-14.8-29.2 26.5-47.4 62.2-52.6 100 6.2 5.4 12.6 11.2 12.6 11.7-0.1 1 23.2-2.9 23.2-2.9l-12-17.5 17.2-12.3 18.7-32.7zM423.8 456.4c7.5-2.4 11.6-10.4 9.1-17.9l-2.1-6.6c-0.9-2.9-0.9-5.9 0-8.8 2.7-8.1-2.4-16.8-10.8-18.4l-16.8-3.3-30.6-23.2-25.3 8.2c2.5 21.9 9.4 43.7 21.2 64.1 10.9 18.8 24.9 34.7 41 47.4l7.5-39.3 6.8-2.2z" fill="#2F9B77" /><path d="M844.6 337.9c12.4 0 22.4-10 22.4-22.4V234c0-12.4-10-22.4-22.4-22.4h-30.7V134c0-12.1-9.9-22-22-22H179.4c-12.4 0-22.4 10-22.4 22.4v716.1c0 12.4 10 22.4 22.4 22.4h63.4V942c0 3.4 1.7 6.5 4.5 8.3 2.8 1.9 6.3 2.2 9.4 0.9l38.9-16.5 39 16.5c1.2 0.5 2.6 0.8 3.9 0.8 1.9 0 3.9-0.6 5.5-1.7 2.8-1.9 4.5-5 4.5-8.3v-69.1h443.3c12.2 0 22.1-9.9 22.1-22.1V763h30.7c12.4 0 22.4-10 22.4-22.4v-81.5c0-12.4-10-22.4-22.4-22.4h-30.7v-86.2h30.7c12.4 0 22.4-10 22.4-22.4v-81.5c0-12.4-10-22.4-22.4-22.4h-30.7v-86.3h30.7z m0-106.3c1.3 0 2.4 1.1 2.4 2.4v81.5c0 1.3-1.1 2.4-2.4 2.4h-30.7v-86.3h30.7zM177 850.5V134.4c0-1.3 1.1-2.4 2.4-2.4h63.4v720.9h-63.4c-1.3 0-2.4-1.1-2.4-2.4z m151.5 76.4l-29-12.2c-2.5-1-5.3-1-7.8 0l-28.9 12.2v-54h65.7v54z m465.4-76.1c0 1.2-0.9 2.1-2.1 2.1h-529V132h529.1c1.1 0 2 0.9 2 2v716.8z m50.7-194.1c1.3 0 2.4 1.1 2.4 2.4v81.5c0 1.4-1 2.4-2.4 2.4h-30.7v-86.3h30.7z m0-212.5c1.3 0 2.4 1.1 2.4 2.4v81.5c0 1.3-1.1 2.4-2.4 2.4h-30.7v-86.3h30.7z" fill="#4D3500" /><path d="M680.3 600.1H343.7c-19.6 0-35.5 15.9-35.5 35.5s15.9 35.5 35.5 35.5h336.6c19.6 0 35.5-15.9 35.5-35.5s-15.9-35.5-35.5-35.5z m0 51H343.7c-8.5 0-15.5-7-15.5-15.5s7-15.5 15.5-15.5h336.6c8.5 0 15.5 7 15.5 15.5s-7 15.5-15.5 15.5zM680.3 718.8H343.7c-19.6 0-35.5 15.9-35.5 35.5s15.9 35.5 35.5 35.5h336.6c19.6 0 35.5-15.9 35.5-35.5s-15.9-35.5-35.5-35.5z m0 51H343.7c-8.5 0-15.5-7-15.5-15.5s7-15.5 15.5-15.5h336.6c8.5 0 15.5 7 15.5 15.5s-7 15.5-15.5 15.5zM512.3 543.2c29.8 0 59.9-7.6 87.5-23.5 40.6-23.4 69.7-61.3 81.9-106.7 12.2-45.4 6-92.7-17.5-133.3-23.5-40.6-61.4-69.7-106.7-81.8-45.3-12.1-92.7-5.9-133.3 17.6-40.6 23.5-69.7 61.4-81.9 106.7-12.2 45.3-6 92.7 17.5 133.3 32.6 56.3 91.7 87.7 152.5 87.7zM361.6 327.4c10.8-40.2 36.6-73.7 72.6-94.6 24-13.9 50.6-20.9 77.6-20.9 13.5 0 27.1 1.8 40.5 5.4 40.2 10.8 73.7 36.5 94.6 72.5 20.8 36 26.3 77.9 15.5 118.1-10.8 40.2-36.6 73.7-72.6 94.5-74.3 42.9-169.7 17.3-212.6-56.9-20.8-36-26.4-77.9-15.6-118.1z" fill="#4D3500" /></svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M72 440.5h880v286.2H72z" fill="#F2B843" /><path d="M72 726.6V834c0 19.8 16 35.8 35.8 35.8h808.5c19.8 0 35.8-16 35.8-35.8V726.6H72zM916.2 297.4H708.7L647 174.1c-6.1-12.1-18.5-19.8-32-19.8H408.9c-13.5 0-25.9 7.7-32 19.8l-61.7 123.3h-64.4v-35.8c0-19.8-16-35.8-35.8-35.8h-35.8c-19.8 0-35.8 16-35.8 35.8v35.8h-35.8c-19.8 0-35.8 16-35.8 35.8v107.3h880V333.1c0.2-19.7-15.8-35.7-35.6-35.7z" fill="#3DC38A" /><path d="M726.6 583.5c0 118.3-95.9 214.6-214.6 214.6-118.8 0-214.6-96.4-214.6-214.6 0-118.3 95.9-214.6 214.6-214.6 118.8 0 214.6 96.4 214.6 214.6z" fill="#EA800C" /><path d="M512 440.5c78.9 0 143.1 64.2 143.1 143.1S590.9 726.7 512 726.7s-143.1-64.2-143.1-143.1S433.1 440.5 512 440.5z" fill="#FFFFFF" /><path d="M773.1 386.8c9.9 0 17.9-8 17.9-17.9s-8-17.9-17.9-17.9-17.9 8-17.9 17.9c0.1 9.9 8.1 17.9 17.9 17.9zM565.7 207.9H458.3c-9.9 0-17.9 8-17.9 17.9s8 17.9 17.9 17.9h107.3c9.9 0 17.9-8 17.9-17.9s-8-17.9-17.8-17.9zM512 744.5c88.8 0 161-72.2 161-161s-72.2-161-161-161-161 72.2-161 161 72.2 161 161 161z m0-286.2c69 0 125.2 56.2 125.2 125.2S581 708.7 512 708.7s-125.2-56.2-125.2-125.2S443 458.3 512 458.3z" fill="#2F9B77" /><path d="M440.5 601.4c9.9 0 17.9-8 17.9-17.9 0-29.6 24.1-53.7 53.7-53.7 9.9 0 17.9-8 17.9-17.9s-8-17.9-17.9-17.9c-49.3 0-89.4 40.1-89.4 89.4-0.1 10 7.9 18 17.8 18z" fill="#3DC38A" /><path d="M844.7 386.8h35.8c9.9 0 17.9-8 17.9-17.9s-8-17.9-17.9-17.9h-35.8c-9.9 0-17.9 8-17.9 17.9s8 17.9 17.9 17.9z" fill="#2F9B77" /><path d="M773.1 396.8c15.4 0 27.9-12.5 27.9-27.9S788.5 341 773.1 341s-27.9 12.5-27.9 27.9v0.1c0.2 15.3 12.7 27.8 27.9 27.8z m0-35.8c4.4 0 7.9 3.5 7.9 7.9s-3.5 7.9-7.9 7.9c-4.3 0-7.8-3.6-7.9-8 0-4.3 3.6-7.8 7.9-7.8zM458.3 253.7h107.3c15.4 0 27.9-12.5 27.9-27.9s-12.5-27.9-27.8-27.9H458.3c-15.4 0-27.9 12.5-27.9 27.9s12.5 27.9 27.9 27.9z m0-35.8h107.4c4.3 0 7.8 3.5 7.8 7.9s-3.5 7.9-7.9 7.9H458.3c-4.4 0-7.9-3.5-7.9-7.9s3.5-7.9 7.9-7.9zM512 754.5c94.3 0 171-76.7 171-171s-76.7-171-171-171-171 76.7-171 171 76.7 171 171 171z m0-322c83.3 0 151 67.7 151 151s-67.7 151-151 151-151-67.7-151-151 67.7-151 151-151z" fill="#4D3500" /><path d="M512 718.7c74.5 0 135.2-60.7 135.2-135.2S586.5 448.3 512 448.3 376.8 509 376.8 583.5 437.5 718.7 512 718.7z m0-250.4c63.5 0 115.2 51.7 115.2 115.2S575.5 698.7 512 698.7 396.8 647 396.8 583.5 448.5 468.3 512 468.3z" fill="#4D3500" /><path d="M468.4 583.5c0-24.1 19.6-43.7 43.7-43.7 15.4 0 27.9-12.5 27.9-27.9S527.5 484 512.1 484c-54.8 0-99.4 44.6-99.4 99.4-0.1 7.5 2.8 14.5 8 19.8 5.3 5.3 12.3 8.2 19.8 8.2 15.4 0 27.9-12.5 27.9-27.9z m-35.7 0s0-0.1 0 0c0-43.9 35.6-79.5 79.4-79.5 4.4 0 7.9 3.5 7.9 7.9s-3.5 7.9-7.9 7.9c-35.1 0-63.7 28.6-63.7 63.7 0 4.4-3.5 7.9-7.9 7.9-2.1 0-4.1-0.8-5.6-2.3-1.4-1.5-2.2-3.5-2.2-5.6zM844.7 396.8h35.8c15.4 0 27.9-12.5 27.9-27.9S895.9 341 880.5 341h-35.8c-15.4 0-27.9 12.5-27.9 27.9s12.5 27.9 27.9 27.9z m0-35.8h35.8c4.4 0 7.9 3.5 7.9 7.9s-3.5 7.9-7.9 7.9h-35.8c-4.4 0-7.9-3.5-7.9-7.9s3.5-7.9 7.9-7.9z" fill="#4D3500" /><path d="M916.5 287.3H715.2l-58.9-117.8c-7.8-15.6-23.5-25.3-40.9-25.3H409.1c-17.4 0-33.1 9.7-40.9 25.3l-58.9 117.8H261v-25.8c0-25.3-20.5-45.8-45.8-45.8h-35.8c-25.3 0-45.8 20.5-45.8 45.8v25.8h-25.8c-25.3 0-45.8 20.5-45.8 45.8V834c0 25.1 20.5 45.7 45.8 45.8h808.4c25.3 0 45.8-20.5 45.8-45.8V442.8c0.2-0.8 0.3-1.6 0.3-2.4V333.1c0-25.3-20.5-45.8-45.8-45.8z m-737.1-51.6h35.8c14.2 0 25.8 11.6 25.8 25.8v25.9h-87.4v-25.9c0-14.2 11.6-25.8 25.8-25.8zM82 450.5h249.1c-27.5 37.3-43.7 83.3-43.7 133 0 49.8 16.3 95.8 43.8 133.1H82V450.5z m430-71.6c112.8 0 204.6 91.8 204.6 204.6S624.8 788.1 512 788.1s-204.6-91.8-204.6-204.6S399.2 378.9 512 378.9zM942 834c0 14.2-11.6 25.8-25.8 25.8H107.9C93.6 859.7 82 848.2 82 834v-97.4h265.8c41 44 99.4 71.5 164.2 71.5s123.1-27.5 164.2-71.5H942V834z m0-117.4H692.8c27.5-37.3 43.8-83.3 43.8-133.1 0-49.7-16.3-95.7-43.7-133H942v266.1z m0.3-286.2H676.2c-41-44-99.4-71.5-164.2-71.5s-123.2 27.6-164.3 71.6H82v-97.4c0-14.2 11.6-25.8 25.8-25.8h34.4c0.4 0.1 0.9 0.1 1.3 0.1h108c0.5 0 0.9 0 1.3-0.1h62.6c3.8 0 7.2-2.1 8.9-5.5L386 178.5c4.4-8.8 13.3-14.3 23.1-14.3h206.2c9.8 0 18.7 5.5 23.1 14.3l61.7 123.3c1.7 3.4 5.2 5.5 8.9 5.5h207.5c14.2 0 25.8 11.6 25.8 25.8v97.3z" fill="#4D3500" /></svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
src/assets/images/403.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
src/assets/images/404.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
src/assets/images/500.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@@ -0,0 +1,33 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" width="100%" height="100%" viewBox="0 0 1400 800">
<rect x="1300" y="400" rx="40" ry="40" width="150" height="150" stroke="rgb(129, 201, 149)" fill="rgb(129, 201, 149)">
<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur="35s" type="rotate" from="0 1450 550" to="360 1450 550" repeatCount="indefinite"/>
</rect>
<path d="M 100 350 A 150 150 0 1 1 400 350 Q400 370 380 370 L 250 370 L 120 370 Q100 370 100 350" fill="#a2b3ff">
<animateMotion path="M 800 -200 L 800 -300 L 800 -200" dur="20s" begin="0s" repeatCount="indefinite"/>
<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur="30s" type="rotate" values="0 210 530 ; -30 210 530 ; 0 210 530" keyTimes="0 ; 0.5 ; 1" repeatCount="indefinite"/>
</path>
<circle cx="150" cy="150" r="180" stroke="#85FFBD" fill="#85FFBD">
<animateMotion path="M 0 0 L 40 20 Z" dur="5s" repeatCount="indefinite"/>
</circle>
<!-- 三角形 -->
<path d="M 165 580 L 270 580 Q275 578 270 570 L 223 483 Q220 480 217 483 L 165 570 Q160 578 165 580" fill="#a2b3ff">
<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur="35s" type="rotate" from="0 210 530" to="360 210 530" repeatCount="indefinite"/>
</path>
<!-- <circle cx="1200" cy="600" r="30" stroke="rgb(241, 243, 244)" fill="rgb(241, 243, 244)">-->
<!-- <animateMotion path="M 0 0 L -20 40 Z" dur="9s" repeatCount="indefinite"/>-->
<!-- </circle>-->
<path d="M 100 350 A 40 40 0 1 1 180 350 L 180 430 A 40 40 0 1 1 100 430 Z" fill="#3054EB">
<animateMotion path="M 140 390 L 180 360 L 140 390" dur="20s" begin="0s" repeatCount="indefinite"/>
<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur="30s" type="rotate" values="0 140 390; -60 140 390; 0 140 390" keyTimes="0 ; 0.5 ; 1" repeatCount="indefinite"/>
</path>
<rect x="400" y="600" rx="40" ry="40" width="100" height="100" stroke="rgb(129, 201, 149)" fill="#3054EB">
<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur="35s" type="rotate" from="-30 550 750" to="330 550 750" repeatCount="indefinite"/>
</rect>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

BIN
src/assets/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>

After

Width:  |  Height:  |  Size: 276 B

BIN
src/assets/images/msg01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
src/assets/images/msg02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
src/assets/images/msg03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
src/assets/images/msg04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
src/assets/images/msg05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -0,0 +1,8 @@
{
"code": 200,
"data": {
"useProTable": ["add", "batchAdd", "export", "batchDelete", "status"],
"authButton": ["add", "edit", "delete", "import", "export"]
},
"msg": "成功"
}

Some files were not shown because too many files have changed in this diff Show More