优化页面

This commit is contained in:
pengxiaolong
2025-06-13 22:13:15 +08:00
parent de99d32c01
commit 0f2a48b450
86 changed files with 4383 additions and 671 deletions

View File

@@ -32,8 +32,14 @@ const _sfc_main = {
//发送时间
filterable: true,
//是否可搜索
AnchorProfilePicture: ""
AnchorProfilePicture: "",
//主播头像
AnchorList: [],
//主播列表
selectedId: null,
//选择的主播
selectedIddata: null
//选择的主播数据
};
},
mounted() {
@@ -45,15 +51,66 @@ const _sfc_main = {
});
},
methods: {
//关闭弹窗
close() {
this.$refs.popup.close();
},
//确认选择
invite() {
if (this.selectedId) {
this.nameAnchor = this.selectedIddata.anchorId;
this.AnchorProfilePicture = this.selectedIddata.headerIcon;
this.close();
} else {
common_vendor.index.showToast({
title: "请选择主播",
icon: "none",
duration: 2e3
});
}
},
//选中的主播
Select(id, item) {
if (this.selectedId !== id) {
this.selectedId = id;
this.selectedIddata = item;
} else {
this.selectedId = null;
this.selectedIddata = null;
}
},
//获取主播列表
getAnchorList() {
components_request.request({
url: "anchor/list",
method: "POST",
data: {
id: this.id
},
userInfo: true
}).then((res) => {
this.triggered = false;
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:265", res.msg);
}
});
},
//选择我的主播
chooseMyStreamer() {
this.$refs.popup.open("center");
this.getAnchorList();
},
//性别
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:183", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:277", item);
},
//国家
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:188", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:282", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
@@ -197,14 +254,16 @@ if (!Array) {
const _easycom_uni_number_box2 = common_vendor.resolveComponent("uni-number-box");
const _easycom_uni_datetime_picker2 = common_vendor.resolveComponent("uni-datetime-picker");
const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
(_easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_easyinput2)();
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_easyinput2 + _easycom_uni_popup2)();
}
const _easycom_wht_select = () => "./uni_modules/wht-select/components/wht-select/wht-select.js";
const _easycom_uni_number_box = () => "./uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js";
const _easycom_uni_datetime_picker = () => "./uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js";
const _easycom_uni_easyinput = () => "./uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
const _easycom_uni_popup = () => "./uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
(_easycom_wht_select + _easycom_uni_number_box + _easycom_uni_datetime_picker + _easycom_uni_easyinput)();
(_easycom_wht_select + _easycom_uni_number_box + _easycom_uni_datetime_picker + _easycom_uni_easyinput + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
@@ -213,10 +272,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.o$1(($event) => $options.open()),
c: common_vendor.o$1((...args) => _ctx.NameAnchor && _ctx.NameAnchor(...args)),
d: common_vendor.o$1((...args) => $options.blur && $options.blur(...args)),
e: $data.nameAnchor === "" && $data.Hint === true
e: $data.nameAnchor,
f: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
f: common_vendor.o$1($options.country),
g: common_vendor.p({
g: common_vendor.o$1((...args) => $options.chooseMyStreamer && $options.chooseMyStreamer(...args)),
h: common_vendor.o$1($options.country),
i: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
@@ -225,10 +286,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
filterable: $data.filterable,
placeholder: "请选择国家"
}),
h: $data.countrys === "" && $data.Hint === true
j: $data.countrys === "" && $data.Hint === true
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
i: common_vendor.o$1($options.gender),
j: common_vendor.p({
k: common_vendor.o$1($options.gender),
l: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
@@ -236,50 +297,73 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
options: $data.Gender,
placeholder: "性别"
}),
k: $data.genders === 0
m: $data.genders === 0
}, $data.genders === 0 ? {} : {}, {
l: $data.genders === 1
n: $data.genders === 1
}, $data.genders === 1 ? {} : {}, {
m: $data.genders === 2
o: $data.genders === 2
}, $data.genders === 2 ? {} : {}, {
n: $data.genders === 0 && $data.Hint === true
p: $data.genders === 0 && $data.Hint === true
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
o: common_vendor.o$1(($event) => $data.numberCoins = $event),
p: common_vendor.p({
q: common_vendor.o$1(($event) => $data.numberCoins = $event),
r: common_vendor.p({
max: 9999999999,
background: "#03ABA8",
modelValue: $data.numberCoins
}),
q: $data.numberCoins === "" && $data.Hint === true
s: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
r: common_vendor.o$1(($event) => $data.datetimesingle = $event),
s: common_vendor.p({
t: common_vendor.o$1(($event) => $data.datetimesingle = $event),
v: common_vendor.p({
type: "datetime",
["hide-second"]: "true",
modelValue: $data.datetimesingle
}),
t: $data.datetimesingle === "" && $data.Hint === true
w: $data.datetimesingle === "" && $data.Hint === true
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
v: common_vendor.o$1(($event) => $data.session = $event),
w: common_vendor.p({
x: common_vendor.o$1(($event) => $data.session = $event),
y: common_vendor.p({
background: "#03ABA8",
modelValue: $data.session
}),
x: $data.session === "" && $data.Hint === true
z: $data.session === "" && $data.Hint === true
}, $data.session === "" && $data.Hint === true ? {} : {}, {
y: common_vendor.o$1(($event) => $data.remarks = $event),
z: common_vendor.p({
A: common_vendor.o$1(($event) => $data.remarks = $event),
B: common_vendor.p({
type: "textarea",
placeholder: "备注",
maxlength: "-1",
modelValue: $data.remarks
}),
A: common_vendor.o$1(($event) => $options.Publish()),
B: common_vendor.o$1(() => {
C: common_vendor.o$1(($event) => $options.Publish()),
D: common_vendor.o$1(() => {
}),
C: common_vendor.n($data.Display ? "create-module" : "close-animation "),
D: common_vendor.o$1(($event) => $options.open())
}) : {});
E: common_vendor.n($data.Display ? "create-module" : "close-animation "),
F: common_vendor.o$1(($event) => $options.open())
}) : {}, {
G: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
H: common_vendor.f($data.AnchorList, (item, index, i0) => {
return {
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
c: common_vendor.t(item.country),
d: common_vendor.o$1(($event) => $options.Select(item.id, item), index),
e: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
f: index
};
})
} : {}, {
I: $data.AnchorList.length === 0
}, $data.AnchorList.length === 0 ? {} : {}, {
J: common_vendor.o$1(($event) => $options.invite()),
K: common_vendor.o$1(($event) => $options.close()),
L: common_vendor.sr("popup", "96d38e2b-6"),
M: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);
exports.MiniProgramPage = MiniProgramPage;

View File

@@ -6,6 +6,7 @@ if (!Math) {
"./pages/Mine/Mine.js";
"./pages/Mine/minecomponents/pkRecord.js";
"./pages/Mine/minecomponents/contact.js";
"./pages/Mine/minecomponents/anchorLibrary.js";
"./pages/Mine/minecomponents/pkInformation.js";
"./pages/Mine/minecomponents/recompose/recompose.js";
"./pages/Mine/minecomponents/serviceProtocol.js";

View File

@@ -4,6 +4,7 @@
"pages/Mine/Mine",
"pages/Mine/minecomponents/pkRecord",
"pages/Mine/minecomponents/contact",
"pages/Mine/minecomponents/anchorLibrary",
"pages/Mine/minecomponents/pkInformation",
"pages/Mine/minecomponents/recompose/recompose",
"pages/Mine/minecomponents/serviceProtocol",

View File

@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.0.116,127.0.0.1";
const port = "8090";
const id = "mp-weixin_EIGcbG";
const id = "mp-weixin_ONChgV";
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

@@ -85,9 +85,6 @@ const _sfc_main = {
});
}
});
setTimeout(() => {
common_vendor.index.switchTab({ url: "/pages/Home/Home" });
}, 1e3);
},
methods: {
//关闭弹窗(取消)

View File

@@ -67,6 +67,7 @@
font-size: 31rpx;
color: #161616;
line-height: 38rpx;
margin-bottom: 20rpx;
}
.Genderimg.data-v-7ffebbf4 {
width: 15rpx;

View File

@@ -9,7 +9,9 @@ const _sfc_main = {
return {
userinfo: {},
pkInformationdata: [],
myPkRecorddata: []
myPkRecorddata: [],
SignStatus: null,
AnchorList: []
};
},
onShow() {
@@ -17,13 +19,71 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:136", this.userinfo);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:208", this.userinfo);
this.getpkInformation();
this.getmyPkRecord();
this.getSignStatus();
this.getAnchorList();
}
});
},
methods: {
// 获取主播列表
getAnchorList() {
components_request.request({
url: "anchor/list",
method: "POST",
data: {
id: this.userinfo.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.AnchorList = res.data.slice(0, 4);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:230", res.msg);
}
});
},
// 获取签到状态
getSignStatus() {
components_request.request({
url: "user/checkSignStatus",
method: "GET",
data: {
userId: this.userinfo.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.SignStatus = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:247", res.msg);
}
});
},
//签到
sign() {
components_request.request({
url: "user/signIn",
method: "POST",
data: {
userId: this.userinfo.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
common_vendor.index.showToast({
title: "签到成功",
icon: "none",
duration: 2e3
});
this.getSignStatus();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:269", res.msg);
}
});
},
formatDate: components_formatDate.formatDate,
TimeFormatting: components_TimeFormatting.TimeFormatting,
//获取pk信息
@@ -40,9 +100,9 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.pkInformationdata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:159", this.pkInformationdata);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", this.pkInformationdata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:161", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:291", res.msg);
}
});
},
@@ -61,12 +121,17 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.myPkRecorddata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:180", this.myPkRecorddata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:182", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:311", res.msg);
}
});
},
// 跳转到主播库页面
anchorLibrary() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/anchorLibrary"
});
},
// 跳转到PK信息页面
pkInformation() {
common_vendor.index.navigateTo({
@@ -122,11 +187,31 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $data.userinfo.headerIcon,
b: common_vendor.t($data.userinfo.nickName),
c: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
d: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
e: $data.pkInformationdata.length !== 0
c: $data.SignStatus === true
}, $data.SignStatus === true ? {
d: common_vendor.o$1((...args) => $options.sign && $options.sign(...args))
} : {}, {
e: $data.SignStatus === false
}, $data.SignStatus === false ? {} : {}, {
f: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
g: common_vendor.o$1((...args) => $options.anchorLibrary && $options.anchorLibrary(...args)),
h: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
i: common_vendor.f($data.AnchorList, (item, index, i0) => {
return {
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
c: common_vendor.t(item.country),
d: index
};
})
} : {}, {
j: $data.AnchorList.length === 0
}, $data.AnchorList.length === 0 ? {} : {}, {
k: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
l: $data.pkInformationdata.length !== 0
}, $data.pkInformationdata.length !== 0 ? {
f: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
m: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
return {
a: item.anchorIcon,
b: common_vendor.t($options.formatDate(item.pkTime)),
@@ -135,16 +220,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
g: $data.pkInformationdata.length === 0
n: $data.pkInformationdata.length === 0
}, $data.pkInformationdata.length === 0 ? {} : {}, {
h: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
i: $data.myPkRecorddata.length !== 0
o: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
p: $data.myPkRecorddata.length !== 0
}, $data.myPkRecorddata.length !== 0 ? {
j: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
q: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIconA,
b: item.winnerAnchorId !== item.anchorIdA
}, item.winnerAnchorId !== item.anchorIdA ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== ""
}, item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== "" ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
c: item.winnerAnchorId === item.anchorIdA,
d: common_vendor.t(item.pkNumber),
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
@@ -152,12 +237,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
});
})
} : {}, {
k: $data.myPkRecorddata.length === 0
r: $data.myPkRecorddata.length === 0
}, $data.myPkRecorddata.length === 0 ? {} : {}, {
l: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
m: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
n: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
o: common_vendor.p({
s: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
t: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
v: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
w: common_vendor.p({
tabIndex: 4
})
});

File diff suppressed because one or more lines are too long

View File

@@ -38,14 +38,25 @@
height: 100%;
}
.name.data-v-402ad917 {
width: 400rpx;
width: 280rpx;
font-size: 36.26rpx;
font-weight: 500;
color: #161616;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.Sign.data-v-402ad917 {
width: 100rpx;
height: 50rpx;
background-color: #91e3e4;
border-radius: 20rpx;
font-size: 20rpx;
color: #fff;
text-align: center;
line-height: 50rpx;
margin-left: 30rpx;
}
.content.data-v-402ad917 {
position: absolute;
top: 294.5rpx;
@@ -56,6 +67,16 @@
flex-direction: column;
align-items: center;
}
.scroll.data-v-402ad917 {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.PKInformation.data-v-402ad917 {
margin-top: 48.5rpx;
}
@@ -81,13 +102,18 @@
border-radius: 7.16rpx 0rpx 7.16rpx 7.16rpx;
background-color: #91e3e48b;
}
.AnchorMore.data-v-402ad917 {
margin-left: 390rpx;
font-size: 28.63rpx;
color: #333333;
}
.titleMore.data-v-402ad917 {
margin-left: 400rpx;
font-size: 28.63rpx;
color: #333333;
}
.myPkRecordMore.data-v-402ad917 {
margin-left:330rpx;
margin-left: 330rpx;
font-size: 28.63rpx;
color: #333333;
}
@@ -173,17 +199,17 @@
color: #333333;
font-weight: 400;
}
.copyright.data-v-402ad917{
.copyright.data-v-402ad917 {
font-size: 23rpx;
color: #929292;
text-align: center;
position: fixed;
bottom: 250rpx;
position: absolute;
bottom: 0rpx;
left: 0;
right: 0;
height: 50rpx;
}
.no-content.data-v-402ad917{
.no-content.data-v-402ad917 {
width: 100%;
height: 100%;
display: flex;

View File

@@ -7,27 +7,29 @@ const _sfc_main = {
return {
title: "Hello",
item: {},
coinNumlist: [{
winnerAnchorId: 1,
anchorIdA: 1,
anchorIdB: 2,
anchorCoinA: 2,
anchorCoinB: 3
}]
coinNumlist: [],
triggered: false
};
},
onLoad(options) {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:114", "接收到的数据:", this.item);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:112", "接收到的数据:", this.item);
this.getCoinNum(this.item);
});
},
methods: {
// 下拉刷新
onRefresherRefresh() {
this.triggered = true;
this.coinNumlist = [];
this.getCoinNum(this.item);
},
// 获取具体金币数量
getCoinNum(item) {
components_request.request({
url: "user/pkRecordDetail",
url: "pk/fetchDetailPkDataWithId",
method: "POST",
data: {
id: item.id
@@ -36,8 +38,9 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.coinNumlist = res.data;
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:132", "获取金币数量失败");
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:137", "获取金币数量失败");
}
});
},
@@ -78,7 +81,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: index,
f: "414631de-0-" + i0
};
})
}),
m: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
n: $data.triggered
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-414631de"]]);

View File

@@ -1 +1 @@
<view class="details-pkrecords data-v-414631de"><view class="bg data-v-414631de"><image class="bgImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-414631de" bindtap="{{a}}"><image class="ReturnImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-414631de">PK记录详情</view><view class="pkrecords data-v-414631de"><view class="card data-v-414631de"><view class="AnchorA data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorAImgcss data-v-414631de" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{d}}</view><view class="AnchorATime data-v-414631de">{{e}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{f}}K</view></view></view></view><view class="vstext data-v-414631de"><view class="Vtext data-v-414631de">V</view><view class="Stext data-v-414631de">S</view></view><view class="AnchorB data-v-414631de"><view class="AnchorBinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{g}}</view><view class="AnchorATime data-v-414631de">{{h}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{i}}K</view></view></view><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{j}}" mode="scaleToFill"/></view><image wx:if="{{k}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-414631de"><scroll-view scroll-y="true" class="scroll data-v-414631de"><uni-card wx:for="{{l}}" wx:for-item="items" wx:key="e" class="data-v-414631de" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-414631de"><view class="contentcard-titleA data-v-414631de" style="{{'background-color:' + items.b}}"><view class="data-v-414631de">金币数量</view><view class="data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="data-v-414631de">金币数量</view><view class="data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
<view class="details-pkrecords data-v-414631de"><view class="bg data-v-414631de"><image class="bgImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-414631de" bindtap="{{a}}"><image class="ReturnImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-414631de">PK记录详情</view><view class="pkrecords data-v-414631de"><view class="card data-v-414631de"><view class="AnchorA data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorAImgcss data-v-414631de" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{d}}</view><view class="AnchorATime data-v-414631de">{{e}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{f}}K</view></view></view></view><view class="vstext data-v-414631de"><view class="Vtext data-v-414631de">V</view><view class="Stext data-v-414631de">S</view></view><view class="AnchorB data-v-414631de"><view class="AnchorBinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{g}}</view><view class="AnchorATime data-v-414631de">{{h}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{i}}K</view></view></view><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{j}}" mode="scaleToFill"/></view><image wx:if="{{k}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-414631de"><scroll-view scroll-y="true" class="scroll data-v-414631de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{m}}" refresher-triggered="{{n}}"><uni-card wx:for="{{l}}" wx:for-item="items" wx:key="e" class="data-v-414631de" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-414631de"><view class="contentcard-titleA data-v-414631de" style="{{'background-color:' + items.b}}"><view class="data-v-414631de">金币数量</view><view class="data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="data-v-414631de">金币数量</view><view class="data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>

View File

@@ -0,0 +1,209 @@
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const components_NationalDictionary = require("../../../../components/NationalDictionary.js");
const components_request = require("../../../../components/request.js");
const _sfc_main = {
data() {
return {
genders: 0,
//性别
Gender: [
{ label: "男", value: 1 },
{ label: "女", value: 2 }
],
Country: components_NationalDictionary.optionsArray,
countrys: "",
//国家
nameAnchor: "",
//主播名称
Display: false,
Hint: false,
id: null,
//用户id
sendingTime: "",
//发送时间
filterable: true,
//是否可搜索
AnchorProfilePicture: ""
//主播头像
};
},
mounted() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.id = res.data.id;
}
});
},
methods: {
//性别
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/addStreamer/addStreamer.vue:133", item);
},
//国家
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/addStreamer/addStreamer.vue:138", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
this.Display = false;
this.Hint = false;
}
},
open() {
if (this.Display) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.countrys = "";
} else {
this.Display = true;
}
},
//获取主播名称以及头像地址
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: "https://python.yolojt.com/api/" + 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: "未查询到该主播",
icon: "none",
duration: 3e3
});
}
},
fail: function(res) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "网络请求失败",
icon: "none",
duration: 3e3
});
}
});
} else {
return;
}
},
async Publish() {
if (this.nameAnchor === "" || this.genders === 0 || this.countrys === "" || this.AnchorProfilePicture === "") {
this.Hint = true;
return;
}
common_vendor.index.showLoading({
title: "添加中...",
mask: true
});
await components_request.request({
url: "anchor/add",
method: "POST",
data: {
anchorId: this.nameAnchor,
headerIcon: this.AnchorProfilePicture,
gender: this.genders,
country: this.countrys,
createUserId: this.id
},
userInfo: true
}).then((res) => {
if (res.code === 200) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.AnchorProfilePicture = "";
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "添加成功",
icon: "success",
duration: 2e3
});
this.$emit("Refresh");
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "添加失败" + res.msg,
icon: "none",
duration: 2e3
});
}
});
}
}
};
if (!Array) {
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
_easycom_wht_select2();
}
const _easycom_wht_select = () => "../../../../uni_modules/wht-select/components/wht-select/wht-select.js";
if (!Math) {
_easycom_wht_select();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $data.Display
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_vendor.o$1((...args) => _ctx.NameAnchor && _ctx.NameAnchor(...args)),
d: common_vendor.o$1((...args) => $options.blur && $options.blur(...args)),
e: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
f: common_vendor.o$1($options.country),
g: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Country,
filterable: $data.filterable,
placeholder: "请选择国家"
}),
h: $data.countrys === "" && $data.Hint === true
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
i: common_vendor.o$1($options.gender),
j: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Gender,
placeholder: "性别"
}),
k: $data.genders === 0
}, $data.genders === 0 ? {} : {}, {
l: $data.genders === 1
}, $data.genders === 1 ? {} : {}, {
m: $data.genders === 2
}, $data.genders === 2 ? {} : {}, {
n: $data.genders === 0 && $data.Hint === true
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
o: common_vendor.o$1(($event) => $options.Publish()),
p: common_vendor.o$1(() => {
}),
q: common_vendor.n($data.Display ? "create-module" : "close-animation "),
r: common_vendor.o$1(($event) => $options.open())
}) : {});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a0301f10"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.js.map

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select"
}
}

View File

@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-a0301f10', q, 'Mask']}}" bindtap="{{r}}"><view catchtap="{{p}}" class="containers data-v-a0301f10"><view class="container data-v-a0301f10"><image class="Fork data-v-a0301f10" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-a0301f10"><view class="Star data-v-a0301f10"></view><view class="Title data-v-a0301f10">添加我的主播</view><view class="Star data-v-a0301f10"></view></view><view class="NameAnchor data-v-a0301f10"><input class="NameAnchorcss data-v-a0301f10" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-a0301f10">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-a0301f10"><view class="Coins country data-v-a0301f10"><wht-select wx:if="{{g}}" class="data-v-a0301f10" style="width:350rpx" bindchange="{{f}}" u-i="a0301f10-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-a0301f10">请选择国家</view></view><view class="Gender data-v-a0301f10"><view class="Gendercs data-v-a0301f10"><view class="Gendercss data-v-a0301f10"><wht-select wx:if="{{j}}" class="data-v-a0301f10" style="width:300rpx" bindchange="{{i}}" u-i="a0301f10-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-a0301f10"><image wx:if="{{k}}" class="Gendericon data-v-a0301f10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-a0301f10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-a0301f10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-a0301f10">请选择性别</view></view></view><view class="Publish data-v-a0301f10"><button bindtap="{{o}}" class="Publishcss data-v-a0301f10">添加主播</button></view></view></view></view>

View File

@@ -0,0 +1,201 @@
/* 定义动画 */
/* 原始进入动画 */
@keyframes slide-in-a0301f10 {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* 进入动画类 */
.create-module.data-v-a0301f10 {
animation: slide-in-a0301f10 0.3s ease-in-out;
}
.Mask.data-v-a0301f10 {
width: 100vw;
height: 100vh;
background: #00000076;
display: flex;
flex-direction: column-reverse;
}
.Hint.data-v-a0301f10 {
color: rgb(255, 0, 0);
font-size: 20rpx;
margin-left: 30rpx;
margin-top: 10rpx;
}
.Hintcss.data-v-a0301f10 {
color: rgb(255, 0, 0);
font-size: 20rpx;
margin-left: 30rpx;
margin-top: 20rpx;
}
.containers.data-v-a0301f10 {
background-color: #ffffff;
border-radius: 50rpx;
}
.container.data-v-a0301f10 {
display: flex;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
background-size: 100% 100%;
flex-direction: column;
width: 100%;
height: 1000rpx;
border-radius: 50rpx;
box-shadow: 0 0 10rpx #ccc;
}
.Fork.data-v-a0301f10 {
width: 46rpx;
height: 46rpx;
margin-top: 20rpx;
/* margin-bottom: 40rpx; */
margin-left: 90%;
}
.Titlecss.data-v-a0301f10 {
width: 100%;
height: 70rpx;
display: flex;
justify-content: center;
align-items: center;
}
.Star.data-v-a0301f10 {
width: 50rpx;
height: 50rpx;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
background-size: 100% 100%;
}
.Title.data-v-a0301f10 {
width: 430rpx;
height: 70rpx;
/* background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png); */
background-size: 100% 200%;
background-position: 0 100%;
margin-left: 26rpx;
margin-right: 26rpx;
font-size:50rpx;
line-height: 70rpx;
background: linear-gradient(135deg, #019fa1, #9ddbdc);
-webkit-background-clip: text; /* 兼容 WebKit 内核 */
background-clip: text;
color: transparent; /* 隐藏原文字颜色 */
-webkit-text-fill-color: transparent; /* Safari 兼容 */
font-weight: bold;
text-align: center;
font-style: italic;
}
.Individual.data-v-a0301f10 {
display: flex;
/* justify-content: center; */
}
.NameAnchor.data-v-a0301f10 {
width: 90%;
margin: 40rpx;
}
.time.data-v-a0301f10 {
width: 90%;
margin-left: 5%;
margin-top: 50rpx;
}
.NameAnchorcss.data-v-a0301f10 {
width: 99%;
height: 85rpx;
background-color: #ffffff;
border: 1rpx solid #bfbfbf;
border-radius: 10rpx;
text-align: center;
}
.Gender.data-v-a0301f10 {
width: 310rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.Gendercs.data-v-a0301f10 {
display: flex;
justify-content: center;
/* align-items: center; */
}
.Gendercss.data-v-a0301f10 {
width: 200rpx;
height: 60rpx;
}
.Gendericoncss.data-v-a0301f10 {
display: flex;
justify-content: center;
align-items: center;
width: 60rpx;
height: 60rpx;
border-radius: 50%;
border: 1rpx solid #ff9d0067;
margin-left: 20rpx;
margin-top: 10rpx;
}
.Gendericon.data-v-a0301f10 {
width: 40rpx;
height: 40rpx;
/* margin-top: 10rpx;
margin-right: 40rpx; */
}
.Accountnumber.data-v-a0301f10 {
display: flex;
justify-content: center;
margin-bottom: 60rpx;
margin-top: 50rpx;
}
.Coins.data-v-a0301f10 {
width: 330rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
/* flex-direction: column; */
}
.country.data-v-a0301f10 {
margin-left: 10rpx;
}
.goldCoin.data-v-a0301f10 {
width: 100%;
height: 100rpx;
display: flex;
justify-content: center;
align-items: center;
}
.number-box.data-v-a0301f10 {
display: flex;
justify-content: center;
text-align: center;
}
.number-box-title.data-v-a0301f10 {
color: #191919;
font-size: 30rpx;
margin-right: 22rpx;
margin-left: 17rpx;
}
.number-box-unit.data-v-a0301f10 {
color: #03aba8;
width: 48rpx;
height: 48rpx;
border: 1rpx solid #03aba8;
border-radius: 50%;
line-height: 48rpx;
text-align: center;
/* color: #003cff5a; */
}
.Publish.data-v-a0301f10 {
margin-top: 300rpx;
margin-bottom: 40rpx;
width: 90%;
margin-left: 5%;
}
.Publishcss.data-v-a0301f10 {
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
/* color: #33ff00; */
color: #ffffff;
font-weight: bold;
border-radius: 50rpx;
}

View File

@@ -0,0 +1,136 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_request = require("../../../components/request.js");
const anchorLibrary = () => "./addStreamer/addStreamer.js";
const modifyStreamer = () => "./modifyStreamer/modifyStreamer.js";
const _sfc_main = {
data() {
return {
userinfo: {},
AnchorList: [],
triggered: false,
modifyStreamerMessage: {}
};
},
onLoad() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:109", this.userinfo);
this.getAnchorList();
}
});
},
methods: {
// 重新编辑主播信息
onRecompose(item) {
this.modifyStreamerMessage = item;
this.$refs.modifyStreamer.open();
},
// 删除主播信息
onExpurgate(item) {
components_request.request({
url: "anchor/deleteMyAnchor",
method: "POST",
data: {
id: item.id
},
userInfo: true
}).then((res) => {
this.triggered = false;
if (res.code == 200) {
common_vendor.index.showToast({
title: "删除成功",
icon: "success",
duration: 2e3
});
this.getAnchorList();
} else {
common_vendor.index.showToast({
title: res.msg,
icon: "success",
duration: 2e3
});
}
});
},
//获取主播列表
getAnchorList() {
components_request.request({
url: "anchor/list",
method: "POST",
data: {
id: this.userinfo.id
},
userInfo: true
}).then((res) => {
this.triggered = false;
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:161", res.msg);
}
});
},
//打开弹窗,添加主播
openPopupQuantity() {
this.$refs.createModule.open();
},
// 下拉刷新
onRefresherRefresh() {
this.triggered = true;
this.getAnchorList();
},
// 返回上一页
onBack() {
common_vendor.wx$1.navigateBack({
delta: 1
});
}
},
components: {
anchorLibrary,
modifyStreamer
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
const _component_anchorLibrary = common_vendor.resolveComponent("anchorLibrary");
const _component_modifyStreamer = common_vendor.resolveComponent("modifyStreamer");
(_component_uni_card + _component_anchorLibrary + _component_modifyStreamer)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.AnchorList, (item, index, i0) => {
return common_vendor.e({
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
c: item.gender === 2
}, item.gender === 2 ? {} : {}, {
d: common_vendor.t(item.gender === 1 ? "男" : "女"),
e: item.gender === 1 ? 1 : "",
f: item.gender === 2 ? 1 : "",
g: common_vendor.t(item.country),
h: common_vendor.o$1(($event) => $options.onRecompose(item), index),
i: common_vendor.o$1(($event) => $options.onExpurgate(item), index),
j: index,
k: "daea6b33-0-" + i0
});
}),
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
d: $data.triggered,
e: common_vendor.o$1(($event) => $options.openPopupQuantity()),
f: common_vendor.sr("createModule", "daea6b33-1"),
g: common_vendor.o$1($options.getAnchorList),
h: common_vendor.sr("modifyStreamer", "daea6b33-2"),
i: common_vendor.o$1($options.getAnchorList),
j: common_vendor.p({
message: $data.modifyStreamerMessage
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-daea6b33"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/anchorLibrary.js.map

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "主播库",
"usingComponents": {
"anchor-library": "./addStreamer/addStreamer",
"modify-streamer": "./modifyStreamer/modifyStreamer"
}
}

View File

@@ -0,0 +1 @@
<view class="anchor-library data-v-daea6b33"><view class="bg data-v-daea6b33"><image class="bgImg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-daea6b33" bindtap="{{a}}"><image class="ReturnImg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-daea6b33">主播库</view><view class="content data-v-daea6b33"><scroll-view scroll-y="true" class="scroll data-v-daea6b33" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" refresher-triggered="{{d}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="j" u-s="{{['d']}}" class="card data-v-daea6b33" u-i="{{item.k}}" bind:__l="__l"><view class="Profile data-v-daea6b33"><image class="data-v-daea6b33" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-daea6b33"><view class="Name data-v-daea6b33">{{item.b}}</view><view class="Label data-v-daea6b33"><view class="data-v-daea6b33"><view class="{{['data-v-daea6b33', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-daea6b33">{{item.d}}</view></view></view><view class="state data-v-daea6b33">{{item.g}}</view></view></view><view class="handle data-v-daea6b33"><view class="recompose data-v-daea6b33" bindtap="{{item.h}}"><image class="data-v-daea6b33" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-daea6b33" bindtap="{{item.i}}"><image class="data-v-daea6b33" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view><view class="addition data-v-daea6b33" bindtap="{{e}}"></view></view><anchor-library class="createModule r data-v-daea6b33" u-r="createModule" bindRefresh="{{g}}" u-i="daea6b33-1" bind:__l="__l"></anchor-library><modify-streamer wx:if="{{j}}" u-r="modifyStreamer" class="createModule r data-v-daea6b33" bindRefresh="{{i}}" u-i="daea6b33-2" bind:__l="__l" u-p="{{j}}"></modify-streamer>

View File

@@ -0,0 +1,171 @@
.bg.data-v-daea6b33 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-daea6b33 {
width: 100%;
height: 100%;
}
.Return.data-v-daea6b33 {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-daea6b33 {
position: absolute;
top: 120rpx;
left: 315rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
}
.ReturnImg.data-v-daea6b33 {
width: 100%;
height: 100%;
}
.scroll.data-v-daea6b33 {
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
}
.card.data-v-daea6b33 {
width: 695rpx;
height: 161rpx;
background: #ffffff;
border-radius: 15rpx;
display: flex;
align-items: center;
margin-left: 30rpx;
margin-top: 20rpx;
}
.Profile.data-v-daea6b33 {
width: 89rpx;
height: 89rpx;
border-radius: 50rpx;
background-color: #cccccc;
margin-left: 27.5rpx;
}
.Gendermale.data-v-daea6b33 {
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/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-daea6b33 {
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png)
no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
display: flex;
align-items: center;
margin-right: 10rpx;
}
.Individual.data-v-daea6b33 {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 37rpx;
}
.Name.data-v-daea6b33 {
width: 288.17rpx;
font-size: 30.53rpx;
color: #161616;
font-weight: 500;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.time.data-v-daea6b33 {
margin-top: 13rpx;
font-size: 23rpx;
color: #a3a3a3;
}
.state.data-v-daea6b33 {
width: 56.3rpx;
height: 30rpx;
background: #f6f6f6;
border-radius: 14rpx;
line-height: 30rpx;
font-size: 17rpx;
color: #666666;
padding: 0 15rpx;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
text-align: center;
}
.Label.data-v-daea6b33 {
margin-top: 15rpx;
display: flex;
}
.age.data-v-daea6b33 {
font-size: 17rpx;
color: #ffffff;
margin-left: 10rpx;
}
.Genderimg.data-v-daea6b33 {
width: 14.22rpx;
height: 14.22rpx;
margin-left: 10rpx;
}
.species.data-v-daea6b33 {
display: flex;
margin-left: 10rpx;
}
.species-text.data-v-daea6b33 {
font-size: 23rpx;
color: #a3a3a3;
}
.species-num.data-v-daea6b33 {
font-size: 23rpx;
color: #161616;
font-weight: bold;
}
.handle.data-v-daea6b33 {
display: flex;
}
.recompose.data-v-daea6b33 {
width: 46rpx;
height: 46rpx;
margin-left: 90rpx;
}
.expurgate.data-v-daea6b33 {
width: 46rpx;
height: 46rpx;
margin-left: 40rpx;
}
.createModule.data-v-daea6b33 {
position: fixed;
bottom: 0;
right: 0;
z-index: 998;
width: 100vw;
}
.addition.data-v-daea6b33 {
position: absolute;
bottom: 200rpx;
right: 100rpx;
width: 100rpx;
height: 100rpx;
z-index: 998;
border-radius: 50rpx;
/* background-color: #ffffff; */
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/addAnchor.png)
no-repeat center;
background-size: 100% 100%;
}

View File

@@ -0,0 +1,229 @@
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const components_NationalDictionary = require("../../../../components/NationalDictionary.js");
const components_request = require("../../../../components/request.js");
const _sfc_main = {
data() {
return {
genders: 0,
//性别
Gender: [
{ label: "男", value: 1 },
{ label: "女", value: 2 }
],
Country: components_NationalDictionary.optionsArray,
countrys: "",
//国家
nameAnchor: "",
//主播名称
Display: false,
Hint: false,
id: null,
//用户id
filterable: true,
//是否可搜索
AnchorProfilePicture: "",
//主播头像
uid: null
//用户id
};
},
props: {
message: {
type: Object
}
},
watch: {
message(newQuestion, oldQuestion) {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:131", newQuestion);
this.id = newQuestion.id;
this.nameAnchor = newQuestion.anchorId;
this.genders = newQuestion.gender;
this.AnchorProfilePicture = newQuestion.headerIcon.split("/").pop();
this.countrys = newQuestion.country;
}
},
mounted() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.uid = res.data.id;
}
});
},
methods: {
//性别
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:151", item);
},
//国家
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:156", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
this.Display = false;
this.Hint = false;
}
},
open() {
if (this.Display) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.countrys = "";
} else {
this.Display = true;
}
},
//获取主播名称以及头像地址
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: "https://python.yolojt.com/api/" + 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: "未查询到该主播",
icon: "none",
duration: 3e3
});
}
},
fail: function(res) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "网络请求失败",
icon: "none",
duration: 3e3
});
}
});
} else {
return;
}
},
async Publish() {
if (this.nameAnchor === "" || this.genders === 0 || this.countrys === "" || this.AnchorProfilePicture === "") {
this.Hint = true;
return;
}
common_vendor.index.showLoading({
title: "修改中...",
mask: true
});
await components_request.request({
url: "anchor/updateAnchorInfo",
method: "POST",
data: {
id: this.id,
anchorId: this.nameAnchor,
headerIcon: this.AnchorProfilePicture,
gender: this.genders,
country: this.countrys,
createUserId: this.uid
},
userInfo: true
}).then((res) => {
if (res.code === 200) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.AnchorProfilePicture = "";
this.country = "";
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "修改成功",
icon: "success",
duration: 2e3
});
this.$emit("Refresh");
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "修改失败" + res.msg,
icon: "none",
duration: 2e3
});
}
});
}
}
};
if (!Array) {
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
_easycom_wht_select2();
}
const _easycom_wht_select = () => "../../../../uni_modules/wht-select/components/wht-select/wht-select.js";
if (!Math) {
_easycom_wht_select();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $data.Display
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_vendor.o$1((...args) => _ctx.NameAnchor && _ctx.NameAnchor(...args)),
d: common_vendor.o$1((...args) => $options.blur && $options.blur(...args)),
e: $data.nameAnchor,
f: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
g: common_vendor.o$1($options.country),
h: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Country,
filterable: $data.filterable,
placeholder: "请选择国家",
value: $data.countrys
}),
i: $data.countrys === "" && $data.Hint === true
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
j: common_vendor.o$1($options.gender),
k: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Gender,
placeholder: "性别",
value: $data.genders
}),
l: $data.genders === 0
}, $data.genders === 0 ? {} : {}, {
m: $data.genders === 1
}, $data.genders === 1 ? {} : {}, {
n: $data.genders === 2
}, $data.genders === 2 ? {} : {}, {
o: $data.genders === 0 && $data.Hint === true
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
p: common_vendor.o$1(($event) => $options.Publish()),
q: common_vendor.o$1(() => {
}),
r: common_vendor.n($data.Display ? "create-module" : "close-animation "),
s: common_vendor.o$1(($event) => $options.open())
}) : {});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ad97bf06"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.js.map

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select"
}
}

View File

@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-ad97bf06', r, 'Mask']}}" bindtap="{{s}}"><view catchtap="{{q}}" class="containers data-v-ad97bf06"><view class="container data-v-ad97bf06"><image class="Fork data-v-ad97bf06" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-ad97bf06"><view class="Star data-v-ad97bf06"></view><view class="Title data-v-ad97bf06">修改我的主播</view><view class="Star data-v-ad97bf06"></view></view><view class="NameAnchor data-v-ad97bf06"><input class="NameAnchorcss data-v-ad97bf06" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-ad97bf06">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-ad97bf06"><view class="Coins country data-v-ad97bf06"><wht-select wx:if="{{h}}" class="data-v-ad97bf06" style="width:350rpx" bindchange="{{g}}" u-i="ad97bf06-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" class="Hint data-v-ad97bf06">请选择国家</view></view><view class="Gender data-v-ad97bf06"><view class="Gendercs data-v-ad97bf06"><view class="Gendercss data-v-ad97bf06"><wht-select wx:if="{{k}}" class="data-v-ad97bf06" style="width:300rpx" bindchange="{{j}}" u-i="ad97bf06-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-ad97bf06"><image wx:if="{{l}}" class="Gendericon data-v-ad97bf06" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-ad97bf06" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-ad97bf06" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{o}}" class="Hintcss data-v-ad97bf06">请选择性别</view></view></view><view class="Publish data-v-ad97bf06"><button bindtap="{{p}}" class="Publishcss data-v-ad97bf06">修改主播信息</button></view></view></view></view>

View File

@@ -0,0 +1,200 @@
/* 定义动画 */
/* 原始进入动画 */
@keyframes slide-in-ad97bf06 {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* 进入动画类 */
.create-module.data-v-ad97bf06 {
animation: slide-in-ad97bf06 0.3s ease-in-out;
}
.Mask.data-v-ad97bf06 {
width: 100vw;
height: 100vh;
background: #00000076;
display: flex;
flex-direction: column-reverse;
}
.Hint.data-v-ad97bf06 {
color: rgb(255, 0, 0);
font-size: 20rpx;
margin-left: 30rpx;
margin-top: 10rpx;
}
.Hintcss.data-v-ad97bf06 {
color: rgb(255, 0, 0);
font-size: 20rpx;
margin-left: 30rpx;
margin-top: 20rpx;
}
.containers.data-v-ad97bf06 {
background-color: #ffffff;
border-radius: 50rpx;
}
.container.data-v-ad97bf06 {
display: flex;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
background-size: 100% 100%;
flex-direction: column;
width: 100%;
height: 1000rpx;
border-radius: 50rpx;
box-shadow: 0 0 10rpx #ccc;
}
.Fork.data-v-ad97bf06 {
width: 46rpx;
height: 46rpx;
margin-top: 20rpx;
/* margin-bottom: 40rpx; */
margin-left: 90%;
}
.Titlecss.data-v-ad97bf06 {
width: 100%;
height: 70rpx;
display: flex;
justify-content: center;
align-items: center;
}
.Star.data-v-ad97bf06 {
width: 50rpx;
height: 50rpx;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
background-size: 100% 100%;
}
.Title.data-v-ad97bf06 {
width: 430rpx;
height: 70rpx;
/* background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png); */
background-size: 100% 200%;
background-position: 0 100%;
margin-left: 26rpx;
margin-right: 26rpx;
font-size: 50rpx;
line-height: 70rpx;
background: linear-gradient(135deg, #019fa1, #9ddbdc);
-webkit-background-clip: text; /* 兼容 WebKit 内核 */
background-clip: text;
color: transparent; /* 隐藏原文字颜色 */
-webkit-text-fill-color: transparent; /* Safari 兼容 */
font-weight: bold;
text-align: center;
font-style: italic;
}
.Individual.data-v-ad97bf06 {
display: flex;
/* justify-content: center; */
}
.NameAnchor.data-v-ad97bf06 {
width: 90%;
margin: 40rpx;
}
.time.data-v-ad97bf06 {
width: 90%;
margin-left: 5%;
margin-top: 50rpx;
}
.NameAnchorcss.data-v-ad97bf06 {
width: 99%;
height: 85rpx;
background-color: #ffffff;
border: 1rpx solid #bfbfbf;
border-radius: 10rpx;
text-align: center;
}
.Gender.data-v-ad97bf06 {
width: 310rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.Gendercs.data-v-ad97bf06 {
display: flex;
justify-content: center;
/* align-items: center; */
}
.Gendercss.data-v-ad97bf06 {
width: 200rpx;
height: 60rpx;
}
.Gendericoncss.data-v-ad97bf06 {
display: flex;
justify-content: center;
align-items: center;
width: 60rpx;
height: 60rpx;
border-radius: 50%;
border: 1rpx solid #ff9d0067;
margin-left: 20rpx;
margin-top: 10rpx;
}
.Gendericon.data-v-ad97bf06 {
width: 40rpx;
height: 40rpx;
/* margin-top: 10rpx;
margin-right: 40rpx; */
}
.Accountnumber.data-v-ad97bf06 {
display: flex;
justify-content: center;
margin-bottom: 60rpx;
margin-top: 50rpx;
}
.Coins.data-v-ad97bf06 {
width: 330rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
/* flex-direction: column; */
}
.country.data-v-ad97bf06 {
margin-left: 10rpx;
}
.goldCoin.data-v-ad97bf06 {
width: 100%;
height: 100rpx;
display: flex;
justify-content: center;
align-items: center;
}
.number-box.data-v-ad97bf06 {
display: flex;
justify-content: center;
text-align: center;
}
.number-box-title.data-v-ad97bf06 {
color: #191919;
font-size: 30rpx;
margin-right: 22rpx;
margin-left: 17rpx;
}
.number-box-unit.data-v-ad97bf06 {
color: #03aba8;
width: 48rpx;
height: 48rpx;
border: 1rpx solid #03aba8;
border-radius: 50%;
line-height: 48rpx;
text-align: center;
/* color: #003cff5a; */
}
.Publish.data-v-ad97bf06 {
margin-top: 300rpx;
margin-bottom: 40rpx;
width: 90%;
margin-left: 5%;
}
.Publishcss.data-v-ad97bf06 {
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
/* color: #33ff00; */
color: #ffffff;
font-weight: bold;
border-radius: 50rpx;
}

View File

@@ -28,22 +28,27 @@ const _sfc_main = {
this.createModule = this.$refs.createModule;
},
methods: {
// 刷新
onRefresherRefresh() {
this.page = 0;
this.pkList = [];
this.getpkList();
this.triggered = true;
},
// 下拉加载
onScrollToLower() {
this.page++;
this.getpkList();
},
// 返回
onBack() {
common_vendor.index.navigateBack({
delta: 1
});
},
//时间格式化
formatDate: components_formatDate.formatDate,
// 获取pk列表
getpkList() {
components_request.request({
url: "user/queryMyAllPkData",
@@ -57,17 +62,19 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.pkList.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:149", this.pkList);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:154", this.pkList);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:152", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:157", res.msg);
}
});
},
// 打开修改窗口
onRecompose(item) {
this.parentMessage = item;
this.createModule.open();
},
// 删除pk
onExpurgate(item) {
components_request.request({
url: "pk/deletePkDataWithId",
@@ -85,7 +92,7 @@ const _sfc_main = {
duration: 2e3
});
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:177", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:184", res.msg);
}
});
}

View File

@@ -46,7 +46,7 @@
display: flex;
align-items: center;
margin-left: 30rpx;
margin-top: 11.5rpx;
margin-top: 20rpx;
}
.Profile.data-v-36b7ee78 {
width: 89rpx;

View File

@@ -47,8 +47,14 @@ const _sfc_main = {
},
methods: {
onRefresherRefresh() {
this.pkRecordlist = [];
this.triggered = true;
this.page = 0;
if (this.current === 1) {
this.pkmyRecordlist = [];
} else {
this.pkInvitationRecordlist = [];
}
this.getPkRecordList(this.current);
},
onScrollToLower() {
@@ -90,19 +96,19 @@ const _sfc_main = {
this.triggered = false;
if (type === 1) {
this.pkmyRecordlist.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:173", this.pkRecordlist);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkRecordlist);
if (this.current === 1) {
this.pkRecordlist = this.pkmyRecordlist;
}
} else {
this.pkInvitationRecordlist.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkInvitationRecordlist);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", this.pkInvitationRecordlist);
if (this.current === 2) {
this.pkRecordlist = this.pkInvitationRecordlist;
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:191", res.msg);
}
});
},

View File

@@ -92,7 +92,7 @@
justify-content: center;
align-items: center;
margin-left: 28.55rpx;
margin-top: 12rpx;
margin-top: 20rpx;
}
.AnchorA.data-v-6fa696de {
display: flex;

View File

@@ -4,6 +4,7 @@
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select",
"uni-number-box": "../../../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box",
"uni-datetime-picker": "../../../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput"
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
"uni-popup": "../../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-4e606fe0"><view class="container data-v-4e606fe0"><image class="Fork data-v-4e606fe0" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-4e606fe0"><view class="Star data-v-4e606fe0"></view><view class="Title data-v-4e606fe0"></view><view class="Star data-v-4e606fe0"></view></view><view class="NameAnchor data-v-4e606fe0"><input class="NameAnchorcss data-v-4e606fe0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" value="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-4e606fe0">请填写主播名称</view></view><view class="Accountnumber data-v-4e606fe0"><view class="Coins country data-v-4e606fe0"><wht-select wx:if="{{g}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{f}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-4e606fe0">请选择国家</view></view><view class="Gender data-v-4e606fe0"><view class="Gendercs data-v-4e606fe0"><view class="Gendercss data-v-4e606fe0"><wht-select wx:if="{{j}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{i}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{k}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-4e606fe0">请选择性别</view></view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">单位:</view><view class="number-box-unit data-v-4e606fe0">K</view></view><view wx:if="{{q}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{s}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-4e606fe0">请选择日期</view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{x}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{z}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{A}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view>
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-4e606fe0"><view class="container data-v-4e606fe0"><image class="Fork data-v-4e606fe0" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-4e606fe0"><view class="Star data-v-4e606fe0"></view><view class="Title data-v-4e606fe0"></view><view class="Star data-v-4e606fe0"></view></view><view class="AnchorSelection data-v-4e606fe0"><view class="NameAnchor data-v-4e606fe0"><input class="NameAnchorcss data-v-4e606fe0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-4e606fe0">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-4e606fe0" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-4e606fe0"><view class="Coins country data-v-4e606fe0"><wht-select wx:if="{{i}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{h}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" class="Hint data-v-4e606fe0">请选择国家</view></view><view class="Gender data-v-4e606fe0"><view class="Gendercs data-v-4e606fe0"><view class="Gendercss data-v-4e606fe0"><wht-select wx:if="{{l}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{k}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{m}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" class="Hintcss data-v-4e606fe0">请选择性别</view></view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">金币数量:</view><uni-number-box wx:if="{{r}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">单位:</view><view class="number-box-unit data-v-4e606fe0">K</view></view><view wx:if="{{s}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{v}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" class="Hint data-v-4e606fe0">请选择日期</view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">选择场数:</view><uni-number-box wx:if="{{y}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{z}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{B}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{C}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-4e606fe0" u-s="{{['d']}}" u-r="popup" u-i="4e606fe0-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-4e606fe0"><view class="popup-title data-v-4e606fe0">选择我的主播</view><scroll-view wx:if="{{G}}" scroll-y="true" class="scroll data-v-4e606fe0"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-4e606fe0"><view class="card-content data-v-4e606fe0" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-4e606fe0"><image class="avatar data-v-4e606fe0" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-4e606fe0"><view class="TimeMoney data-v-4e606fe0"><view class="NameMoney_Name data-v-4e606fe0">{{item.b}}</view></view><view class="TimeMoney data-v-4e606fe0"><view class="TimeMoney_country data-v-4e606fe0">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-4e606fe0"><view class="no-data-text data-v-4e606fe0">暂无数据</view></view><view class="popup-btn data-v-4e606fe0"><button class="invite data-v-4e606fe0" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-4e606fe0" type="default" bindtap="{{K}}">取消</button></view></view></uni-popup>

View File

@@ -103,6 +103,10 @@ to {
width: 90%;
margin: 40rpx;
}
.AnchorSelection.data-v-4e606fe0 {
display: flex;
align-items: center;
}
.time.data-v-4e606fe0 {
width: 90%;
margin-left: 5%;
@@ -116,6 +120,18 @@ to {
border-radius: 10rpx;
text-align: center;
}
.AnchorSelectioncss.data-v-4e606fe0 {
width: 30%;
height: 60rpx;
margin: 40rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
color: #ffffff;
font-weight: bold;
font-size: 18rpx;
text-align: center;
line-height: 60rpx;
border-radius: 20rpx;
}
.Gender.data-v-4e606fe0 {
width: 310rpx;
display: flex;
@@ -212,3 +228,123 @@ to {
font-weight: bold;
border-radius: 50rpx;
}
.popup-container.data-v-4e606fe0{
width: 600rpx;
height: 800rpx;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
background-position: center;
border-radius: 10px;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
align-items: center;
}
.popup-title.data-v-4e606fe0{
color: #161616;
font-size: 36.26rpx;
font-weight: bold;
margin-bottom: 30rpx;
margin-top: 30rpx;
}
.scroll.data-v-4e606fe0{
width: 90%;
height: 500rpx;
}
.card.data-v-4e606fe0{
margin-top: 15rpx;
}
.card-content.data-v-4e606fe0 {
/* width: 445rpx; */
width: 100%;
height: 100rpx;
background-color: #ffffff;
/* border: 2px solid #afafaf; */
border-radius: 10rpx;
display: flex;
align-items: center;
font-size: 28rpx;
color: rgb(127, 127, 127);
}
.Avatarimg.data-v-4e606fe0 {
width: 90rpx;
height: 90rpx;
border-radius: 50%;
background-color: #dddddd;
margin-right: 20rpx;
margin-left: 20rpx;
}
.avatar.data-v-4e606fe0 {
width: 100%;
height: 100%;
border-radius: 50%;
}
.NameMoney.data-v-4e606fe0 {
display: flex;
flex-direction: column;
}
.TimeMoney.data-v-4e606fe0 {
width: 300rpx;
display: flex;
font-weight: bold;
font-size: 27rpx;
color: #161616;
}
.NameMoney_Name.data-v-4e606fe0 {
width: 400rpx;
text-align: left;
font-weight: bold;
font-size: 27rpx;
color: #161616;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.TimeMoney_country.data-v-4e606fe0{
margin-top: 10rpx;
width: 400rpx;
text-align: left;
font-size: 20rpx;
color: #666;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.popup-btn.data-v-4e606fe0 {
display: flex;
justify-content: space-around;
margin-top: 50rpx;
}
.invite.data-v-4e606fe0 {
width: 225.19rpx;
height: 78.24rpx;
font-size: 28.63rpx;
line-height: 80rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
}
.cancel.data-v-4e606fe0 {
width: 225.19rpx;
height: 78.24rpx;
font-size: 28.63rpx;
line-height: 80rpx;
margin-left: 30rpx;
color: #03aba8;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
border: 1rpx solid #03aba8;
}
.no-data.data-v-4e606fe0{
width: 90%;
height: 500rpx;
display: flex;
justify-content: center;
align-items: center;
}
.no-data-text.data-v-4e606fe0{
color: #999;
font-size: 28rpx;
font-weight: bold;
}

View File

@@ -4,6 +4,7 @@
"wht-select": "../../uni_modules/wht-select/components/wht-select/wht-select",
"uni-number-box": "../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box",
"uni-datetime-picker": "../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
"uni-easyinput": "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput"
"uni-easyinput": "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" 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="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><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="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-96d38e2b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" 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="{{p}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></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="{{q}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{s}}" class="data-v-96d38e2b" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" 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="{{w}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{x}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{z}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{A}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" 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="AnchorSelection data-v-96d38e2b"><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-96d38e2b">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-96d38e2b" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{i}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{h}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" 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="{{l}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{k}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-96d38e2b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-96d38e2b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" 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="{{r}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></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="{{s}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{v}}" class="data-v-96d38e2b" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" 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="{{y}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{z}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{B}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{C}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-96d38e2b" u-s="{{['d']}}" u-r="popup" u-i="96d38e2b-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-96d38e2b"><view class="popup-title data-v-96d38e2b">选择我的主播</view><scroll-view wx:if="{{G}}" scroll-y="true" class="scroll data-v-96d38e2b"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-96d38e2b"><view class="card-content data-v-96d38e2b" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-96d38e2b"><image class="avatar data-v-96d38e2b" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-96d38e2b"><view class="TimeMoney data-v-96d38e2b"><view class="NameMoney_Name data-v-96d38e2b">{{item.b}}</view></view><view class="TimeMoney data-v-96d38e2b"><view class="TimeMoney_country data-v-96d38e2b">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-96d38e2b"><view class="no-data-text data-v-96d38e2b">暂无数据</view></view><view class="popup-btn data-v-96d38e2b"><button class="invite data-v-96d38e2b" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-96d38e2b" type="default" bindtap="{{K}}">取消</button></view></view></uni-popup>

View File

@@ -104,10 +104,14 @@ to {
margin: 40rpx;
}
.time.data-v-96d38e2b {
width: 90%;
width: 70%;
margin-left: 5%;
margin-top: 50rpx;
}
.AnchorSelection.data-v-96d38e2b{
display: flex;
align-items: center;
}
.NameAnchorcss.data-v-96d38e2b {
width: 99%;
height: 85rpx;
@@ -116,6 +120,18 @@ to {
border-radius: 10rpx;
text-align: center;
}
.AnchorSelectioncss.data-v-96d38e2b{
width: 30%;
height: 60rpx;
margin: 40rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
color: #ffffff;
font-weight: bold;
font-size: 18rpx;
text-align: center;
line-height: 60rpx;
border-radius: 20rpx;
}
.Gender.data-v-96d38e2b {
width: 310rpx;
display: flex;
@@ -212,3 +228,123 @@ to {
font-weight: bold;
border-radius: 50rpx;
}
.popup-container.data-v-96d38e2b{
width: 600rpx;
height: 800rpx;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
background-position: center;
border-radius: 10px;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
align-items: center;
}
.popup-title.data-v-96d38e2b{
color: #161616;
font-size: 36.26rpx;
font-weight: bold;
margin-bottom: 30rpx;
margin-top: 30rpx;
}
.scroll.data-v-96d38e2b{
width: 90%;
height: 500rpx;
}
.card.data-v-96d38e2b{
margin-top: 15rpx;
}
.card-content.data-v-96d38e2b {
/* width: 445rpx; */
width: 100%;
height: 100rpx;
background-color: #ffffff;
/* border: 2px solid #afafaf; */
border-radius: 10rpx;
display: flex;
align-items: center;
font-size: 28rpx;
color: rgb(127, 127, 127);
}
.Avatarimg.data-v-96d38e2b {
width: 90rpx;
height: 90rpx;
border-radius: 50%;
background-color: #dddddd;
margin-right: 20rpx;
margin-left: 20rpx;
}
.avatar.data-v-96d38e2b {
width: 100%;
height: 100%;
border-radius: 50%;
}
.NameMoney.data-v-96d38e2b {
display: flex;
flex-direction: column;
}
.TimeMoney.data-v-96d38e2b {
width: 300rpx;
display: flex;
font-weight: bold;
font-size: 27rpx;
color: #161616;
}
.NameMoney_Name.data-v-96d38e2b {
width: 400rpx;
text-align: left;
font-weight: bold;
font-size: 27rpx;
color: #161616;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.TimeMoney_country.data-v-96d38e2b{
margin-top: 10rpx;
width: 400rpx;
text-align: left;
font-size: 20rpx;
color: #666;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.popup-btn.data-v-96d38e2b {
display: flex;
justify-content: space-around;
margin-top: 50rpx;
}
.invite.data-v-96d38e2b {
width: 225.19rpx;
height: 78.24rpx;
font-size: 28.63rpx;
line-height: 80rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
}
.cancel.data-v-96d38e2b {
width: 225.19rpx;
height: 78.24rpx;
font-size: 28.63rpx;
line-height: 80rpx;
margin-left: 30rpx;
color: #03aba8;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
border: 1rpx solid #03aba8;
}
.no-data.data-v-96d38e2b{
width: 90%;
height: 500rpx;
display: flex;
justify-content: center;
align-items: center;
}
.no-data-text.data-v-96d38e2b{
color: #999;
font-size: 28rpx;
font-weight: bold;
}

View File

@@ -25,7 +25,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:170", "接收到的数据:", this.item);
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:176", "接收到的数据:", this.item);
});
common_vendor.index.getStorage({
key: "userinfo",
@@ -108,11 +108,14 @@ 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:258", "res.data", res.data);
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:264", "res.data", res.data);
this.list = res.data;
} else {
common_vendor.index.hideLoading();
this.openPopupQuantity();
setTimeout(() => {
this.openPopupQuantity();
this.$refs.popup.close();
}, 2e3);
}
} else {
common_vendor.index.hideLoading();
@@ -149,30 +152,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: $data.item.anchorIcon,
c: common_vendor.t($data.item.disPlayId),
d: $data.item.sex === "1"
}, $data.item.sex === "1" ? {
e: common_vendor.t($data.item.sex === "1" ? "男" : "女")
} : {
f: common_vendor.t($data.item.sex === "2" ? "男" : "女")
}, {
g: common_vendor.t($data.item.country),
h: common_vendor.t($options.formatDate($data.item.pkTime)),
i: common_vendor.t($data.item.coin),
j: common_vendor.t($data.item.pkNumber),
k: common_vendor.s($data.style),
l: common_vendor.o$1(($event) => $data.item.remark = $event),
m: common_vendor.p({
}, $data.item.sex === "1" ? {} : {}, {
e: common_vendor.t($data.item.country),
f: common_vendor.t($options.formatDate($data.item.pkTime)),
g: common_vendor.t($data.item.coin),
h: common_vendor.t($data.item.pkNumber),
i: common_vendor.s($data.style),
j: common_vendor.o$1(($event) => $data.item.remark = $event),
k: common_vendor.p({
type: "textarea",
placeholder: "备注",
maxlength: "-1",
disabled: "true",
modelValue: $data.item.remark
}),
n: $data.item.senderId !== $data.id
l: $data.item.senderId !== $data.id
}, $data.item.senderId !== $data.id ? {
o: common_vendor.o$1(($event) => $options.openChat()),
p: common_vendor.o$1(($event) => $options.open())
m: common_vendor.o$1(($event) => $options.openChat()),
n: common_vendor.o$1(($event) => $options.open())
} : {}, {
q: common_vendor.f($data.list, (item, index, i0) => {
o: $data.list.length !== 0
}, $data.list.length !== 0 ? {
p: common_vendor.f($data.list, (item, index, i0) => {
return {
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
@@ -183,7 +184,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
g: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
h: index
};
}),
})
} : {}, {
q: $data.list.length === 0
}, $data.list.length === 0 ? {} : {}, {
r: common_vendor.o$1(($event) => $options.invite()),
s: common_vendor.o$1(($event) => $options.close()),
t: common_vendor.sr("popup", "9639f721-1"),

View File

@@ -1 +1 @@
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{a}}"><image class="Return data-v-9639f721" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{c}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{d}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-9639f721">{{e}}</view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-9639f721">{{f}}</view></view></view><view class="nation data-v-9639f721">{{g}}</view></view><view class="Time data-v-9639f721">PK时间:{{h}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{i}}</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{j}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view class="remark data-v-9639f721"><uni-easyinput wx:if="{{m}}" class="data-v-9639f721" style="{{k}}" u-i="9639f721-0" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"></uni-easyinput></view><view wx:if="{{n}}" class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{o}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{p}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><view class="popup-text data-v-9639f721">请选择您要参与的主播</view><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{q}}" wx:for-item="item" wx:key="h" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-9639f721"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-9639f721"><view class="TimeMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view></view><view class="TimeMoney_Time data-v-9639f721"><view class="pkTimeimg data-v-9639f721"></view><view class="data-v-9639f721">{{item.c}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-9639f721" u-i="{{item.e}}" bind:__l="__l"><view class="goldimg data-v-9639f721"></view>{{item.d}}K</viewm></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-3" bind:__l="__l"></new-added-pk>
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{a}}"><image class="Return data-v-9639f721" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{c}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{d}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-9639f721"></view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-9639f721"></view></view></view><view class="nation data-v-9639f721">{{e}}</view></view><view class="Time data-v-9639f721">PK时间:{{f}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{g}}K</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{h}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view class="remark data-v-9639f721"><uni-easyinput wx:if="{{k}}" class="data-v-9639f721" style="{{i}}" u-i="9639f721-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></uni-easyinput></view><view wx:if="{{l}}" class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{m}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{n}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><view class="popup-text data-v-9639f721">请选择您要参与的主播</view><view wx:if="{{o}}" class="data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{p}}" wx:for-item="item" wx:key="h" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-9639f721"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-9639f721"><view class="TimeMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view></view><view class="TimeMoney_Time data-v-9639f721"><view class="pkTimeimg data-v-9639f721"></view><view class="data-v-9639f721">{{item.c}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-9639f721" u-i="{{item.e}}" bind:__l="__l"><view class="goldimg data-v-9639f721"></view>{{item.d}}K</viewm></view></view></view></view></scroll-view></view><view wx:if="{{q}}" class="noData data-v-9639f721">您还没有可参与的主播PK快去新建一个吧</view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-3" bind:__l="__l"></new-added-pk>

View File

@@ -125,8 +125,8 @@
font-weight: bold;
font-size: 27rpx;
color: #161616;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.background.data-v-9639f721 {
@@ -198,8 +198,8 @@
.nation.data-v-9639f721 {
/* width: 56.3rpx; */
height: 29.58rpx;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
font-size: 17.18rpx;
color: #666666;
@@ -281,7 +281,7 @@
flex-direction: column;
align-items: center;
}
.remark.data-v-9639f721{
.remark.data-v-9639f721 {
margin-top: 60rpx;
width: 90%;
}
@@ -312,3 +312,10 @@
font-size: 28.63rpx;
line-height: 77.29rpx;
}
.noData.data-v-9639f721{
width: 500rpx;
height: 400rpx;
border-radius: 10px;
font-size: 30rpx;
color: #999;
}

View File

@@ -31,8 +31,14 @@ const _sfc_main = {
//用户id
sendingTime: "",
//发送时间
filterable: true
filterable: true,
//是否可搜索
AnchorList: [],
//主播列表
selectedId: null,
//选择的主播
selectedIddata: null
//选择的主播数据
};
},
props: {
@@ -61,15 +67,66 @@ const _sfc_main = {
});
},
methods: {
//关闭弹窗
close() {
this.$refs.popup.close();
},
//确认选择
invite() {
if (this.selectedId) {
this.nameAnchor = this.selectedIddata.anchorId;
this.AnchorProfilePicture = this.selectedIddata.headerIcon;
this.close();
} else {
common_vendor.index.showToast({
title: "请选择主播",
icon: "none",
duration: 2e3
});
}
},
//选中的主播
Select(id, item) {
if (this.selectedId !== id) {
this.selectedId = id;
this.selectedIddata = item;
} else {
this.selectedId = null;
this.selectedIddata = null;
}
},
//获取主播列表
getAnchorList() {
components_request.request({
url: "anchor/list",
method: "POST",
data: {
id: this.id
},
userInfo: true
}).then((res) => {
this.triggered = false;
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:297", res.msg);
}
});
},
//选择我的主播
chooseMyStreamer() {
this.$refs.popup.open("center");
this.getAnchorList();
},
//性别
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:217", item);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:309", item);
},
//日期
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:222", item);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:314", item);
},
// //主播名称
// handleOverlayClick(event) {
@@ -177,14 +234,16 @@ if (!Array) {
const _easycom_uni_number_box2 = common_vendor.resolveComponent("uni-number-box");
const _easycom_uni_datetime_picker2 = common_vendor.resolveComponent("uni-datetime-picker");
const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
(_easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_easyinput2)();
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_easyinput2 + _easycom_uni_popup2)();
}
const _easycom_wht_select = () => "./uni_modules/wht-select/components/wht-select/wht-select.js";
const _easycom_uni_number_box = () => "./uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js";
const _easycom_uni_datetime_picker = () => "./uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js";
const _easycom_uni_easyinput = () => "./uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
const _easycom_uni_popup = () => "./uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
(_easycom_wht_select + _easycom_uni_number_box + _easycom_uni_datetime_picker + _easycom_uni_easyinput)();
(_easycom_wht_select + _easycom_uni_number_box + _easycom_uni_datetime_picker + _easycom_uni_easyinput + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
@@ -192,11 +251,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...args)),
d: $data.nameAnchor,
e: $data.nameAnchor === "" || $data.nameAnchor === null && $data.Hint === true
}, $data.nameAnchor === "" || $data.nameAnchor === null && $data.Hint === true ? {} : {}, {
f: common_vendor.o$1($options.country),
g: common_vendor.p({
d: common_vendor.o$1((...args) => _ctx.blur && _ctx.blur(...args)),
e: $data.nameAnchor,
f: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
g: common_vendor.o$1((...args) => $options.chooseMyStreamer && $options.chooseMyStreamer(...args)),
h: common_vendor.o$1($options.country),
i: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
@@ -206,10 +267,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
placeholder: "请选择国家",
value: $data.countrys
}),
h: $data.countrys === "" || $data.countrys === null && $data.Hint === true
j: $data.countrys === "" || $data.countrys === null && $data.Hint === true
}, $data.countrys === "" || $data.countrys === null && $data.Hint === true ? {} : {}, {
i: common_vendor.o$1($options.gender),
j: common_vendor.p({
k: common_vendor.o$1($options.gender),
l: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
@@ -218,49 +279,72 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
placeholder: "性别",
value: $props.message.sex === "1" ? 1 : 2
}),
k: $data.genders === 0 || $props.message.sex === "0"
m: $data.genders === 0 || $props.message.sex === "0"
}, $data.genders === 0 || $props.message.sex === "0" ? {} : {}, {
l: $data.genders === 1 || $props.message.sex === "1"
n: $data.genders === 1 || $props.message.sex === "1"
}, $data.genders === 1 || $props.message.sex === "1" ? {} : {}, {
m: $data.genders === 2 || $props.message.sex === "2"
o: $data.genders === 2 || $props.message.sex === "2"
}, $data.genders === 2 || $props.message.sex === "2" ? {} : {}, {
n: $data.genders === 0 || $data.genders === null && $data.Hint === true
p: $data.genders === 0 || $data.genders === null && $data.Hint === true
}, $data.genders === 0 || $data.genders === null && $data.Hint === true ? {} : {}, {
o: common_vendor.o$1(($event) => $data.numberCoins = $event),
p: common_vendor.p({
q: common_vendor.o$1(($event) => $data.numberCoins = $event),
r: common_vendor.p({
max: 9999999999,
background: "#03ABA8",
modelValue: $data.numberCoins
}),
q: $data.numberCoins === "" || $data.numberCoins === null && $data.Hint === true
s: $data.numberCoins === "" || $data.numberCoins === null && $data.Hint === true
}, $data.numberCoins === "" || $data.numberCoins === null && $data.Hint === true ? {} : {}, {
r: common_vendor.o$1(($event) => $data.datetimesingle = $event),
s: common_vendor.p({
t: common_vendor.o$1(($event) => $data.datetimesingle = $event),
v: common_vendor.p({
type: "datetime",
["hide-second"]: "true",
modelValue: $data.datetimesingle
}),
t: $data.datetimesingle === "" || $data.datetimesingle === null && $data.Hint === true
w: $data.datetimesingle === "" || $data.datetimesingle === null && $data.Hint === true
}, $data.datetimesingle === "" || $data.datetimesingle === null && $data.Hint === true ? {} : {}, {
v: common_vendor.o$1(($event) => $data.session = $event),
w: common_vendor.p({
x: common_vendor.o$1(($event) => $data.session = $event),
y: common_vendor.p({
background: "#03ABA8",
modelValue: $data.session
}),
x: $data.session === "" || $data.session === null && $data.Hint === true
z: $data.session === "" || $data.session === null && $data.Hint === true
}, $data.session === "" || $data.session === null && $data.Hint === true ? {} : {}, {
y: common_vendor.o$1(($event) => $data.remarks = $event),
z: common_vendor.p({
A: common_vendor.o$1(($event) => $data.remarks = $event),
B: common_vendor.p({
type: "textarea",
placeholder: "备注",
modelValue: $data.remarks
}),
A: common_vendor.o$1(($event) => $options.Publish()),
B: common_vendor.o$1(() => {
C: common_vendor.o$1(($event) => $options.Publish()),
D: common_vendor.o$1(() => {
}),
C: common_vendor.n($data.Display ? "create-module" : "close-animation "),
D: common_vendor.o$1(($event) => $options.open())
}) : {});
E: common_vendor.n($data.Display ? "create-module" : "close-animation "),
F: common_vendor.o$1(($event) => $options.open())
}) : {}, {
G: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
H: common_vendor.f($data.AnchorList, (item, index, i0) => {
return {
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
c: common_vendor.t(item.country),
d: common_vendor.o$1(($event) => $options.Select(item.id, item), index),
e: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
f: index
};
})
} : {}, {
I: $data.AnchorList.length === 0
}, $data.AnchorList.length === 0 ? {} : {}, {
J: common_vendor.o$1(($event) => $options.invite()),
K: common_vendor.o$1(($event) => $options.close()),
L: common_vendor.sr("popup", "4e606fe0-6"),
M: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4e606fe0"]]);
exports.MiniProgramPage = MiniProgramPage;