PerformanceCard.js 739 B

123456789101112131415161718192021
  1. "use strict";
  2. const common_vendor = require("../common/vendor.js");
  3. const _sfc_main = {
  4. __name: "PerformanceCard",
  5. props: {
  6. successRate: { type: String, default: "0%" },
  7. profitRate: { type: String, default: "+0%" },
  8. totalTrades: { type: [Number, String], default: 0 }
  9. },
  10. setup(__props) {
  11. return (_ctx, _cache) => {
  12. return {
  13. a: common_vendor.t(__props.successRate),
  14. b: common_vendor.t(__props.profitRate),
  15. c: common_vendor.t(__props.totalTrades)
  16. };
  17. };
  18. }
  19. };
  20. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7eda9556"], ["__file", "D:/program/gupiao/gupiao-wx/src/components/PerformanceCard.vue"]]);
  21. wx.createComponent(Component);