27 lines
733 B
JavaScript
27 lines
733 B
JavaScript
"use strict";
|
|
const common_vendor = require("../common/vendor.js");
|
|
const _sfc_main = {
|
|
__name: "LocalLoader",
|
|
props: {
|
|
modelValue: Boolean
|
|
},
|
|
setup(__props) {
|
|
const colors = ["#FF6347", "#4682B4", "#32CD32", "#FFD700", "#FF69B4", "#00FA9A"];
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: __props.modelValue
|
|
}, __props.modelValue ? {
|
|
b: common_vendor.f(colors, (color, k0, i0) => {
|
|
return {
|
|
a: color,
|
|
b: color
|
|
};
|
|
})
|
|
} : {});
|
|
};
|
|
}
|
|
};
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d759de86"]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=LocalLoader.js.map
|