优化返回页面

This commit is contained in:
pengxiaolong
2025-05-22 22:05:55 +08:00
parent 6ca66f45d4
commit c55be10783
59 changed files with 3428 additions and 44 deletions

View File

@@ -1,8 +1,10 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const components_request = require("../request.js");
const components_formatDate = require("../formatDate.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
inject: ["$global"],
data() {
return {
page: 0,
@@ -27,6 +29,7 @@ const _sfc_main = {
}
});
},
formatDate: components_formatDate.formatDate,
async pkList() {
const res = await components_request.request({
url: "pk/pkList",
@@ -38,10 +41,10 @@ const _sfc_main = {
},
userInfo: false
});
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:64", res);
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:66", res);
if (res.code === 200) {
this.list.push(...res.data);
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:67", this.list);
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:69", this.list);
}
},
onScrollToLower() {
@@ -69,7 +72,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: common_vendor.t(item.sex === "1" ? "男" : "女"),
g: item.sex === "1" ? 1 : "",
h: item.sex === "2" ? 1 : "",
i: common_vendor.t(_ctx.formatDate(item.pkTime)),
i: common_vendor.t($options.formatDate(item.pkTime)),
j: common_vendor.t(item.coin + "K"),
k: common_vendor.o$1(($event) => $options.goDetail(item)),
l: "4813d59a-0-" + i0