acdr-ui/dist/dev/mp-weixin/modules/mall/commission/components/commission-info.js
2024-10-01 09:15:35 +08:00

26 lines
987 B
JavaScript

"use strict";
const common_vendor = require("../../../../common/vendor.js");
const modules_mall_sheep_index = require("../../sheep/index.js");
const _sfc_main = {
__name: "commission-info",
setup(__props) {
common_vendor.useCssVars((_ctx) => ({
"0f327088": common_vendor.unref(headerBg)
}));
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");
common_vendor.reactive({
showMoney: false
});
return (_ctx, _cache) => {
return {
a: common_vendor.unref(modules_mall_sheep_index.sheep).$url.cdn(userInfo.value.avatar),
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);