已支付订单列表:where.payStatus = 1;
This commit is contained in:
+76
@@ -0,0 +1,76 @@
|
||||
"use strict";
|
||||
const store_modules_user = require("../../store/modules/user.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const userStore = store_modules_user.useUserStore();
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
isLogin: false,
|
||||
userInfo: {}
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.reload();
|
||||
},
|
||||
methods: {
|
||||
async reload(e) {
|
||||
const userInfo = await userStore.fetchUserInfo();
|
||||
if (Object.keys(userInfo).length > 0) {
|
||||
this.isLogin = true;
|
||||
this.userInfo = userInfo;
|
||||
} else {
|
||||
this.isLogin = false;
|
||||
this.userInfo = {};
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_card2 = common_vendor.resolveComponent("uni-card");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_uni_col2 = common_vendor.resolveComponent("uni-col");
|
||||
const _easycom_uni_row2 = common_vendor.resolveComponent("uni-row");
|
||||
(_easycom_uni_card2 + _easycom_uni_icons2 + _easycom_uni_col2 + _easycom_uni_row2)();
|
||||
}
|
||||
const _easycom_uni_card = () => "../../uni_modules/uni-card/components/uni-card/uni-card.js";
|
||||
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_uni_col = () => "../../uni_modules/uni-row/components/uni-col/uni-col.js";
|
||||
const _easycom_uni_row = () => "../../uni_modules/uni-row/components/uni-row/uni-row.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_card + _easycom_uni_icons + _easycom_uni_col + _easycom_uni_row)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
border: false
|
||||
}),
|
||||
b: common_vendor.t($data.userInfo.nickname),
|
||||
c: common_vendor.p({
|
||||
type: "scan",
|
||||
size: 30
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
span: 8
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
type: "color",
|
||||
size: 30
|
||||
}),
|
||||
f: common_vendor.p({
|
||||
span: 8
|
||||
}),
|
||||
g: common_vendor.p({
|
||||
["custom-prefix"]: "iconfont",
|
||||
type: "icon-xiazai",
|
||||
size: 30
|
||||
}),
|
||||
h: common_vendor.p({
|
||||
span: 8
|
||||
}),
|
||||
i: common_vendor.p({
|
||||
width: _ctx.nvueWidth
|
||||
})
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-87db41a0"], ["__file", "/Users/gxwebsoft/APP/gxtyzx-uniapp-cli/src/package/user/qrcode.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
Reference in New Issue
Block a user