yunshangxie/unpackage/dist/dev/mp-weixin/pages/index/home.js

568 lines
28 KiB
JavaScript
Raw Normal View History

2023-12-25 17:56:30 +08:00
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/home"],{
2024-05-14 18:14:14 +08:00
/***/ 112:
2023-12-25 17:56:30 +08:00
/*!**********************************************************!*\
!*** E:///main.js?{"page":"pages%2Findex%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 */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
2024-05-08 18:14:41 +08:00
var _home = _interopRequireDefault(__webpack_require__(/*! ./pages/index/home.vue */ 83));
2023-12-25 17:56:30 +08:00
// @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"]))
/***/ }),
2024-05-08 18:14:41 +08:00
/***/ 83:
2023-12-25 17:56:30 +08:00
/*!***************************************!*\
!*** E:///pages/index/home.vue ***!
\***************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2024-05-08 18:14:41 +08:00
/* harmony import */ var _home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./home.vue?vue&type=template&id=14a6ab35&scoped=true& */ 84);
/* harmony import */ var _home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./home.vue?vue&type=script&lang=js& */ 86);
2023-12-25 17:56:30 +08:00
/* 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__));
2024-05-08 18:14:41 +08:00
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
2023-12-25 17:56:30 +08:00
var renderjs
/* normalize component */
2024-04-20 14:57:39 +08:00
var component = Object(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
2023-12-25 17:56:30 +08:00
_home_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"14a6ab35",
null,
false,
_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/index/home.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
2024-05-08 18:14:41 +08:00
/***/ 84:
2023-12-25 17:56:30 +08:00
/*!**********************************************************************************!*\
!*** E:///pages/index/home.vue?vue&type=template&id=14a6ab35&scoped=true& ***!
\**********************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2024-05-08 18:14:41 +08:00
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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!./home.vue?vue&type=template&id=14a6ab35&scoped=true& */ 85);
2023-12-25 17:56:30 +08:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_home_vue_vue_type_template_id_14a6ab35_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
2024-04-20 14:57:39 +08:00
/***/ }),
2024-05-08 18:14:41 +08:00
/***/ 85:
2024-04-20 14:57:39 +08:00
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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!E:///pages/index/home.vue?vue&type=template&id=14a6ab35&scoped=true& ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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
try {
components = {
tnNavBar: function () {
2024-05-14 10:20:09 +08:00
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 292))
2024-04-20 14:57:39 +08:00
},
tnNoticeBar: function () {
2024-05-14 10:20:09 +08:00
return Promise.all(/*! import() | tuniao-ui/components/tn-notice-bar/tn-notice-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-notice-bar/tn-notice-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-notice-bar/tn-notice-bar.vue */ 300))
},
tnBadge: function () {
return Promise.all(/*! import() | tuniao-ui/components/tn-badge/tn-badge */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-badge/tn-badge")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-badge/tn-badge.vue */ 307))
2024-04-20 14:57:39 +08:00
},
tnButton: function () {
2024-05-14 10:20:09 +08:00
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 314))
2024-04-20 14:57:39 +08:00
},
tnTabs: function () {
2024-05-14 10:20:09 +08:00
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 322))
2024-04-23 11:58:07 +08:00
},
tnSelect: function () {
2024-05-14 10:20:09 +08:00
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 329))
2024-04-20 14:57:39 +08:00
},
}
} catch (e) {
if (
e.message.indexOf("Cannot find module") !== -1 &&
e.message.indexOf(".vue") !== -1
) {
console.error(e.message)
console.error("1. 排查组件名称拼写是否正确")
console.error(
"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
)
console.error(
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
)
} else {
throw e
}
}
var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
2024-04-23 11:58:07 +08:00
var g0 = _vm.actList.length
var g1 = _vm.actList.length
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
_vm.selectShow = true
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
g1: g1,
},
}
)
2024-04-20 14:57:39 +08:00
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
2023-12-25 17:56:30 +08:00
/***/ }),
2024-05-08 18:14:41 +08:00
/***/ 86:
2023-12-25 17:56:30 +08:00
/*!****************************************************************!*\
!*** E:///pages/index/home.vue?vue&type=script&lang=js& ***!
\****************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2024-05-08 18:14:41 +08:00
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_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__(/*! -!./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!./home.vue?vue&type=script&lang=js& */ 87);
2023-12-25 17:56:30 +08:00
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_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(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_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 _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_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 _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_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"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_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);
/***/ }),
2024-05-08 18:14:41 +08:00
/***/ 87:
2023-12-25 17:56:30 +08:00
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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!E:///pages/index/home.vue?vue&type=script&lang=js& ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-20 14:57:39 +08:00
/* WEBPACK VAR INJECTION */(function(uni) {
2023-12-25 17:56:30 +08:00
2024-04-23 11:58:07 +08:00
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
2023-12-25 17:56:30 +08:00
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
2024-04-23 11:58:07 +08:00
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
2024-05-08 18:14:41 +08:00
var _api = __webpack_require__(/*! @/util/api.js */ 33);
2024-04-23 11:58:07 +08:00
var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */ 30));
//
//
//
//
//
//
//
//
//
//
2024-04-20 14:57:39 +08:00
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
2023-12-25 17:56:30 +08:00
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
2024-05-08 18:14:41 +08:00
//
//
//
//
//
//
//
2024-05-14 10:20:09 +08:00
//
//
2023-12-25 17:56:30 +08:00
var _default = {
data: function data() {
2024-04-20 14:57:39 +08:00
return {
2024-04-23 11:58:07 +08:00
selectShow: false,
selectList: [],
2024-04-20 14:57:39 +08:00
topCurrent: 0,
2023-12-25 17:56:30 +08:00
searlist: ['企业家名称/公司名称'],
cardCur: 0,
isAndroid: true,
2024-04-23 11:58:07 +08:00
goryList: [],
news_list: [],
actList: [],
2024-05-11 18:14:49 +08:00
carousel_list: [],
2024-04-23 11:58:07 +08:00
current: 0,
page: 1,
size: 10,
gory_id: 0,
type: 1,
HomeTitle: '',
apiImgUrl: this.$store.state.imgUrl
2024-04-20 14:57:39 +08:00
};
2023-12-25 17:56:30 +08:00
},
2024-04-23 11:58:07 +08:00
mounted: function mounted() {
2024-05-08 18:14:41 +08:00
getApp().getUserLogin(function (r) {
console.log('---Login---', r);
});
2024-04-23 11:58:07 +08:00
this.getNewsGoryList();
this.getActivityList();
this.getAssociationIndex();
2024-05-11 18:14:49 +08:00
this.getCarouselIndex();
2024-04-23 11:58:07 +08:00
},
2023-12-25 17:56:30 +08:00
methods: {
2024-04-23 11:58:07 +08:00
confirm: function confirm(d) {
var info = d[0];
_index.default.commit('$tStore', {
name: 'Gid',
value: info.value
});
uni.setStorageSync('Gid', info.value);
this.page = 1;
this.goryList = [];
this.news_list = [];
this.actList = [];
2024-05-11 18:14:49 +08:00
this.carousel_list = [];
2024-04-23 11:58:07 +08:00
this.getNewsGoryList();
this.getActivityList();
this.getAssociationIndex();
2024-05-11 18:14:49 +08:00
this.getCarouselIndex();
2024-04-24 17:34:38 +08:00
//this.$emit('childEvent', '修改后的数据');
2024-04-23 11:58:07 +08:00
},
getAssociationIndex: function getAssociationIndex() {
var _this = this;
(0, _api.associationIndex)().then(function (res) {
console.log(res);
if (res.code == 1) {
var key = res.data;
var transformedSelectList = key.map(function (item) {
return {
value: item.id,
2024-04-24 17:34:38 +08:00
label: item.association_name,
icon: item.association_image
2024-04-23 11:58:07 +08:00
};
});
var foundNumber = transformedSelectList.find(function (element) {
return element.value == _index.default.state.Gid;
});
_this.HomeTitle = foundNumber.label;
_this.selectList = transformedSelectList;
2024-04-24 17:34:38 +08:00
_this.$parent.childEvent(foundNumber);
2024-04-23 11:58:07 +08:00
}
}).catch(function (error) {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
});
},
2024-05-11 18:14:49 +08:00
getCarouselIndex: function getCarouselIndex() {
2024-04-23 11:58:07 +08:00
var _this2 = this;
2024-05-11 18:14:49 +08:00
(0, _api.carouselIndex)({
association_id: _index.default.state.Gid
}).then(function (res) {
console.log(res);
if (res.code == 1) {
_this2.carousel_list = res.data;
}
}).catch(function (error) {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
});
},
getActivityList: function getActivityList() {
var _this3 = this;
2024-04-23 11:58:07 +08:00
(0, _api.activityList)({
association_id: _index.default.state.Gid,
page: 1,
size: 5
}).then(function (res) {
console.log(res);
if (res.code == 1) {
2024-05-11 18:14:49 +08:00
_this3.actList = res.data.ret;
2024-04-23 11:58:07 +08:00
} else {
2024-05-11 18:14:49 +08:00
_this3.actList = [];
2024-04-23 11:58:07 +08:00
}
}).catch(function (error) {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
});
},
getNewsGoryList: function getNewsGoryList() {
2024-05-11 18:14:49 +08:00
var _this4 = this;
2024-04-23 11:58:07 +08:00
(0, _api.newsGoryList)({
association_id: _index.default.state.Gid
}).then(function (res) {
console.log(res);
if (res.code == 1) {
var key = res.data;
key.unshift({
id: 0,
name: '最新'
});
2024-05-11 18:14:49 +08:00
_this4.goryList = key;
_this4.type = 1;
_this4.gory_id = 0;
_this4.getNewsList();
2024-04-23 11:58:07 +08:00
}
}).catch(function (error) {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
});
},
getNewsList: function getNewsList() {
2024-05-11 18:14:49 +08:00
var _this5 = this;
2024-04-23 11:58:07 +08:00
(0, _api.newsList)({
association_id: _index.default.state.Gid,
type: this.type,
gory_id: this.gory_id,
page: this.page,
size: this.size
}).then(function (res) {
console.log(res);
if (res.code == 1) {
2024-05-11 18:14:49 +08:00
var _this5$news_list;
(_this5$news_list = _this5.news_list).push.apply(_this5$news_list, (0, _toConsumableArray2.default)(res.data.ret));
2024-04-23 11:58:07 +08:00
}
}).catch(function (error) {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
});
},
2024-04-20 14:57:39 +08:00
cardSwiper: function cardSwiper(d) {
this.cardCur = d.detail.current;
},
2024-04-23 11:58:07 +08:00
ReachBottom: function ReachBottom() {
console.log('home');
this.page = this.page + 1;
this.getNewsList();
//this.getIndex();
},
2024-04-20 14:57:39 +08:00
change: function change(e) {
this.current = e;
2024-04-23 11:58:07 +08:00
var info = this.goryList[e];
this.gory_id = info.id;
this.type = e === 0 ? 1 : 0;
this.page = 1;
this.news_list = [];
this.getNewsList();
2024-04-20 14:57:39 +08:00
},
openUrl: function openUrl(url) {
uni.navigateTo({
url: url
});
},
opentab: function opentab() {
uni.$emit('depId', {
index: 1
});
2024-05-08 18:14:41 +08:00
},
videoErrorCallback: function videoErrorCallback(e) {
uni.showModal({
content: e.target.errMsg,
showCancel: false
});
2023-12-25 17:56:30 +08:00
}
}
};
exports.default = _default;
2024-04-20 14:57:39 +08:00
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
2023-12-25 17:56:30 +08:00
/***/ })
2024-05-14 18:14:14 +08:00
},[[112,"common/runtime","common/vendor"]]]);
2023-12-25 17:56:30 +08:00
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/home.js.map