优化页面

This commit is contained in:
pengxiaolong
2025-06-04 22:36:28 +08:00
parent a40b5b88c9
commit d766790f04
52 changed files with 2371 additions and 787 deletions

View File

@@ -19,6 +19,8 @@ const _sfc_main = {
//主播名称
numberCoins: "",
//金币数量
session: "",
//场数
remarks: "",
//备注
Display: false,
@@ -27,8 +29,10 @@ const _sfc_main = {
//日期
id: null,
//用户id
sendingTime: ""
sendingTime: "",
//发送时间
filterable: true
//是否可搜索
};
},
mounted() {
@@ -42,11 +46,11 @@ const _sfc_main = {
methods: {
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:174", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:175", item);
},
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:179", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:180", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
@@ -64,6 +68,7 @@ const _sfc_main = {
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
@@ -73,7 +78,7 @@ const _sfc_main = {
this.nameAnchor = event.target.value;
},
async Publish() {
if (this.nameAnchor === "" || this.genders === "" || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "") {
if (this.nameAnchor === "" || this.genders === "" || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "") {
this.Hint = true;
return;
}
@@ -108,7 +113,8 @@ const _sfc_main = {
remark: this.remarks,
status: 0,
senderId: this.id,
anchorIcon: ""
anchorIcon: "",
pkNumber: this.session
},
userInfo: true
});
@@ -120,6 +126,7 @@ const _sfc_main = {
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.session = "";
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布成功",
@@ -156,18 +163,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: $data.Display
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_assets._imports_0$5,
c: common_assets._imports_0$4,
d: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...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: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Country,
filterable: "true",
filterable: $data.filterable,
placeholder: "请选择国家"
}),
h: $data.countrys === "" && $data.Hint === true
@@ -183,15 +190,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
k: $data.genders === 0
}, $data.genders === 0 ? {
l: common_assets._imports_1$2
l: common_assets._imports_1$3
} : {}, {
m: $data.genders === 1
}, $data.genders === 1 ? {
n: common_assets._imports_2
n: common_assets._imports_2$1
} : {}, {
o: $data.genders === 2
}, $data.genders === 2 ? {
p: common_assets._imports_3
p: common_assets._imports_3$1
} : {}, {
q: $data.genders === 0 && $data.Hint === true
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
@@ -202,33 +209,32 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
t: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
v: common_vendor.o$1(_ctx.changeLog),
w: common_vendor.o$1(($event) => $data.datetimesingle = $event),
x: common_vendor.p({
v: common_vendor.o$1(($event) => $data.datetimesingle = $event),
w: common_vendor.p({
type: "datetime",
["hide-second"]: "true",
modelValue: $data.datetimesingle
}),
y: $data.datetimesingle === "" && $data.Hint === true
x: $data.datetimesingle === "" && $data.Hint === true
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
z: common_vendor.o$1(($event) => $data.numberCoins = $event),
A: common_vendor.p({
y: common_vendor.o$1(($event) => $data.session = $event),
z: common_vendor.p({
background: "#03ABA8",
modelValue: $data.numberCoins
modelValue: $data.session
}),
B: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
C: common_vendor.o$1(($event) => $data.remarks = $event),
D: common_vendor.p({
A: $data.session === "" && $data.Hint === true
}, $data.session === "" && $data.Hint === true ? {} : {}, {
B: common_vendor.o$1(($event) => $data.remarks = $event),
C: common_vendor.p({
type: "textarea",
placeholder: "备注",
modelValue: $data.remarks
}),
E: common_vendor.o$1(($event) => $options.Publish()),
F: common_vendor.o$1(() => {
D: common_vendor.o$1(($event) => $options.Publish()),
E: common_vendor.o$1(() => {
}),
G: common_vendor.n($data.Display ? "create-module" : "close-animation "),
H: common_vendor.o$1(($event) => $options.open())
F: common_vendor.n($data.Display ? "create-module" : "close-animation "),
G: common_vendor.o$1(($event) => $options.open())
}) : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);