diff --git a/.env.development b/.env.development index 555fc75..c87e9fd 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_OUTPUT_DIR = 'dev' VITE_PUBLIC_PATH = / #新数据接口 -# VITE_APP_API_BASE_URL = "http://39.101.133.168:8828/link" +VITE_APP_API_BASE_URL = "http://39.101.133.168:8828/link" # Whether to open mock diff --git a/src/assets/img/zhongchou/bg.png b/src/assets/img/zhongchou/bg.png new file mode 100644 index 0000000..3e4f021 Binary files /dev/null and b/src/assets/img/zhongchou/bg.png differ diff --git a/src/assets/img/zhongchou/blueBg.png b/src/assets/img/zhongchou/blueBg.png new file mode 100644 index 0000000..fdebdbc Binary files /dev/null and b/src/assets/img/zhongchou/blueBg.png differ diff --git a/src/assets/img/zhongchou/redBg.png b/src/assets/img/zhongchou/redBg.png new file mode 100644 index 0000000..c72d6d6 Binary files /dev/null and b/src/assets/img/zhongchou/redBg.png differ diff --git a/src/assets/img/zhongchou/rocket.gif b/src/assets/img/zhongchou/rocket.gif new file mode 100644 index 0000000..d684c9c Binary files /dev/null and b/src/assets/img/zhongchou/rocket.gif differ diff --git a/src/assets/img/zhongchou/助力港股.png b/src/assets/img/zhongchou/助力港股.png new file mode 100644 index 0000000..1e35422 Binary files /dev/null and b/src/assets/img/zhongchou/助力港股.png differ diff --git a/src/assets/img/zhongchou/助力美股.png b/src/assets/img/zhongchou/助力美股.png new file mode 100644 index 0000000..b7448e7 Binary files /dev/null and b/src/assets/img/zhongchou/助力美股.png differ diff --git a/src/assets/img/zhongchou/大标题.png b/src/assets/img/zhongchou/大标题.png new file mode 100644 index 0000000..06a6b9c Binary files /dev/null and b/src/assets/img/zhongchou/大标题.png differ diff --git a/src/assets/img/zhongchou/底座.png b/src/assets/img/zhongchou/底座.png new file mode 100644 index 0000000..83b0b06 Binary files /dev/null and b/src/assets/img/zhongchou/底座.png differ diff --git a/src/assets/img/zhongchou/时间边框.png b/src/assets/img/zhongchou/时间边框.png new file mode 100644 index 0000000..1d76c2c Binary files /dev/null and b/src/assets/img/zhongchou/时间边框.png differ diff --git a/src/assets/img/zhongchou/框.png b/src/assets/img/zhongchou/框.png new file mode 100644 index 0000000..9fa8501 Binary files /dev/null and b/src/assets/img/zhongchou/框.png differ diff --git a/src/assets/img/zhongchou/活动需知.png b/src/assets/img/zhongchou/活动需知.png new file mode 100644 index 0000000..21fba5c Binary files /dev/null and b/src/assets/img/zhongchou/活动需知.png differ diff --git a/src/assets/img/zhongchou/浮窗.png b/src/assets/img/zhongchou/浮窗.png new file mode 100644 index 0000000..923dc5f Binary files /dev/null and b/src/assets/img/zhongchou/浮窗.png differ diff --git a/src/assets/img/zhongchou/港股.png b/src/assets/img/zhongchou/港股.png new file mode 100644 index 0000000..26d9a23 Binary files /dev/null and b/src/assets/img/zhongchou/港股.png differ diff --git a/src/assets/img/zhongchou/港股已助力.png b/src/assets/img/zhongchou/港股已助力.png new file mode 100644 index 0000000..fbc4fd2 Binary files /dev/null and b/src/assets/img/zhongchou/港股已助力.png differ diff --git a/src/assets/img/zhongchou/火箭.png b/src/assets/img/zhongchou/火箭.png new file mode 100644 index 0000000..1723813 Binary files /dev/null and b/src/assets/img/zhongchou/火箭.png differ diff --git a/src/assets/img/zhongchou/知道了.png b/src/assets/img/zhongchou/知道了.png new file mode 100644 index 0000000..e65b36a Binary files /dev/null and b/src/assets/img/zhongchou/知道了.png differ diff --git a/src/assets/img/zhongchou/美股.png b/src/assets/img/zhongchou/美股.png new file mode 100644 index 0000000..591eec2 Binary files /dev/null and b/src/assets/img/zhongchou/美股.png differ diff --git a/src/assets/img/zhongchou/美股已助力.png b/src/assets/img/zhongchou/美股已助力.png new file mode 100644 index 0000000..0c31526 Binary files /dev/null and b/src/assets/img/zhongchou/美股已助力.png differ diff --git a/src/main.js b/src/main.js index a322893..91255fe 100644 --- a/src/main.js +++ b/src/main.js @@ -1,12 +1,6 @@ import { createApp } from 'vue' -import ElementPlus from 'element-plus' -import 'element-plus/dist/index.css' -import './style.css' +// import './style.css' import App from './App.vue' import router from './router' -// createApp(App).use(router).mount('#app') -const app = createApp(App) -app.use(router) -app.use(ElementPlus) -app.mount('#app') \ No newline at end of file +createApp(App).use(router).mount('#app') \ No newline at end of file diff --git a/src/style.css b/src/style.css index 2df1ab1..ce380ee 100644 --- a/src/style.css +++ b/src/style.css @@ -1,4 +1,4 @@ -:root { +/* :root { font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; font-weight: 400; @@ -25,7 +25,7 @@ a:hover { body { margin: 0; display: flex; - /* place-items: center; */ + place-items: center; min-width: 320px; min-height: 100vh; } @@ -59,10 +59,10 @@ button:focus-visible { } #app { - /* max-width: 1280px; */ - /* margin: 0 auto; */ - /* padding: 2rem; */ - /* text-align: center; */ + margin: 0 auto; + display: flex; + width: 100%; + height: auto; } @media (prefers-color-scheme: light) { @@ -76,4 +76,4 @@ button:focus-visible { button { background-color: #f9f9f9; } -} +} */ diff --git a/src/views/zhongchou/index.vue b/src/views/zhongchou/index.vue index 2208c03..065385e 100644 --- a/src/views/zhongchou/index.vue +++ b/src/views/zhongchou/index.vue @@ -1,13 +1,757 @@ \ No newline at end of file + .main-title h1 { + font-size: 2rem; + } +} */ + diff --git a/vite.config.js b/vite.config.js index bbcf80c..ea0cfd0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,7 +1,13 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +import path from 'path' // https://vite.dev/config/ export default defineConfig({ plugins: [vue()], + resolve: { + alias: { + '@': path.resolve(process.cwd(), 'src') + } + } })