You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.6 KiB
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
props: {
item: {
type: Object,
default: () => {
return {
icon: "t-icon-xunzhaoshangyou",
title: "寻找发单号",
remark: "寻找发单号优质订单"
};
}
},
themeColor: {
type: String,
default: () => {
return "blue";
}
},
showRemark: {
type: Boolean,
default: () => {
return true;
}
},
btnText: {
type: String,
default: () => {
return "去关注";
}
},
showRight: {
type: Boolean,
default: () => {
return true;
}
}
},
methods: {
handleClickCard() {
this.$emit("clickCard");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.showRemark
}, $props.showRemark ? {} : {}, {
b: common_vendor.n($props.item.icon),
c: common_vendor.t($props.item.title),
d: common_vendor.t($props.item.remark),
e: common_vendor.n($props.item.remarkFS ? "g_fs_" + $props.item.remarkFS : "g_fs_14"),
f: $props.showRight
}, $props.showRight ? {
g: common_vendor.t($props.btnText),
h: common_vendor.n("btn-" + $props.themeColor)
} : {}, {
i: common_vendor.o((...args) => $options.handleClickCard && $options.handleClickCard(...args))
});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/panel/fond.js.map