优化页面

This commit is contained in:
pengxiaolong
2025-06-09 19:18:38 +08:00
parent d30589fd05
commit c5042d08c3
811 changed files with 2799 additions and 503 deletions

View File

@@ -79,21 +79,37 @@ const _sfc_main = {
blur(event) {
if (this.nameAnchor !== event.target.value) {
this.nameAnchor = event.target.value;
common_vendor.index.showLoading({
title: "正在验证主播",
mask: true
});
common_vendor.index.request({
url: "http://47.79.98.113:6600/" + this.nameAnchor,
success: (res) => {
if (res.data.code === 200) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "查询成功",
icon: "none",
duration: 3e3
});
this.AnchorProfilePicture = res.data.data;
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "主播不存在请确认主播名称",
title: "未查询到该主播",
icon: "none",
duration: 2e3
duration: 3e3
});
}
},
fail: function(res) {
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:224", "请求失败", res.data);
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "网络请求失败",
icon: "none",
duration: 3e3
});
}
});
} else {
@@ -101,7 +117,7 @@ const _sfc_main = {
}
},
async Publish() {
if (this.nameAnchor === "" || this.genders === 0 || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "") {
if (this.nameAnchor === "" || this.genders === 0 || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "" || this.AnchorProfilePicture === "") {
this.Hint = true;
return;
}
@@ -149,6 +165,7 @@ const _sfc_main = {
this.remarks = "";
this.datetimesingle = "";
this.session = "";
this.AnchorProfilePicture = "";
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布成功",

View File

@@ -38,7 +38,9 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
common_vendor.onLoad((options) => {
TUIKit_components_TUIChat_entryChatOnly.initChat(options);
myitem.value = JSON.parse(options.myitem);
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:147", myitem.value);
youritem.value = JSON.parse(options.youritem);
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:149", youritem.value);
counter.$patch({ youritem: youritem.value });
setTimeout(() => {
sendCustomMessage(myitem.value, youritem.value);
@@ -79,50 +81,6 @@ 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",
keyid,
myitem: counter.myitem.id,
pkIdA: youritem2.id,
pkIdB: myitem2.id,
userIdA: youritem2.senderId,
userIdB: myitem2.senderId,
pkTime: youritem2.pkTime,
pkNumber: youritem2.pkNumber,
link: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pk.png",
btnDisplay: true
}),
description: "邀请参加PK",
extension: "邀请参加PK"
};
const options = {
to: ((_b = (_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
payload,
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
};
const offlinePushInfoCreateParams = {
conversation: currentConversation.value,
payload: options.payload,
messageType: common_vendor.qt.TYPES.MSG_CUSTOM
};
const sendMessageOptions = {
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
};
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",
@@ -133,13 +91,73 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
userIdB: myitem2.senderId,
pkTime: youritem2.pkTime,
pkNumber: youritem2.pkNumber,
status: 0
anchorIdA: youritem2.anchorId,
anchorIdB: myitem2.anchorId,
anchorIconA: youritem2.anchorIcon,
anchorIconB: myitem2.anchorIcon,
piIdA: youritem2.id,
piIdB: myitem2.id
},
userInfo: false
userInfo: true
}).then((res) => {
var _a, _b, _c, _d, _e;
if (res.code === 200) {
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:225", "发送成功", res.data);
const keyid = components_generateMsgId.generateMsgId();
const payload = {
data: JSON.stringify({
businessID: "pk",
keyid,
myitem: counter.myitem.id,
pkIdA: youritem2.id,
pkIdB: myitem2.id,
userIdA: youritem2.senderId,
userIdB: myitem2.senderId,
pkTime: youritem2.pkTime,
pkNumber: youritem2.pkNumber,
id: res.data.id,
link: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pk.png",
btnDisplay: true
}),
description: "邀请参加PK",
extension: "邀请参加PK"
};
const options = {
to: ((_b = (_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
payload,
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
};
const offlinePushInfoCreateParams = {
conversation: currentConversation.value,
payload: options.payload,
messageType: common_vendor.qt.TYPES.MSG_CUSTOM
};
const sendMessageOptions = {
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
};
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions).then((res2) => {
components_request.request({
url: "chat/add",
method: "POST",
data: {
messageInfo: JSON.stringify(res2.data.message),
keyId: keyid
},
userInfo: true
});
});
myitem2.value = null;
youritem2.value = null;
currentConversation.value = null;
} else {
common_vendor.index.showToast({
title: res.msg,
icon: "none",
duration: 3e3
});
}
});
myitem2.value = null;
youritem2.value = null;
currentConversation.value = null;
}
const isInputToolbarShow = common_vendor.computed(() => {
return TUIKit_utils_env.isUniFrameWork ? inputToolbarDisplayType.value !== "none" : true;

View File

@@ -8010,9 +8010,9 @@ function isConsoleWritable() {
return isWritable;
}
function initRuntimeSocketService() {
const hosts = "192.168.1.112,127.0.0.1";
const hosts = "192.168.0.116,127.0.0.1";
const port = "8090";
const id = "mp-weixin_HMF9Aw";
const id = "mp-weixin_zs8V1D";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@@ -30430,303 +30430,296 @@ const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
const onReady = /* @__PURE__ */ createHook(ON_READY);
const onUnload = /* @__PURE__ */ createHook(ON_UNLOAD);
var dayjs_min = { exports: {} };
var hasRequiredDayjs_min;
function requireDayjs_min() {
if (hasRequiredDayjs_min)
return dayjs_min.exports;
hasRequiredDayjs_min = 1;
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r3 = "millisecond", i3 = "second", s3 = "minute", u2 = "hour", a2 = "day", o2 = "week", c2 = "month", f2 = "quarter", h2 = "year", d2 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m2 = function(t3, e3, n3) {
var r4 = String(t3);
return !r4 || r4.length >= e3 ? t3 : "" + Array(e3 + 1 - r4.length).join(n3) + t3;
}, v3 = { s: m2, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r4 = Math.floor(n3 / 60), i4 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m2(r4, 2, "0") + ":" + m2(i4, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r4 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i4 = e3.clone().add(r4, c2), s4 = n3 - i4 < 0, u3 = e3.clone().add(r4 + (s4 ? -1 : 1), c2);
return +(-(r4 + (n3 - i4) / (s4 ? i4 - u3 : u3 - i4)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c2, y: h2, w: o2, d: a2, D: d2, h: u2, m: s3, s: i3, ms: r3, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g2 = "en", D2 = {};
D2[g2] = M2;
var p3 = "$isDayjsObject", S2 = function(t3) {
return t3 instanceof _2 || !(!t3 || !t3[p3]);
}, w2 = function t3(e3, n3, r4) {
var i4;
if (!e3)
return g2;
if ("string" == typeof e3) {
var s4 = e3.toLowerCase();
D2[s4] && (i4 = s4), n3 && (D2[s4] = n3, i4 = s4);
var u3 = e3.split("-");
if (!i4 && u3.length > 1)
return t3(u3[0]);
} else {
var a3 = e3.name;
D2[a3] = e3, i4 = a3;
}
return !r4 && i4 && (g2 = i4), i4 || !r4 && g2;
}, O2 = function(t3, e3) {
if (S2(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _2(n3);
}, b2 = v3;
b2.l = w2, b2.i = S2, b2.w = function(t3, e3) {
return O2(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
var _2 = function() {
function M3(t3) {
this.$L = w2(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p3] = true;
}
var m3 = M3.prototype;
return m3.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return /* @__PURE__ */ new Date(NaN);
if (b2.u(e3))
return /* @__PURE__ */ new Date();
if (e3 instanceof Date)
return new Date(e3);
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r4 = e3.match($2);
if (r4) {
var i4 = r4[2] - 1 || 0, s4 = (r4[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4)) : new Date(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4);
}
}
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r3 = "millisecond", i3 = "second", s3 = "minute", u2 = "hour", a2 = "day", o2 = "week", c2 = "month", f2 = "quarter", h2 = "year", d2 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m2 = function(t3, e3, n3) {
var r4 = String(t3);
return !r4 || r4.length >= e3 ? t3 : "" + Array(e3 + 1 - r4.length).join(n3) + t3;
}, v3 = { s: m2, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r4 = Math.floor(n3 / 60), i4 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m2(r4, 2, "0") + ":" + m2(i4, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r4 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i4 = e3.clone().add(r4, c2), s4 = n3 - i4 < 0, u3 = e3.clone().add(r4 + (s4 ? -1 : 1), c2);
return +(-(r4 + (n3 - i4) / (s4 ? i4 - u3 : u3 - i4)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c2, y: h2, w: o2, d: a2, D: d2, h: u2, m: s3, s: i3, ms: r3, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g2 = "en", D2 = {};
D2[g2] = M2;
var p3 = "$isDayjsObject", S2 = function(t3) {
return t3 instanceof _2 || !(!t3 || !t3[p3]);
}, w2 = function t3(e3, n3, r4) {
var i4;
if (!e3)
return g2;
if ("string" == typeof e3) {
var s4 = e3.toLowerCase();
D2[s4] && (i4 = s4), n3 && (D2[s4] = n3, i4 = s4);
var u3 = e3.split("-");
if (!i4 && u3.length > 1)
return t3(u3[0]);
} else {
var a3 = e3.name;
D2[a3] = e3, i4 = a3;
}
return !r4 && i4 && (g2 = i4), i4 || !r4 && g2;
}, O2 = function(t3, e3) {
if (S2(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _2(n3);
}, b2 = v3;
b2.l = w2, b2.i = S2, b2.w = function(t3, e3) {
return O2(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
var _2 = function() {
function M3(t3) {
this.$L = w2(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p3] = true;
}
var m3 = M3.prototype;
return m3.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return /* @__PURE__ */ new Date(NaN);
if (b2.u(e3))
return /* @__PURE__ */ new Date();
if (e3 instanceof Date)
return new Date(e3);
}(t3), this.init();
}, m3.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m3.$utils = function() {
return b2;
}, m3.isValid = function() {
return !(this.$d.toString() === l2);
}, m3.isSame = function(t3, e3) {
var n3 = O2(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m3.isAfter = function(t3, e3) {
return O2(t3) < this.startOf(e3);
}, m3.isBefore = function(t3, e3) {
return this.endOf(e3) < O2(t3);
}, m3.$g = function(t3, e3, n3) {
return b2.u(t3) ? this[e3] : this.set(n3, t3);
}, m3.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m3.valueOf = function() {
return this.$d.getTime();
}, m3.startOf = function(t3, e3) {
var n3 = this, r4 = !!b2.u(e3) || e3, f3 = b2.p(t3), l3 = function(t4, e4) {
var i4 = b2.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r4 ? i4 : i4.endOf(a2);
}, $3 = function(t4, e4) {
return b2.w(n3.toDate()[t4].apply(n3.toDate("s"), (r4 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y3 = this.$W, M4 = this.$M, m4 = this.$D, v4 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h2:
return r4 ? l3(1, 0) : l3(31, 11);
case c2:
return r4 ? l3(1, M4) : l3(0, M4 + 1);
case o2:
var g3 = this.$locale().weekStart || 0, D3 = (y3 < g3 ? y3 + 7 : y3) - g3;
return l3(r4 ? m4 - D3 : m4 + (6 - D3), M4);
case a2:
case d2:
return $3(v4 + "Hours", 0);
case u2:
return $3(v4 + "Minutes", 1);
case s3:
return $3(v4 + "Seconds", 2);
case i3:
return $3(v4 + "Milliseconds", 3);
default:
return this.clone();
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r4 = e3.match($2);
if (r4) {
var i4 = r4[2] - 1 || 0, s4 = (r4[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4)) : new Date(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4);
}
}
}, m3.endOf = function(t3) {
return this.startOf(t3, false);
}, m3.$set = function(t3, e3) {
var n3, o3 = b2.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a2] = f3 + "Date", n3[d2] = f3 + "Date", n3[c2] = f3 + "Month", n3[h2] = f3 + "FullYear", n3[u2] = f3 + "Hours", n3[s3] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r3] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a2 ? this.$D + (e3 - this.$W) : e3;
if (o3 === c2 || o3 === h2) {
var y3 = this.clone().set(d2, 1);
y3.$d[l3]($3), y3.init(), this.$d = y3.set(d2, Math.min(this.$D, y3.daysInMonth())).$d;
} else
l3 && this.$d[l3]($3);
return this.init(), this;
}, m3.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m3.get = function(t3) {
return this[b2.p(t3)]();
}, m3.add = function(r4, f3) {
var d3, l3 = this;
r4 = Number(r4);
var $3 = b2.p(f3), y3 = function(t3) {
var e3 = O2(l3);
return b2.w(e3.date(e3.date() + Math.round(t3 * r4)), l3);
};
if ($3 === c2)
return this.set(c2, this.$M + r4);
if ($3 === h2)
return this.set(h2, this.$y + r4);
if ($3 === a2)
return y3(1);
if ($3 === o2)
return y3(7);
var M4 = (d3 = {}, d3[s3] = e2, d3[u2] = n2, d3[i3] = t2, d3)[$3] || 1, m4 = this.$d.getTime() + r4 * M4;
return b2.w(m4, this);
}, m3.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m3.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l2;
var r4 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b2.z(this), s4 = this.$H, u3 = this.$m, a3 = this.$M, o3 = n3.weekdays, c3 = n3.months, f3 = n3.meridiem, h3 = function(t4, n4, i5, s5) {
return t4 && (t4[n4] || t4(e3, r4)) || i5[n4].slice(0, s5);
}, d3 = function(t4) {
return b2.s(s4 % 12 || 12, t4, "0");
}, $3 = f3 || function(t4, e4, n4) {
var r5 = t4 < 12 ? "AM" : "PM";
return n4 ? r5.toLowerCase() : r5;
};
return r4.replace(y2, function(t4, r5) {
return r5 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b2.s(e3.$y, 4, "0");
case "M":
return a3 + 1;
case "MM":
return b2.s(a3 + 1, 2, "0");
case "MMM":
return h3(n3.monthsShort, a3, c3, 3);
case "MMMM":
return h3(c3, a3);
case "D":
return e3.$D;
case "DD":
return b2.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h3(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h3(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s4);
case "HH":
return b2.s(s4, 2, "0");
case "h":
return d3(1);
case "hh":
return d3(2);
case "a":
return $3(s4, u3, true);
case "A":
return $3(s4, u3, false);
case "m":
return String(u3);
case "mm":
return b2.s(u3, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b2.s(e3.$s, 2, "0");
case "SSS":
return b2.s(e3.$ms, 3, "0");
case "Z":
return i4;
}
return null;
}(t4) || i4.replace(":", "");
});
}, m3.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m3.diff = function(r4, d3, l3) {
var $3, y3 = this, M4 = b2.p(d3), m4 = O2(r4), v4 = (m4.utcOffset() - this.utcOffset()) * e2, g3 = this - m4, D3 = function() {
return b2.m(y3, m4);
};
switch (M4) {
case h2:
$3 = D3() / 12;
break;
case c2:
$3 = D3();
break;
case f2:
$3 = D3() / 3;
break;
case o2:
$3 = (g3 - v4) / 6048e5;
break;
case a2:
$3 = (g3 - v4) / 864e5;
break;
case u2:
$3 = g3 / n2;
break;
case s3:
$3 = g3 / e2;
break;
case i3:
$3 = g3 / t2;
break;
default:
$3 = g3;
}
return l3 ? $3 : b2.a($3);
}, m3.daysInMonth = function() {
return this.endOf(c2).$D;
}, m3.$locale = function() {
return D2[this.$L];
}, m3.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r4 = w2(t3, e3, true);
return r4 && (n3.$L = r4), n3;
}, m3.clone = function() {
return b2.w(this.$d, this);
}, m3.toDate = function() {
return new Date(this.valueOf());
}, m3.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m3.toISOString = function() {
return this.$d.toISOString();
}, m3.toString = function() {
return this.$d.toUTCString();
}, M3;
}(), k2 = _2.prototype;
return O2.prototype = k2, [["$ms", r3], ["$s", i3], ["$m", s3], ["$H", u2], ["$W", a2], ["$M", c2], ["$y", h2], ["$D", d2]].forEach(function(t3) {
k2[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
return new Date(e3);
}(t3), this.init();
}, m3.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m3.$utils = function() {
return b2;
}, m3.isValid = function() {
return !(this.$d.toString() === l2);
}, m3.isSame = function(t3, e3) {
var n3 = O2(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m3.isAfter = function(t3, e3) {
return O2(t3) < this.startOf(e3);
}, m3.isBefore = function(t3, e3) {
return this.endOf(e3) < O2(t3);
}, m3.$g = function(t3, e3, n3) {
return b2.u(t3) ? this[e3] : this.set(n3, t3);
}, m3.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m3.valueOf = function() {
return this.$d.getTime();
}, m3.startOf = function(t3, e3) {
var n3 = this, r4 = !!b2.u(e3) || e3, f3 = b2.p(t3), l3 = function(t4, e4) {
var i4 = b2.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r4 ? i4 : i4.endOf(a2);
}, $3 = function(t4, e4) {
return b2.w(n3.toDate()[t4].apply(n3.toDate("s"), (r4 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y3 = this.$W, M4 = this.$M, m4 = this.$D, v4 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h2:
return r4 ? l3(1, 0) : l3(31, 11);
case c2:
return r4 ? l3(1, M4) : l3(0, M4 + 1);
case o2:
var g3 = this.$locale().weekStart || 0, D3 = (y3 < g3 ? y3 + 7 : y3) - g3;
return l3(r4 ? m4 - D3 : m4 + (6 - D3), M4);
case a2:
case d2:
return $3(v4 + "Hours", 0);
case u2:
return $3(v4 + "Minutes", 1);
case s3:
return $3(v4 + "Seconds", 2);
case i3:
return $3(v4 + "Milliseconds", 3);
default:
return this.clone();
}
}, m3.endOf = function(t3) {
return this.startOf(t3, false);
}, m3.$set = function(t3, e3) {
var n3, o3 = b2.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a2] = f3 + "Date", n3[d2] = f3 + "Date", n3[c2] = f3 + "Month", n3[h2] = f3 + "FullYear", n3[u2] = f3 + "Hours", n3[s3] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r3] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a2 ? this.$D + (e3 - this.$W) : e3;
if (o3 === c2 || o3 === h2) {
var y3 = this.clone().set(d2, 1);
y3.$d[l3]($3), y3.init(), this.$d = y3.set(d2, Math.min(this.$D, y3.daysInMonth())).$d;
} else
l3 && this.$d[l3]($3);
return this.init(), this;
}, m3.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m3.get = function(t3) {
return this[b2.p(t3)]();
}, m3.add = function(r4, f3) {
var d3, l3 = this;
r4 = Number(r4);
var $3 = b2.p(f3), y3 = function(t3) {
var e3 = O2(l3);
return b2.w(e3.date(e3.date() + Math.round(t3 * r4)), l3);
};
}), O2.extend = function(t3, e3) {
return t3.$i || (t3(e3, _2, O2), t3.$i = true), O2;
}, O2.locale = w2, O2.isDayjs = S2, O2.unix = function(t3) {
return O2(1e3 * t3);
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
});
})(dayjs_min);
return dayjs_min.exports;
}
var dayjs_minExports = requireDayjs_min();
if ($3 === c2)
return this.set(c2, this.$M + r4);
if ($3 === h2)
return this.set(h2, this.$y + r4);
if ($3 === a2)
return y3(1);
if ($3 === o2)
return y3(7);
var M4 = (d3 = {}, d3[s3] = e2, d3[u2] = n2, d3[i3] = t2, d3)[$3] || 1, m4 = this.$d.getTime() + r4 * M4;
return b2.w(m4, this);
}, m3.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m3.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l2;
var r4 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b2.z(this), s4 = this.$H, u3 = this.$m, a3 = this.$M, o3 = n3.weekdays, c3 = n3.months, f3 = n3.meridiem, h3 = function(t4, n4, i5, s5) {
return t4 && (t4[n4] || t4(e3, r4)) || i5[n4].slice(0, s5);
}, d3 = function(t4) {
return b2.s(s4 % 12 || 12, t4, "0");
}, $3 = f3 || function(t4, e4, n4) {
var r5 = t4 < 12 ? "AM" : "PM";
return n4 ? r5.toLowerCase() : r5;
};
return r4.replace(y2, function(t4, r5) {
return r5 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b2.s(e3.$y, 4, "0");
case "M":
return a3 + 1;
case "MM":
return b2.s(a3 + 1, 2, "0");
case "MMM":
return h3(n3.monthsShort, a3, c3, 3);
case "MMMM":
return h3(c3, a3);
case "D":
return e3.$D;
case "DD":
return b2.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h3(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h3(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s4);
case "HH":
return b2.s(s4, 2, "0");
case "h":
return d3(1);
case "hh":
return d3(2);
case "a":
return $3(s4, u3, true);
case "A":
return $3(s4, u3, false);
case "m":
return String(u3);
case "mm":
return b2.s(u3, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b2.s(e3.$s, 2, "0");
case "SSS":
return b2.s(e3.$ms, 3, "0");
case "Z":
return i4;
}
return null;
}(t4) || i4.replace(":", "");
});
}, m3.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m3.diff = function(r4, d3, l3) {
var $3, y3 = this, M4 = b2.p(d3), m4 = O2(r4), v4 = (m4.utcOffset() - this.utcOffset()) * e2, g3 = this - m4, D3 = function() {
return b2.m(y3, m4);
};
switch (M4) {
case h2:
$3 = D3() / 12;
break;
case c2:
$3 = D3();
break;
case f2:
$3 = D3() / 3;
break;
case o2:
$3 = (g3 - v4) / 6048e5;
break;
case a2:
$3 = (g3 - v4) / 864e5;
break;
case u2:
$3 = g3 / n2;
break;
case s3:
$3 = g3 / e2;
break;
case i3:
$3 = g3 / t2;
break;
default:
$3 = g3;
}
return l3 ? $3 : b2.a($3);
}, m3.daysInMonth = function() {
return this.endOf(c2).$D;
}, m3.$locale = function() {
return D2[this.$L];
}, m3.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r4 = w2(t3, e3, true);
return r4 && (n3.$L = r4), n3;
}, m3.clone = function() {
return b2.w(this.$d, this);
}, m3.toDate = function() {
return new Date(this.valueOf());
}, m3.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m3.toISOString = function() {
return this.$d.toISOString();
}, m3.toString = function() {
return this.$d.toUTCString();
}, M3;
}(), k2 = _2.prototype;
return O2.prototype = k2, [["$ms", r3], ["$s", i3], ["$m", s3], ["$H", u2], ["$W", a2], ["$M", c2], ["$y", h2], ["$D", d2]].forEach(function(t3) {
k2[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
};
}), O2.extend = function(t3, e3) {
return t3.$i || (t3(e3, _2, O2), t3.$i = true), O2;
}, O2.locale = w2, O2.isDayjs = S2, O2.unix = function(t3) {
return O2(1e3 * t3);
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
});
})(dayjs_min);
var dayjs_minExports = dayjs_min.exports;
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
var localeData$1 = { exports: {} };
(function(module2, exports2) {
@@ -30838,7 +30831,7 @@ const isSameOrBefore = /* @__PURE__ */ getDefaultExportFromCjs(isSameOrBeforeExp
var zhCn = { exports: {} };
(function(module2, exports2) {
!function(e2, _2) {
module2.exports = _2(requireDayjs_min());
module2.exports = _2(dayjs_minExports);
}(commonjsGlobal, function(e2) {
function _2(e3) {
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };

View File

@@ -0,0 +1,20 @@
"use strict";
function addPrefixToHeaderIcon(data) {
if (Array.isArray(data)) {
data.forEach((item) => addPrefixToHeaderIcon(item));
return;
}
if (typeof data === "object" && data !== null) {
for (const key in data) {
if (key === "headerIcon" || key === "anchorIcon" && data.hasOwnProperty(key)) {
const value = data[key];
data[key] = "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/headerIcon/" + (typeof value === "string" ? value : value != null ? String(value) : "");
} else if (typeof data[key] === "object" && data[key] !== null) {
addPrefixToHeaderIcon(data[key]);
}
}
}
return data;
}
exports.addPrefixToHeaderIcon = addPrefixToHeaderIcon;
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/addPrefixToHeaderIcon.js.map

View File

@@ -1,5 +1,6 @@
"use strict";
const common_vendor = require("../common/vendor.js");
const components_addPrefixToHeaderIcon = require("./addPrefixToHeaderIcon.js");
function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
const baseUrl = "http://120.26.251.180:8086/" + url;
@@ -16,8 +17,8 @@ function request(urldata) {
method,
header,
success: function(res2) {
common_vendor.index.__f__("log", "at components/request.js:18", "请求成功1", res2.data);
resolve(res2.data);
common_vendor.index.__f__("log", "at components/request.js:19", "请求成功1", res2.data);
resolve(components_addPrefixToHeaderIcon.addPrefixToHeaderIcon(res2.data));
},
fail: function(res2) {
reject(res2);
@@ -47,8 +48,8 @@ function request(urldata) {
method,
header,
success: function(res) {
common_vendor.index.__f__("log", "at components/request.js:49", "请求成功2", res);
resolve(res.data);
common_vendor.index.__f__("log", "at components/request.js:51", "请求成功2", res);
resolve(components_addPrefixToHeaderIcon.addPrefixToHeaderIcon(res.data));
},
fail: function(res) {
reject(res);

View File

@@ -142,10 +142,14 @@ const _sfc_main = {
this.triggered = false;
if (condition.type === 1) {
this.MakeAppointmentPKlist.push(...res.data);
this.list = this.MakeAppointmentPKlist;
if (condition.type == this.listtype) {
this.list = this.MakeAppointmentPKlist;
}
} else {
this.RealTimePklist.push(...res.data);
this.list = this.RealTimePklist;
if (condition.type == this.listtype) {
this.list = this.RealTimePklist;
}
}
}
}

View File

@@ -18,7 +18,7 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:133", this.userinfo);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:134", this.userinfo);
this.getpkInformation();
this.getmyPkRecord();
}
@@ -37,13 +37,13 @@ const _sfc_main = {
page: 0,
size: 4
},
userInfo: false
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.pkInformationdata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:156", this.pkInformationdata);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:157", this.pkInformationdata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:158", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:159", res.msg);
}
});
},
@@ -62,9 +62,9 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.myPkRecorddata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:177", this.myPkRecorddata);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:178", this.myPkRecorddata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:179", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:180", res.msg);
}
});
},
@@ -101,6 +101,7 @@ const _sfc_main = {
// 退出登录
logout() {
common_vendor.index.clearStorage();
common_vendor.A.logout;
common_vendor.index.reLaunch({
url: "/pages/login/login"
});

View File

@@ -1 +1 @@
<view class="container data-v-402ad917"><view class="bg data-v-402ad917"><image class="bgImg data-v-402ad917" src="{{a}}" mode="scaleToFill"/></view><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{b}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{c}}</view></view><view class="Settings data-v-402ad917" bindtap="{{e}}"><image class="SettingsIcon data-v-402ad917" src="{{d}}" mode="scaleToFill"/></view></view><view class="content data-v-402ad917"><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">PK信息</view><view class="titleLine data-v-402ad917"></view><view class="titleMore data-v-402ad917" bindtap="{{g}}">更多PK信息<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{f}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" mode="scaleToFill"/></view><view class="Time data-v-402ad917">{{item.b}}</view><view class="gold data-v-402ad917">{{item.c}}K</view></view></view></view><view class="myPkRecord data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">我的PK记录</view><view class="titleLine data-v-402ad917"></view><view class="myPkRecordMore data-v-402ad917" bindtap="{{j}}">更多PK记录<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{i}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{k}}" wx:for-item="item" wx:key="f" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" mode="scaleToFill"/></view><view wx:if="{{item.b}}" class="Failure data-v-402ad917"> 失败 </view><view wx:elif="{{item.c}}" class="Result data-v-402ad917"> 胜利 </view><view class="Session data-v-402ad917"> 共{{item.d}}场 </view><view class="Time data-v-402ad917">{{item.e}}</view></view></view></view><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">专属客服</view><view class="titleLine data-v-402ad917"></view></view></view><view class="card data-v-402ad917"><view class="service data-v-402ad917" bindtap="{{m}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{l}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">联系客服</view></view><view class="service data-v-402ad917" bindtap="{{o}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{n}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">服务协议</view></view><view class="service data-v-402ad917" bindtap="{{q}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{p}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">退出登录</view></view></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 class="container data-v-402ad917"><view class="bg data-v-402ad917"><image class="bgImg data-v-402ad917" src="{{a}}" mode="scaleToFill"/></view><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{b}}" style="width:144.5rpx;height:144.5rpx;border-radius:72.25rpx" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{c}}</view></view><view class="Settings data-v-402ad917" bindtap="{{e}}"><image class="SettingsIcon data-v-402ad917" src="{{d}}" mode="scaleToFill"/></view></view><view class="content data-v-402ad917"><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">PK信息</view><view class="titleLine data-v-402ad917"></view><view class="titleMore data-v-402ad917" bindtap="{{g}}">更多PK信息<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{f}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" style="width:80rpx;height:80rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Time data-v-402ad917">{{item.b}}</view><view class="gold data-v-402ad917">{{item.c}}K</view></view></view></view><view class="myPkRecord data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">我的PK记录</view><view class="titleLine data-v-402ad917"></view><view class="myPkRecordMore data-v-402ad917" bindtap="{{j}}">更多PK记录<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{i}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{k}}" wx:for-item="item" wx:key="f" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" style="width:80rpx;height:80rpx;border-radius:72.25rpx" src="{{item.a}}" mode="scaleToFill"/></view><view wx:if="{{item.b}}" class="Failure data-v-402ad917"> 失败 </view><view wx:elif="{{item.c}}" class="Result data-v-402ad917"> 胜利 </view><view class="Session data-v-402ad917"> 共{{item.d}}场 </view><view class="Time data-v-402ad917">{{item.e}}</view></view></view></view><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">专属客服</view><view class="titleLine data-v-402ad917"></view></view></view><view class="card data-v-402ad917"><view class="service data-v-402ad917" bindtap="{{m}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{l}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">联系客服</view></view><view class="service data-v-402ad917" bindtap="{{o}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{n}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">服务协议</view></view><view class="service data-v-402ad917" bindtap="{{q}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{p}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">退出登录</view></view></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

@@ -60,7 +60,7 @@ const _sfc_main = {
page: this.page,
size: 10
},
userInfo: false
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.pkList.push(...res.data);
@@ -82,7 +82,7 @@ const _sfc_main = {
data: {
id: item.id
},
userInfo: false
userInfo: true
}).then((res) => {
if (res.code == 200) {
common_vendor.index.showToast({
@@ -113,33 +113,37 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
d: common_vendor.f($data.pkList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.anchorId),
b: item.sex === "2"
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
c: item.sex === "2"
}, item.sex === "2" ? {
c: common_assets._imports_3
d: common_assets._imports_3
} : {
d: common_assets._imports_2
e: common_assets._imports_2
}, {
e: common_vendor.t(item.sex === "1" ? "男" : "女"),
f: item.sex === "1" ? 1 : "",
g: item.sex === "2" ? 1 : "",
h: common_vendor.t(item.country),
i: common_vendor.t(item.coin),
j: common_vendor.t($options.formatDate(item.pkTime)),
k: common_vendor.o$1(($event) => $options.onRecompose(item), index),
l: common_vendor.o$1(($event) => $options.onExpurgate(item), index),
m: index,
n: "36b7ee78-0-" + i0
f: common_vendor.t(item.sex === "1" ? "男" : "女"),
g: item.sex === "1" ? 1 : "",
h: item.sex === "2" ? 1 : "",
i: common_vendor.t(item.country),
j: common_vendor.t(item.coin),
k: common_vendor.t($options.formatDate(item.pkTime)),
l: item.inviteStatus === 0
}, item.inviteStatus === 0 ? {
m: common_assets._imports_5$1,
n: common_vendor.o$1(($event) => $options.onRecompose(item), index),
o: common_assets._imports_6,
p: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
} : {}, {
q: index,
r: "36b7ee78-0-" + i0
});
}),
e: common_assets._imports_4$1,
f: common_assets._imports_5$1,
g: common_assets._imports_6,
h: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
i: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
j: $data.triggered,
k: common_vendor.sr("createModule", "36b7ee78-1"),
l: common_vendor.p({
f: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
g: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
h: $data.triggered,
i: common_vendor.sr("createModule", "36b7ee78-1"),
j: common_vendor.p({
message: $data.parentMessage
})
};

View File

@@ -1 +1 @@
<view class="pk-information data-v-36b7ee78"><view class="bg data-v-36b7ee78"><image class="bgImg data-v-36b7ee78" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-36b7ee78" bindtap="{{c}}"><image class="ReturnImg data-v-36b7ee78" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-36b7ee78">PK信息</view><view class="content data-v-36b7ee78"><scroll-view scroll-y="true" class="scroll data-v-36b7ee78" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{h}}" lower-threshold="100" bindscrolltolower="{{i}}" refresher-triggered="{{j}}"><uni-card wx:for="{{d}}" wx:for-item="item" wx:key="m" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.n}}" bind:__l="__l"><view class="Profile data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:89.12rpx;height:89.12rpx" src="{{''}}" mode="scaleToFill"/></view><view class="Individual data-v-36b7ee78"><view class="Name data-v-36b7ee78">{{item.a}}</view><view class="Label data-v-36b7ee78"><view class="data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.f && 'Gendermale', item.g && 'Genderfemale']}}"><image wx:if="{{item.b}}" class="Genderimg data-v-36b7ee78" src="{{item.c}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="{{item.d}}" mode="scaleToFill"/><view class="age data-v-36b7ee78">{{item.e}}</view></view></view><view class="state data-v-36b7ee78">{{item.h}}</view><view class="species data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:28.63rpx;height:28.63rpx" src="{{e}}" mode="scaleToFill"/><view class="species-text data-v-36b7ee78">金币:</view><view class="species-num data-v-36b7ee78">{{item.i}}K</view></view></view><view class="time data-v-36b7ee78">PK时间:{{item.j}}</view></view><view class="handle data-v-36b7ee78"><view class="recompose data-v-36b7ee78" bindtap="{{item.k}}"><image class="data-v-36b7ee78" style="width:46rpx;height:46rpx" src="{{f}}" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.l}}"><image class="data-v-36b7ee78" style="width:46rpx;height:46rpx" src="{{g}}" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{l}}" u-r="createModule" class="createModule r data-v-36b7ee78" u-i="36b7ee78-1" bind:__l="__l" u-p="{{l}}"></recompose>
<view class="pk-information data-v-36b7ee78"><view class="bg data-v-36b7ee78"><image class="bgImg data-v-36b7ee78" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-36b7ee78" bindtap="{{c}}"><image class="ReturnImg data-v-36b7ee78" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-36b7ee78">PK信息</view><view class="content data-v-36b7ee78"><scroll-view scroll-y="true" class="scroll data-v-36b7ee78" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{f}}" lower-threshold="100" bindscrolltolower="{{g}}" refresher-triggered="{{h}}"><uni-card wx:for="{{d}}" wx:for-item="item" wx:key="q" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.r}}" bind:__l="__l"><view class="Profile data-v-36b7ee78"><image class="data-v-36b7ee78" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-36b7ee78"><view class="Name data-v-36b7ee78">{{item.b}}</view><view class="Label data-v-36b7ee78"><view class="data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.g && 'Gendermale', item.h && '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">{{item.f}}</view></view></view><view class="state data-v-36b7ee78">{{item.i}}</view><view class="species data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:28.63rpx;height:28.63rpx" src="{{e}}" mode="scaleToFill"/><view class="species-text data-v-36b7ee78">金币:</view><view class="species-num data-v-36b7ee78">{{item.j}}K</view></view></view><view class="time data-v-36b7ee78">PK时间:{{item.k}}</view></view><view wx:if="{{item.l}}" class="handle data-v-36b7ee78"><view class="recompose data-v-36b7ee78" bindtap="{{item.n}}"><image class="data-v-36b7ee78" style="width:46rpx;height:46rpx" src="{{item.m}}" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.p}}"><image class="data-v-36b7ee78" style="width:46rpx;height:46rpx" src="{{item.o}}" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{j}}" u-r="createModule" class="createModule r data-v-36b7ee78" u-i="36b7ee78-1" bind:__l="__l" u-p="{{j}}"></recompose>

View File

@@ -1 +1 @@
<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="Titlecss data-v-96d38e2b"><view class="Star data-v-96d38e2b"></view><view class="Title data-v-96d38e2b"></view><view class="Star data-v-96d38e2b"></view></view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称" bindblur="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{h}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{g}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" 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="{{k}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{j}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{l}}" class="Gendericon data-v-96d38e2b" src="{{m}}" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-96d38e2b" src="{{o}}" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-96d38e2b" src="{{q}}" mode="scaleToFill"/></view></view><view wx:if="{{r}}" 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="{{t}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></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="{{v}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" 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 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="Titlecss data-v-96d38e2b"><view class="Star data-v-96d38e2b"></view><view class="Title data-v-96d38e2b"></view><view class="Star data-v-96d38e2b"></view></view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称" bindblur="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-96d38e2b">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{h}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{g}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" 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="{{k}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{j}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{l}}" class="Gendericon data-v-96d38e2b" src="{{m}}" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-96d38e2b" src="{{o}}" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-96d38e2b" src="{{q}}" mode="scaleToFill"/></view></view><view wx:if="{{r}}" 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="{{t}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></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="{{v}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" 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

@@ -8,15 +8,31 @@ const _sfc_main = {
return {
customData: {},
SenderData: {},
ReceiverData: {}
ReceiverData: {},
PkIDInfodata: {}
};
},
onLoad(options) {
this.customData = JSON.parse(options.customData);
this.getPkyourInfo();
this.getPkmineInfo();
this.getPkIDInfo();
},
methods: {
//根据当前消息ID查询pk信息
async getPkIDInfo() {
await components_request.request({
url: "pk/singleRecord",
method: "POST",
data: {
id: this.customData.id
},
userInfo: true
}).then((res) => {
this.PkIDInfodata = res.data;
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:177", this.PkIDInfodata);
});
},
//发布者
async getPkyourInfo() {
await components_request.request({
@@ -25,10 +41,10 @@ const _sfc_main = {
data: {
id: this.customData.pkIdA
},
userInfo: false
userInfo: true
}).then((res) => {
this.SenderData = res.data;
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:173", this.SenderData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:191", this.SenderData);
});
},
//被邀请者
@@ -39,10 +55,10 @@ const _sfc_main = {
data: {
id: this.customData.pkIdB
},
userInfo: false
userInfo: true
}).then((res) => {
this.ReceiverData = res.data;
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:187", this.ReceiverData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:205", this.ReceiverData);
});
},
goBack() {
@@ -52,25 +68,21 @@ const _sfc_main = {
},
formatDate: components_formatDate.formatDate,
async operation(status) {
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:198", "``````", this.customData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:199", status);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:216", "``````", this.customData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:217", status);
await components_request.request({
url: "pk/updatePkStatus",
method: "POST",
data: {
pkIdA: this.customData.pkIdA,
pkIdB: this.customData.pkIdB,
userIdA: this.customData.userIdA,
userIdB: this.customData.userIdB,
pkTime: this.customData.pkTime,
pkNumber: this.customData.pkNumber,
id: this.customData.id,
pkStatus: status
},
userInfo: false
userInfo: true
}).then((res) => {
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:215", res.data);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:228", res.data);
const Hinttext = status === 1 ? "接受邀请成功" : "拒绝邀请成功";
if (res.code === 200) {
this.getPkIDInfo();
common_vendor.wx$1.showToast({
title: Hinttext,
icon: "success",
@@ -127,9 +139,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
B: common_vendor.t($data.ReceiverData.coin),
C: common_assets._imports_5$2,
D: common_vendor.t($data.ReceiverData.pkNumber),
E: common_vendor.o$1(($event) => $options.operation(1)),
F: common_vendor.o$1(($event) => $options.operation(2))
});
E: $data.PkIDInfodata.pkStatus === 0
}, $data.PkIDInfodata.pkStatus === 0 ? {
F: common_vendor.o$1(($event) => $options.operation(1)),
G: common_vendor.o$1(($event) => $options.operation(2))
} : {}, {
H: $data.PkIDInfodata.pkStatus === 1
}, $data.PkIDInfodata.pkStatus === 1 ? {} : {}, {
I: $data.PkIDInfodata.pkStatus === 2
}, $data.PkIDInfodata.pkStatus === 2 ? {} : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cadadfe7"]]);
wx.createPage(MiniProgramPage);

View File

@@ -1 +1 @@
<view class="container data-v-cadadfe7"><view class="background data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-cadadfe7"><view class="Return data-v-cadadfe7" bindtap="{{c}}"><image class="Return data-v-cadadfe7" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-cadadfe7"><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{e}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{f}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{h}}</view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{i}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{j}}</view></view></view><view class="nation data-v-cadadfe7">{{k}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{l}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{n}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{o}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{p}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{q}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{r}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{s}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{t}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{v}}</view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{w}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{x}}</view></view></view><view class="nation data-v-cadadfe7">{{y}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{z}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{A}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{B}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{C}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{D}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="button data-v-cadadfe7"><button class="accept data-v-cadadfe7" bindtap="{{E}}">接受邀请</button><button class="reject data-v-cadadfe7" bindtap="{{F}}">拒绝邀请</button></view></view></view>
<view class="container data-v-cadadfe7"><view class="background data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-cadadfe7"><view class="Return data-v-cadadfe7" bindtap="{{c}}"><image class="Return data-v-cadadfe7" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-cadadfe7"><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{e}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{f}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{h}}</view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{i}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{j}}</view></view></view><view class="nation data-v-cadadfe7">{{k}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{l}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{n}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{o}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{p}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{q}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{r}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{s}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{t}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{v}}</view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{w}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{x}}</view></view></view><view class="nation data-v-cadadfe7">{{y}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{z}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{A}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{B}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{C}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{D}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view wx:if="{{E}}" class="button data-v-cadadfe7"><button class="accept data-v-cadadfe7" bindtap="{{F}}">接受邀请</button><button class="reject data-v-cadadfe7" bindtap="{{G}}">拒绝邀请</button></view><view wx:if="{{H}}" class="button buttontext data-v-cadadfe7">已接受邀请</view><view wx:if="{{I}}" class="button buttontext data-v-cadadfe7">已拒绝邀请</view></view></view>

View File

@@ -154,6 +154,11 @@
align-items: center;
margin-top: 150rpx;
}
.buttontext.data-v-cadadfe7{
font-size: 40rpx;
color: #666666;
font-weight: bold;
}
.accept.data-v-cadadfe7 {
width: 325.38rpx;
height: 77.29rpx;

View File

@@ -70,7 +70,7 @@ const _sfc_main = {
nickName: this.name,
usersig: this.userSig.userSig
},
userInfo: false
userInfo: true
});
if (res.code === 200) {
common_vendor.index.showToast({

View File

@@ -85,7 +85,7 @@ const _sfc_main = {
icon: "success"
});
common_vendor.index.setStorageSync("userinfo", res.data.info);
counter.$patch({ myitem: this.info.data.info });
counter.$patch({ myitem: res.data.info });
common_vendor.index.hideLoading();
common_vendor.index.reLaunch({
url: this.lastPage