优化页面

This commit is contained in:
pengxiaolong
2025-05-30 22:04:45 +08:00
parent c747f9625c
commit 050ceedd59
66 changed files with 1215 additions and 190 deletions

View File

@@ -48,11 +48,11 @@ const _sfc_main = {
methods: {
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:168", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:179", item);
},
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:173", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:184", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
@@ -219,19 +219,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
y: $data.datetimesingle === "" && $data.Hint === true
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
z: common_vendor.o$1(($event) => $data.remarks = $event),
z: common_vendor.o$1(($event) => $data.numberCoins = $event),
A: common_vendor.p({
background: "#2bff001e",
modelValue: $data.numberCoins
}),
B: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
C: common_vendor.o$1(($event) => $data.remarks = $event),
D: common_vendor.p({
styles: $data.styles,
placeholderStyle: $data.placeholderStyle,
type: "textarea",
placeholder: "备注",
modelValue: $data.remarks
}),
B: common_vendor.o$1(($event) => $options.Publish()),
C: common_vendor.o$1(() => {
E: common_vendor.o$1(($event) => $options.Publish()),
F: common_vendor.o$1(() => {
}),
D: common_vendor.n($data.Display ? "create-module" : "close-animation "),
E: common_vendor.o$1(($event) => $options.open())
G: common_vendor.n($data.Display ? "create-module" : "close-animation "),
H: common_vendor.o$1(($event) => $options.open())
}) : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);

View File

@@ -16,7 +16,18 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
content: { default: void 0 }
},
setup(__props) {
stores_counter.useCounterStore();
const counter = stores_counter.useCounterStore();
const status = { agree: 1, refuse: 2 };
function handleAccept(status2, customData2) {
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:120", custom.value);
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:121", message.value);
message.value.payload.title = "Hello Tencent";
common_vendor.Qt.modifyMessage(message.value).then((res) => {
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:124", res);
}).catch((err) => {
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:126", err);
});
}
const props = __props;
const custom = common_vendor.ref();
const message = common_vendor.ref();
@@ -85,12 +96,20 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
v: common_vendor.t(common_vendor.unref(customData).text),
w: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("message.custom.查看详情>>")),
x: common_vendor.unref(customData).link
} : common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).PK ? {
z: common_vendor.t(common_vendor.unref(customData).title),
A: common_vendor.t(common_vendor.unref(customData).buttonText1),
B: common_vendor.t(common_vendor.unref(customData).buttonText2)
} : {
C: _ctx.content.custom
} : common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).PK ? common_vendor.e({
z: common_vendor.unref(customData).myitem !== common_vendor.unref(counter).myitem.id
}, common_vendor.unref(customData).myitem !== common_vendor.unref(counter).myitem.id ? common_vendor.e({
A: common_vendor.t(common_vendor.unref(customData).title),
B: common_vendor.unref(customData).btnDisplay === true
}, common_vendor.unref(customData).btnDisplay === true ? {
C: common_vendor.t(common_vendor.unref(customData).buttonText1),
D: common_vendor.o$1(($event) => handleAccept(status.agree, common_vendor.unref(customData))),
E: common_vendor.t(common_vendor.unref(customData).buttonText2),
F: common_vendor.o$1(($event) => handleAccept(status.refuse, common_vendor.unref(customData)))
} : {}) : {
G: common_vendor.t(common_vendor.unref(customData).mytitle)
}) : {
H: _ctx.content.custom
}, {
i: common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).EVALUATE,
n: common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).ORDER,

View File

@@ -1 +1 @@
<view class="custom data-v-abd5dfdc"><block wx:if="{{a}}"><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc"><label class="data-v-abd5dfdc">{{b}}</label><navigator wx:if="{{c}}" class="data-v-abd5dfdc" href="{{e}}" target="view_window">{{d}}</navigator></view><view wx:if="{{f}}" class="data-v-abd5dfdc"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-abd5dfdc"><navigator wx:if="{{item.a}}" class="data-v-abd5dfdc" href="{{item.c}}" target="view_window">{{item.b}}</navigator><view wx:else class="data-v-abd5dfdc">{{item.d}}</view></view></view><view class="data-v-abd5dfdc">{{h}}</view></view></block><block wx:elif="{{i}}"><view class="evaluate data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{j}}</view><view class="evaluate-list data-v-abd5dfdc"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="evaluate-list-item data-v-abd5dfdc"><icon wx:if="{{l}}" class="file-icon data-v-abd5dfdc" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"/></view></view><view class="data-v-abd5dfdc">{{m}}</view></view></block><block wx:elif="{{n}}"><view class="order data-v-abd5dfdc" bindtap="{{s}}"><image class="data-v-abd5dfdc" src="{{o}}"></image><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{p}}</view><view class="data-v-abd5dfdc">{{q}}</view><label class="data-v-abd5dfdc">{{r}}</label></view></view></block><block wx:elif="{{t}}"><view class="textLink data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{v}}</view><navigator class="data-v-abd5dfdc" href="{{x}}" target="view_window">{{w}}</navigator></view></block><block wx:elif="{{y}}"><view class="pk data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{z}}</view><view class="button-group data-v-abd5dfdc"><button class="buttonAccept data-v-abd5dfdc">{{A}}</button><button class="buttonRefuse data-v-abd5dfdc">{{B}}</button></view></view></block><block wx:else><label class="data-v-abd5dfdc"><rich-text class="data-v-abd5dfdc" nodes="{{C}}"/></label></block></view>
<view class="custom data-v-abd5dfdc"><block wx:if="{{a}}"><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc"><label class="data-v-abd5dfdc">{{b}}</label><navigator wx:if="{{c}}" class="data-v-abd5dfdc" href="{{e}}" target="view_window">{{d}}</navigator></view><view wx:if="{{f}}" class="data-v-abd5dfdc"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-abd5dfdc"><navigator wx:if="{{item.a}}" class="data-v-abd5dfdc" href="{{item.c}}" target="view_window">{{item.b}}</navigator><view wx:else class="data-v-abd5dfdc">{{item.d}}</view></view></view><view class="data-v-abd5dfdc">{{h}}</view></view></block><block wx:elif="{{i}}"><view class="evaluate data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{j}}</view><view class="evaluate-list data-v-abd5dfdc"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="evaluate-list-item data-v-abd5dfdc"><icon wx:if="{{l}}" class="file-icon data-v-abd5dfdc" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"/></view></view><view class="data-v-abd5dfdc">{{m}}</view></view></block><block wx:elif="{{n}}"><view class="order data-v-abd5dfdc" bindtap="{{s}}"><image class="data-v-abd5dfdc" src="{{o}}"/><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{p}}</view><view class="data-v-abd5dfdc">{{q}}</view><label class="data-v-abd5dfdc">{{r}}</label></view></view></block><block wx:elif="{{t}}"><view class="textLink data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{v}}</view><navigator class="data-v-abd5dfdc" href="{{x}}" target="view_window">{{w}}</navigator></view></block><block wx:elif="{{y}}"><view wx:if="{{z}}" class="pk data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{A}}</view><view wx:if="{{B}}" class="button-group data-v-abd5dfdc"><button bindtap="{{D}}" class="buttonAccept data-v-abd5dfdc">{{C}}</button><button bindtap="{{F}}" class="buttonRefuse data-v-abd5dfdc">{{E}}</button></view></view><view wx:else class="pk data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{G}}</view></view></block><block wx:else><label class="data-v-abd5dfdc"><rich-text class="data-v-abd5dfdc" nodes="{{H}}"/></label></block></view>

View File

@@ -8,6 +8,8 @@ const TUIKit_components_TUIChat_entryChatOnly = require("./TUIChat/entry-chat-on
const TUIKit_components_TUIChat_utils_utils = require("./TUIChat/utils/utils.js");
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("./TUIChat/offlinePushInfoManager/index.js");
const stores_counter = require("../../stores/counter.js");
const components_request = require("../../components/request.js");
const components_generateMsgId = require("../../components/generateMsgId.js");
const TUIKit_components_TUIChat_server = require("./TUIChat/server.js");
const TUIKit_components_TUIConversation_server = require("./TUIConversation/server.js");
const TUIKit_components_TUISearch_searchTypeList = require("./TUISearch/search-type-list.js");
@@ -32,17 +34,15 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
const counter = stores_counter.useCounterStore();
let myitem = common_vendor.ref();
let youritem = common_vendor.ref();
common_vendor.ref();
common_vendor.onLoad((options) => {
TUIKit_components_TUIChat_entryChatOnly.initChat(options);
if (options.myitem) {
myitem.value = JSON.parse(options.myitem);
counter.$patch({ myitem: myitem.value });
youritem.value = JSON.parse(options.youritem);
counter.$patch({ youritem: youritem.value });
setTimeout(() => {
sendCustomMessage(myitem, youritem);
}, 1e3);
}
myitem.value = JSON.parse(options.myitem);
youritem.value = JSON.parse(options.youritem);
counter.$patch({ youritem: youritem.value });
setTimeout(() => {
sendCustomMessage(myitem.value, youritem.value);
}, 1e3);
});
common_vendor.onUnload(() => {
TUIKit_components_TUIChat_entryChatOnly.logout(false).then(() => {
@@ -80,12 +80,17 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
});
function sendCustomMessage(myitem2, youritem2) {
var _a, _b, _c, _d, _e;
const keyid = components_generateMsgId.generateMsgId();
const payload = {
data: JSON.stringify({
businessID: "pk",
title: "PK邀请",
buttonText1: "接受邀请",
buttonText2: "拒绝邀请"
buttonText2: "拒绝邀请",
keyid,
myitem: counter.myitem.id,
btnDisplay: true,
mytitle: "等待对方接受邀请"
}),
description: "邀请参加PK",
extension: "邀请参加PK"
@@ -104,9 +109,29 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
const sendMessageOptions = {
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
};
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions);
common_vendor.Qt.getMessageList().then((res) => {
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:232", "消息列表···································", res);
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions).then((res) => {
components_request.request({
url: "chat/add",
method: "POST",
data: {
messageInfo: JSON.stringify(res.data.message),
keyId: keyid
},
userInfo: false
});
});
components_request.request({
url: "pk/createPkRecord",
method: "POST",
data: {
pkIdA: youritem2.id,
pkIdB: myitem2.id,
userIdA: youritem2.senderId,
userIdB: myitem2.senderId,
pkTime: youritem2.pkTime,
status: 0
},
userInfo: false
});
myitem2.value = null;
youritem2.value = null;

View File

@@ -4,6 +4,9 @@ const common_vendor = require("./common/vendor.js");
if (!Math) {
"./pages/Home/Home.js";
"./pages/Mine/Mine.js";
"./pages/Mine/minecomponents/pkRecord.js";
"./pages/Mine/minecomponents/contact.js";
"./pages/Mine/minecomponents/pkInformation.js";
"./pages/index/index.js";
"./pages/login/login.js";
"./pages/UserInformation/UserInformation.js";
@@ -28,6 +31,15 @@ const _sfc_main = {
};
},
onLoad(option) {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.info = res.data;
counter.$patch({ myitem: this.info });
},
fail: () => {
}
});
},
provide() {
return {

View File

@@ -2,6 +2,9 @@
"pages": [
"pages/Home/Home",
"pages/Mine/Mine",
"pages/Mine/minecomponents/pkRecord",
"pages/Mine/minecomponents/contact",
"pages/Mine/minecomponents/pkInformation",
"pages/index/index",
"pages/login/login",
"pages/UserInformation/UserInformation",

View File

@@ -1,19 +1,19 @@
"use strict";
const _imports_0$5 = "/static/HomeBackground.png";
const _imports_0$4 = "/static/Settings.png";
const _imports_0$3 = "/static/Fork.png";
const _imports_1$2 = "/static/ask.png";
const _imports_0$3 = "/static/female.png";
const _imports_1$2 = "/static/male.png";
const _imports_0$2 = "/static/Fork.png";
const _imports_1$1 = "/static/ask.png";
const _imports_2 = "/static/man.png";
const _imports_3 = "/static/girl.png";
const _imports_0$2 = "/static/Navigationimg.png";
const _imports_1$1 = "/static/Return.png";
const _imports_0$1 = "/static/Navigationimg.png";
const _imports_1 = "/static/Return.png";
const createGroup = "/assets/start-group.6d6b5fbb.svg";
const C2C = "/assets/icon-c2c.d80299ab.svg";
const settingSVG = "/assets/setting.a15e5daf.svg";
const muteIcon = "/assets/mute.94c8513a.svg";
const _imports_0$1 = "/static/Searching.png";
const _imports_0 = "/static/female.png";
const _imports_1 = "/static/male.png";
const _imports_0 = "/static/Searching.png";
const faceIcon = "/assets/face-uni.e33f5632.png";
const moreIcon = "/assets/more-uni.030c2d9a.png";
const ForwardEachIcon = "/assets/forward-each.9e79e381.svg";
@@ -86,15 +86,15 @@ exports.ForwardMergeIcon = ForwardMergeIcon;
exports.InvitationDark = InvitationDark;
exports.InvitationLight = InvitationLight;
exports.SearchDefaultIcon = SearchDefaultIcon;
exports._imports_0 = _imports_0$2;
exports._imports_0 = _imports_0$1;
exports._imports_0$1 = _imports_0$5;
exports._imports_0$2 = _imports_0$4;
exports._imports_0$3 = _imports_0$1;
exports._imports_0$3 = _imports_0$3;
exports._imports_0$4 = _imports_0;
exports._imports_0$5 = _imports_0$3;
exports._imports_1 = _imports_1$1;
exports._imports_1$1 = _imports_1;
exports._imports_1$2 = _imports_1$2;
exports._imports_0$5 = _imports_0$2;
exports._imports_1 = _imports_1;
exports._imports_1$1 = _imports_1$2;
exports._imports_1$2 = _imports_1$1;
exports._imports_2 = _imports_2;
exports._imports_3 = _imports_3;
exports.addSVG = addSVG;

View File

@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.1.112,127.0.0.1";
const port = "8090";
const id = "mp-weixin_Ue15K2";
const id = "mp-weixin_VVI3dO";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@@ -103,7 +103,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.t(item.anchorId),
c: item.sex === "2"
}, item.sex === "2" ? {
d: common_assets._imports_0$4
d: common_assets._imports_0$3
} : {
e: common_assets._imports_1$1
}, {

View File

@@ -0,0 +1,16 @@
"use strict";
function generateRandomString(length = 6) {
const chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
let result = "";
for (let i = 0; i < length; i++) {
result += chars[Math.floor(Math.random() * chars.length)];
}
return result;
}
function generateMsgId() {
const randomPart = generateRandomString();
const timestamp = Date.now();
return `${randomPart}${timestamp}`;
}
exports.generateMsgId = generateMsgId;
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/generateMsgId.js.map

View File

@@ -2,7 +2,7 @@
const common_vendor = require("../common/vendor.js");
function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
const baseUrl = "http://192.168.1.218:8086/" + url;
const baseUrl = "http://120.26.251.180:8086/" + url;
if (userInfo) {
return new Promise((resolve, reject) => {
common_vendor.index.getStorage({
@@ -16,7 +16,7 @@ function request(urldata) {
method,
header,
success: function(res2) {
common_vendor.index.__f__("log", "at components/request.js:19", "请求成功1", res2.data);
common_vendor.index.__f__("log", "at components/request.js:18", "请求成功1", res2.data);
resolve(res2.data);
},
fail: function(res2) {
@@ -47,7 +47,7 @@ function request(urldata) {
method,
header,
success: function(res) {
common_vendor.index.__f__("log", "at components/request.js:50", "请求成功2", res);
common_vendor.index.__f__("log", "at components/request.js:49", "请求成功2", res);
resolve(res.data);
},
fail: function(res) {

View File

@@ -37,7 +37,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: !$data.Select ? 1 : "",
g: common_vendor.o$1((...args) => $options.screening && $options.screening(...args)),
h: common_vendor.o$1((...args) => $options.Search && $options.Search(...args)),
i: common_assets._imports_0$3
i: common_assets._imports_0$4
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ce2f6748"]]);

View File

@@ -1,11 +1,13 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const components_TUILogin = require("../../components/TUILogin.js");
const stores_counter = require("../../stores/counter.js");
const common_assets = require("../../common/assets.js");
const topNavigation = () => "../../components/topNavigation/topNavigation.js";
const Advertisement = () => "../../components/Advertisement/Advertisement.js";
const contentList = () => "../../components/contentList/contentList.js";
const tabBar = () => "../../components/tabBar/tabBar.js";
const counter = stores_counter.useCounterStore();
const _sfc_main = {
inject: ["$global"],
data() {
@@ -20,6 +22,7 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.info = res.data;
counter.$patch({ myitem: this.info });
common_vendor.index.getStorage({
key: "myuserSig",
success: (res2) => {

View File

@@ -17,6 +17,21 @@ const _sfc_main = {
});
},
methods: {
pkInformation() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/pkInformation"
});
},
pkRecord() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/pkRecord"
});
},
contact() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/contact"
});
},
goSetting() {
common_vendor.index.navigateTo({
url: "/pages/Setting/Setting"
@@ -58,7 +73,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.t($data.userinfo.nickName),
c: common_assets._imports_0$2,
d: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
e: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
e: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
f: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
g: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
h: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-402ad917"]]);

View File

@@ -1 +1 @@
<view class="container data-v-402ad917"><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{a}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{b}}</view></view><view class="Settings data-v-402ad917" bindtap="{{d}}"><image class="SettingsIcon data-v-402ad917" src="{{c}}" mode="scaleToFill"/></view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{e}}">退出登录</view></view></view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>
<view class="container data-v-402ad917"><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{a}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{b}}</view></view><view class="Settings data-v-402ad917" bindtap="{{d}}"><image class="SettingsIcon data-v-402ad917" src="{{c}}" mode="scaleToFill"/></view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{e}}">pk信息</view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{f}}">我的pk记录</view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{g}}">联系客服</view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{h}}">退出登录</view></view></view><view class="copyright data-v-402ad917">版权所有 © 2025 ...................</view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>

View File

@@ -37,3 +37,24 @@
width: 50rpx;
height: 50rpx;
}
.logout.data-v-402ad917{
margin-top: 20rpx;
width: 100vw;
height: 80rpx;
line-height: 80rpx;
color: #000000;
font-size: 36rpx;
background: #ffffff;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
text-align: center;
}
.copyright.data-v-402ad917{
position: absolute;
bottom: 250rpx;
width: 100%;
text-align: center;
color: #ffffff;
font-size: 24rpx;
z-index: 999;
}

View File

@@ -0,0 +1,20 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "Hello"
};
},
onLoad() {
},
methods: {
// 方法定义
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2f1f017b"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/contact.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "联系客服",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="contact data-v-2f1f017b"><view class="data-v-2f1f017b">联系方式</view></view>

View File

@@ -0,0 +1,8 @@
.contact.data-v-2f1f017b{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

View File

@@ -0,0 +1,124 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_request = require("../../../components/request.js");
const components_formatDate = require("../../../components/formatDate.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
inject: ["$global"],
data() {
return {
page: 0,
//页码
size: 10,
//每页条数
list: [],
// 列表数据
detailsdata: {}
//详情数据
};
},
mounted() {
this.pkList();
},
methods: {
onRefresherRefresh() {
this.page = 0;
this.list = [];
this.pkList();
},
async goDetail(item) {
common_vendor.index.showLoading({
title: "加载中...",
mask: true
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:83", "id", item.id);
const res = await components_request.request({
url: "pk/pkInfoDetail",
method: "POST",
data: {
id: item.id
},
userInfo: true
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:92", "res", res);
this.detailsdata = res.data;
if (res.code === 200) {
if (res.data.length !== 0) {
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:97", "res.data", res.data);
common_vendor.index.navigateTo({
url: "/pages/pkDetail/pkDetail",
success: (res2) => {
res2.eventChannel.emit("itemDetail", {
item: this.detailsdata
});
}
});
} else {
common_vendor.index.hideLoading();
this.openPopupQuantity();
}
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "加载失败",
icon: "none",
duration: 2e3
});
}
},
formatDate: components_formatDate.formatDate,
async pkList() {
const res = await components_request.request({
url: "pk/pkList",
method: "POST",
data: {
status: 0,
page: this.page,
size: this.size
},
userInfo: false
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:131", res);
if (res.code === 200) {
this.list.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:134", this.list);
}
},
onScrollToLower() {
this.page++;
this.pkList();
}
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.f($data.list, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
c: item.sex === "2"
}, item.sex === "2" ? {
d: common_assets._imports_0$3
} : {
e: common_assets._imports_1$1
}, {
f: item.sex === "1" ? 1 : "",
g: item.sex === "2" ? 1 : "",
h: common_vendor.t($options.formatDate(item.pkTime)),
i: common_vendor.t(item.coin + "K"),
j: common_vendor.o$1(($event) => $options.goDetail(item)),
k: "36b7ee78-0-" + i0
});
}),
b: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
c: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36b7ee78"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/pkInformation.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "PK信息",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="pkRecord data-v-36b7ee78"><view class="data-v-36b7ee78">返回</view><view class="data-v-36b7ee78">pk信息</view><view class="data-v-36b7ee78"></view></view><scroll-view scroll-y="true" class="scroll data-v-36b7ee78" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{b}}" lower-threshold="100" bindscrolltolower="{{c}}"><uni-card wx:for="{{a}}" wx:for-item="item" class="data-v-36b7ee78" u-s="{{['d']}}" u-i="{{item.k}}" bind:__l="__l"><view class="content-list data-v-36b7ee78" bindtap="{{item.j}}"><image class="headShot data-v-36b7ee78" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-36b7ee78"><view class="cardname data-v-36b7ee78">{{item.b}}</view><view class="content-list-info data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.f && 'Gendermale', item.g && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-36b7ee78" src="{{item.d}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="{{item.e}}" mode="scaleToFill"/><view class="age data-v-36b7ee78">性别</view></view><view class="RoomID data-v-36b7ee78">PK时间: {{item.h}}</view><view class="data-v-36b7ee78">国家</view><view class="data-v-36b7ee78">性别</view><view class="Charm data-v-36b7ee78">金币:</view><view class="charmValue data-v-36b7ee78">{{item.i}}</view></view></view></view></uni-card></scroll-view>

View File

@@ -0,0 +1,91 @@
.pkRecord.data-v-36b7ee78{
width: 100vw;
height: 200rpx;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding-top: 40rpx;
border-bottom: 1px solid #000000;
}
.scroll.data-v-36b7ee78 {
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.content-list.data-v-36b7ee78 {
display: flex;
align-items: center;
width: 712rpx;
height: 161rpx;
background: #ffffff;
border-radius: 15rpx;
margin-bottom: 12rpx;
margin-left: 20rpx;
}
.headShot.data-v-36b7ee78 {
width: 101rpx;
height: 101rpx;
border-radius: 50rpx;
margin-left: 30rpx;
margin-right: 33rpx;
background-color: aqua;
}
.content-list-info.data-v-36b7ee78 {
display: flex;
align-items: center;
}
.cardname.data-v-36b7ee78 {
font-size: 31rpx;
color: #161616;
line-height: 38rpx;
}
.Genderimg.data-v-36b7ee78 {
width: 15rpx;
height: 15rpx;
margin-left: 10rpx;
margin-right: 10rpx;
}
.age.data-v-36b7ee78 {
color: #ffffff;
font-size: 14rpx;
}
.Gendermale.data-v-36b7ee78 {
background: url(../../static/maleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
display: flex;
align-items: center;
margin-right: 10rpx;
}
.Genderfemale.data-v-36b7ee78 {
background: url(../../static/femaleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
display: flex;
align-items: center;
margin-right: 10rpx;
}
.RoomID.data-v-36b7ee78 {
font-size: 23rpx;
color: #a3a3a3;
line-height: 38rpx;
}
.Charm.data-v-36b7ee78 {
font-size: 23rpx;
color: #a3a3a3;
line-height: 38rpx;
margin-right: 12rpx;
margin-left: 20rpx;
}
.charmValue.data-v-36b7ee78 {
font-size: 23rpx;
color: #161616;
line-height: 38rpx;
font-weight: 600;
}

View File

@@ -0,0 +1,41 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
list: [
{},
{},
{},
{},
{},
{},
{},
{}
]
};
},
onLoad() {
},
methods: {
// 方法定义
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.f($data.list, (item, index, i0) => {
return {
a: "6fa696de-0-" + i0
};
}),
b: common_vendor.o$1((...args) => _ctx.onRefresherRefresh && _ctx.onRefresherRefresh(...args)),
c: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6fa696de"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/pkRecord.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "PK记录",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="pkRecord data-v-6fa696de"><view class="data-v-6fa696de">返回</view><view class="data-v-6fa696de">pk记录</view><view class="data-v-6fa696de"></view></view><view class="Navigation data-v-6fa696de"><view class="PkPosted data-v-6fa696de">我发布的PK</view><view class="data-v-6fa696de">我邀请的PK</view></view><scroll-view scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{b}}" lower-threshold="100" bindscrolltolower="{{c}}"><uni-card wx:for="{{a}}" wx:for-item="item" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.a}}" bind:__l="__l"><view class="content data-v-6fa696de"><view class="Anchor data-v-6fa696de"><view class="avatar data-v-6fa696de">主播1头像(赢方头像框王冠)</view><view class="AnchorInfo data-v-6fa696de"><view class="data-v-6fa696de">主播昵称</view><view class="data-v-6fa696de">pk时间</view><view class="data-v-6fa696de">实际打了多少金币</view></view></view><view class="data-v-6fa696de"> VS </view><view class="Anchor data-v-6fa696de"><view class="AnchorInfo data-v-6fa696de"><view class="data-v-6fa696de">主播昵称</view><view class="data-v-6fa696de">pk时间</view><view class="data-v-6fa696de">实际打了多少金币</view></view><view class="avatar data-v-6fa696de">主播1头像</view></view></view></uni-card></scroll-view>

View File

@@ -0,0 +1,53 @@
.pkRecord.data-v-6fa696de{
width: 100vw;
height: 200rpx;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding-top: 40rpx;
border-bottom: 1px solid #000000;
}
.content.data-v-6fa696de{
width: 100vw;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid #eee;
}
.avatar.data-v-6fa696de{
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 20rpx;
background-color: aqua;
}
.Anchor.data-v-6fa696de{
display: flex;
}
.AnchorInfo.data-v-6fa696de{
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 10rpx;
font-size: 20rpx;
}
.PkPosted.data-v-6fa696de{
text-align: center;
font-size: 30rpx;
height: 100rpx;
line-height: 100rpx;
width: 45%;
border-right: 1px solid #000000;
}
.Navigation.data-v-6fa696de{
width: 100vw;
display: flex;
justify-content: space-around;
align-items: center;
height: 100rpx;
background-color: #ffffff;
border-bottom: 1px solid #000000;
}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', D, 'Mask']}}" bindtap="{{E}}"><view catchtap="{{C}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Title data-v-96d38e2b">发布新PK</view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#ffffff" placeholder-style="color:#ffffff" bindinput="{{d}}" placeholder="主播名称"/><view wx:if="{{e}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{g}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{f}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-96d38e2b">请选择国家</view></view><view class="Gender data-v-96d38e2b"><view class="Gendercs data-v-96d38e2b"><view class="Gendercss data-v-96d38e2b"><wht-select wx:if="{{j}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{i}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{k}}" class="Gendericon data-v-96d38e2b" src="{{l}}" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="{{n}}" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-96d38e2b" src="{{p}}" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-96d38e2b">请选择性别</view></view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">单位:</view><view class="number-box-unit data-v-96d38e2b">K</view></view><view wx:if="{{t}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" bindchange="{{v}}" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" class="Hint data-v-96d38e2b">请选择日期</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{A}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{B}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', G, 'Mask']}}" bindtap="{{H}}"><view catchtap="{{F}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Title data-v-96d38e2b">发布新PK</view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#ffffff" placeholder-style="color:#ffffff" bindinput="{{d}}" placeholder="主播名称"/><view wx:if="{{e}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{g}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{f}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-96d38e2b">请选择国家</view></view><view class="Gender data-v-96d38e2b"><view class="Gendercs data-v-96d38e2b"><view class="Gendercss data-v-96d38e2b"><wht-select wx:if="{{j}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{i}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{k}}" class="Gendericon data-v-96d38e2b" src="{{l}}" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="{{n}}" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-96d38e2b" src="{{p}}" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-96d38e2b">请选择性别</view></view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">单位:</view><view class="number-box-unit data-v-96d38e2b">K</view></view><view wx:if="{{t}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" bindchange="{{v}}" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" class="Hint data-v-96d38e2b">请选择日期</view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">选择场数:</view><uni-number-box wx:if="{{A}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{B}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{D}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{E}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>

View File

@@ -3,6 +3,8 @@ const common_vendor = require("../../common/vendor.js");
const components_request = require("../../components/request.js");
const components_postFile = require("../../components/postFile.js");
const components_generateFileName = require("../../components/generateFileName.js");
const stores_counter = require("../../stores/counter.js");
const counter = stores_counter.useCounterStore();
const _sfc_main = {
inject: ["$global"],
data() {
@@ -83,6 +85,7 @@ const _sfc_main = {
icon: "success"
});
common_vendor.index.setStorageSync("userinfo", res.data.info);
counter.$patch({ myitem: this.info.data.info });
common_vendor.index.hideLoading();
common_vendor.index.reLaunch({
url: this.lastPage
@@ -95,7 +98,7 @@ const _sfc_main = {
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:120", err);
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:123", err);
});
}
}

View File

@@ -3,6 +3,8 @@ const common_vendor = require("../../common/vendor.js");
const components_request = require("../../components/request.js");
const components_debug_GenerateTestUserSig = require("../../components/debug/GenerateTestUserSig.js");
const components_TUILogin = require("../../components/TUILogin.js");
const stores_counter = require("../../stores/counter.js");
const counter = stores_counter.useCounterStore();
const _sfc_main = {
inject: ["$global"],
data() {
@@ -25,7 +27,7 @@ const _sfc_main = {
key: "lastPage",
success: (res) => {
this.lastPage = "/" + res.data;
common_vendor.index.__f__("log", "at pages/login/login.vue:38", this.lastPage);
common_vendor.index.__f__("log", "at pages/login/login.vue:40", this.lastPage);
},
fail: () => {
this.lastPage = "/pages/Home/Home";
@@ -48,7 +50,7 @@ const _sfc_main = {
userInfo: false
});
this.info = res;
common_vendor.index.__f__("log", "at pages/login/login.vue:62", "登录信息", this.info);
common_vendor.index.__f__("log", "at pages/login/login.vue:64", "登录信息", this.info);
const sdkAppID = Number(this.info.data.chatInfo.appId);
const userID = "administrator";
this.userSig = components_debug_GenerateTestUserSig.genTestUserSig({
@@ -61,11 +63,12 @@ const _sfc_main = {
SECRETKEY: this.info.data.chatInfo.appKey,
userID: String(res.data.info.id)
});
common_vendor.index.__f__("log", "at pages/login/login.vue:75", "userSig", this.myuserSig.userSig);
common_vendor.index.__f__("log", "at pages/login/login.vue:77", "userSig", this.myuserSig.userSig);
common_vendor.index.setStorageSync("myuserSig", this.myuserSig);
common_vendor.index.setStorageSync("chatInfo", this.info.data.chatInfo);
common_vendor.index.setStorageSync("userSig", this.userSig);
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
counter.$patch({ myitem: this.info.data.info });
if (this.info.code === 200) {
if (this.info.data.newAccount) {
common_vendor.index.reLaunch({
@@ -77,7 +80,7 @@ const _sfc_main = {
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.myuserSig.userSig);
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/login/login.vue:92", "跳的地址", this.lastPage);
common_vendor.index.__f__("log", "at pages/login/login.vue:95", "跳的地址", this.lastPage);
common_vendor.index.reLaunch({
url: this.lastPage
});

View File

@@ -22,7 +22,7 @@ const _sfc_main = {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:107", "接收到的数据:", this.item);
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:108", "接收到的数据:", this.item);
});
common_vendor.index.getStorage({
key: "userinfo",
@@ -93,7 +93,7 @@ const _sfc_main = {
if (res.code === 200) {
if (res.data.length !== 0) {
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:191", "res.data", res.data);
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:192", "res.data", res.data);
this.list = res.data;
} else {
common_vendor.index.hideLoading();

View File

@@ -1 +1 @@
<view class="Navigation data-v-9639f721"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-9639f721"/><image bindtap="{{b}}" src="{{c}}" mode="scaleToFill" class="Return data-v-9639f721"/></view><view class="container data-v-9639f721"><view class="individual data-v-9639f721"><view class="anchor data-v-9639f721"></view><view class="data-v-9639f721"><view class="data-v-9639f721">主播名称{{d}}</view><view class="data-v-9639f721">主播性别{{e}}</view><view class="data-v-9639f721"> 国家{{f}}</view></view></view><view class="data-v-9639f721">金币{{g}}</view><view class="data-v-9639f721">PK时间{{h}}</view><view class="data-v-9639f721">主播备注{{i}}</view><button class="data-v-9639f721" bindtap="{{j}}">聊了个天</button><button class="data-v-9639f721" bindtap="{{k}}">立即邀请PK</button></view><uni-popup wx:if="{{p}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{p}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{l}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.e}}" style="{{'border:' + item.f}}"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/><view class="NameMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view><view class="TimeMoney data-v-9639f721"><view class="data-v-9639f721">{{item.c}}</view><view class="data-v-9639f721">金币:{{item.d}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{m}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{n}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-1" bind:__l="__l"></new-added-pk>
<view class="Navigation data-v-9639f721"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-9639f721"/><image bindtap="{{b}}" src="{{c}}" mode="scaleToFill" class="Return data-v-9639f721"/></view><view class="container data-v-9639f721"><view class="individual data-v-9639f721"><view class="anchor data-v-9639f721"></view><view class="data-v-9639f721"><view class="data-v-9639f721">主播名称{{d}}</view><view class="data-v-9639f721">主播性别{{e}}</view><view class="data-v-9639f721"> 国家{{f}}</view></view></view><view class="data-v-9639f721">pk场数:3场</view><view class="data-v-9639f721">金币{{g}}</view><view class="data-v-9639f721">PK时间{{h}}</view><view class="data-v-9639f721">pk场数</view><view class="data-v-9639f721">主播备注{{i}}</view><button class="data-v-9639f721" bindtap="{{j}}">聊了个天</button><button class="data-v-9639f721" bindtap="{{k}}">立即邀请PK</button></view><uni-popup wx:if="{{p}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{p}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{l}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.e}}" style="{{'border:' + item.f}}"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/><view class="NameMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view><view class="TimeMoney data-v-9639f721"><view class="data-v-9639f721">{{item.c}}</view><view class="data-v-9639f721">金币:{{item.d}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{m}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{n}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-1" bind:__l="__l"></new-added-pk>