no message
This commit is contained in:
58
unpackage/dist/dev/mp-alipay/pages/mine/mine.js
vendored
Normal file
58
unpackage/dist/dev/mp-alipay/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
if (!Array) {
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_avatar2 = common_vendor.resolveComponent("up-avatar");
|
||||
const _easycom_tabbar2 = common_vendor.resolveComponent("tabbar");
|
||||
(_easycom_statusBar2 + _easycom_up_avatar2 + _easycom_tabbar2)();
|
||||
}
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_avatar = () => "../../uni_modules/uview-plus/components/u-avatar/u-avatar.js";
|
||||
const _easycom_tabbar = () => "../../components/tabbar/tabbar.js";
|
||||
if (!Math) {
|
||||
(_easycom_statusBar + _easycom_up_avatar + _easycom_tabbar)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "mine",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
let info = common_vendor.ref({});
|
||||
common_vendor.onShow(async () => {
|
||||
common_vendor.index.hideTabBar();
|
||||
let _res = await api_api.userInfo();
|
||||
info.value = _res;
|
||||
});
|
||||
const toEarnings = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "./sett"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
size: "150rpx",
|
||||
src: common_vendor.unref(info).avatar
|
||||
}),
|
||||
b: common_vendor.t(common_vendor.unref(info).nickName),
|
||||
c: common_vendor.t(common_vendor.unref(info).phone || ""),
|
||||
d: common_vendor.o(toEarnings),
|
||||
e: common_assets._imports_0$2,
|
||||
f: common_vendor.t(common_vendor.unref(info).balance),
|
||||
g: common_vendor.o(($event) => common_vendor.unref(navTo)("/pages/mine/incomeList")),
|
||||
h: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pageMake/refund/refund?balance=${common_vendor.unref(info).balance}`)),
|
||||
i: common_vendor.o(($event) => common_vendor.unref(navTo)("/pages/money/recharge")),
|
||||
j: common_assets._imports_1$1,
|
||||
k: common_assets._imports_1$2,
|
||||
l: common_vendor.o(($event) => common_vendor.unref(navTo)("/pages/mine/card")),
|
||||
m: common_vendor.p({
|
||||
path: "/pages/mine/mine"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7c2ebfa5"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
Reference in New Issue
Block a user