Skip to content

Commit

Permalink
feat: 部署页面
Browse files Browse the repository at this point in the history
  • Loading branch information
Evans Ma committed Oct 12, 2023
1 parent a56b9b0 commit 2aed0eb
Show file tree
Hide file tree
Showing 18 changed files with 303 additions and 57 deletions.
147 changes: 90 additions & 57 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,68 +1,101 @@
<!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>web-see-demo</title><script defer="defer" src="/js/chunk-vendors.baf75802.js"></script><script defer="defer" src="/js/app.89d48078.js"></script><link href="/css/chunk-vendors.ab49d789.css" rel="stylesheet"><link href="/css/app.8a282438.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but web-see-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><style>:root {
--loading-grey: #ededed;
}
<!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>web-see-demo</title>
<script defer="defer" src="/js/chunk-vendors.baf75802.js"></script>
<script defer="defer" src="/js/app.89d48078.js"></script>
<link href="/css/chunk-vendors.ab49d789.css" rel="stylesheet" />
<link href="/css/app.8a282438.css" rel="stylesheet" />
</head>
<body>
<noscript><strong>We're sorry but web-see-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript
><style>
:root {
--loading-grey: #ededed;
}

body {
background-color: #f6f6f6;
font-family: Helvetica;
font-size: 15px;
height: 100vh;
padding: 0 6px;
}
body {
background-color: #f6f6f6;
font-family: Helvetica;
font-size: 15px;
height: 100vh;
padding: 0 6px;
}

.skeleton {
background-color: #fff;
border-radius: 6px;
overflow: hidden;
box-shadow: 0px 4px 6px rgba(0, 0, 0, .12);
}
.skeleton {
background-color: #fff;
border-radius: 6px;
overflow: hidden;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.12);
}

.header {
height: 200px;
}
.header {
height: 200px;
}

.content {
padding: 2rem 1.8rem;
}
.content {
padding: 2rem 1.8rem;
}

h4 {
margin: 0 0 1rem;
font-size: 1.5rem;
line-height: 1.5rem;
}
h4 {
margin: 0 0 1rem;
font-size: 1.5rem;
line-height: 1.5rem;
}

.place {
font-size: 1rem;
line-height: 1.4rem;
}
.place {
font-size: 1rem;
line-height: 1.4rem;
}

.loading .header,
.loading h4,
.loading .place {
background-color: var(--loading-grey);
background: linear-gradient(100deg,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, .5) 50%,
rgba(255, 255, 255, 0) 60%) var(--loading-grey);
background-size: 200% 100%;
background-position-x: 180%;
animation: 1.2s loading ease-in-out infinite;
}
.loading .header,
.loading h4,
.loading .place {
background-color: var(--loading-grey);
background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60%) var(--loading-grey);
background-size: 200% 100%;
background-position-x: 180%;
animation: 1.2s loading ease-in-out infinite;
}

@keyframes loading {
to {
background-position-x: -20%;
@keyframes loading {
to {
background-position-x: -20%;
}
}
}

.loading h4 {
min-height: 1.6rem;
border-radius: 4px;
animation-delay: .05s;
}
.loading h4 {
min-height: 1.6rem;
border-radius: 4px;
animation-delay: 0.05s;
}

.loading .place {
min-height: 4rem;
border-radius: 4px;
animation-delay: .06s;
}</style><div id="app"><div class="skeleton loading"><div class="header"></div><div class="content"><h4></h4><div class="place"></div></div><div class="content"><h4></h4><div class="place"></div></div><div class="content"><h4></h4><div class="place"></div></div></div></div></body></html>
.loading .place {
min-height: 4rem;
border-radius: 4px;
animation-delay: 0.06s;
}
</style>
<div id="app">
<div class="skeleton loading">
<div class="header"></div>
<div class="content">
<h4></h4>
<div class="place"></div>
</div>
<div class="content">
<h4></h4>
<div class="place"></div>
</div>
<div class="content">
<h4></h4>
<div class="place"></div>
</div>
</div>
</div>
</body>
</html>
4 changes: 4 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
const { defineConfig } = require('@vue/cli-service');
const { PerfseePlugin } = require('@perfsee/webpack')

const prodDir = 'web-see-demo';

module.exports = defineConfig({
publicPath: `/${prodDir}`,
outputDir: `${prodDir}`,
devServer: {
proxy: {
'/getErrorList': {
Expand Down
1 change: 1 addition & 0 deletions web-see-demo/css/app.8a282438.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web-see-demo/css/chunk-vendors.10c346ff.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web-see-demo/css/home.70f2975c.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added web-see-demo/favicon.ico
Binary file not shown.
Binary file added web-see-demo/fonts/element-icons.f1a45d74.ttf
Binary file not shown.
Binary file added web-see-demo/fonts/element-icons.ff18efd1.woff
Binary file not shown.
Binary file added web-see-demo/img/logo.14891075.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions web-see-demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!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="/web-see-demo/favicon.ico" />
<title>web-see-demo</title>
<script defer="defer" src="/web-see-demo/js/chunk-vendors.baf75802.js"></script>
<script defer="defer" src="/web-see-demo/js/app.2f90ab45.js"></script>
<link href="/web-see-demo/css/chunk-vendors.10c346ff.css" rel="stylesheet" />
<link href="/web-see-demo/css/app.8a282438.css" rel="stylesheet" />
</head>
<body>
<noscript><strong>We're sorry but web-see-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript
><style>
:root {
--loading-grey: #ededed;
}

body {
background-color: #f6f6f6;
font-family: Helvetica;
font-size: 15px;
height: 100vh;
padding: 0 6px;
}

.skeleton {
background-color: #fff;
border-radius: 6px;
overflow: hidden;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.12);
}

.header {
height: 200px;
}

.content {
padding: 2rem 1.8rem;
}

h4 {
margin: 0 0 1rem;
font-size: 1.5rem;
line-height: 1.5rem;
}

.place {
font-size: 1rem;
line-height: 1.4rem;
}

.loading .header,
.loading h4,
.loading .place {
background-color: var(--loading-grey);
background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60%) var(--loading-grey);
background-size: 200% 100%;
background-position-x: 180%;
animation: 1.2s loading ease-in-out infinite;
}

@keyframes loading {
to {
background-position-x: -20%;
}
}

.loading h4 {
min-height: 1.6rem;
border-radius: 4px;
animation-delay: 0.05s;
}

.loading .place {
min-height: 4rem;
border-radius: 4px;
animation-delay: 0.06s;
}
</style>
<div id="app">
<div class="skeleton loading">
<div class="header"></div>
<div class="content">
<h4></h4>
<div class="place"></div>
</div>
<div class="content">
<h4></h4>
<div class="place"></div>
</div>
<div class="content">
<h4></h4>
<div class="place"></div>
</div>
</div>
</div>
</body>
</html>
2 changes: 2 additions & 0 deletions web-see-demo/js/about.e5cf1a09.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web-see-demo/js/about.e5cf1a09.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2aed0eb

Please sign in to comment.