HomeLease/unpackage/dist/dev/mp-weixin/components/home-header/home-header.js
2025-08-13 11:23:14 +08:00

31 lines
898 B
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
name: "HomeHeader",
props: {
companyName: {
type: String,
default: "福鼎创特物联科技有限公司"
},
locationIcon: {
type: String,
required: true
}
},
methods: {
onLocationClick() {
this.$emit("location-click");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $props.locationIcon,
b: common_vendor.t($props.companyName),
c: common_vendor.o((...args) => $options.onLocationClick && $options.onLocationClick(...args))
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e1c5b648"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/home-header/home-header.js.map