Compare commits

...

3 Commits
dev ... master

Author SHA1 Message Date
lingling 8e944e3f7f 修复图片不显示的错误 2024-08-30 08:38:42 +08:00
lingling 62013be37f 修改api url 2024-08-30 08:31:42 +08:00
lingling 4855816bb0 修改打包模式为哈希 2024-08-29 15:31:41 +08:00
3 changed files with 21 additions and 5 deletions

View File

@ -53,7 +53,7 @@ module.exports = configure(function (/* ctx */) {
node: 'node16',
},
gzip: true,
vueRouterMode: 'history', // available values: 'hash', 'history'
vueRouterMode: 'hash', // available values: 'hash', 'history'
// vueRouterBase,
// vueDevtools,
// vueOptionsAPI: false,

View File

@ -1,13 +1,21 @@
/*
* @Author: lingling 1077478963@qq.com
* @Date: 2024-08-29 15:14:48
* @LastEditors: lingling 1077478963@qq.com
* @LastEditTime: 2024-08-29 16:12:39
* @FilePath: \link_chang\src\api\api.ts
* @Description: ,`customMade`, koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import { api } from 'src/boot/axios';
class getdata {
async get_server() {
return await api.get('https://api.shagain.club/api.php?type=list');
return await api.get('https://api.giaogiao.uk/api.php?type=list');
}
async text_server(url: string) {
return await api.post('https://api.shagain.club/textserver', { url });
return await api.post('https://api.giaogiao.uk/textserver', { url });
}
async get_country(ip: string) {
return await api.post('https://api.shagain.club/api.php?type=searchip', { ip });
return await api.post('https://api.giaogiao.uk/api.php?type=searchip', { ip });
}
}
export { getdata };

View File

@ -1,3 +1,11 @@
<!--
* @Author: lingling 1077478963@qq.com
* @Date: 2024-08-29 15:14:48
* @LastEditors: lingling 1077478963@qq.com
* @LastEditTime: 2024-08-30 08:38:21
* @FilePath: \link_chang\src\pages\Download.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="row ">
<div v-for="(item, index) in array" :key="index" class="col-sm-8 col-md-4 col-lg-2 col-xl-1 q-pa-md">
@ -66,7 +74,7 @@
import { defineComponent } from 'vue';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const array = [{ 'name': 'v2ray', 'picture': 'img/v2rayng.png' }, { 'name': 'clash', 'picture': 'img/clash.png' }]
const array = [{ 'name': 'v2ray', 'picture': 'img/v2rayNG.png' }, { 'name': 'clash', 'picture': 'img/clash.png' }]
export default defineComponent({
// eslint-disable-next-line vue/multi-word-component-names