acdr-ui/dist/dev/mp-weixin/layouts/demo.js

33 lines
1.2 KiB
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";
const common_vendor = require("../common/vendor.js");
if (!Array) {
const _easycom_wd_toast2 = common_vendor.resolveComponent("wd-toast");
const _easycom_wd_message_box2 = common_vendor.resolveComponent("wd-message-box");
const _easycom_wd_config_provider2 = common_vendor.resolveComponent("wd-config-provider");
(_easycom_wd_toast2 + _easycom_wd_message_box2 + _easycom_wd_config_provider2)();
}
const _easycom_wd_toast = () => "../node-modules/wot-design-uni/components/wd-toast/wd-toast.js";
const _easycom_wd_message_box = () => "../node-modules/wot-design-uni/components/wd-message-box/wd-message-box.js";
const _easycom_wd_config_provider = () => "../node-modules/wot-design-uni/components/wd-config-provider/wd-config-provider.js";
if (!Math) {
(_easycom_wd_toast + _easycom_wd_message_box + _easycom_wd_config_provider)();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "demo",
setup(__props) {
const themeVars = {
// colorTheme: 'red',
// buttonPrimaryBgColor: '#07c160',
// buttonPrimaryColor: '#07c160',
};
return (_ctx, _cache) => {
return {
a: common_vendor.p({
themeVars
})
};
};
}
});
wx.createComponent(_sfc_main);