Commit df5743b6 authored by chenqikuai's avatar chenqikuai

fix

parent 37c0bc60
...@@ -3,3 +3,4 @@ node_modules ...@@ -3,3 +3,4 @@ node_modules
dist dist
dist-ssr dist-ssr
*.local *.local
fns_front*/
\ No newline at end of file
tar -czf fns_front_download.tar fns_front_download
scp fns_front_download.tar root@121.40.18.70:/usr/share/nginx/html/fns_front_download.tar
rm -rf fns_front_download.tar
ssh root@121.40.18.70 'cd /usr/share/nginx/html && rm -rf fns_front_download && tar -xzf fns_front_download.tar && rm -rf fns_front_download.tar'
echo '👉 http://121.40.18.70:2045/'
\ No newline at end of file
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
"name": "vite-project", "name": "vite-project",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite --host",
"build": "vue-tsc --noEmit && vite build", "build": "vue-tsc --noEmit && vite build",
"bd": "vue-tsc --noEmit && vite build && bash bash.sh",
"serve": "vite preview" "serve": "vite preview"
}, },
"dependencies": { "dependencies": {
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</div> </div>
<div class="notify" v-if="notifyStr">{{ notifyStr }}</div> <div class="notify" v-if="notifyStr">{{ notifyStr }}</div>
<div class="ig-notify2" v-if="notifyStr2">{{ notifyStr2 }}</div> <div class="ig-notify2" v-if="notifyStr2">{{ notifyStr2 }}</div>
<div id="wechat_tip" class="ig-wechat-tip" v-if="isInWeChat"> <div class="ig-wechat-tip" v-if="isInWeChat">
<div class="ig-wechat-tip_img"></div> <div class="ig-wechat-tip_img"></div>
</div> </div>
</template> </template>
...@@ -89,8 +89,7 @@ let timeoutid = NaN; ...@@ -89,8 +89,7 @@ let timeoutid = NaN;
const isInWeChat = ref(true) const isInWeChat = ref(true)
onBeforeMount(() => { onBeforeMount(() => {
isInWeChat.value = isWeChat(); // isInWeChat.value = isWeChat();
}) })
...@@ -126,9 +125,11 @@ a { ...@@ -126,9 +125,11 @@ a {
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
background-color: rgba(0, 0, 0, 0.6); // background-color: rgba(0, 0, 0, 0.6);
background-color: black;
opacity: 0.6;
text-align: center; text-align: center;
z-index: 10; z-index: 100;
} }
.ig-wechat-tip_img { .ig-wechat-tip_img {
margin: 5px auto 0; margin: 5px auto 0;
......
...@@ -5,8 +5,9 @@ import path from 'path' ...@@ -5,8 +5,9 @@ import path from 'path'
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [vue()],
// base: '/download', build: {
outDir: 'fns_front_download',
},
resolve: { resolve: {
alias: { alias: {
'@': path.resolve(__dirname, '/src'), '@': path.resolve(__dirname, '/src'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment