优化页面
This commit is contained in:
35
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
35
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -34,7 +34,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getAnchorList();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:254", res2.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:268", res2.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -55,7 +55,7 @@ const _sfc_main = {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.setStorageSync("userinfo", res.data);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -72,7 +72,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data.slice(0, 4);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:292", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:306", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -89,7 +89,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.SignStatus = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:310", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:323", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -112,7 +112,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getUserInfo();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:333", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:346", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -133,7 +133,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:367", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -153,7 +153,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:374", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:387", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -212,11 +212,19 @@ const _sfc_main = {
|
||||
},
|
||||
// 退出登录
|
||||
logout() {
|
||||
this.$refs.popupExpurgate.open("center");
|
||||
},
|
||||
//确认退出登录
|
||||
onExpurgateConfirm() {
|
||||
common_vendor.index.clearStorage();
|
||||
common_vendor.A.logout();
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
},
|
||||
// 关闭弹窗
|
||||
closePopupExpurgate() {
|
||||
this.$refs.popupExpurgate.close();
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -225,11 +233,13 @@ const _sfc_main = {
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
|
||||
_easycom_tabBar2();
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_easycom_tabBar2 + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_tabBar();
|
||||
(_easycom_tabBar + _easycom_uni_popup)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
@@ -297,6 +307,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
z: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
|
||||
A: common_vendor.p({
|
||||
tabIndex: 4
|
||||
}),
|
||||
B: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
|
||||
C: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
|
||||
D: common_vendor.sr("popupExpurgate", "402ad917-1"),
|
||||
E: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user