index.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. if (!Array) {
  4. const _component_uni_icons = common_vendor.resolveComponent("uni-icons");
  5. const _easycom_custom_layout2 = common_vendor.resolveComponent("custom-layout");
  6. (_component_uni_icons + _easycom_custom_layout2)();
  7. }
  8. const _easycom_custom_layout = () => "../../components/custom-layout/custom-layout.js";
  9. if (!Math) {
  10. _easycom_custom_layout();
  11. }
  12. const _sfc_main = {
  13. __name: "index",
  14. setup(__props) {
  15. common_vendor.ref(false);
  16. common_vendor.ref([{
  17. text: "已阅读并同意",
  18. value: 0
  19. }]);
  20. common_vendor.onMounted(() => {
  21. console.log("onMounted生命周期");
  22. });
  23. return (_ctx, _cache) => {
  24. return {
  25. a: common_vendor.p({
  26. ["custom-prefix"]: "iconfont",
  27. type: "icon-jifen",
  28. size: "20"
  29. }),
  30. b: common_vendor.f(10, (item, index, i0) => {
  31. return {
  32. a: index
  33. };
  34. }),
  35. c: common_vendor.sr("layout", "f06186df-0"),
  36. d: common_vendor.o(_ctx.onQueryList),
  37. e: common_vendor.o(($event) => _ctx.dataList = $event),
  38. f: common_vendor.p({
  39. showBottom: true,
  40. title: "充值",
  41. modelValue: _ctx.dataList
  42. })
  43. };
  44. };
  45. }
  46. };
  47. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f06186df"]]);
  48. wx.createPage(MiniProgramPage);