This commit is contained in:
2022-10-22 11:01:52 +08:00
commit 200117b921
105 changed files with 26944 additions and 0 deletions

6
osdict_front/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM nginx:stable
COPY ./*.conf /etc/nginx/conf.d
COPY . /var/local/web/
CMD [ "nginx", "-g", "daemon off;" ]

17
osdict_front/Makefile Normal file
View File

@ -0,0 +1,17 @@
WORKDIR = $(shell pwd)
PROJECT_NAME = osdict_front
DOCKER_HUB_ADDR = registry.cn-beijing.aliyuncs.com/cypress-boat
IMAGE_REPOSITORY = ${DOCKER_HUB_ADDR}/${PROJECT_NAME}
TAG ?= latest
IMAGE_REPOSITORY_TAG = ${IMAGE_REPOSITORY}:${TAG}
.PHONY: image publish
image:
docker build --platform=amd64 -t ${IMAGE_REPOSITORY_TAG} .
publish:
@echo "push ${IMAGE_REPOSITORY_TAG}"
docker push ${IMAGE_REPOSITORY_TAG}
all: image publish

View File

@ -0,0 +1 @@
.localhistory-container{border:1px solid #ccc;border-radius:4px;background:#fff}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,3 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>osdictvue</title><style>html,body{height: 100%;width: 100%;margin: 0px;overflow-y: auto;}
.botton-link{display:inline-block;text-decoration:none;height:20px;line-height:20px;}
.botton-text{float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;}</style><link href="/css/app.26a77fe3.css" rel="preload" as="style"><link href="/css/chunk-vendors.815ddbf8.css" rel="preload" as="style"><link href="/js/app.172fd3fb.js" rel="preload" as="script"><link href="/js/chunk-vendors.c967b810.js" rel="preload" as="script"><link href="/css/chunk-vendors.815ddbf8.css" rel="stylesheet"><link href="/css/app.26a77fe3.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but osdictvue2 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div style="width:300px;margin:0 auto; padding:20px 0;"><a href="https://beian.miit.gov.cn/" target="_blank" class="botton-link"><span class="botton-text">渝ICP备2021011178号</span></a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802037748" class="botton-link"><img src="http://www.beian.gov.cn/img/new/gongan.png" style="float:left;"><p class="botton-text">京公网安备 11010802037748号</p></a></div><script src="/js/chunk-vendors.c967b810.js"></script><script src="/js/app.172fd3fb.js"></script></body></html>

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

Binary file not shown.

Binary file not shown.

17
osdict_front/osdict.conf Normal file
View File

@ -0,0 +1,17 @@
server {
listen 80;
#你的域名
server_name 127.0.0.1;
location /api/ {
rewrite /api/(.+)$ /$1 break;
proxy_pass http://192.168.88.100:8000;
}
location / {
root /var/local/web/osdict-front/dist;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}