diff --git a/pages/wallpaper/detail.vue b/pages/wallpaper/detail.vue index 5849158..2adc403 100644 --- a/pages/wallpaper/detail.vue +++ b/pages/wallpaper/detail.vue @@ -67,7 +67,7 @@ @tap="onRecommendClick(item)" > @@ -170,6 +170,10 @@ onShareTimeline(async () => { }; }); +const getThumbUrl = (url) => { + return `${url}?imageView2/1/w/340/h/600/q/80`; +}; + const fetchDetail = async () => { try { const res = await getPageDetail(shareToken.value); diff --git a/utils/request.js b/utils/request.js index 022bc02..113e60b 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,6 +1,6 @@ -// const BASE_URL = "https://api.ai-meng.com"; +const BASE_URL = "https://api.ai-meng.com"; // const BASE_URL = 'http://127.0.0.1:3999' -const BASE_URL = "http://192.168.1.3:3999"; +// const BASE_URL = "http://192.168.1.3:3999"; // const BASE_URL = "http://192.168.31.253:3999"; import { useUserStore } from "@/stores/user";