acdr-ui/dist/dev/mp-weixin/modules/mall/commission/components/commission-info.js

26 lines
987 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";
const common_vendor = require("../../../../common/vendor.js");
2024-10-01 09:15:35 +08:00
const modules_mall_sheep_index = require("../../sheep/index.js");
2024-09-19 07:20:14 +08:00
const _sfc_main = {
__name: "commission-info",
setup(__props) {
common_vendor.useCssVars((_ctx) => ({
"0f327088": common_vendor.unref(headerBg)
}));
2024-10-01 09:15:35 +08:00
const userInfo = common_vendor.computed(() => modules_mall_sheep_index.sheep.$store("user").userInfo);
const headerBg = modules_mall_sheep_index.sheep.$url.css("/static/img/shop/commission/background.png");
2024-09-19 07:20:14 +08:00
common_vendor.reactive({
showMoney: false
});
return (_ctx, _cache) => {
return {
2024-10-01 09:15:35 +08:00
a: common_vendor.unref(modules_mall_sheep_index.sheep).$url.cdn(userInfo.value.avatar),
2024-09-19 07:20:14 +08:00
b: common_vendor.t(userInfo.value.nickname),
c: common_vendor.s(_ctx.__cssVars())
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-b97c1c32"]]);
wx.createComponent(Component);