You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

158 lines
10 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const config_api = require("../../../../config/api.js");
  4. const store_index = require("../../../../store/index.js");
  5. require("../../../../uni_modules/uview-plus/index.js");
  6. require("../../../../uni_modules/uview-plus/libs/mixin/mixin.js");
  7. require("../../../../uni_modules/uview-plus/libs/vue.js");
  8. require("../../../../uni_modules/uview-plus/libs/function/index.js");
  9. require("../../../../uni_modules/uview-plus/libs/function/test.js");
  10. require("../../../../uni_modules/uview-plus/libs/function/digit.js");
  11. require("../../../../uni_modules/uview-plus/libs/config/config.js");
  12. require("../../../../uni_modules/uview-plus/libs/util/route.js");
  13. require("../../../../uni_modules/uview-plus/libs/mixin/mpMixin.js");
  14. require("../../../../uni_modules/uview-plus/libs/luch-request/core/Request.js");
  15. require("../../../../uni_modules/uview-plus/libs/luch-request/core/dispatchRequest.js");
  16. require("../../../../uni_modules/uview-plus/libs/luch-request/adapters/index.js");
  17. require("../../../../uni_modules/uview-plus/libs/luch-request/helpers/buildURL.js");
  18. require("../../../../uni_modules/uview-plus/libs/luch-request/utils.js");
  19. require("../../../../uni_modules/uview-plus/libs/luch-request/core/buildFullPath.js");
  20. require("../../../../uni_modules/uview-plus/libs/luch-request/helpers/isAbsoluteURL.js");
  21. require("../../../../uni_modules/uview-plus/libs/luch-request/helpers/combineURLs.js");
  22. require("../../../../uni_modules/uview-plus/libs/luch-request/core/settle.js");
  23. require("../../../../uni_modules/uview-plus/libs/luch-request/core/InterceptorManager.js");
  24. require("../../../../uni_modules/uview-plus/libs/luch-request/core/mergeConfig.js");
  25. require("../../../../uni_modules/uview-plus/libs/luch-request/core/defaults.js");
  26. require("../../../../uni_modules/uview-plus/libs/luch-request/utils/clone.js");
  27. require("../../../../uni_modules/uview-plus/libs/function/colorGradient.js");
  28. require("../../../../uni_modules/uview-plus/libs/function/debounce.js");
  29. require("../../../../uni_modules/uview-plus/libs/function/throttle.js");
  30. require("../../../../uni_modules/uview-plus/libs/config/props.js");
  31. require("../../../../uni_modules/uview-plus/libs/config/props/actionSheet.js");
  32. require("../../../../uni_modules/uview-plus/libs/config/props/album.js");
  33. require("../../../../uni_modules/uview-plus/libs/config/props/alert.js");
  34. require("../../../../uni_modules/uview-plus/libs/config/props/avatar.js");
  35. require("../../../../uni_modules/uview-plus/libs/config/props/avatarGroup.js");
  36. require("../../../../uni_modules/uview-plus/libs/config/props/backtop.js");
  37. require("../../../../uni_modules/uview-plus/libs/config/props/badge.js");
  38. require("../../../../uni_modules/uview-plus/libs/config/props/button.js");
  39. require("../../../../uni_modules/uview-plus/libs/config/props/calendar.js");
  40. require("../../../../uni_modules/uview-plus/libs/config/props/carKeyboard.js");
  41. require("../../../../uni_modules/uview-plus/libs/config/props/cell.js");
  42. require("../../../../uni_modules/uview-plus/libs/config/props/cellGroup.js");
  43. require("../../../../uni_modules/uview-plus/libs/config/props/checkbox.js");
  44. require("../../../../uni_modules/uview-plus/libs/config/props/checkboxGroup.js");
  45. require("../../../../uni_modules/uview-plus/libs/config/props/circleProgress.js");
  46. require("../../../../uni_modules/uview-plus/libs/config/props/code.js");
  47. require("../../../../uni_modules/uview-plus/libs/config/props/codeInput.js");
  48. require("../../../../uni_modules/uview-plus/libs/config/props/col.js");
  49. require("../../../../uni_modules/uview-plus/libs/config/props/collapse.js");
  50. require("../../../../uni_modules/uview-plus/libs/config/props/collapseItem.js");
  51. require("../../../../uni_modules/uview-plus/libs/config/props/columnNotice.js");
  52. require("../../../../uni_modules/uview-plus/libs/config/props/countDown.js");
  53. require("../../../../uni_modules/uview-plus/libs/config/props/countTo.js");
  54. require("../../../../uni_modules/uview-plus/libs/config/props/datetimePicker.js");
  55. require("../../../../uni_modules/uview-plus/libs/config/props/divider.js");
  56. require("../../../../uni_modules/uview-plus/libs/config/props/empty.js");
  57. require("../../../../uni_modules/uview-plus/libs/config/props/form.js");
  58. require("../../../../uni_modules/uview-plus/libs/config/props/formItem.js");
  59. require("../../../../uni_modules/uview-plus/libs/config/props/gap.js");
  60. require("../../../../uni_modules/uview-plus/libs/config/props/grid.js");
  61. require("../../../../uni_modules/uview-plus/libs/config/props/gridItem.js");
  62. require("../../../../uni_modules/uview-plus/libs/config/props/icon.js");
  63. require("../../../../uni_modules/uview-plus/libs/config/props/image.js");
  64. require("../../../../uni_modules/uview-plus/libs/config/props/indexAnchor.js");
  65. require("../../../../uni_modules/uview-plus/libs/config/props/indexList.js");
  66. require("../../../../uni_modules/uview-plus/libs/config/props/input.js");
  67. require("../../../../uni_modules/uview-plus/libs/config/props/keyboard.js");
  68. require("../../../../uni_modules/uview-plus/libs/config/props/line.js");
  69. require("../../../../uni_modules/uview-plus/libs/config/props/lineProgress.js");
  70. require("../../../../uni_modules/uview-plus/libs/config/props/link.js");
  71. require("../../../../uni_modules/uview-plus/libs/config/props/list.js");
  72. require("../../../../uni_modules/uview-plus/libs/config/props/listItem.js");
  73. require("../../../../uni_modules/uview-plus/libs/config/props/loadingIcon.js");
  74. require("../../../../uni_modules/uview-plus/libs/config/props/loadingPage.js");
  75. require("../../../../uni_modules/uview-plus/libs/config/props/loadmore.js");
  76. require("../../../../uni_modules/uview-plus/libs/config/props/modal.js");
  77. require("../../../../uni_modules/uview-plus/libs/config/props/navbar.js");
  78. require("../../../../uni_modules/uview-plus/libs/config/color.js");
  79. require("../../../../uni_modules/uview-plus/libs/config/props/noNetwork.js");
  80. require("../../../../uni_modules/uview-plus/libs/config/props/noticeBar.js");
  81. require("../../../../uni_modules/uview-plus/libs/config/props/notify.js");
  82. require("../../../../uni_modules/uview-plus/libs/config/props/numberBox.js");
  83. require("../../../../uni_modules/uview-plus/libs/config/props/numberKeyboard.js");
  84. require("../../../../uni_modules/uview-plus/libs/config/props/overlay.js");
  85. require("../../../../uni_modules/uview-plus/libs/config/props/parse.js");
  86. require("../../../../uni_modules/uview-plus/libs/config/props/picker.js");
  87. require("../../../../uni_modules/uview-plus/libs/config/props/popup.js");
  88. require("../../../../uni_modules/uview-plus/libs/config/props/radio.js");
  89. require("../../../../uni_modules/uview-plus/libs/config/props/radioGroup.js");
  90. require("../../../../uni_modules/uview-plus/libs/config/props/rate.js");
  91. require("../../../../uni_modules/uview-plus/libs/config/props/readMore.js");
  92. require("../../../../uni_modules/uview-plus/libs/config/props/row.js");
  93. require("../../../../uni_modules/uview-plus/libs/config/props/rowNotice.js");
  94. require("../../../../uni_modules/uview-plus/libs/config/props/scrollList.js");
  95. require("../../../../uni_modules/uview-plus/libs/config/props/search.js");
  96. require("../../../../uni_modules/uview-plus/libs/config/props/section.js");
  97. require("../../../../uni_modules/uview-plus/libs/config/props/skeleton.js");
  98. require("../../../../uni_modules/uview-plus/libs/config/props/slider.js");
  99. require("../../../../uni_modules/uview-plus/libs/config/props/statusBar.js");
  100. require("../../../../uni_modules/uview-plus/libs/config/props/steps.js");
  101. require("../../../../uni_modules/uview-plus/libs/config/props/stepsItem.js");
  102. require("../../../../uni_modules/uview-plus/libs/config/props/sticky.js");
  103. require("../../../../uni_modules/uview-plus/libs/config/props/subsection.js");
  104. require("../../../../uni_modules/uview-plus/libs/config/props/swipeAction.js");
  105. require("../../../../uni_modules/uview-plus/libs/config/props/swipeActionItem.js");
  106. require("../../../../uni_modules/uview-plus/libs/config/props/swiper.js");
  107. require("../../../../uni_modules/uview-plus/libs/config/props/swipterIndicator.js");
  108. require("../../../../uni_modules/uview-plus/libs/config/props/switch.js");
  109. require("../../../../uni_modules/uview-plus/libs/config/props/tabbar.js");
  110. require("../../../../uni_modules/uview-plus/libs/config/props/tabbarItem.js");
  111. require("../../../../uni_modules/uview-plus/libs/config/props/tabs.js");
  112. require("../../../../uni_modules/uview-plus/libs/config/props/tag.js");
  113. require("../../../../uni_modules/uview-plus/libs/config/props/text.js");
  114. require("../../../../uni_modules/uview-plus/libs/config/props/textarea.js");
  115. require("../../../../uni_modules/uview-plus/libs/config/props/toast.js");
  116. require("../../../../uni_modules/uview-plus/libs/config/props/toolbar.js");
  117. require("../../../../uni_modules/uview-plus/libs/config/props/tooltip.js");
  118. require("../../../../uni_modules/uview-plus/libs/config/props/transition.js");
  119. require("../../../../uni_modules/uview-plus/libs/config/props/upload.js");
  120. require("../../../../uni_modules/uview-plus/libs/config/zIndex.js");
  121. require("../../../../uni_modules/uview-plus/libs/function/platform.js");
  122. const _sfc_main = {
  123. __name: "select1",
  124. setup(__props) {
  125. const counterStore = store_index.userStore();
  126. let houseList = common_vendor.ref([]);
  127. async function houseTreeFn() {
  128. console.log("没有请求吗、");
  129. const { data: res } = await config_api.houseTree();
  130. res.forEach((item) => {
  131. houseList.value.push(item.root);
  132. });
  133. console.log(res);
  134. console.log(houseList.value);
  135. }
  136. function chooseItem(item) {
  137. counterStore.upDateHouse("communityId", item.communityId);
  138. counterStore.upDateHouse("communityName", item.communityName);
  139. common_vendor.index.navigateTo({
  140. url: "/pages/subPage/authentication/comp/select2"
  141. });
  142. }
  143. houseTreeFn();
  144. return (_ctx, _cache) => {
  145. return {
  146. a: common_vendor.f(common_vendor.unref(houseList), (item, index, i0) => {
  147. return {
  148. a: common_vendor.t(item.communityName),
  149. b: index,
  150. c: common_vendor.o(($event) => chooseItem(item), index)
  151. };
  152. })
  153. };
  154. };
  155. }
  156. };
  157. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-16c8851c"], ["__file", "D:/work/xinjiangMiniProgram/pages/subPage/authentication/comp/select1.vue"]]);
  158. wx.createPage(MiniProgramPage);