feat: maidian
This commit is contained in:
@@ -89,6 +89,8 @@ import { onLoad } from "@dcloudio/uni-app";
|
||||
import { getList } from "@/api/fortune.js";
|
||||
import NavBar from "@/components/NavBar/NavBar.vue";
|
||||
import { formatDate } from "@/utils/date.js";
|
||||
import { trackRecord } from "@/utils/common.js";
|
||||
|
||||
// 状态管理
|
||||
const records = ref([]);
|
||||
const page = ref(1);
|
||||
@@ -160,6 +162,10 @@ const loadData = async () => {
|
||||
|
||||
const loadMore = () => {
|
||||
loadData();
|
||||
trackRecord({
|
||||
eventName: "fortune_record_page_visit",
|
||||
eventType: `visit`,
|
||||
});
|
||||
};
|
||||
|
||||
const goDetail = (item) => {
|
||||
|
||||
Reference in New Issue
Block a user