feat: 门票组件封装
This commit is contained in:
26
unpackage/dist/dev/mp-weixin/components/SumCard/index.js
vendored
Normal file
26
unpackage/dist/dev/mp-weixin/components/SumCard/index.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
props: {
|
||||
referencePrice: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
discount: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(__props.referencePrice),
|
||||
b: common_vendor.t(__props.discount)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5bb5a4e5"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/SumCard/index.js.map
|
||||
Reference in New Issue
Block a user