detail-cell.js 802 B

123456789101112131415161718192021222324252627282930
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const _sfc_main = {
  4. __name: "detail-cell",
  5. props: {
  6. label: {
  7. type: String,
  8. default: ""
  9. },
  10. value: {
  11. type: String,
  12. default: ""
  13. }
  14. },
  15. emits: ["click"],
  16. setup(__props, { emit: emits }) {
  17. const onClick = () => {
  18. emits("click");
  19. };
  20. return (_ctx, _cache) => {
  21. return {
  22. a: common_vendor.t(__props.label),
  23. b: common_vendor.t(__props.value),
  24. c: common_vendor.o(onClick)
  25. };
  26. };
  27. }
  28. };
  29. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4e5c0150"], ["__file", "/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-app/pages/goods/components/detail/detail-cell.vue"]]);
  30. wx.createComponent(Component);