This commit is contained in:
zoujiandong
2025-06-16 19:01:04 +08:00
parent c1309bc9fc
commit bbc99ec0dd
26 changed files with 488 additions and 260 deletions
+2 -1
View File
@@ -94,6 +94,7 @@ import { onLoad } from "@dcloudio/uni-app";
import dayjs from "dayjs";
import switchImg from "@/static/switch.png";
import certImg from "@/static/cert.png";
import navTo from "@/utils/navTo.js";
const paging = ref(null);
const uDropdownRef = ref(null);
const dataList = ref([]);
@@ -198,7 +199,7 @@ const formatdate = (date) => {
};
const goDetail = (id) => {
let type = isArticle.value ? "article" : "video";
uni.navigateTo({
navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`,
});
};