32 lines
866 B
JavaScript
32 lines
866 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
__name: "section-header",
|
|
props: {
|
|
title: {},
|
|
showMore: { type: Boolean }
|
|
},
|
|
emits: ["more"],
|
|
setup(__props, _a) {
|
|
var __emit = _a.emit;
|
|
const emit = __emit;
|
|
const handleMore = () => {
|
|
emit("more");
|
|
};
|
|
return (_ctx, _cache) => {
|
|
"raw js";
|
|
const __returned__ = common_vendor.e({
|
|
a: common_vendor.t(_ctx.title),
|
|
b: _ctx.showMore
|
|
}, _ctx.showMore ? {
|
|
c: common_vendor.o(handleMore)
|
|
} : {}, {
|
|
d: common_vendor.sei(common_vendor.gei(_ctx, ""), "view")
|
|
});
|
|
return __returned__;
|
|
};
|
|
}
|
|
});
|
|
wx.createComponent(_sfc_main);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/section-header/section-header.js.map
|