diff --git a/src/components/General.vue b/src/components/General.vue
index 43f310a..e9be270 100644
--- a/src/components/General.vue
+++ b/src/components/General.vue
@@ -18,7 +18,6 @@
$emit('toSubscribeItem', url, name)"
/>
@@ -121,13 +120,12 @@ onMounted(() => {
// });
// }
Url.value.push({
- name: "all",
- url: "vmess://ew0KICAidiI6ICIyIiwNCiAgInBzIjogInRrIiwNCiAgImFkZCI6ICI0My4xNTMuMTg0LjkxIiwNCiAgInBvcnQiOiAiNDczNTkiLA0KICAiaWQiOiAiMzAxYzgyMWEtODljOS00ZWI0LTlmYmYtYWIwMjgyNjMxZTJhIiwNCiAgImFpZCI6ICIwIiwNCiAgInNjeSI6ICJhdXRvIiwNCiAgIm5ldCI6ICJrY3AiLA0KICAidHlwZSI6ICJkdGxzIiwNCiAgImhvc3QiOiAiIiwNCiAgInBhdGgiOiAiIiwNCiAgInRscyI6ICIiLA0KICAic25pIjogIiIsDQogICJhbHBuIjogIiIsDQogICJmcCI6ICIiDQp9"
+ name: "all"
})
console.log(Url);
});
-// 过滤器
+//过滤器
const filterUrl = computed(() => {
if (searchText.value.length > 0) {
return Url.value.filter((item) => {
@@ -143,7 +141,11 @@ const fromData = ref({
labelAlign: "left",
});
-// 换页
+/**
+ * 向服务器请求翻页数据
+ * @param index Int 页码
+ * @param pageInfo Int 卡片总数
+ */
function onCurrentChange(index, pageInfo) {
console.log(index, pageInfo);
}
diff --git a/src/components/Main.vue b/src/components/Main.vue
index e5baaa6..9f71e39 100644
--- a/src/components/Main.vue
+++ b/src/components/Main.vue
@@ -1,9 +1,16 @@
-
+
- {{ collapsed? "PSH" : "Proxy Subscribe Hub" }}
+ {{
+ collapsed ? "PSH" : "Proxy Subscribe Hub"
+ }}
@@ -17,7 +24,7 @@
variant="text"
shape="square"
theme="default"
- @click="collapsed = !collapsed;"
+ @click="collapsed = !collapsed"
style="background-color: #fff"
>
@@ -27,18 +34,20 @@
-
- toSubscribeItem(url, name)"
- v-if="menuValue === 'General'"
- />
-
-
+
+
+ toSubscribeItem(url, name)"
+ v-if="menuValue === 'General'"
+ />
+
+
+
@@ -49,6 +58,10 @@
height: 100vh;
width: 100vw;
}
+
+.t-layout__sider{
+ width: auto !important;
+}