"use strict"; const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); const utils_system = require("../../utils/system.js"); const api_apis = require("../../api/apis.js"); if (!Array) { const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); const _easycom_uni_load_more2 = common_vendor.resolveComponent("uni-load-more"); (_easycom_uni_icons2 + _easycom_uni_load_more2)(); } const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; const _easycom_uni_load_more = () => "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js"; if (!Math) { (_easycom_uni_icons + _easycom_uni_load_more)(); } const _sfc_main = { __name: "user", setup(__props) { const userinfo = common_vendor.ref(null); const getUserInfo = async () => { let res = await api_apis.apiUserInfo(); userinfo.value = res.data; }; getUserInfo(); return (_ctx, _cache) => { var _a, _b, _c, _d, _e, _f; return common_vendor.e({ a: userinfo.value }, userinfo.value ? { b: common_vendor.unref(utils_system.getNavBarHeight)() + "px", c: common_assets._imports_0, d: common_vendor.t(userinfo.value.IP), e: common_vendor.t(((_b = (_a = userinfo.value) == null ? void 0 : _a.address) == null ? void 0 : _b.city) || ((_d = (_c = userinfo.value) == null ? void 0 : _c.address) == null ? void 0 : _d.province) || ((_f = (_e = userinfo.value) == null ? void 0 : _e.address) == null ? void 0 : _f.country) || "中国"), f: common_vendor.p({ type: "download-filled", size: "20", color: "#28b389" }), g: common_vendor.t(userinfo.value.downloadSize), h: common_vendor.p({ type: "forward", size: "15", color: "#aaa" }), i: common_vendor.p({ type: "star-filled", size: "20", color: "#28b389" }), j: common_vendor.t(userinfo.value.scoreSize), k: common_vendor.p({ type: "forward", size: "15", color: "#aaa" }), l: common_vendor.p({ type: "chatboxes-filled", size: "20", color: "#28b389" }), m: common_vendor.p({ type: "forward", size: "15", color: "#aaa" }), n: common_vendor.p({ type: "notification-filled", size: "20", color: "#28b389" }), o: common_vendor.p({ type: "forward", size: "15", color: "#aaa" }), p: common_vendor.p({ type: "flag-filled", size: "20", color: "#28b389" }), q: common_vendor.p({ type: "forward", size: "15", color: "#aaa" }) } : { r: common_vendor.unref(utils_system.getNavBarHeight)() + "px", s: common_vendor.p({ status: "loading" }) }); }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0f7520f0"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/user/user.js.map