登录
This commit is contained in:
46
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
46
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -1,23 +1,49 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
userinfo: {}
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:33", this.userinfo);
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 打开会话列表
|
||||
openConversationList() {
|
||||
common_vendor.index.navigateTo({ url: "/TUIKit/components/TUIConversation/index" });
|
||||
},
|
||||
// 打开联系人
|
||||
openContact() {
|
||||
common_vendor.index.navigateTo({ url: "/TUIKit/components/TUIContact/index" });
|
||||
goSetting() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Setting/Setting"
|
||||
});
|
||||
}
|
||||
},
|
||||
components: {
|
||||
tabBar
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
|
||||
_easycom_tabBar2();
|
||||
}
|
||||
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
if (!Math) {
|
||||
_easycom_tabBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o$1((...args) => $options.openConversationList && $options.openConversationList(...args)),
|
||||
b: common_vendor.o$1((...args) => $options.openContact && $options.openContact(...args))
|
||||
a: $data.userinfo.headerIcon,
|
||||
b: common_vendor.t($data.userinfo.nickName),
|
||||
c: common_assets._imports_0$2,
|
||||
d: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-402ad917"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Mine/Mine.js.map
|
||||
|
||||
Reference in New Issue
Block a user