home.js 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/home/home"],{
  2. /***/ 79:
  3. /*!*************************************************************!*\
  4. !*** D:/66/66applet/main.js?{"page":"pages%2Fhome%2Fhome"} ***!
  5. \*************************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. /* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
  10. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
  11. var _home = _interopRequireDefault(__webpack_require__(/*! ./pages/home/home.vue */ 80));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
  12. createPage(_home.default);
  13. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
  14. /***/ }),
  15. /***/ 80:
  16. /*!******************************************!*\
  17. !*** D:/66/66applet/pages/home/home.vue ***!
  18. \******************************************/
  19. /*! no static exports found */
  20. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  21. "use strict";
  22. __webpack_require__.r(__webpack_exports__);
  23. /* harmony import */ var _home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./home.vue?vue&type=template&id=92bb8f34& */ 81);
  24. /* harmony import */ var _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./home.vue?vue&type=script&lang=js& */ 83);
  25. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  26. /* harmony import */ var _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
  27. var renderjs
  28. /* normalize component */
  29. var component = Object(_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
  30. _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  31. _home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["render"],
  32. _home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  33. false,
  34. null,
  35. null,
  36. null,
  37. false,
  38. _home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["components"],
  39. renderjs
  40. )
  41. component.options.__file = "pages/home/home.vue"
  42. /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  43. /***/ }),
  44. /***/ 81:
  45. /*!*************************************************************************!*\
  46. !*** D:/66/66applet/pages/home/home.vue?vue&type=template&id=92bb8f34& ***!
  47. \*************************************************************************/
  48. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  49. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  50. "use strict";
  51. __webpack_require__.r(__webpack_exports__);
  52. /* harmony import */ var _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=template&id=92bb8f34& */ 82);
  53. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  54. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  55. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
  56. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["components"]; });
  57. /***/ }),
  58. /***/ 82:
  59. /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  60. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/66/66applet/pages/home/home.vue?vue&type=template&id=92bb8f34& ***!
  61. \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  62. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  63. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  64. "use strict";
  65. __webpack_require__.r(__webpack_exports__);
  66. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  67. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  68. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
  69. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
  70. var components
  71. var render = function() {
  72. var _vm = this
  73. var _h = _vm.$createElement
  74. var _c = _vm._self._c || _h
  75. }
  76. var recyclableRender = false
  77. var staticRenderFns = []
  78. render._withStripped = true
  79. /***/ }),
  80. /***/ 83:
  81. /*!*******************************************************************!*\
  82. !*** D:/66/66applet/pages/home/home.vue?vue&type=script&lang=js& ***!
  83. \*******************************************************************/
  84. /*! no static exports found */
  85. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  86. "use strict";
  87. __webpack_require__.r(__webpack_exports__);
  88. /* harmony import */ var _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../迅雷下载/HBuilderX.3.1.12.20210428.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js& */ 84);
  89. /* harmony import */ var _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  90. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  91. /* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_3_1_12_20210428_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
  92. /***/ }),
  93. /***/ 84:
  94. /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  95. !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/66/66applet/pages/home/home.vue?vue&type=script&lang=js& ***!
  96. \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  97. /*! no static exports found */
  98. /***/ (function(module, exports, __webpack_require__) {
  99. "use strict";
  100. /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
  101. var _home = __webpack_require__(/*! ../../api/home */ 85); //
  102. //
  103. //
  104. //
  105. //
  106. //
  107. var _default =
  108. {
  109. data: function data() {
  110. return {
  111. url: 'http://192.168.0.215:9588',
  112. followSize: '',
  113. servicesSize: '',
  114. sweepCodebth: false,
  115. redData: {},
  116. experienceCard: '',
  117. redEnvelopes: false,
  118. marketingShopInfo: {},
  119. snapUpItem: {},
  120. featureItemlists: [],
  121. vipCardList: [],
  122. hotItemlist: [],
  123. newItemlist: [],
  124. voucherList: [],
  125. orderManagerList: [],
  126. scoreList: [],
  127. groupItem: {},
  128. demo01_index: 1,
  129. yishouXianliang: 0,
  130. show: false,
  131. loadings: false,
  132. title: '恭喜',
  133. text: '加载中',
  134. memberItemList: [],
  135. demo01_list: [],
  136. openTeSe: true,
  137. needdata: '',
  138. options: {
  139. orderTime: '' },
  140. items: [
  141. { key: '资质认证' },
  142. { key: '优质商家' },
  143. { key: '品质保证' },
  144. { key: '品质保障' }],
  145. percent1: 0,
  146. // 门店信息
  147. marketingInfo: {},
  148. popupSHow: false,
  149. defaultImg: __webpack_require__(/*! ../../static/homeImg/pic_def.png */ 86),
  150. defaultImg2: __webpack_require__(/*! ../../static/homeImg/pic_def2.png */ 87) };
  151. },
  152. onLoad: function onLoad() {
  153. var that = this;
  154. var params = { lat: '', lng: '' };
  155. uni.getLocation({
  156. type: 'wgs84',
  157. geocode: true, //设置该参数为true可直接获取经纬度及城市信息
  158. success: function success(res) {
  159. console.log(res);
  160. params.lat = res.latitude;
  161. params.lng = res.longitude;
  162. that.init(params);
  163. },
  164. fail: function fail() {
  165. params.lat = res.latitude;
  166. params.lng = res.longitude;
  167. that.init(params);
  168. } });
  169. //console.log(this.$request.fetchGet)
  170. /* this.$request.fetchGet('home/getFeatureItemList', {
  171. }).then(res => {
  172. })
  173. getFeatureItemList().then(res => {
  174. }) */
  175. },
  176. methods: {
  177. init: function init(params) {var _this = this;
  178. //alert(params.shopId)
  179. this.loadings = true;
  180. (0, _home.initGet)(params).then(function (res) {
  181. _this.loadings = false;
  182. _this.needdata = res.data;
  183. //return false
  184. _this.experienceCard = res.data.experienceCard;
  185. // 头部部分 门店信息
  186. _this.marketingShopInfo = res.data.marketingShopInfo;
  187. // 轮播图
  188. _this.demo01_list = [];
  189. if (_this.marketingShopInfo.shopPhotos) {
  190. _this.marketingShopInfo.shopPhotos.forEach(function (item) {
  191. _this.demo01_list.push({
  192. url: 'javascript:',
  193. img: item.photoPath });
  194. });
  195. }
  196. if (_this.marketingShopInfo.shopPhotos.length == 0) {
  197. _this.demo01_list.push({
  198. url: 'javascript:',
  199. img: 'http://phone.66km.cn:8088/thFiles/1175E99A-BB94-43CC-8B00-7E3ECA8EB355.png' });
  200. }
  201. /* this.demo01_list.push({
  202. url: 'javascript:',
  203. img: 'http://phone.66km.cn:8088/marketing/8EF7F827-91E3-4A51-8244-21DA15FDA34E.jpeg'
  204. }) */
  205. // 限量抢购(1个)
  206. if (res.data.snapUpItem) {
  207. _this.snapUpItem = res.data.snapUpItem;
  208. // 已售的 百分数
  209. if (_this.snapUpItem.buyCount < 0) {
  210. _this.snapUpItem.buyCount = -_this.snapUpItem.buyCount;
  211. }
  212. _this.yishouXianliang = (_this.snapUpItem.buyCount / _this.snapUpItem.count).toFixed(2) * 100;
  213. _this.percent1 = (_this.snapUpItem.buyCount / _this.snapUpItem.count).toFixed(2) * 100 || 0;
  214. }
  215. // 特色项目列表
  216. if (res.data.featureItemlist && res.data.featureItemlist.length) {
  217. _this.featureItemlists = res.data.featureItemlist;
  218. }
  219. // vip 会员卡
  220. if (res.data.vipCardList && res.data.vipCardList.length) {
  221. _this.vipCardList = res.data.vipCardList;
  222. }
  223. // 热门项目
  224. if (res.data.hotItemlist && res.data.hotItemlist.length) {
  225. _this.hotItemlist = res.data.hotItemlist;
  226. }
  227. // 最新项目
  228. if (res.data.newItemlist && res.data.newItemlist.length) {
  229. _this.newItemlist = res.data.newItemlist;
  230. }
  231. // 领取优惠
  232. if (res.data.voucherList && res.data.voucherList.length) {
  233. _this.voucherList = res.data.voucherList;
  234. _this.voucherList.forEach(function (item) {
  235. _this.$set(item, 'nowlingqu', '立即领取');
  236. });
  237. }
  238. // 拼团活动
  239. if (res.data.groupItem) {
  240. _this.groupItem = res.data.groupItem;
  241. }
  242. // 顾客评价
  243. if (res.data.scoreList && res.data.scoreList.length) {
  244. _this.scoreList = res.data.scoreList;
  245. }
  246. if (res.data.orderManagerList && res.data.orderManagerList.length) {
  247. _this.orderManagerList = res.data.orderManagerList;
  248. }
  249. _this.followSize = res.data.followSize;
  250. _this.servicesSize = res.data.servicesSize;
  251. // 会员专区
  252. if (res.data.memberItemList && res.data.memberItemList.length) {
  253. _this.memberItemList = res.data.memberItemList;
  254. }
  255. if (res.data.noHaveRedEnvelopesFlag === '1') {
  256. _this.redEnvelopes = true;
  257. var json = {
  258. redEnvelopesId: res.data.redEnvelopesId };
  259. // this.redData = {
  260. // redEnvelopesId: '0C6BD78E-AE07-4D4C-96FF-69A3986980F2'
  261. // }
  262. (0, _home.setRedPageNum)(json).then(function (res) {
  263. if (!res.code) {
  264. _this.redData = res.data;
  265. }
  266. // console.log(this.redData )
  267. }).catch(function (err) {
  268. console.log(err);
  269. });
  270. }
  271. // this.$refs.viewBox.scrollTo(this.$store.state.user.SetScrollTop)
  272. }).catch(function (err) {
  273. _this.loadings = false;
  274. console.log(err);
  275. });
  276. } } };exports.default = _default;
  277. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
  278. /***/ })
  279. },[[79,"common/runtime","common/vendor"]]]);
  280. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/home.js.map