12.4 概念模块功能完善
This commit is contained in:
27
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
27
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
@@ -87,6 +87,8 @@ const _sfc_main = {
|
||||
common_vendor.index.navigateTo({
|
||||
url
|
||||
});
|
||||
} else if (index == this.menuList.length - 2) {
|
||||
this.$refs["popup"].open();
|
||||
} else if (index == this.menuList.length - 1) {
|
||||
common_vendor.index.showModal({
|
||||
title: "您确定要退出登录么",
|
||||
@@ -117,6 +119,14 @@ const _sfc_main = {
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
_easycom_uni_popup2();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_uni_popup();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_assets._imports_0,
|
||||
@@ -142,16 +152,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
q: common_assets._imports_2$4,
|
||||
r: common_vendor.o(($event) => $options.clickVip()),
|
||||
s: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: index == $data.menuList.length - 2
|
||||
}, index == $data.menuList.length - 2 ? {} : {}, {
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickMenuItem(item.url, index), index)
|
||||
});
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickMenuItem(item.url, index), index)
|
||||
};
|
||||
}),
|
||||
t: common_assets._imports_3$3
|
||||
t: common_assets._imports_3$3,
|
||||
v: common_assets._imports_4$2,
|
||||
w: common_vendor.sr("popup", "dd5840e4-0"),
|
||||
x: common_vendor.p({
|
||||
type: "center"
|
||||
})
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
Reference in New Issue
Block a user