优化页面
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user