@@ -1 +1 @@
-VITE_BASE_URL=https://sit-liushaoqibwg.4dage.com
+VITE_BASE_URL=https://shaoqiguli.com/library
@@ -28,7 +28,7 @@ const props = defineProps({
},
});
const emits = defineEmits(["update:visible"]);
-const mobileUrl = ref(location.origin + "/mobile/index.html");
+const mobileUrl = ref(location.href.replace(/\/pc(\/|$)/, "/mobile$1"));
const show = computed({
get() {
@@ -112,7 +112,7 @@ const getRecommendList = async () => {
data = await compressImages({
- list: data.map((i) => ({
+ list: data.records.map((i) => ({
...i,
thumb: `${baseUrl}${i.thumb}`,
})),