首页列表

This commit is contained in:
pengxiaolong
2025-05-22 16:21:07 +08:00
parent af10ed06db
commit 6ca66f45d4
33 changed files with 483 additions and 377 deletions

View File

@@ -0,0 +1,30 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
item: {}
};
},
onLoad(options) {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:30", "接收到的数据:", this.item);
});
},
methods: {}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.t($data.item.anchorId),
b: common_vendor.t($data.item.sex === 1 ? "男" : "女"),
c: common_vendor.t($data.item.country),
d: common_vendor.t($data.item.coin),
e: common_vendor.t($data.item.remark),
f: common_vendor.t($data.item.pkTime)
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/pkDetail/pkDetail.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "PK详情",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="container data-v-9639f721"><view class="data-v-9639f721">主播名称{{a}}</view><view class="data-v-9639f721">主播性别{{b}}</view><view class="data-v-9639f721"> 国家{{c}}</view><view class="data-v-9639f721">金币{{d}}</view><view class="data-v-9639f721">主播备注{{e}}</view><view class="data-v-9639f721">PK时间{{f}}</view></view>

View File

@@ -0,0 +1,2 @@
/* 样式定义 */