首页列表
This commit is contained in:
30
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.js
vendored
Normal file
30
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.js
vendored
Normal 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
|
||||
4
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK详情",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxml
vendored
Normal 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>
|
||||
2
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxss
vendored
Normal file
2
unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxss
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
/* 样式定义 */
|
||||
Reference in New Issue
Block a user