1208 lines
74 KiB
JavaScript
1208 lines
74 KiB
JavaScript
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/home/home"],{
|
|||
|
|
|
|||
|
|
/***/ 77:
|
|||
|
|
/*!********************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/main.js?{"page":"pages%2Fhome%2Fhome"} ***!
|
|||
|
|
\********************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
|||
|
|
|
|||
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|||
|
|
__webpack_require__(/*! uni-pages */ 30);
|
|||
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
|||
|
|
var _home = _interopRequireDefault(__webpack_require__(/*! ./pages/home/home.vue */ 78));
|
|||
|
|
// @ts-ignore
|
|||
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|||
|
|
createPage(_home.default);
|
|||
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 78:
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue ***!
|
|||
|
|
\*************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
|
/* harmony import */ var _home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./home.vue?vue&type=template&id=92bb8f34& */ 79);
|
|||
|
|
/* harmony import */ var _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./home.vue?vue&type=script&lang=js& */ 81);
|
|||
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (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__));
|
|||
|
|
/* harmony import */ var _home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./home.vue?vue&type=style&index=0&lang=scss& */ 83);
|
|||
|
|
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
|
|||
|
|
|
|||
|
|
var renderjs
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* normalize component */
|
|||
|
|
|
|||
|
|
var component = Object(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|||
|
|
_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|||
|
|
_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|||
|
|
_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|||
|
|
false,
|
|||
|
|
null,
|
|||
|
|
null,
|
|||
|
|
null,
|
|||
|
|
false,
|
|||
|
|
_home_vue_vue_type_template_id_92bb8f34___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|||
|
|
renderjs
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
component.options.__file = "pages/home/home.vue"
|
|||
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 79:
|
|||
|
|
/*!********************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue?vue&type=template&id=92bb8f34& ***!
|
|||
|
|
\********************************************************************************************************/
|
|||
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
|
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=template&id=92bb8f34& */ 80);
|
|||
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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"]; });
|
|||
|
|
|
|||
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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"]; });
|
|||
|
|
|
|||
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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"]; });
|
|||
|
|
|
|||
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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"]; });
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 80:
|
|||
|
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|||
|
|
!*** ./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--17-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!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue?vue&type=template&id=92bb8f34& ***!
|
|||
|
|
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|||
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|||
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|||
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
|||
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
|||
|
|
var components
|
|||
|
|
var render = function () {
|
|||
|
|
var _vm = this
|
|||
|
|
var _h = _vm.$createElement
|
|||
|
|
var _c = _vm._self._c || _h
|
|||
|
|
var g0 =
|
|||
|
|
_vm.classModel == 1 && _vm.recruitObj.state == 1
|
|||
|
|
? _vm.serviceIconList.length
|
|||
|
|
: null
|
|||
|
|
var g1 =
|
|||
|
|
_vm.classModel == 1 && _vm.recruitObj.state == 1
|
|||
|
|
? _vm.serviceIconList.length
|
|||
|
|
: null
|
|||
|
|
var g2 = _vm.teamBuyList.length
|
|||
|
|
_vm.$mp.data = Object.assign(
|
|||
|
|
{},
|
|||
|
|
{
|
|||
|
|
$root: {
|
|||
|
|
g0: g0,
|
|||
|
|
g1: g1,
|
|||
|
|
g2: g2,
|
|||
|
|
},
|
|||
|
|
}
|
|||
|
|
)
|
|||
|
|
}
|
|||
|
|
var recyclableRender = false
|
|||
|
|
var staticRenderFns = []
|
|||
|
|
render._withStripped = true
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 81:
|
|||
|
|
/*!**************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue?vue&type=script&lang=js& ***!
|
|||
|
|
\**************************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
|
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js& */ 82);
|
|||
|
|
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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__);
|
|||
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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__));
|
|||
|
|
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_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);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 82:
|
|||
|
|
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|||
|
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue?vue&type=script&lang=js& ***!
|
|||
|
|
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
/* WEBPACK VAR INJECTION */(function(uni, wx) {
|
|||
|
|
|
|||
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|||
|
|
Object.defineProperty(exports, "__esModule", {
|
|||
|
|
value: true
|
|||
|
|
});
|
|||
|
|
exports.default = void 0;
|
|||
|
|
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 34));
|
|||
|
|
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
|
|||
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 36));
|
|||
|
|
var _request = _interopRequireDefault(__webpack_require__(/*! ../../utils/request */ 37));
|
|||
|
|
var TabBar = function TabBar() {
|
|||
|
|
__webpack_require__.e(/*! require.ensure | components/tabbar/tabbar */ "components/tabbar/tabbar").then((function () {
|
|||
|
|
return resolve(__webpack_require__(/*! @/components/tabbar/tabbar.vue */ 1395));
|
|||
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|||
|
|
};
|
|||
|
|
var hotCard = function hotCard() {
|
|||
|
|
__webpack_require__.e(/*! require.ensure | components/hot-card/hot-card */ "components/hot-card/hot-card").then((function () {
|
|||
|
|
return resolve(__webpack_require__(/*! @/components/hot-card/hot-card.vue */ 1402));
|
|||
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|||
|
|
};
|
|||
|
|
var serviceCard = function serviceCard() {
|
|||
|
|
__webpack_require__.e(/*! require.ensure | pages/home/components/serviceCard */ "pages/home/components/serviceCard").then((function () {
|
|||
|
|
return resolve(__webpack_require__(/*! ./components/serviceCard.vue */ 1409));
|
|||
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|||
|
|
};
|
|||
|
|
var syrCard = function syrCard() {
|
|||
|
|
__webpack_require__.e(/*! require.ensure | pages/home/components/syrCard */ "pages/home/components/syrCard").then((function () {
|
|||
|
|
return resolve(__webpack_require__(/*! ./components/syrCard.vue */ 1416));
|
|||
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|||
|
|
};
|
|||
|
|
var sjCard = function sjCard() {
|
|||
|
|
__webpack_require__.e(/*! require.ensure | pages/home/components/sjCard */ "pages/home/components/sjCard").then((function () {
|
|||
|
|
return resolve(__webpack_require__(/*! ./components/sjCard.vue */ 1423));
|
|||
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|||
|
|
};
|
|||
|
|
var _default = {
|
|||
|
|
components: {
|
|||
|
|
serviceCard: serviceCard,
|
|||
|
|
hotCard: hotCard,
|
|||
|
|
syrCard: syrCard,
|
|||
|
|
sjCard: sjCard,
|
|||
|
|
TabBar: TabBar
|
|||
|
|
},
|
|||
|
|
data: function data() {
|
|||
|
|
return {
|
|||
|
|
activity: null,
|
|||
|
|
//转盘活动数组
|
|||
|
|
reserves: {
|
|||
|
|
8: "",
|
|||
|
|
9: "",
|
|||
|
|
10: "",
|
|||
|
|
12: "",
|
|||
|
|
13: "",
|
|||
|
|
14: ""
|
|||
|
|
},
|
|||
|
|
classBg: "",
|
|||
|
|
classModel: "1",
|
|||
|
|
//分类样式1 大小图模式 2相同图模式
|
|||
|
|
bgColor: "",
|
|||
|
|
check_cloor: "#e8101e",
|
|||
|
|
no_check_cloor: "#333333",
|
|||
|
|
abilityImg: [],
|
|||
|
|
topBgImage: "/static/images/home/topbgimage.png",
|
|||
|
|
// address: '请开启位置权限',
|
|||
|
|
address: "黄骅市人民政府",
|
|||
|
|
granted: false,
|
|||
|
|
isEnabled: "",
|
|||
|
|
serviceIconAll: [],
|
|||
|
|
serviceIconList: [],
|
|||
|
|
recruitObj: [],
|
|||
|
|
//招聘信息
|
|||
|
|
SelfState: 2,
|
|||
|
|
//自营专区开关状态1开方 2不开放
|
|||
|
|
cardNum: 0,
|
|||
|
|
nowCardI: 0,
|
|||
|
|
bannerList: [],
|
|||
|
|
syrserverlist: [],
|
|||
|
|
isLoading: true,
|
|||
|
|
hotList: [],
|
|||
|
|
isRefreshing: false,
|
|||
|
|
navActive: 2,
|
|||
|
|
// 默认到家精选
|
|||
|
|
latitude: "38.366667",
|
|||
|
|
longitude: "117.333333",
|
|||
|
|
shopList: [],
|
|||
|
|
syrList: [],
|
|||
|
|
servers_region: "河北省-沧州市-黄骅市",
|
|||
|
|
tips: "加载中",
|
|||
|
|
isNeedLocation: true,
|
|||
|
|
// 是否需要检查定位
|
|||
|
|
isCheckingLocation: false,
|
|||
|
|
// 是否开始检查定位
|
|||
|
|
hasCheckedLocation: false,
|
|||
|
|
// 是否已经检查过定位
|
|||
|
|
queryData: {
|
|||
|
|
page: 1,
|
|||
|
|
limit: 4
|
|||
|
|
},
|
|||
|
|
isShowPer: false,
|
|||
|
|
// 是否显示权限说明
|
|||
|
|
teamBuyList: [] // 拼团列表
|
|||
|
|
};
|
|||
|
|
},
|
|||
|
|
onLoad: function onLoad() {
|
|||
|
|
uni.hideTabBar();
|
|||
|
|
var that = this;
|
|||
|
|
//获取网络状态,存储是否开启网络
|
|||
|
|
var isnNetwork;
|
|||
|
|
isnNetwork = wx.getStorageSync("isnNetwork");
|
|||
|
|
if (isnNetwork) {
|
|||
|
|
that.getActivity();
|
|||
|
|
that.getLocationCont();
|
|||
|
|
that.getTopBgImage();
|
|||
|
|
that.getHeadImgBatch();
|
|||
|
|
} else {
|
|||
|
|
uni.getNetworkType({
|
|||
|
|
success: function success(res) {
|
|||
|
|
console.log(res.networkType);
|
|||
|
|
if (res.networkType == "none") {
|
|||
|
|
//监听网络变化
|
|||
|
|
uni.onNetworkStatusChange(function (res) {
|
|||
|
|
console.log(res.isConnected);
|
|||
|
|
console.log(res.networkType);
|
|||
|
|
if (res.isConnected) {
|
|||
|
|
// 页面加载逻辑
|
|||
|
|
that.getActivity();
|
|||
|
|
that.getLocationCont();
|
|||
|
|
that.getTopBgImage();
|
|||
|
|
that.getHeadImgBatch();
|
|||
|
|
uni.offNetworkStatusChange(function () {});
|
|||
|
|
uni.setStorageSync("isnNetwork", 1);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
} else {
|
|||
|
|
// 页面加载逻辑
|
|||
|
|
that.getActivity();
|
|||
|
|
that.getLocationCont();
|
|||
|
|
that.getTopBgImage();
|
|||
|
|
that.getHeadImgBatch();
|
|||
|
|
uni.setStorageSync("isnNetwork", 1);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
onPullDownRefresh: function onPullDownRefresh() {
|
|||
|
|
this.queryData.page = 1;
|
|||
|
|
this.getCont();
|
|||
|
|
if (this.longitude != "" && this.latitude != "") {
|
|||
|
|
this.getTeamBuy();
|
|||
|
|
}
|
|||
|
|
//刷新自营
|
|||
|
|
var addressRes = uni.getStorageSync("userAdrees") || getApp().globalData.addressRes;
|
|||
|
|
this.getSelfState(addressRes);
|
|||
|
|
this.getActivity();
|
|||
|
|
},
|
|||
|
|
onReachBottom: function onReachBottom() {
|
|||
|
|
if (!this.isLoading) return;
|
|||
|
|
this.queryData.page = this.queryData.page + 1;
|
|||
|
|
this.getBottomList();
|
|||
|
|
},
|
|||
|
|
onShow: function onShow() {
|
|||
|
|
//如果有经纬度刷新拼团列表
|
|||
|
|
if (this.longitude != "" && this.latitude != "") {
|
|||
|
|
this.getTeamBuy();
|
|||
|
|
}
|
|||
|
|
//刷新自营
|
|||
|
|
// let addressRes = uni.getStorageSync("userAdrees") || getApp().globalData.addressRes;
|
|||
|
|
// this.getSelfState(addressRes)
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
watch: {
|
|||
|
|
address: function address(newVal, oldVal) {
|
|||
|
|
if (newVal !== oldVal) {
|
|||
|
|
//刷新自营
|
|||
|
|
var addressRes = uni.getStorageSync("userAdrees") || getApp().globalData.addressRes;
|
|||
|
|
this.getSelfState(addressRes);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
methods: {
|
|||
|
|
// async getActivityDetails(id) {
|
|||
|
|
// await request.post("/user/lottery/getActivityDetails", {
|
|||
|
|
// id: id
|
|||
|
|
// }).then(async (res) => {
|
|||
|
|
// if (res.code == 200) {
|
|||
|
|
// let url = await this.getImagePath(res.data.back_img)
|
|||
|
|
// console.log(111111,url)
|
|||
|
|
// }
|
|||
|
|
// });
|
|||
|
|
// },
|
|||
|
|
getActivity: function getActivity() {
|
|||
|
|
var _this = this;
|
|||
|
|
_request.default.post("/user/lottery/getActivity").then(function (res) {
|
|||
|
|
if (res.code == 200) {
|
|||
|
|
_this.activity = res.data;
|
|||
|
|
_this.getImagePath([res.data.back_img, res.data.lottery_img]);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
goLottery: function goLottery() {
|
|||
|
|
var isLogin = uni.getStorageSync('accessToken') ? true : false;
|
|||
|
|
if (!isLogin) {
|
|||
|
|
uni.showModal({
|
|||
|
|
title: '登录提醒',
|
|||
|
|
content: '您暂未登录,无法使用抽奖功能,是否前去登录?',
|
|||
|
|
confirmColor: '#F1AC66',
|
|||
|
|
success: function success(e) {
|
|||
|
|
if (e.confirm) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: '/pages/blogPopup/blogPopup'
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
;
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/lottery/index?activity_id=".concat(this.activity.id)
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
//批量获取图片
|
|||
|
|
getHeadImgBatch: function getHeadImgBatch() {
|
|||
|
|
var _this2 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|||
|
|
var defalut, ids, res, _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6;
|
|||
|
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context.prev = _context.next) {
|
|||
|
|
case 0:
|
|||
|
|
defalut = {
|
|||
|
|
8: "/static/images/tab/reserve1.png",
|
|||
|
|
9: "/static/images/tab/reserve2.png",
|
|||
|
|
10: "/static/images/tab/reserve3.png",
|
|||
|
|
12: "/static/images/shop/pintuan/tjt.png",
|
|||
|
|
13: "/static/images/shop/pintuan/bottomBj.png",
|
|||
|
|
14: "/static/images/shop/pintuan/bj3.png"
|
|||
|
|
};
|
|||
|
|
ids = "8,9,10,12,13,14";
|
|||
|
|
_context.prev = 2;
|
|||
|
|
_context.next = 5;
|
|||
|
|
return _request.default.post("/user/poster/getHeadImgBatch", {
|
|||
|
|
ids: ids
|
|||
|
|
});
|
|||
|
|
case 5:
|
|||
|
|
res = _context.sent;
|
|||
|
|
if (res.code == 200) {
|
|||
|
|
_this2.reserves[8] = ((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list[8]) || defalut[8];
|
|||
|
|
_this2.reserves[9] = ((_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list[9]) || defalut[9];
|
|||
|
|
_this2.reserves[10] = ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.list[10]) || defalut[10];
|
|||
|
|
_this2.reserves[12] = ((_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.list[12]) || defalut[12];
|
|||
|
|
_this2.reserves[13] = ((_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.list[13]) || defalut[13];
|
|||
|
|
_this2.reserves[14] = ((_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.list[14]) || defalut[14];
|
|||
|
|
} else {
|
|||
|
|
_this2.reserves = defalut;
|
|||
|
|
}
|
|||
|
|
_context.next = 12;
|
|||
|
|
break;
|
|||
|
|
case 9:
|
|||
|
|
_context.prev = 9;
|
|||
|
|
_context.t0 = _context["catch"](2);
|
|||
|
|
_this2.reserves = defalut;
|
|||
|
|
case 12:
|
|||
|
|
case "end":
|
|||
|
|
return _context.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee, null, [[2, 9]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
goRecruit: function goRecruit() {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/recruit/recruit"
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
//获取头部背景图片
|
|||
|
|
getTopBgImage: function getTopBgImage() {
|
|||
|
|
var _this3 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|||
|
|
var res, _res$data7, _res$data9, _res$data11, _res$data13, _res$data8, _res$data10, _res$data12, _res$data14;
|
|||
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context2.prev = _context2.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context2.next = 2;
|
|||
|
|
return _request.default.post("/user/getHeadImg", {});
|
|||
|
|
case 2:
|
|||
|
|
res = _context2.sent;
|
|||
|
|
if (res.code == 200) {
|
|||
|
|
if ((_res$data7 = res.data) !== null && _res$data7 !== void 0 && _res$data7.photo) {
|
|||
|
|
_this3.topBgImage = ((_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.photo) + '?time=666';
|
|||
|
|
}
|
|||
|
|
if ((_res$data9 = res.data) !== null && _res$data9 !== void 0 && _res$data9.back_cloor) {
|
|||
|
|
_this3.bgColor = (_res$data10 = res.data) === null || _res$data10 === void 0 ? void 0 : _res$data10.back_cloor;
|
|||
|
|
}
|
|||
|
|
if ((_res$data11 = res.data) !== null && _res$data11 !== void 0 && _res$data11.check_cloor) {
|
|||
|
|
_this3.check_cloor = (_res$data12 = res.data) === null || _res$data12 === void 0 ? void 0 : _res$data12.check_cloor;
|
|||
|
|
}
|
|||
|
|
if ((_res$data13 = res.data) !== null && _res$data13 !== void 0 && _res$data13.no_check_cloor) {
|
|||
|
|
_this3.no_check_cloor = (_res$data14 = res.data) === null || _res$data14 === void 0 ? void 0 : _res$data14.no_check_cloor;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
case 4:
|
|||
|
|
case "end":
|
|||
|
|
return _context2.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee2);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
//跳转到拼团详情页面
|
|||
|
|
goGroupDetail: function goGroupDetail(id) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/groupBuy/detail?id=".concat(id)
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
//跳转到拼团列表页面
|
|||
|
|
goGroupBuy: function goGroupBuy() {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/groupBuy/list"
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
//获取拼团列表
|
|||
|
|
getTeamBuy: function getTeamBuy() {
|
|||
|
|
var _this4 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|||
|
|
var queryData;
|
|||
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context3.prev = _context3.next) {
|
|||
|
|
case 0:
|
|||
|
|
queryData = {
|
|||
|
|
userLngz: _this4.longitude,
|
|||
|
|
userLat: _this4.latitude,
|
|||
|
|
page: 1,
|
|||
|
|
limit: 3
|
|||
|
|
};
|
|||
|
|
_context3.next = 3;
|
|||
|
|
return _request.default.post("/user/teamBuy/list", queryData).then(function (res) {
|
|||
|
|
_this4.teamBuyList = res.data;
|
|||
|
|
});
|
|||
|
|
case 3:
|
|||
|
|
case "end":
|
|||
|
|
return _context3.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee3);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 将角度转换为弧度
|
|||
|
|
rad: function rad(d) {
|
|||
|
|
return d * Math.PI / 180;
|
|||
|
|
},
|
|||
|
|
//计算两点间距离
|
|||
|
|
getDistance: function getDistance(lat1, lng1, lat2, lng2) {
|
|||
|
|
var kilometreFlag = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|||
|
|
// 将经纬度从角度转换为弧度
|
|||
|
|
var radLat1 = this.rad(lat1);
|
|||
|
|
var radLat2 = this.rad(lat2);
|
|||
|
|
|
|||
|
|
// 计算纬度和经度的差值(弧度)
|
|||
|
|
var a = radLat1 - radLat2;
|
|||
|
|
var b = this.rad(lng1) - this.rad(lng2);
|
|||
|
|
|
|||
|
|
// 使用哈弗辛公式计算两点间的球面距离
|
|||
|
|
var s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2)));
|
|||
|
|
|
|||
|
|
// 乘以地球半径(6378.137公里)得到距离(公里)
|
|||
|
|
s = s * 6378.137;
|
|||
|
|
|
|||
|
|
// 根据单位标识返回不同单位和精度的结果
|
|||
|
|
if (kilometreFlag) {
|
|||
|
|
// 返回公里单位,保留1位小数
|
|||
|
|
s = s.toFixed(1) + "km";
|
|||
|
|
} else {
|
|||
|
|
// 返回米单位,四舍五入取整
|
|||
|
|
s = Math.round(s * 1000).toFixed(0) + "m";
|
|||
|
|
}
|
|||
|
|
return s;
|
|||
|
|
},
|
|||
|
|
navigator: function navigator(url) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: url
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
//坐标转换
|
|||
|
|
convert: function convert(item) {
|
|||
|
|
var data = {
|
|||
|
|
key: "30b7eb1a1b2f88edc085b9b3ee9a2188",
|
|||
|
|
locations: "".concat(item.longitude, ",").concat(item.latitude),
|
|||
|
|
coordsys: "gps"
|
|||
|
|
};
|
|||
|
|
return new Promise(function (resolve, reject) {
|
|||
|
|
uni.request({
|
|||
|
|
url: "https://restapi.amap.com/v3/assistant/coordinate/convert",
|
|||
|
|
method: "GET",
|
|||
|
|
data: data,
|
|||
|
|
success: function success(res) {
|
|||
|
|
resolve(res.data);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
getLocation: function getLocation() {
|
|||
|
|
var _this5 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|||
|
|
var that, userAdrees;
|
|||
|
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context6.prev = _context6.next) {
|
|||
|
|
case 0:
|
|||
|
|
that = _this5;
|
|||
|
|
userAdrees = uni.getStorageSync("userAdrees");
|
|||
|
|
try {
|
|||
|
|
if (uni.getStorageSync('setVersion').DeviceBrand == 'ios') {
|
|||
|
|
uni.getLocation({
|
|||
|
|
type: 'wgs84',
|
|||
|
|
geocode: true,
|
|||
|
|
isHighAccuracy: true,
|
|||
|
|
success: function () {
|
|||
|
|
var _success = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(res) {
|
|||
|
|
var convert, locations;
|
|||
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context4.prev = _context4.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context4.next = 2;
|
|||
|
|
return that.convert(res);
|
|||
|
|
case 2:
|
|||
|
|
convert = _context4.sent;
|
|||
|
|
locations = convert.locations.split(',');
|
|||
|
|
res.longitude = locations[0];
|
|||
|
|
res.latitude = locations[1];
|
|||
|
|
_context4.next = 8;
|
|||
|
|
return that.getAddress(res);
|
|||
|
|
case 8:
|
|||
|
|
uni.setStorageSync("isLocation", true);
|
|||
|
|
case 9:
|
|||
|
|
case "end":
|
|||
|
|
return _context4.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee4);
|
|||
|
|
}));
|
|||
|
|
function success(_x) {
|
|||
|
|
return _success.apply(this, arguments);
|
|||
|
|
}
|
|||
|
|
return success;
|
|||
|
|
}(),
|
|||
|
|
fail: function fail(err) {
|
|||
|
|
console.log(err);
|
|||
|
|
uni.setStorageSync("isLocation", false);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
} else {
|
|||
|
|
uni.getLocation({
|
|||
|
|
type: 'gcj02',
|
|||
|
|
geocode: true,
|
|||
|
|
success: function () {
|
|||
|
|
var _success2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(res) {
|
|||
|
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context5.prev = _context5.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context5.next = 2;
|
|||
|
|
return that.getAddress(res);
|
|||
|
|
case 2:
|
|||
|
|
uni.setStorageSync("isLocation", true);
|
|||
|
|
case 3:
|
|||
|
|
case "end":
|
|||
|
|
return _context5.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee5);
|
|||
|
|
}));
|
|||
|
|
function success(_x2) {
|
|||
|
|
return _success2.apply(this, arguments);
|
|||
|
|
}
|
|||
|
|
return success;
|
|||
|
|
}(),
|
|||
|
|
fail: function fail(err) {
|
|||
|
|
console.log(err);
|
|||
|
|
uni.setStorageSync("isLocation", false);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
} catch (err) {
|
|||
|
|
console.log("err", err);
|
|||
|
|
} finally {}
|
|||
|
|
case 3:
|
|||
|
|
case "end":
|
|||
|
|
return _context6.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee6);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
//改变address的值
|
|||
|
|
getAddress: function getAddress(item) {
|
|||
|
|
var _this6 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|||
|
|
var that, data;
|
|||
|
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context7.prev = _context7.next) {
|
|||
|
|
case 0:
|
|||
|
|
that = _this6;
|
|||
|
|
data = {
|
|||
|
|
key: '30b7eb1a1b2f88edc085b9b3ee9a2188',
|
|||
|
|
location: "".concat(item.longitude, ",").concat(item.latitude),
|
|||
|
|
page: 1,
|
|||
|
|
offset: 1
|
|||
|
|
};
|
|||
|
|
_context7.next = 4;
|
|||
|
|
return uni.request({
|
|||
|
|
url: 'https://restapi.amap.com/v5/place/around',
|
|||
|
|
method: "GET",
|
|||
|
|
data: data,
|
|||
|
|
success: function success(res) {
|
|||
|
|
var nowCity = res.data.pois[0];
|
|||
|
|
if (nowCity) {
|
|||
|
|
var searchCity = {
|
|||
|
|
'center': nowCity.location,
|
|||
|
|
'name': nowCity.cityname
|
|||
|
|
};
|
|||
|
|
that.city = searchCity;
|
|||
|
|
uni.setStorageSync('searchCity', searchCity);
|
|||
|
|
}
|
|||
|
|
that.updateAddress(nowCity);
|
|||
|
|
getApp().updateAddress(nowCity);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
case 4:
|
|||
|
|
case "end":
|
|||
|
|
return _context7.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee7);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
updateAddress: function updateAddress(item) {
|
|||
|
|
var location = item.location.split(",");
|
|||
|
|
this.latitude = location[1];
|
|||
|
|
this.longitude = location[0];
|
|||
|
|
this.address = item.name;
|
|||
|
|
this.servers_region = "".concat(item.pname, "-").concat(item.cityname, "-").concat(item.adname);
|
|||
|
|
this.getCont();
|
|||
|
|
},
|
|||
|
|
getLocationCont: function getLocationCont() {
|
|||
|
|
var _this7 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
|||
|
|
var bannerRes, serviceRes, addressRes, userAdrees, _addressRes;
|
|||
|
|
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context8.prev = _context8.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context8.prev = 0;
|
|||
|
|
_this7.isLoading = true;
|
|||
|
|
// 获取banner
|
|||
|
|
_context8.next = 4;
|
|||
|
|
return _request.default.post("/user/getbannerlist");
|
|||
|
|
case 4:
|
|||
|
|
bannerRes = _context8.sent;
|
|||
|
|
_this7.bannerList = bannerRes.data;
|
|||
|
|
|
|||
|
|
// 获取服务图标
|
|||
|
|
_context8.next = 8;
|
|||
|
|
return _request.default.post("/user/firstclass");
|
|||
|
|
case 8:
|
|||
|
|
serviceRes = _context8.sent;
|
|||
|
|
_this7.classModel = serviceRes.model;
|
|||
|
|
_this7.classBg = serviceRes.back_img;
|
|||
|
|
_this7.serviceIconAll = serviceRes.data;
|
|||
|
|
_this7.cardNum = Math.ceil(_this7.serviceIconAll.length / 10);
|
|||
|
|
_this7.sortPage(0);
|
|||
|
|
|
|||
|
|
//获取招聘图标
|
|||
|
|
_request.default.post("/user/getRecruitment").then(function (res) {
|
|||
|
|
_this7.recruitObj = res.data;
|
|||
|
|
});
|
|||
|
|
if (!uni.getStorageSync("isLocation")) {
|
|||
|
|
_context8.next = 18;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
_context8.next = 18;
|
|||
|
|
return _this7.getLocation();
|
|||
|
|
case 18:
|
|||
|
|
addressRes = {};
|
|||
|
|
userAdrees = uni.getStorageSync("userAdrees");
|
|||
|
|
if (userAdrees) {
|
|||
|
|
addressRes = userAdrees.addressRes;
|
|||
|
|
} else {
|
|||
|
|
addressRes = getApp().globalData.addressRes;
|
|||
|
|
}
|
|||
|
|
//获取自营专区开关状态
|
|||
|
|
_this7.getSelfState(addressRes);
|
|||
|
|
|
|||
|
|
// 获取位置信息
|
|||
|
|
_this7.handelLocationCont(addressRes);
|
|||
|
|
_context8.next = 30;
|
|||
|
|
break;
|
|||
|
|
case 25:
|
|||
|
|
_context8.prev = 25;
|
|||
|
|
_context8.t0 = _context8["catch"](0);
|
|||
|
|
console.error("获取数据失败:", _context8.t0);
|
|||
|
|
_addressRes = getApp().globalData.addressRes;
|
|||
|
|
_this7.handelLocationCont(_addressRes);
|
|||
|
|
// uni.showToast({
|
|||
|
|
// title: '获取数据失败',
|
|||
|
|
// icon: 'none'
|
|||
|
|
// });
|
|||
|
|
case 30:
|
|||
|
|
case "end":
|
|||
|
|
return _context8.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee8, null, [[0, 25]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
//获取自营专区开关状态
|
|||
|
|
getSelfState: function getSelfState(addressRes) {
|
|||
|
|
var _this8 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
|
|||
|
|
return _regenerator.default.wrap(function _callee9$(_context9) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context9.prev = _context9.next) {
|
|||
|
|
case 0:
|
|||
|
|
console.log("addressRes:", addressRes);
|
|||
|
|
_context9.next = 3;
|
|||
|
|
return _request.default.post("/user/serversSelf/getSelfState", {
|
|||
|
|
city: addressRes.cCode
|
|||
|
|
}).then(function (res) {
|
|||
|
|
if (res.code == 200) {
|
|||
|
|
_this8.$nextTick(function () {
|
|||
|
|
_this8.SelfState = res.data.self_state;
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
case 3:
|
|||
|
|
case "end":
|
|||
|
|
return _context9.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee9);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
//处理定位后数据并获取首页数据
|
|||
|
|
handelLocationCont: function handelLocationCont(addressRes) {
|
|||
|
|
var _this9 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
|||
|
|
var hotRes, syrRes;
|
|||
|
|
return _regenerator.default.wrap(function _callee10$(_context10) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context10.prev = _context10.next) {
|
|||
|
|
case 0:
|
|||
|
|
_this9.latitude = addressRes.latitude;
|
|||
|
|
_this9.longitude = addressRes.longitude;
|
|||
|
|
_this9.address = addressRes.address.poiName || addressRes.address.street;
|
|||
|
|
_this9.servers_region = "".concat(addressRes.address.province, "-").concat(addressRes.address.city, "-").concat(addressRes.address.district);
|
|||
|
|
getApp().globalData.latitude = addressRes.latitude;
|
|||
|
|
getApp().globalData.longitude = addressRes.longitude;
|
|||
|
|
getApp().globalData.address = addressRes.address.poiName || addressRes.address.street;
|
|||
|
|
getApp().globalData.servers_region = "".concat(addressRes.address.province, "-").concat(addressRes.address.city, "-").concat(addressRes.address.district);
|
|||
|
|
// getApp().globalData.servers_region = `河北省-沧州市-黄骅市`
|
|||
|
|
|
|||
|
|
// 获取热门服务 this.servers_region
|
|||
|
|
_context10.next = 10;
|
|||
|
|
return _request.default.post("/user/hotlist", {
|
|||
|
|
servers_region: _this9.servers_region
|
|||
|
|
});
|
|||
|
|
case 10:
|
|||
|
|
hotRes = _context10.sent;
|
|||
|
|
_this9.hotList = hotRes.data;
|
|||
|
|
_context10.next = 14;
|
|||
|
|
return _this9.getTeamBuy();
|
|||
|
|
case 14:
|
|||
|
|
_context10.next = 16;
|
|||
|
|
return _request.default.post("/user/syrlist", {
|
|||
|
|
userLngz: _this9.longitude,
|
|||
|
|
userLat: _this9.latitude,
|
|||
|
|
servers_region: _this9.servers_region,
|
|||
|
|
page: 1,
|
|||
|
|
limit: 4
|
|||
|
|
});
|
|||
|
|
case 16:
|
|||
|
|
syrRes = _context10.sent;
|
|||
|
|
_this9.syrList = syrRes.data;
|
|||
|
|
if (syrRes.count == _this9.syrList.length) {
|
|||
|
|
_this9.isLoading = false;
|
|||
|
|
}
|
|||
|
|
case 19:
|
|||
|
|
case "end":
|
|||
|
|
return _context10.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee10);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
getCont: function getCont() {
|
|||
|
|
var _this10 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
|
|||
|
|
var hotRes, queryData, _queryData, _queryData2;
|
|||
|
|
return _regenerator.default.wrap(function _callee11$(_context11) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context11.prev = _context11.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context11.prev = 0;
|
|||
|
|
_this10.isLoading = true;
|
|||
|
|
// this.navActive = 2;
|
|||
|
|
// 获取热门服务 this.servers_region
|
|||
|
|
_context11.next = 4;
|
|||
|
|
return _request.default.post("/user/hotlist", {
|
|||
|
|
servers_region: _this10.servers_region
|
|||
|
|
});
|
|||
|
|
case 4:
|
|||
|
|
hotRes = _context11.sent;
|
|||
|
|
_this10.hotList = hotRes.data;
|
|||
|
|
if (_this10.navActive == 0) {
|
|||
|
|
queryData = {
|
|||
|
|
userLngz: _this10.longitude,
|
|||
|
|
userLat: _this10.latitude
|
|||
|
|
};
|
|||
|
|
queryData.servers_region = _this10.servers_region;
|
|||
|
|
queryData.page = _this10.queryData.page;
|
|||
|
|
queryData.limit = _this10.queryData.limit;
|
|||
|
|
// 加载 到家精选
|
|||
|
|
_request.default.post("/user/getsyrserverlist", queryData).then(function (res) {
|
|||
|
|
_this10.syrserverlist = res.data;
|
|||
|
|
uni.stopPullDownRefresh();
|
|||
|
|
if (res.count == _this10.syrserverlist.length) {
|
|||
|
|
_this10.isLoading = false;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
} else if (_this10.navActive == 1) {
|
|||
|
|
_queryData = {}; // 加载 周边服务
|
|||
|
|
_queryData = {
|
|||
|
|
userLngz: _this10.longitude,
|
|||
|
|
userLat: _this10.latitude,
|
|||
|
|
servers_region: _this10.servers_region,
|
|||
|
|
page: _this10.queryData.page,
|
|||
|
|
limit: _this10.queryData.limit
|
|||
|
|
};
|
|||
|
|
_request.default.post("/user/getsjserverlist", _queryData).then(function (res) {
|
|||
|
|
_this10.shopList = res.data;
|
|||
|
|
uni.stopPullDownRefresh();
|
|||
|
|
if (res.count == _this10.shopList.length) {
|
|||
|
|
_this10.isLoading = false;
|
|||
|
|
}
|
|||
|
|
}).catch(function (err) {
|
|||
|
|
console.log(err);
|
|||
|
|
});
|
|||
|
|
} else if (_this10.navActive == 2) {
|
|||
|
|
_queryData2 = {}; // 加载 精选手艺人
|
|||
|
|
_queryData2 = {
|
|||
|
|
servers_region: _this10.servers_region,
|
|||
|
|
page: _this10.queryData.page,
|
|||
|
|
limit: _this10.queryData.limit,
|
|||
|
|
userLngz: _this10.longitude,
|
|||
|
|
userLat: _this10.latitude
|
|||
|
|
};
|
|||
|
|
_request.default.post("/user/syrlist", _queryData2).then(function (res) {
|
|||
|
|
_this10.syrList = res.data;
|
|||
|
|
uni.stopPullDownRefresh();
|
|||
|
|
if (res.count == _this10.syrList.length) {
|
|||
|
|
_this10.isLoading = false;
|
|||
|
|
}
|
|||
|
|
}).catch(function (err) {
|
|||
|
|
console.log(err);
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
_context11.next = 13;
|
|||
|
|
break;
|
|||
|
|
case 9:
|
|||
|
|
_context11.prev = 9;
|
|||
|
|
_context11.t0 = _context11["catch"](0);
|
|||
|
|
console.error("获取数据失败:", _context11.t0);
|
|||
|
|
uni.showToast({
|
|||
|
|
title: "获取数据失败",
|
|||
|
|
icon: "none"
|
|||
|
|
});
|
|||
|
|
case 13:
|
|||
|
|
case "end":
|
|||
|
|
return _context11.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee11, null, [[0, 9]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 分页
|
|||
|
|
sortPage: function sortPage(num) {
|
|||
|
|
var that = this;
|
|||
|
|
that.serviceIconList = that.serviceIconAll.slice(num * 10, (num + 1) * 10);
|
|||
|
|
},
|
|||
|
|
// 修改service的card
|
|||
|
|
changeService: function changeService(event) {
|
|||
|
|
if (event.detail.source == "touch") {
|
|||
|
|
this.nowCardI = event.detail.current;
|
|||
|
|
this.sortPage(this.nowCardI);
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
// 查看详情
|
|||
|
|
goToDetail: function goToDetail(item) {
|
|||
|
|
if (item.team_buy && Object.keys(item.team_buy).length != 0) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/groupBuy/detail?id=".concat(item.id)
|
|||
|
|
});
|
|||
|
|
} else {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/service/detail?id=".concat(item.id)
|
|||
|
|
// url: `/pages/detail-ceshi/detail-ceshi?id=${item.id}`
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
// 修改请求类别 到家精选 周边服务
|
|||
|
|
changeNavActive: function changeNavActive(i) {
|
|||
|
|
var _this11 = this;
|
|||
|
|
this.navActive = i;
|
|||
|
|
this.isLoading = true;
|
|||
|
|
this.queryData.page = 1;
|
|||
|
|
if (i == 0) {
|
|||
|
|
var queryData = {
|
|||
|
|
userLngz: this.longitude,
|
|||
|
|
userLat: this.latitude
|
|||
|
|
};
|
|||
|
|
queryData.servers_region = this.servers_region;
|
|||
|
|
queryData.page = this.queryData.page;
|
|||
|
|
queryData.limit = this.queryData.limit;
|
|||
|
|
// 加载 到家精选
|
|||
|
|
_request.default.post("/user/getsyrserverlist", queryData).then(function (res) {
|
|||
|
|
_this11.syrserverlist = res.data;
|
|||
|
|
if (res.count == _this11.syrserverlist.length) {
|
|||
|
|
_this11.isLoading = false;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
} else if (i == 1) {
|
|||
|
|
var _queryData3 = {};
|
|||
|
|
// 加载 周边服务
|
|||
|
|
_queryData3 = {
|
|||
|
|
userLngz: this.longitude,
|
|||
|
|
userLat: this.latitude,
|
|||
|
|
servers_region: this.servers_region,
|
|||
|
|
page: this.queryData.page,
|
|||
|
|
limit: this.queryData.limit
|
|||
|
|
};
|
|||
|
|
_request.default.post("/user/getsjserverlist", _queryData3).then(function (res) {
|
|||
|
|
_this11.shopList = res.data;
|
|||
|
|
if (res.count == _this11.shopList.length) {
|
|||
|
|
_this11.isLoading = false;
|
|||
|
|
}
|
|||
|
|
}).catch(function (err) {
|
|||
|
|
console.log(err);
|
|||
|
|
});
|
|||
|
|
} else if (i == 2) {
|
|||
|
|
var _queryData4 = {};
|
|||
|
|
_queryData4 = {
|
|||
|
|
servers_region: this.servers_region,
|
|||
|
|
page: this.queryData.page,
|
|||
|
|
limit: this.queryData.limit,
|
|||
|
|
userLngz: this.longitude,
|
|||
|
|
userLat: this.latitude
|
|||
|
|
};
|
|||
|
|
// 加载 精选手艺人
|
|||
|
|
// queryData.servers_region = this.servers_region;
|
|||
|
|
// queryData.page = this.queryData.page;
|
|||
|
|
// // queryData.page = 3;
|
|||
|
|
// queryData.limit = this.queryData.limit;
|
|||
|
|
_request.default.post("/user/syrlist", _queryData4).then(function (res) {
|
|||
|
|
_this11.syrList = res.data;
|
|||
|
|
var that = _this11;
|
|||
|
|
if (res.count == _this11.syrList.length) {
|
|||
|
|
_this11.isLoading = false;
|
|||
|
|
}
|
|||
|
|
}).catch(function (err) {
|
|||
|
|
console.log(err);
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
handelDistance: function handelDistance(data) {
|
|||
|
|
var that = this;
|
|||
|
|
data.forEach(function (item) {
|
|||
|
|
var globalData;
|
|||
|
|
globalData = wx.getStorageSync("globalData");
|
|||
|
|
if (globalData) {
|
|||
|
|
item.distance = that.getDistance(item.latitude, item.longitude, globalData.latitude, globalData.longitude, true);
|
|||
|
|
} else {
|
|||
|
|
item.distance = that.getDistance(item.latitude, item.longitude, getApp().globalData.latitude, getApp().globalData.longitude, true);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
getBottomList: function getBottomList() {
|
|||
|
|
var _this12 = this;
|
|||
|
|
var queryData = {
|
|||
|
|
userLngz: this.longitude,
|
|||
|
|
userLat: this.latitude
|
|||
|
|
};
|
|||
|
|
if (this.navActive == 0) {
|
|||
|
|
queryData.servers_region = this.servers_region;
|
|||
|
|
queryData.page = this.queryData.page;
|
|||
|
|
queryData.limit = this.queryData.limit;
|
|||
|
|
// 加载 到家精选
|
|||
|
|
_request.default.post("/user/getsyrserverlist", queryData).then(function (res) {
|
|||
|
|
_this12.syrserverlist = [].concat((0, _toConsumableArray2.default)(_this12.syrserverlist), (0, _toConsumableArray2.default)(res.data));
|
|||
|
|
if (res.count == _this12.syrserverlist.length) {
|
|||
|
|
_this12.isLoading = false;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
} else if (this.navActive == 1) {
|
|||
|
|
// 加载 周边服务
|
|||
|
|
queryData = {
|
|||
|
|
userLngz: this.longitude,
|
|||
|
|
userLat: this.latitude,
|
|||
|
|
servers_region: this.servers_region,
|
|||
|
|
page: this.queryData.page,
|
|||
|
|
limit: this.queryData.limit
|
|||
|
|
};
|
|||
|
|
_request.default.post("/user/getsjserverlist", queryData).then(function (res) {
|
|||
|
|
_this12.shopList = [].concat((0, _toConsumableArray2.default)(_this12.shopList), (0, _toConsumableArray2.default)(res.data));
|
|||
|
|
if (res.count == _this12.shopList.length) {
|
|||
|
|
_this12.isLoading = false;
|
|||
|
|
}
|
|||
|
|
}).catch(function (err) {
|
|||
|
|
console.log(err);
|
|||
|
|
});
|
|||
|
|
} else if (this.navActive == 2) {
|
|||
|
|
// 加载 精选手艺人
|
|||
|
|
queryData = {
|
|||
|
|
servers_region: this.servers_region,
|
|||
|
|
page: this.queryData.page,
|
|||
|
|
limit: this.queryData.limit,
|
|||
|
|
userLngz: this.longitude,
|
|||
|
|
userLat: this.latitude
|
|||
|
|
};
|
|||
|
|
_request.default.post("/user/syrlist", queryData).then(function (res) {
|
|||
|
|
_this12.syrList = [].concat((0, _toConsumableArray2.default)(_this12.syrList), (0, _toConsumableArray2.default)(res.data));
|
|||
|
|
if (res.count == _this12.syrList.length) {
|
|||
|
|
_this12.isLoading = false;
|
|||
|
|
}
|
|||
|
|
}).catch(function (err) {
|
|||
|
|
console.log(err);
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
goToself: function goToself() {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/selfOperated/serveList"
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 预约到家
|
|||
|
|
goToAppointment: function goToAppointment() {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/service/appointment"
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
goToStoreList: function goToStoreList() {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/service/store-list"
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
goToClass: function goToClass(id, title) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/service/class?id=" + id + "&title=" + title
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 去搜索
|
|||
|
|
goToSearch: function goToSearch() {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/search/search-history"
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 显示权限说明弹窗
|
|||
|
|
showPermissionDialog: function showPermissionDialog(title, content) {
|
|||
|
|
return new Promise(function (resolve) {
|
|||
|
|
uni.showModal({
|
|||
|
|
title: title,
|
|||
|
|
content: content,
|
|||
|
|
confirmText: "去开启",
|
|||
|
|
success: function success(res) {
|
|||
|
|
resolve(res.confirm);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 去地图页面
|
|||
|
|
goMap: function goMap() {
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
|
|||
|
|
return _regenerator.default.wrap(function _callee12$(_context12) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context12.prev = _context12.next) {
|
|||
|
|
case 0:
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/address/newSearch"
|
|||
|
|
});
|
|||
|
|
case 1:
|
|||
|
|
case "end":
|
|||
|
|
return _context12.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee12);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 去店铺主页
|
|||
|
|
goToShop: function goToShop(id) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/user/store-detail?id=" + id
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 去手艺人主页
|
|||
|
|
goToSyr: function goToSyr(item) {
|
|||
|
|
uni.navigateTo({
|
|||
|
|
url: "/pages/user/syr-detail?id=" + item.id
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
exports.default = _default;
|
|||
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 83:
|
|||
|
|
/*!***********************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue?vue&type=style&index=0&lang=scss& ***!
|
|||
|
|
\***********************************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
|
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=style&index=0&lang=scss& */ 84);
|
|||
|
|
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|||
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|||
|
|
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 84:
|
|||
|
|
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|||
|
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/home/home.vue?vue&type=style&index=0&lang=scss& ***!
|
|||
|
|
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|||
|
|
|
|||
|
|
// extracted by mini-css-extract-plugin
|
|||
|
|
if(false) { var cssReload; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/***/ })
|
|||
|
|
|
|||
|
|
},[[77,"common/runtime","common/vendor"]]]);
|
|||
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/home.js.map
|