优化本地存储

This commit is contained in:
mayongjian
2025-05-18 12:19:12 +08:00
parent 86a12b5ddd
commit 453623d716
2 changed files with 52 additions and 4 deletions

View File

@@ -31,9 +31,53 @@
<SujContainer v-show="showHistory" :closeHistoryRecord="showHistory"></SujContainer>
</div>
<div class="right">
<Iphone class="right-icon" @click="handleClick('https://gitee.com/Maverick_Ma/hongshu')" />
<Monitor class="right-icon" @click="handleClick('https://gitee.com/Maverick_Ma/hongshu')" />
<Eleme class="right-icon" @click="handleClick('https://gitee.com/Maverick_Ma/hongshu')" />
<el-tooltip
content="移动端"
effect="dark"
placement="bottom"
>
<Iphone class="right-icon" @click="handleClick('http://115.190.73.103/app')" />
</el-tooltip>
<el-tooltip
content="后台管理"
effect="dark"
placement="bottom"
>
<Monitor class="right-icon" @click="handleClick('http://115.190.73.103/admin')" />
</el-tooltip>
<el-tooltip
content="Arco后台"
effect="dark"
placement="bottom"
>
<DataLine class="right-icon" @click="handleClick('http://115.190.73.103/arco-admin')" />
</el-tooltip>
<el-tooltip
content="码云仓库"
effect="dark"
placement="bottom"
>
<span class="right-icon" @click="handleClick('https://gitee.com/Maverick_Ma')">
<svg t="1746051409026" class="icon" viewBox="0 0 1242 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8939" width="25" height="25">
<path d="M531.252288 0C248.42147 0 19.252288 229.169181 19.252288 512S248.42147 1024 531.252288 1024s512-229.169181 512-512S814.083107 0 531.252288 0zM389.527887 678.340777h234.31905c40.786964 0 73.952122-33.062161 73.952123-73.952123v-12.256689c0-13.595655-11.02072-24.719372-24.719373-24.719372H500.45607c-13.698652 0-24.719372-11.02072-24.719372-24.719372v-61.592436c0-13.698652 11.02072-24.719372 24.719372-24.719373H784.007871c13.595655 0 24.719372 11.02072 24.719372 24.719373v141.724401c0 91.976665-74.570107 166.443774-166.443774 166.443774H278.496706c-13.595655 0-24.719372-11.02072-24.719372-24.719372v-345.04124c0-102.070408 82.809897-184.880306 184.880305-184.880305H784.007871c13.698652 0 24.719372 11.02072 24.719372 24.719372l-0.102997 61.592436c0 13.698652-11.02072 24.719372-24.719373 24.719372H438.760637c-40.786964 0-73.952122 33.062161-73.952123 73.952123v234.216053c0 13.492657 11.02072 24.513378 24.719373 24.513378z" fill="#C2191F" p-id="8940"></path>
</svg>
</span>
</el-tooltip>
<el-tooltip
content="GitHub仓库"
effect="dark"
placement="bottom"
>
<span class="right-icon" @click="handleClick('https://github.com/Ma-YongJian')">
<svg t="1746051827779" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9914" width="25" height="25">
<path d="M960 512c0 97.76-28.704 185.216-85.664 263.264-56.96 78.016-130.496 131.84-220.64 161.856-10.304 1.824-18.368 0.448-22.848-4.032a22.4 22.4 0 0 1-7.2-17.504v-122.88c0-37.632-10.304-65.44-30.464-82.912a409.856 409.856 0 0 0 59.616-10.368 222.752 222.752 0 0 0 54.72-22.816c18.848-10.784 34.528-23.36 47.104-38.592 12.544-15.232 22.848-35.904 30.912-61.44 8.096-25.568 12.128-54.688 12.128-87.904 0-47.072-15.232-86.976-46.208-120.16 14.368-35.456 13.024-74.912-4.48-118.848-10.752-3.616-26.432-1.344-47.072 6.272s-38.56 16.16-53.824 25.568l-21.984 13.888c-36.32-10.304-73.536-15.232-112.096-15.232s-75.776 4.928-112.096 15.232a444.48 444.48 0 0 0-24.672-15.68c-10.336-6.272-26.464-13.888-48.896-22.432-21.952-8.96-39.008-11.232-50.24-8.064-17.024 43.936-18.368 83.424-4.032 118.848-30.496 33.632-46.176 73.536-46.176 120.608 0 33.216 4.032 62.336 12.128 87.456 8.032 25.12 18.368 45.76 30.496 61.44 12.544 15.68 28.224 28.704 47.072 39.04 18.848 10.304 37.216 17.92 54.72 22.816a409.6 409.6 0 0 0 59.648 10.368c-15.712 13.856-25.12 34.048-28.704 60.064a99.744 99.744 0 0 1-26.464 8.512 178.208 178.208 0 0 1-33.184 2.688c-13.024 0-25.568-4.032-38.144-12.544-12.544-8.512-23.296-20.64-32.256-36.32a97.472 97.472 0 0 0-28.256-30.496c-11.232-8.064-21.088-12.576-28.704-13.92l-11.648-1.792c-8.096 0-13.92 0.928-17.056 2.688-3.136 1.792-4.032 4.032-2.688 6.72s3.136 5.408 5.376 8.096 4.928 4.928 7.616 7.168l4.032 2.688c8.544 4.032 17.056 11.232 25.568 21.984 8.544 10.752 14.368 20.64 18.4 29.6l5.824 13.44c4.928 14.816 13.44 26.912 25.568 35.872 12.096 8.992 25.088 14.816 39.008 17.504 13.888 2.688 27.36 4.032 40.352 4.032s23.776-0.448 32.288-2.24l13.472-2.24c0 14.784 0 32.288 0.416 52.032 0 19.744 0.48 30.496 0.48 31.392a22.624 22.624 0 0 1-7.648 17.472c-4.928 4.48-12.992 5.824-23.296 4.032-90.144-30.048-163.68-83.84-220.64-161.888C92.256 697.216 64 609.312 64 512c0-81.152 20.192-156.064 60.096-224.672s94.176-122.88 163.232-163.232C355.936 84.192 430.816 64 512 64s156.064 20.192 224.672 60.096 122.88 94.176 163.232 163.232C939.808 355.488 960 430.848 960 512" fill="#000000" p-id="9915"></path>
</svg>
</span>
</el-tooltip>
</div>
</header>
</div>
@@ -218,7 +262,7 @@ import {
CirclePlus,
Iphone,
Monitor,
Eleme,
DataLine,
} from "@element-plus/icons-vue";
import { useRouter, useRoute } from "vue-router";
import Login from "@/views/login.vue";

View File

@@ -46,6 +46,10 @@ export default defineConfig({
target: 'http://localhost:8080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/profile': {
target: 'http://localhost:8080',
changeOrigin: true
}
}
},