优化页面
This commit is contained in:
@@ -70,7 +70,7 @@ const _sfc_main = {
|
||||
this.pkList.push(...res.data);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:214", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:217", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -95,11 +95,7 @@ const _sfc_main = {
|
||||
this.topPinnedPersondata = {};
|
||||
},
|
||||
onTopConfirm() {
|
||||
if (Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600) <= this.topPinnedPersondata.pkTime) {
|
||||
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
|
||||
} else {
|
||||
this.Topdate = this.topPinnedPersondata.pkTime;
|
||||
}
|
||||
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
|
||||
components_request.request({
|
||||
url: "user/pinToTop",
|
||||
method: "POST",
|
||||
@@ -150,7 +146,7 @@ const _sfc_main = {
|
||||
duration: 3e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:295", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:293", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -213,9 +209,11 @@ if (!Math) {
|
||||
_easycom_uni_popup();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
|
||||
b: common_vendor.f($data.pkList, (item, index, i0) => {
|
||||
b: $data.pkList.length !== 0
|
||||
}, $data.pkList.length !== 0 ? {
|
||||
c: common_vendor.f($data.pkList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
@@ -244,40 +242,43 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
r: "36b7ee78-0-" + i0
|
||||
});
|
||||
}),
|
||||
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
d: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
|
||||
e: $data.triggered,
|
||||
f: common_vendor.sr("createModule", "36b7ee78-1"),
|
||||
g: common_vendor.o$1($options.onRefresherRefresh),
|
||||
h: common_vendor.p({
|
||||
d: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
e: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
|
||||
f: $data.triggered
|
||||
} : {}, {
|
||||
g: $data.pkList.length === 0
|
||||
}, $data.pkList.length === 0 ? {} : {}, {
|
||||
h: common_vendor.sr("createModule", "36b7ee78-1"),
|
||||
i: common_vendor.o$1($options.onRefresherRefresh),
|
||||
j: common_vendor.p({
|
||||
message: $data.parentMessage
|
||||
}),
|
||||
i: common_vendor.t($data.pickerArray[$data.index]),
|
||||
j: $data.pickerArray,
|
||||
k: $data.index,
|
||||
l: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
|
||||
m: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
|
||||
n: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
o: common_vendor.sr("popup", "36b7ee78-2"),
|
||||
p: common_vendor.p({
|
||||
k: common_vendor.t($data.pickerArray[$data.index]),
|
||||
l: $data.pickerArray,
|
||||
m: $data.index,
|
||||
n: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
|
||||
o: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
|
||||
p: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
q: common_vendor.sr("popup", "36b7ee78-2"),
|
||||
r: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
q: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
|
||||
r: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
|
||||
s: common_vendor.sr("popupOut", "36b7ee78-3"),
|
||||
t: common_vendor.p({
|
||||
s: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
|
||||
t: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
|
||||
v: common_vendor.sr("popupOut", "36b7ee78-3"),
|
||||
w: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
v: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
|
||||
w: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
|
||||
x: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
|
||||
y: common_vendor.p({
|
||||
x: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
|
||||
y: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
|
||||
z: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
|
||||
A: 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-36b7ee78"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
|
||||
Reference in New Issue
Block a user