add docker support

This commit is contained in:
xd
2025-07-28 16:38:37 +08:00
parent 403bd27f95
commit 87ed1833bb
42 changed files with 168 additions and 900 deletions

53
.docker/Dockerfile Normal file
View File

@ -0,0 +1,53 @@
# 构建阶段使用 Node 镜像
FROM node:22-alpine as builder
# 设置工作目录
WORKDIR /app
# 设置阿里云镜像源
RUN yarn config set registry https://registry.npmmirror.com/ && \
npm config set registry https://registry.npmmirror.com/
# 复制 package.json 和 yarn.lock
COPY package.json yarn.lock ./
# 安装依赖
RUN yarn
# 复制源代码
COPY . .
# 构建项目
RUN yarn build
# 使用轻量级的 Node 镜像作为基础镜像
FROM node:22-alpine
# 设置工作目录
WORKDIR /app
# 设置阿里云镜像源
RUN yarn config set registry https://registry.npmmirror.com/ && \
npm config set registry https://registry.npmmirror.com/
# 安装简单的静态文件服务器
RUN yarn global add serve
# 将构建产物复制到工作目录
COPY --from=builder /app/dist ./dist
# 复制环境变量注入脚本
COPY .docker/env.sh ./env.sh
RUN chmod +x ./env.sh
# 暴露服务端口
EXPOSE 5000
# 设置环境变量
ENV PORT=5000
ENV NODE_ENV=production
ARG BASE_URL
ENV BASE_URL=${BASE_URL}
# 启动命令:先执行环境变量注入脚本,再启动静态服务器
CMD ["/bin/sh", "-c", "./env.sh && serve -s dist"]

29
.docker/build.sh Normal file
View File

@ -0,0 +1,29 @@
#!/bin/bash
# 停止脚本在出错时执行
set -e
# 获取版本号参数,默认为 latest
VERSION=${1:-latest}
# 设置 Docker 镜像名称
IMAGE_NAME="neighbourhood-frontend"
FULL_IMAGE_NAME="${IMAGE_NAME}:${VERSION}"
# 显示构建信息
echo "正在构建 Docker 镜像: ${FULL_IMAGE_NAME}"
echo "使用阿里云镜像源加速构建"
# 切换到项目根目录
cd "$(dirname "$0")/.." || exit 1
# 构建 Docker 镜像
docker build -t ${FULL_IMAGE_NAME} -f .docker/Dockerfile .
echo "镜像构建完成: ${FULL_IMAGE_NAME}"
# 运行示例
echo "运行示例:"
echo "docker run -d -p 5000:5000 -e BASE_URL=https://api.example.com ${FULL_IMAGE_NAME}"
echo "构建脚本执行完毕!"

22
.docker/env.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/sh
# 生成环境变量配置文件
echo "window.ENV = {" > ./dist/env-config.js
# 注入 BASE_URL 环境变量
if [ -n "$BASE_URL" ]; then
echo " BASE_URL: '$BASE_URL'," >> ./dist/env-config.js
fi
# 添加其他环境变量,如有需要
# if [ -n "$API_KEY" ]; then
# echo " API_KEY: '$API_KEY'," >> ./dist/env-config.js
# fi
# 关闭对象
echo "};" >> ./dist/env-config.js
# 确保 env-config.js 被引入到 index.html
sed -i "s/<\/head>/\n<script src=\"\/env-config.js\"><\/script>\n<\/head>/g" ./dist/index.html
echo "环境变量已注入到 dist/env-config.js 并已在 index.html 中引入"

11
.dockerignore Normal file
View File

@ -0,0 +1,11 @@
node_modules
npm-debug.log
yarn-error.log
.git
.gitignore
.env
.env.*
dist
.DS_Store
.idea
.vscode

2
.env Normal file
View File

@ -0,0 +1,2 @@
# API 基础地址
BASE_URL=http://192.168.60.120:8082

2
.env.example Normal file
View File

@ -0,0 +1,2 @@
# API 基础地址
BASE_URL=http://192.168.60.120:8082

10
.npmrc Normal file
View File

@ -0,0 +1,10 @@
registry=https://registry.npmmirror.com
disturl=https://npmmirror.com/mirrors/node
sass_binary_site=https://npmmirror.com/mirrors/node-sass
phantomjs_cdnurl=https://npmmirror.com/mirrors/phantomjs
electron_mirror=https://npmmirror.com/mirrors/electron
chromedriver_cdnurl=https://npmmirror.com/mirrors/chromedriver
operadriver_cdnurl=https://npmmirror.com/mirrors/operadriver
selenium_cdnurl=https://npmmirror.com/mirrors/selenium
node_inspector_cdnurl=https://npmmirror.com/mirrors/node-inspector
fsevents_binary_host_mirror=http://npmmirror.com/mirrors/fsevents

10
.yarnrc Normal file
View File

@ -0,0 +1,10 @@
registry "https://registry.npmmirror.com"
disturl "https://npmmirror.com/mirrors/node"
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
electron_mirror "https://npmmirror.com/mirrors/electron"
chromedriver_cdnurl "https://npmmirror.com/mirrors/chromedriver"
operadriver_cdnurl "https://npmmirror.com/mirrors/operadriver"
selenium_cdnurl "https://npmmirror.com/mirrors/selenium"
node_inspector_cdnurl "https://npmmirror.com/mirrors/node-inspector"
fsevents_binary_host_mirror "http://npmmirror.com/mirrors/fsevents"

20
docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
version: '3'
services:
frontend:
image: git.littlefat.tech/deploy/boluo/admin:latest
build:
context: .
dockerfile: .docker/Dockerfile
ports:
- "5000:5000"
environment:
- BASE_URL=http://192.168.60.120:8082
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:5000"]
interval: 30s
timeout: 10s
retries: 3

View File

@ -7,13 +7,14 @@ import { clearToken, getToken, gotoLogin } from '@/utils/login';
import { IRequestResponse } from './types/http';
/**
* @name 全局请求配置
* @doc https://umijs.org/docs/max/request#配置
*/
export const requestConfig: RequestConfig = {
// baseURL: 'https://neighbourhood.cn',
baseURL: 'http://192.168.60.120:8082',
baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string,
// 错误处理: umi@3 的错误处理方案。
errorConfig: {

7
src/types/global.d.ts vendored Normal file
View File

@ -0,0 +1,7 @@
interface Window {
ENV?: {
BASE_URL?: string;
// 其他环境变量
[key: string]: any;
};
}

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[849],{18037:function(s,n,t){t.r(n),t.d(n,{default:function(){return E}});var O=t(75271),u=t(67929),o=t(52676);function E(){var l=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:l})}}}]);

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -1,16 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>播络管理后台</title>
<link rel="stylesheet" href="/umi.fe20e75b.css">
<script async src="/scripts/loading.js"></script>
<script src="/preload_helper.156ed083.js"></script>
</head>
<body>
<div id="root"></div>
<script src="/umi.6921976f.js"></script>
</body>
</html>

View File

@ -1,40 +0,0 @@
<svg width="119" height="150" viewBox="0 0 119 150" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M80.175 13.0632C77.7363 14.5724 72.8825 18.5651 70.9547 22.1217C72.101 23.5385 74.2688 26.4282 74.9477 29.151L74.9327 29.1973C74.94 29.1911 74.9473 29.1849 74.9546 29.1787C74.9569 29.188 74.9592 29.1973 74.9614 29.2066L74.9765 29.1603C77.1261 27.3566 80.5784 26.293 82.3386 25.8206C82.8695 21.8101 81.2895 15.7269 80.2037 13.0725L80.2147 13.0387C80.2081 13.0427 80.2015 13.0468 80.1948 13.0509C80.1919 13.0437 80.1889 13.0365 80.186 13.0293L80.175 13.0632Z" fill="url(#paint0_linear_1133_1248)"/>
<rect x="30.068" y="34.5977" width="81" height="95" rx="40" transform="rotate(18 30.068 34.5977)" fill="url(#paint1_linear_1133_1248)"/>
<mask id="mask0_1133_1248" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="11" y="44" width="86" height="96">
<rect x="30.068" y="34.5977" width="81" height="95" rx="40" transform="rotate(18 30.068 34.5977)" fill="#6D3DF5"/>
</mask>
<g mask="url(#mask0_1133_1248)">
<path d="M44.1998 86.6703C37.3495 101.333 53.9573 129.851 56.966 141.123C50.6532 140.738 33.4868 137.658 19.2811 129.03C7.9165 122.127 3.17011 99.692 5.06788 89.3529C7.03047 80.549 14.0224 65.124 32.3405 57.7505C50.6585 50.377 77.9175 62.5192 82.781 63.2914C78.1227 67.8123 51.0501 72.0077 44.1998 86.6703Z" fill="url(#paint2_linear_1133_1248)"/>
<path d="M65.2721 89.672C56.6928 75.9492 31.4296 68.1613 20.334 64.5561C24.0902 59.4678 28.3099 52.9529 43.2763 45.724C55.2494 39.9408 76.6578 48.1585 84.3022 55.3739C90.6231 61.8088 99.7651 76.065 95.991 95.4473C92.2168 114.83 82.3105 126.226 79.0175 129.888L78.9682 129.639C77.657 123.01 73.7425 103.221 65.2721 89.672Z" fill="url(#paint3_linear_1133_1248)"/>
<path d="M54.3243 105.567C72.0134 102.903 82.3998 85.5969 94.1322 68.9053C96.6697 74.6985 99.4948 87.9969 94.0752 103.059C89.5736 115.571 85.9242 123.194 79.3388 130.518C71.3267 137.378 71.2493 137.241 62.0994 139.986C46.9544 144.528 41.9848 104.712 41.8182 103.606C45.9435 105.472 48.3502 106.467 54.3243 105.567Z" fill="url(#paint4_linear_1133_1248)"/>
</g>
<path d="M49.346 78.2787C50.1089 77.5699 51.1851 77.463 52.1429 77.8716C54.5231 78.8868 59.2767 81.3391 63.2464 86.0225C67.068 90.5312 68.8716 94.6597 69.6235 96.7902C69.9625 97.7509 69.8012 98.7972 69.1237 99.558C67.5202 101.359 63.7786 104.576 56.8886 105.614C50.361 106.597 45.798 105.796 43.4931 105.157C42.3728 104.847 41.5843 103.924 41.4146 102.774C41.005 99.9996 40.6797 94.3251 43.2682 88.0447C45.5974 82.3935 47.948 79.5776 49.346 78.2787Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M72.6959 36.1793C73.3511 22.5129 57.676 16.5076 50.0756 15.0896C59.4485 23.5722 57.0116 35.3237 54.4321 40.6567C59.4124 40.307 64.5418 40.8902 69.5817 42.5277L70.5328 42.8367C75.6599 44.5026 80.2205 47.1058 84.0867 50.395L84.8227 50.6341C85.8327 44.8288 90.7533 33.7742 103.392 32.4133C96.41 29.0931 80.1988 24.7378 72.6959 36.1793Z" fill="url(#paint5_linear_1133_1248)"/>
<defs>
<linearGradient id="paint0_linear_1133_1248" x1="79.7104" y1="12.8748" x2="74.4572" y2="29.0428" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFA564"/>
<stop offset="1" stop-color="#FF8064"/>
</linearGradient>
<linearGradient id="paint1_linear_1133_1248" x1="100.568" y1="73.5977" x2="83.9796" y2="125.245" gradientUnits="userSpaceOnUse">
<stop stop-color="#6D3DF5"/>
<stop offset="1" stop-color="#3D65F5"/>
</linearGradient>
<linearGradient id="paint2_linear_1133_1248" x1="43.6429" y1="140.834" x2="67.3536" y2="51.3927" gradientUnits="userSpaceOnUse">
<stop stop-color="#6D3DF5"/>
<stop offset="1" stop-color="#5A87FC"/>
</linearGradient>
<linearGradient id="paint3_linear_1133_1248" x1="25.9803" y1="58.5047" x2="78.4685" y2="99.217" gradientUnits="userSpaceOnUse">
<stop stop-color="#6D3DF5"/>
<stop offset="1" stop-color="#5A87FC"/>
</linearGradient>
<linearGradient id="paint4_linear_1133_1248" x1="105.072" y1="87.7149" x2="38.3481" y2="87.1272" gradientUnits="userSpaceOnUse">
<stop stop-color="#6D3DF5"/>
<stop offset="1" stop-color="#5A87FC"/>
</linearGradient>
<linearGradient id="paint5_linear_1133_1248" x1="58.4025" y1="17.4824" x2="51.1823" y2="39.7037" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFA564"/>
<stop offset="1" stop-color="#FF8064"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[571],{76682:function(s,t,n){n.r(t);var a=n(67929),E=n(82436),_=n(97705),P=n(75271),u=n(52676),o=function(){return(0,u.jsx)(E.ZP,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u3002",extra:(0,u.jsx)(_.ZP,{type:"primary",onClick:function(){return a.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})};t.default=o}}]);

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[880],{90620:function(N,m,e){e.r(m);var R=e(90228),E=e.n(R),b=e(87999),h=e.n(b),C=e(48305),c=e.n(C),U=e(93218),x=e(19191),A=e(90103),L=e(49973),Z=e(67929),v=e(4481),B=e(16483),T=e.n(B),s=e(75271),f=e(11039),p=e(55603),O=e(29078),l=e(52676),u=[{label:"\u6B63\u5E38",value:0},{label:"\u5C01\u7981",value:1}],y=function(){var g=(0,s.useState)(!1),D=c()(g,2),K=D[0],d=D[1],W=(0,s.useState)(),M=c()(W,2),j=M[0],S=M[1],P=(0,s.useRef)(),I=(0,s.useRef)(),F=[{title:"\u4E3B\u64AD\u6635\u79F0",dataIndex:"nickName",valueType:"textarea"},{title:"\u4E3B\u64ADID",dataIndex:"userId",valueType:"textarea",copyable:!0},{title:"\u4E3B\u64AD\u624B\u673A\u53F7",dataIndex:"userPhone",valueType:"textarea",copyable:!0},{title:"\u6CE8\u518C\u65F6\u95F4",dataIndex:"created",valueType:"dateTime",renderText:function(n){return T()(Number(n)).format(p.T)},search:!1},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"lastLoginDate",valueType:"textarea",search:!1,renderText:function(n){return T()(Number(n)).format(p.T)}},{title:"\u8D26\u53F7\u72B6\u6001",dataIndex:"status",valueType:"textarea",renderText:function(n){var _;return(_=u.find(function(a){return a.value===n}))===null||_===void 0?void 0:_.label},renderFormItem:function(){return(0,l.jsx)(v.Z,{showSearch:!0,allowClear:!0,options:u})}},{title:"\u57CE\u5E02",dataIndex:"city",valueType:"textarea",renderText:function(n){return f.JO.get(n)},renderFormItem:function(){return(0,l.jsx)(v.Z,{showSearch:!0,allowClear:!0,options:f.ZD,filterOption:function(_,a){var o;return((o=a==null?void 0:a.label)!==null&&o!==void 0?o:"").toLowerCase().includes(_.toLowerCase())}})}},{title:"\u64CD\u4F5C",valueType:"option",render:function(n,_){return(0,l.jsx)("a",{onClick:function(){d(!0),S(_)},children:"\u4FEE\u6539"},"config")}}];return(0,l.jsxs)(U._z,{children:[(0,l.jsx)(x.Z,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:P,rowKey:"key",search:{labelWidth:120,collapsed:!1,collapseRender:!1},request:O.q4,columns:F}),(0,l.jsx)(A.Y,{title:"\u66F4\u65B0\u4E3B\u64AD\u4FE1\u606F",width:"400px",formRef:I,open:K,onOpenChange:d,onFinish:function(){var r=h()(E()().mark(function n(_){var a,o,i;return E()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a={userId:j.userId,status:_.status},console.log("update confirm",_,a),t.prev=2,t.next=5,(0,O.FM)(a);case 5:(o=P.current)===null||o===void 0||o.reload(),(i=I.current)===null||i===void 0||i.resetFields(),t.next=11;break;case 9:t.prev=9,t.t0=t.catch(2);case 11:d(!1);case 12:case"end":return t.stop()}},n,null,[[2,9]])}));return function(n){return r.apply(this,arguments)}}(),children:(0,l.jsx)(L.Z,{name:"status",label:"\u8D26\u53F7\u72B6\u6001",options:u,rules:[{required:!0,message:"\u5FC5\u586B\u9879"}]})})]})};m.default=y}}]);

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[544],{71478:function(k,S,e){e.r(S),e.d(S,{default:function(){return Q}});var g=e(90228),y=e.n(g),N=e(87999),Z=e.n(N),D=e(48305),F=e.n(D),$=e(93218),M=e(19191),L=e(90103),W=e(49973),U=e(36161),Y=e(11267),i=e(75271),B=e(17146),u=e(52676),G=["fieldProps","proFieldProps"],w=function(s,c){var p=s.fieldProps,v=s.proFieldProps,h=(0,Y.Z)(s,G);return(0,u.jsx)(B.Z,(0,U.Z)({ref:c,valueType:"textarea",fieldProps:p,proFieldProps:v},h))},z=i.forwardRef(w),q=e(67929),f=e(4481),J=e(16483),x=e.n(J),C=e(11039),m=e(55603),_=function(n){return n.Free="free",n.VX="vx",n.AliPay="alipay",n.Other="other",n}({}),O=function(n){return n[n.Direct=0]="Direct",n[n.CS=1]="CS",n}({}),P=e(29078),b=[{label:"\u5F85\u5904\u7406",value:0},{label:"\u5DF2\u5904\u7406",value:1}],j=[{label:"\u76F4\u63A5\u8054\u7CFB",value:O.Direct},{label:"\u5BA2\u670D\u8054\u7CFB",value:O.CS}],T=[{label:"\u672A\u52A0",value:0},{label:"\u5DF2\u52A0",value:1}],K=function(){var s=(0,i.useState)(!1),c=F()(s,2),p=c[0],v=c[1],h=(0,i.useState)(),R=F()(h,2),V=R[0],X=R[1],A=(0,i.useRef)(),E=(0,i.useRef)(),H=[{title:"\u4E3B\u64AD\u6635\u79F0",dataIndex:"nickName",valueType:"textarea"},{title:"\u4E3B\u64ADID",dataIndex:"userId",valueType:"textarea",copyable:!0},{title:"\u4E3B\u64AD\u624B\u673A\u53F7",dataIndex:"userPhone",valueType:"textarea",copyable:!0},{title:"\u901A\u544A\u6807\u9898",dataIndex:"title",valueType:"textarea"},{title:"\u901A\u544AID",dataIndex:"jobId",valueType:"textarea",copyable:!0},{title:"\u89E3\u9501\u65F6\u95F4",dataIndex:"useDate",valueType:"dateTime",renderText:function(t){return x()(Number(t)).format(m.T)},search:!1},{title:"\u804C\u4F4D\u53D1\u5E03\u4EBA\u6635\u79F0",dataIndex:"publisher",valueType:"textarea",search:!1,copyable:!0},{title:"\u804C\u4F4D\u53D1\u5E03\u4EBAID",dataIndex:"blPublisherId",valueType:"textarea",copyable:!0},{title:"\u804C\u4F4D\u53D1\u5E03\u4EBA\u5FAE\u4FE1",dataIndex:"publisherAcctNo",valueType:"textarea",copyable:!0},{title:"\u62A5\u5355\u7C7B\u578B",dataIndex:"type",valueType:"textarea",renderText:function(t){var r;return(r=j.find(function(a){return a.value===t}))===null||r===void 0?void 0:r.label},renderFormItem:function(){return(0,u.jsx)(f.Z,{allowClear:!0,options:j})}},{title:"\u62A5\u5355\u65F6\u95F4",dataIndex:"declarationDate",valueType:"dateTime",renderText:function(t){return x()(Number(t)).format(m.T)},search:!1},{title:"\u62A5\u5355\u5904\u7406\u72B6\u6001",dataIndex:"declaredStatus",valueType:"textarea",renderText:function(t){var r,a=Number(t);return(r=b.find(function(o){return o.value===a}))===null||r===void 0?void 0:r.label},renderFormItem:function(){return(0,u.jsx)(f.Z,{showSearch:!0,allowClear:!0,options:b})}},{title:"\u62A5\u5355\u5904\u7406\u65F6\u95F4",dataIndex:"declaredDate",valueType:"dateTime",renderText:function(t){return x()(Number(t)).format(m.T)},search:!1},{title:"\u662F\u5426\u52A0\u4F01\u5FAE",dataIndex:"weComStatus",valueType:"textarea",renderText:function(t){var r;return(r=T.find(function(a){return a.value===t}))===null||r===void 0?void 0:r.label},renderFormItem:function(){return(0,u.jsx)(f.Z,{showSearch:!0,allowClear:!0,options:T})}},{title:"\u901A\u544A\u6240\u5C5E\u57CE\u5E02",dataIndex:"jobCityCode",valueType:"textarea",renderText:function(t){return C.JO.get(t)},renderFormItem:function(){return(0,u.jsx)(f.Z,{showSearch:!0,allowClear:!0,options:C.ZD,filterOption:function(r,a){var o;return((o=a==null?void 0:a.label)!==null&&o!==void 0?o:"").toLowerCase().includes(r.toLowerCase())}})}},{title:"\u62A5\u5355\u5907\u6CE8\u4FE1\u606F",dataIndex:"declaredMark",valueType:"textarea",search:!1},{title:"\u64CD\u4F5C",valueType:"option",fixed:"right",width:100,align:"center",render:function(t,r){return(0,u.jsx)("a",{onClick:function(){v(!0),X(r)},children:"\u4FEE\u6539"},"config")}}];return(0,u.jsxs)($._z,{children:[(0,u.jsx)(M.Z,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:A,rowKey:"key",search:{labelWidth:120,collapsed:!1,collapseRender:!1},request:P.Dn,columns:H,scroll:{x:"max-content"}}),(0,u.jsxs)(L.Y,{title:"\u66F4\u65B0\u62A5\u5355\u4FE1\u606F",width:"400px",formRef:E,open:p,onOpenChange:v,onFinish:function(){var l=Z()(y()().mark(function t(r){var a,o,I;return y()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return a={id:V.id,weComStatus:r.weComStatus},console.log("update confirm",r,a),d.prev=2,d.next=5,(0,P.$Q)(a);case 5:(o=A.current)===null||o===void 0||o.reload(),(I=E.current)===null||I===void 0||I.resetFields(),d.next=11;break;case 9:d.prev=9,d.t0=d.catch(2);case 11:v(!1);case 12:case"end":return d.stop()}},t,null,[[2,9]])}));return function(t){return l.apply(this,arguments)}}(),children:[(0,u.jsx)(W.Z,{name:"weComStatus",label:"\u662F\u5426\u52A0\u4F01\u5FAE",options:T,rules:[{required:!0,message:"\u5FC5\u586B\u9879"}]}),(0,u.jsx)(z,{name:"declaredMark",label:"\u62A5\u5355\u5907\u6CE8",placeholder:"\u8F93\u5165\u5907\u6CE8\u4FE1\u606F"})]})]})},Q=K}}]);

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[583],{85687:function(F,c,e){e.r(c);var P=e(90228),E=e.n(P),h=e(87999),C=e.n(h),R=e(48305),p=e.n(R),x=e(93218),U=e(19191),y=e(90103),v=e(49973),S=e(67929),O=e(4481),s=e(75271),u=e(11039),f=e(29078),_=e(52676),T=[{label:"\u6B63\u5E38",value:0},{label:"\u6682\u505C",value:1}],A=function(){var L=(0,s.useState)(!1),b=p()(L,2),B=b[0],d=b[1],g=(0,s.useState)(),D=p()(g,2),K=D[0],W=D[1],I=(0,s.useRef)(),M=(0,s.useRef)(),j=[{title:"\u7FA4\u540D\u79F0",dataIndex:"imGroupNick",valueType:"textarea",copyable:!0},{title:"\u7FA4ID",dataIndex:"id",valueType:"textarea",copyable:!0},{title:"\u6240\u5C5E\u57CE\u5E02",dataIndex:"city",valueType:"textarea",renderText:function(a){return u.JO.get(a)},renderFormItem:function(){return(0,_.jsx)(O.Z,{showSearch:!0,allowClear:!0,options:u.ZD,filterOption:function(r,t){var o;return((o=t==null?void 0:t.label)!==null&&o!==void 0?o:"").toLowerCase().includes(r.toLowerCase())}})}},{title:"\u7FA4\u72B6\u6001",dataIndex:"disable",valueType:"textarea",renderText:function(a){return a?"\u6682\u505C":"\u6B63\u5E38"},renderFormItem:function(){return(0,_.jsx)(O.Z,{showSearch:!0,allowClear:!0,options:T})}},{title:"\u673A\u5668\u4EBAID",dataIndex:"robotId",valueType:"textarea"},{title:"\u673A\u5668\u4EBA\u5FAE\u4FE1\u6635\u79F0",dataIndex:"robotImNick",valueType:"textarea"},{title:"\u673A\u5668\u4EBA\u5FAE\u4FE1\u8D26\u53F7",dataIndex:"robotImNo",valueType:"textarea"},{title:"\u64CD\u4F5C",valueType:"option",render:function(a,r){return(0,_.jsx)("a",{onClick:function(){d(!0),W(r)},children:"\u4FEE\u6539"},"config")}}];return(0,_.jsxs)(x._z,{children:[(0,_.jsx)(U.Z,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:I,rowKey:"key",search:{labelWidth:120,collapsed:!1,collapseRender:!1},request:f.hI,columns:j}),(0,_.jsxs)(y.Y,{title:"\u66F4\u65B0\u7FA4\u4FE1\u606F",width:"400px",formRef:M,open:B,onOpenChange:d,onFinish:function(){var l=C()(E()().mark(function a(r){var t,o,i,m;return E()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o={id:K.id,city:(t=r.city)===null||t===void 0?void 0:t.value,disable:r.disable},console.log("update confirm",r,o),n.prev=2,n.next=5,(0,f.tF)(o);case 5:(i=I.current)===null||i===void 0||i.reload(),(m=M.current)===null||m===void 0||m.resetFields(),n.next=11;break;case 9:n.prev=9,n.t0=n.catch(2);case 11:d(!1);case 12:case"end":return n.stop()}},a,null,[[2,9]])}));return function(a){return l.apply(this,arguments)}}(),children:[(0,_.jsx)(v.Z.SearchSelect,{name:"city",mode:"single",label:"\u6240\u5C5E\u57CE\u5E02",options:u.ZD}),(0,_.jsx)(v.Z,{name:"disable",label:"\u7FA4\u72B6\u6001",options:T})]})]})};c.default=A}}]);

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[209],{7690:function(N,i,e){e.r(i);var M=e(90228),m=e.n(M),P=e(87999),y=e.n(P),C=e(48305),c=e.n(C),R=e(93218),U=e(19191),A=e(90103),L=e(49973),G=e(67929),p=e(4481),B=e(16483),E=e.n(B),d=e(75271),v=e(11039),T=e(55603),I=e(29078),_=e(52676),f=[{label:"\u6B63\u5E38",value:0},{label:"\u6682\u505C",value:1}],g=function(){var j=(0,d.useState)(!1),b=c()(j,2),K=b[0],u=b[1],W=(0,d.useState)(),x=c()(W,2),O=x[0],S=x[1],D=(0,d.useRef)(),h=(0,d.useRef)(),F=[{title:"\u804C\u4F4D\u540D\u79F0",dataIndex:"title",valueType:"textarea"},{title:"\u804C\u4F4D\u63CF\u8FF0",dataIndex:"sourceText",valueType:"textarea",colSize:2,search:!1,copyable:!0,renderText:function(a){return a==null?void 0:a.substring(0,30)}},{title:"\u804C\u4F4DID",dataIndex:"jobId",valueType:"textarea",copyable:!0},{title:"\u57CE\u5E02",dataIndex:"cityCode",valueType:"textarea",renderText:function(a){return v.JO.get(a)},renderFormItem:function(){return(0,_.jsx)(p.Z,{showSearch:!0,allowClear:!0,options:v.ZD,filterOption:function(o,r){var l;return((l=r==null?void 0:r.label)!==null&&l!==void 0?l:"").toLowerCase().includes(o.toLowerCase())}})}},{title:"\u6240\u5728\u7FA4\u540D\u79F0",dataIndex:"imGroupNick",valueType:"textarea",copyable:!0},{title:"\u7FA4ID",dataIndex:"blGroupId",valueType:"textarea",search:!1,copyable:!0},{title:"\u53D1\u5E03\u4EBA\u6635\u79F0",dataIndex:"publisher",valueType:"textarea",copyable:!0},{title:"\u53D1\u5E03\u4EBAID",dataIndex:"blPublisherId",valueType:"textarea",copyable:!0},{title:"\u53D1\u5E03\u4EBA\u5FAE\u4FE1\u8D26\u53F7",dataIndex:"publisherAcctNo",valueType:"textarea",copyable:!0},{title:"\u53D1\u5E03\u7FA4\u6570\u91CF",dataIndex:"relateGroupCount",valueType:"textarea",search:!1},{title:"\u673A\u5668\u4EBAID",dataIndex:"robotId",valueType:"textarea"},{title:"\u673A\u5668\u4EBA\u5FAE\u4FE1\u6635\u79F0",dataIndex:"robotImNick",valueType:"textarea",search:!1},{title:"\u673A\u5668\u4EBA\u5FAE\u4FE1\u8D26\u53F7",dataIndex:"robotImNo",valueType:"textarea",search:!1},{title:"\u901A\u544A\u72B6\u6001",dataIndex:"disable",valueType:"textarea",renderText:function(a){return a?"\u6682\u505C":"\u6B63\u5E38"},renderFormItem:function(){return(0,_.jsx)(p.Z,{showSearch:!0,allowClear:!0,options:f})}},{title:"\u5C0F\u7A0B\u5E8F\u7528\u6237 id",dataIndex:"appUid",valueType:"textarea",search:!0},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created",valueType:"dateTime",renderText:function(a){return E()(Number(a)).format(T.T)},search:!1},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated",valueType:"dateTime",renderText:function(a){return E()(Number(a)).format(T.T)},search:!1},{title:"\u64CD\u4F5C",valueType:"option",fixed:"right",width:100,align:"center",render:function(a,o){return(0,_.jsx)("a",{onClick:function(){u(!0),S(o)},children:"\u4FEE\u6539"},"config")}}];return(0,_.jsxs)(R._z,{children:[(0,_.jsx)(U.Z,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:D,rowKey:"key",search:{labelWidth:120,collapsed:!1,collapseRender:!1},request:I.Go,columns:F,scroll:{x:"max-content"}}),(0,_.jsx)(A.Y,{title:"\u66F4\u65B0\u901A\u544A\u4FE1\u606F",width:"400px",formRef:h,open:K,onOpenChange:u,onFinish:function(){var t=y()(m()().mark(function a(o){var r,l,s;return m()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r={id:O.id,jobId:O.jobId,disable:Number(o.disable)!==0},console.log("update confirm",o,r),n.prev=2,n.next=5,(0,I.$y)(r);case 5:(l=D.current)===null||l===void 0||l.reload(),(s=h.current)===null||s===void 0||s.resetFields(),n.next=11;break;case 9:n.prev=9,n.t0=n.catch(2);case 11:u(!1);case 12:case"end":return n.stop()}},a,null,[[2,9]])}));return function(a){return t.apply(this,arguments)}}(),children:(0,_.jsx)(L.Z,{name:"disable",label:"\u901A\u544A\u72B6\u6001",options:f})})]})};i.default=g}}]);

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkboluo_admin=self.webpackChunkboluo_admin||[]).push([[935],{66268:function(Y,g,e){e.r(g),e.d(g,{default:function(){return J}});var N=e(90228),O=e.n(N),Z=e(87999),A=e.n(Z),$=e(48305),C=e.n($),L=e(93218),U=e(19191),E=e(90103),B=e(49973),H=e(67929),c=e(4481),M=e(16483),R=e.n(M),m=e(75271),j=e(45973),b=e(13033),a=e(52676),D=(0,b.kc)(function(){return{container:{width:330,display:"flex",flexDirection:"row",flexWrap:"wrap",marginLeft:"-10px",marginBottom:"-10px"},imageContainer:{marginLeft:"10px",marginBottom:"10px"}}}),G=function(y){var v=y.videos,x=v===void 0?[]:v,f=D(),T=f.styles,p=function(I,h){var s=x[h.current];return!s||s.type==="image"?I:(0,a.jsx)("video",{controls:!0,autoPlay:!0,width:"400px",src:s.url})};return(0,a.jsx)("div",{className:T.container,children:(0,a.jsx)(j.Z.PreviewGroup,{preview:{imageRender:p,toolbarRender:function(){return null},destroyOnClose:!0},children:x.map(function(d){return(0,a.jsx)(j.Z,{width:100,src:d.coverUrl,wrapperClassName:T.imageContainer},d.coverUrl)})})})},W=G,F=e(11039),w=e(55603),P=e(29078),o=[{label:"\u5F00\u653E",value:!0},{label:"\u5C01\u7981",value:!1}],z=function(){var y=(0,m.useState)(!1),v=C()(y,2),x=v[0],f=v[1],T=(0,m.useState)(),p=C()(T,2),d=p[0],I=p[1],h=(0,m.useRef)(),s=(0,m.useRef)(),V=[{title:"\u89C6\u9891",dataIndex:"userId",valueType:"textarea",copyable:!0,search:!1,render:function(t,r){return(0,a.jsx)(W,{videos:r.materialVideoInfoList})}},{title:"\u4E3B\u64ADID",dataIndex:"userId",valueType:"textarea",copyable:!0},{title:"\u6A21\u5361\u6635\u79F0",dataIndex:"name",valueType:"textarea"},{title:"\u4E3B\u64AD\u6635\u79F0",dataIndex:"nickname",valueType:"textarea",search:!1},{title:"\u81EA\u8EAB\u4F18\u52BF",dataIndex:"advantages",valueType:"textarea",search:!1,width:200},{title:"\u6A21\u5361\u72B6\u6001",dataIndex:"isOpen",valueType:"textarea",renderText:function(t){var r;return(r=o.find(function(n){return n.value===t}))===null||r===void 0?void 0:r.label},renderFormItem:function(){return(0,a.jsx)(c.Z,{showSearch:!0,allowClear:!0,options:o})},search:!1},{title:"\u4E3B\u64AD\u6A21\u5361\u72B6\u6001",dataIndex:"userOpen",valueType:"textarea",renderText:function(t){var r;return(r=o.find(function(n){return n.value===t}))===null||r===void 0?void 0:r.label},renderFormItem:function(){return(0,a.jsx)(c.Z,{showSearch:!0,allowClear:!0,options:o})}},{title:"\u540E\u53F0\u6A21\u5361\u72B6\u6001",dataIndex:"adminOpen",valueType:"textarea",renderText:function(t){var r;return(r=o.find(function(n){return n.value===t}))===null||r===void 0?void 0:r.label},renderFormItem:function(){return(0,a.jsx)(c.Z,{showSearch:!0,allowClear:!0,options:o})}},{title:"\u610F\u5411\u57CE\u5E02",dataIndex:"cityCode",valueType:"textarea",renderText:function(t){return F.JO.get(t)},renderFormItem:function(){return(0,a.jsx)(c.Z,{showSearch:!0,allowClear:!0,options:F.ZD,filterOption:function(r,n){var i;return((i=n==null?void 0:n.label)!==null&&i!==void 0?i:"").toLowerCase().includes(r.toLowerCase())}})}},{title:"\u64AD\u8FC7\u7684\u54C1\u7C7B",dataIndex:"workedSecCategoryStr",valueType:"textarea",search:!1,width:200},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created",valueType:"dateTime",renderText:function(t){return R()(Number(t)).format(w.T)},search:!1,sorter:!0},{title:"\u4FEE\u6539\u65F6\u95F4",dataIndex:"updated",valueType:"dateTime",renderText:function(t){return R()(Number(t)).format(w.T)},search:!1,sorter:!0},{title:"\u64CD\u4F5C",valueType:"option",fixed:"right",width:100,align:"center",render:function(t,r){return(0,a.jsx)("a",{onClick:function(){f(!0),I(r)},children:"\u4FEE\u6539"},"config")}}];return(0,a.jsxs)(L._z,{children:[(0,a.jsx)(U.Z,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:h,rowKey:"key",search:{labelWidth:120,collapsed:!1,collapseRender:!1},request:P._h,columns:V,scroll:{x:"max-content"}}),(0,a.jsx)(E.Y,{title:"\u66F4\u65B0\u6A21\u5361\u4FE1\u606F",width:"400px",formRef:s,open:x,onOpenChange:f,onFinish:function(){var l=A()(O()().mark(function t(r){var n,i,S;return O()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return n={id:d.id,adminOpen:Number(r.adminOpen)},console.log("update confirm",r,n),u.prev=2,u.next=5,(0,P.MP)(n);case 5:(i=h.current)===null||i===void 0||i.reload(),(S=s.current)===null||S===void 0||S.resetFields(),u.next=11;break;case 9:u.prev=9,u.t0=u.catch(2);case 11:f(!1);case 12:case"end":return u.stop()}},t,null,[[2,9]])}));return function(t){return l.apply(this,arguments)}}(),children:(0,a.jsx)(B.Z,{name:"adminOpen",label:"\u540E\u53F0\u6A21\u5361\u72B6\u6001",options:o,rules:[{required:!0,message:"\u5FC5\u586B\u9879"}]})})]})},J=z}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"boluo-admin","b":"webpack","f":[["33.bc87f474.async.js",33],["p__user__login__index.ddbeca1d.async.js",37],["p__table-list__job__index.333a69f3.async.js",209],["293.7c030207.async.js",293],["t__plugin-layout__Layout.5012e1ab.chunk.css",301],["t__plugin-layout__Layout.677fcfb3.async.js",301],["315.4c4d15c9.async.js",315],["387.19aacc56.async.js",387],["436.8ec0b242.async.js",436],["p__table-list__anchor-group__index.f3030792.async.js",525],["p__table-list__declaration__index.dec5b489.async.js",544],["p__404.affc3845.async.js",571],["p__table-list__group__index.6298cbff.async.js",583],["595.44b14770.async.js",595],["p__table-list__publisher__index.b32f1fc0.async.js",845],["849.cbcb9a3b.async.js",849],["p__table-list__anchor__index.0eb8e3c6.async.js",880],["p__table-list__material__index.99f2d4a2.async.js",935]],"r":{"/*":[8,11],"/":[3,4,5,6,8],"/user/login":[1,3,13],"/list/job":[0,2,3,7,8,13,4,5,6],"/list/group":[0,3,7,8,12,13,4,5,6],"/list/anchor-group":[3,7,8,9,13,4,5,6],"/list/publisher":[3,7,8,13,14,4,5,6],"/list/anchor":[0,3,7,8,13,16,4,5,6],"/list/declaration":[0,3,7,8,10,13,4,5,6],"/list/resume":[0,3,7,8,13,17,4,5,6]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}();

View File

@ -1,5 +0,0 @@
<svg width="42" height="42" xmlns="http://www.w3.org/2000/svg">
<g>
<path fill="#070707" d="m6.717392,13.773912l5.6,0c2.8,0 4.7,1.9 4.7,4.7c0,2.8 -2,4.7 -4.9,4.7l-2.5,0l0,4.3l-2.9,0l0,-13.7zm2.9,2.2l0,4.9l1.9,0c1.6,0 2.6,-0.9 2.6,-2.4c0,-1.6 -0.9,-2.4 -2.6,-2.4l-1.9,0l0,-0.1zm8.9,11.5l2.7,0l0,-5.7c0,-1.4 0.8,-2.3 2.2,-2.3c0.4,0 0.8,0.1 1,0.2l0,-2.4c-0.2,-0.1 -0.5,-0.1 -0.8,-0.1c-1.2,0 -2.1,0.7 -2.4,2l-0.1,0l0,-1.9l-2.7,0l0,10.2l0.1,0zm11.7,0.1c-3.1,0 -5,-2 -5,-5.3c0,-3.3 2,-5.3 5,-5.3s5,2 5,5.3c0,3.4 -1.9,5.3 -5,5.3zm0,-2.1c1.4,0 2.2,-1.1 2.2,-3.2c0,-2 -0.8,-3.2 -2.2,-3.2c-1.4,0 -2.2,1.2 -2.2,3.2c0,2.1 0.8,3.2 2.2,3.2z" class="st0" id="Ant-Design-Pro"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 677 B

View File

@ -1,202 +0,0 @@
/**
* loading 占位
* 解决首次加载时白屏的问题
*/
(function () {
const _root = document.querySelector('#root');
if (_root && _root.innerHTML === '') {
_root.innerHTML = `
<style>
html,
body,
#root {
height: 100%;
margin: 0;
padding: 0;
}
#root {
background-repeat: no-repeat;
background-size: 100% auto;
}
.loading-title {
font-size: 1.1rem;
}
.loading-sub-title {
margin-top: 20px;
font-size: 1rem;
color: #888;
}
.page-loading-warp {
display: flex;
align-items: center;
justify-content: center;
padding: 26px;
}
.ant-spin {
position: absolute;
display: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
color: #1890ff;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
text-align: center;
list-style: none;
opacity: 0;
-webkit-transition: -webkit-transform 0.3s
cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: -webkit-transform 0.3s
cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
-webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
-webkit-font-feature-settings: "tnum";
font-feature-settings: "tnum";
}
.ant-spin-spinning {
position: static;
display: inline-block;
opacity: 1;
}
.ant-spin-dot {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
font-size: 20px;
}
.ant-spin-dot-item {
position: absolute;
display: block;
width: 9px;
height: 9px;
background-color: #1890ff;
border-radius: 100%;
-webkit-transform: scale(0.75);
-ms-transform: scale(0.75);
transform: scale(0.75);
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
opacity: 0.3;
-webkit-animation: antspinmove 1s infinite linear alternate;
animation: antSpinMove 1s infinite linear alternate;
}
.ant-spin-dot-item:nth-child(1) {
top: 0;
left: 0;
}
.ant-spin-dot-item:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.ant-spin-dot-item:nth-child(3) {
right: 0;
bottom: 0;
-webkit-animation-delay: 0.8s;
animation-delay: 0.8s;
}
.ant-spin-dot-item:nth-child(4) {
bottom: 0;
left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s;
}
.ant-spin-dot-spin {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: antrotate 1.2s infinite linear;
animation: antRotate 1.2s infinite linear;
}
.ant-spin-lg .ant-spin-dot {
width: 32px;
height: 32px;
font-size: 32px;
}
.ant-spin-lg .ant-spin-dot i {
width: 14px;
height: 14px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.ant-spin-blur {
background: #fff;
opacity: 0.5;
}
}
@-webkit-keyframes antSpinMove {
to {
opacity: 1;
}
}
@keyframes antSpinMove {
to {
opacity: 1;
}
}
@-webkit-keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}
@keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}
</style>
<div style="
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-height: 362px;
">
<div class="page-loading-warp">
<div class="ant-spin ant-spin-lg ant-spin-spinning">
<span class="ant-spin-dot ant-spin-dot-spin">
<i class="ant-spin-dot-item"></i>
<i class="ant-spin-dot-item"></i>
<i class="ant-spin-dot-item"></i>
<i class="ant-spin-dot-item"></i>
</span>
</div>
</div>
<div class="loading-title">
正在加载资源
</div>
<div class="loading-sub-title">
初次加载资源可能需要较多时间 请耐心等待
</div>
</div>
`;
}
})();

View File

@ -1 +0,0 @@
@media screen and (max-width: 480px){.umi-plugin-layout-container{width:100%!important}.umi-plugin-layout-container>*{border-radius:0!important}}.umi-plugin-layout-menu .anticon{margin-right:8px}.umi-plugin-layout-menu .ant-dropdown-menu-item{min-width:160px}.umi-plugin-layout-right{display:flex!important;float:right;height:100%;margin-left:auto;overflow:hidden}.umi-plugin-layout-right .umi-plugin-layout-action{display:flex;align-items:center;height:100%;padding:0 12px;cursor:pointer;transition:all .3s}.umi-plugin-layout-right .umi-plugin-layout-action>i{color:#ffffffd9;vertical-align:middle}.umi-plugin-layout-right .umi-plugin-layout-action:hover,.umi-plugin-layout-right .umi-plugin-layout-action.opened{background:#00000006}.umi-plugin-layout-right .umi-plugin-layout-search{padding:0 12px}.umi-plugin-layout-right .umi-plugin-layout-search:hover{background:transparent}.umi-plugin-layout-name{margin-left:8px}.umi-plugin-layout-name.umi-plugin-layout-hide-avatar-img{margin-left:0}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
html,body,#root{height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.colorWeak{filter:invert(80%)}.ant-layout{min-height:100vh}.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed{left:unset}canvas{display:block}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}@media (max-width: 768px){.ant-table{width:100%;overflow-x:auto}.ant-table-thead>tr>th,.ant-table-tbody>tr>th,.ant-table-thead>tr>td,.ant-table-tbody>tr>td{white-space:pre}.ant-table-thead>tr>th>span,.ant-table-tbody>tr>th>span,.ant-table-thead>tr>td>span,.ant-table-tbody>tr>td>span{display:block}}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}