Commit df5743b6 authored by chenqikuai's avatar chenqikuai

fix

parent 37c0bc60
......@@ -3,3 +3,4 @@ node_modules
dist
dist-ssr
*.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 @@
"name": "vite-project",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"bd": "vue-tsc --noEmit && vite build && bash bash.sh",
"serve": "vite preview"
},
"dependencies": {
......
......@@ -74,7 +74,7 @@
</div>
<div class="notify" v-if="notifyStr">{{ notifyStr }}</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>
</template>
......@@ -89,8 +89,7 @@ let timeoutid = NaN;
const isInWeChat = ref(true)
onBeforeMount(() => {
isInWeChat.value = isWeChat();
// isInWeChat.value = isWeChat();
})
......@@ -126,9 +125,11 @@ a {
bottom: 0;
left: 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;
z-index: 10;
z-index: 100;
}
.ig-wechat-tip_img {
margin: 5px auto 0;
......
......@@ -5,8 +5,9 @@ import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
// base: '/download',
build: {
outDir: 'fns_front_download',
},
resolve: {
alias: {
'@': 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