index.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const _sfc_main = {
  4. data() {
  5. return {
  6. title: "",
  7. content: ""
  8. };
  9. },
  10. onLoad(options) {
  11. this.title = options.title;
  12. this.content = options.content;
  13. common_vendor.index.setNavigationBarTitle({
  14. title: options.title
  15. });
  16. }
  17. };
  18. if (!Array) {
  19. const _easycom_uni_card2 = common_vendor.resolveComponent("uni-card");
  20. _easycom_uni_card2();
  21. }
  22. const _easycom_uni_card = () => "../../../uni_modules/uni-card/components/uni-card/uni-card.js";
  23. if (!Math) {
  24. _easycom_uni_card();
  25. }
  26. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  27. return {
  28. a: common_vendor.t($data.content),
  29. b: common_vendor.p({
  30. title: $data.title
  31. })
  32. };
  33. }
  34. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2c8ac270"], ["__file", "C:/Users/Administrator/Desktop/srcaaa/pages/common/textview/index.vue"]]);
  35. wx.createPage(MiniProgramPage);