Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
lingling | 8e944e3f7f | |
lingling | 62013be37f | |
lingling | 4855816bb0 |
|
@ -53,7 +53,7 @@ module.exports = configure(function (/* ctx */) {
|
||||||
node: 'node16',
|
node: 'node16',
|
||||||
},
|
},
|
||||||
gzip: true,
|
gzip: true,
|
||||||
vueRouterMode: 'history', // available values: 'hash', 'history'
|
vueRouterMode: 'hash', // available values: 'hash', 'history'
|
||||||
// vueRouterBase,
|
// vueRouterBase,
|
||||||
// vueDevtools,
|
// vueDevtools,
|
||||||
// vueOptionsAPI: false,
|
// vueOptionsAPI: false,
|
||||||
|
|
|
@ -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';
|
import { api } from 'src/boot/axios';
|
||||||
class getdata {
|
class getdata {
|
||||||
async get_server() {
|
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) {
|
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) {
|
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 };
|
export { getdata };
|
||||||
|
|
|
@ -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>
|
<template>
|
||||||
<div class="row ">
|
<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">
|
<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';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// 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({
|
export default defineComponent({
|
||||||
// eslint-disable-next-line vue/multi-word-component-names
|
// eslint-disable-next-line vue/multi-word-component-names
|
||||||
|
|
Loading…
Reference in New Issue