1107 lines
75 KiB
JavaScript
1107 lines
75 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/search/search-result"],{
|
||
|
||
/***/ 143:
|
||
/*!*******************************************************************************************************!*\
|
||
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/main.js?{"page":"pages%2Fsearch%2Fsearch-result"} ***!
|
||
\*******************************************************************************************************/
|
||
/*! 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 _searchResult = _interopRequireDefault(__webpack_require__(/*! ./pages/search/search-result.vue */ 144));
|
||
// @ts-ignore
|
||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||
createPage(_searchResult.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"]))
|
||
|
||
/***/ }),
|
||
|
||
/***/ 144:
|
||
/*!************************************************************************************!*\
|
||
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/search/search-result.vue ***!
|
||
\************************************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _search_result_vue_vue_type_template_id_2f805b98___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./search-result.vue?vue&type=template&id=2f805b98& */ 145);
|
||
/* harmony import */ var _search_result_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./search-result.vue?vue&type=script&lang=js& */ 147);
|
||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _search_result_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 _search_result_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
/* harmony import */ var _search_result_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./search-result.vue?vue&type=style&index=0&lang=less& */ 149);
|
||
/* 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"])(
|
||
_search_result_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||
_search_result_vue_vue_type_template_id_2f805b98___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||
_search_result_vue_vue_type_template_id_2f805b98___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||
false,
|
||
null,
|
||
null,
|
||
null,
|
||
false,
|
||
_search_result_vue_vue_type_template_id_2f805b98___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||
renderjs
|
||
)
|
||
|
||
component.options.__file = "pages/search/search-result.vue"
|
||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 145:
|
||
/*!*******************************************************************************************************************!*\
|
||
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/search/search-result.vue?vue&type=template&id=2f805b98& ***!
|
||
\*******************************************************************************************************************/
|
||
/*! 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_search_result_vue_vue_type_template_id_2f805b98___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!./search-result.vue?vue&type=template&id=2f805b98& */ 146);
|
||
/* 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_search_result_vue_vue_type_template_id_2f805b98___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_search_result_vue_vue_type_template_id_2f805b98___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_search_result_vue_vue_type_template_id_2f805b98___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_search_result_vue_vue_type_template_id_2f805b98___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 146:
|
||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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/search/search-result.vue?vue&type=template&id=2f805b98& ***!
|
||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
/*! 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 = {
|
||
customNavbar: function () {
|
||
return Promise.all(/*! import() | components/custom-navbar/custom-navbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/custom-navbar/custom-navbar")]).then(__webpack_require__.bind(null, /*! @/components/custom-navbar/custom-navbar.vue */ 1437))
|
||
},
|
||
noData: function () {
|
||
return __webpack_require__.e(/*! import() | components/noData/noData */ "components/noData/noData").then(__webpack_require__.bind(null, /*! @/components/noData/noData.vue */ 1388))
|
||
},
|
||
}
|
||
} 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
|
||
var m0 = _vm.$hasSSP("1fbaf552-4")
|
||
var m1 = m0
|
||
? _vm.listQuery.type == 3 &&
|
||
_vm.$getSSP("1fbaf552-4", "listData")["list"][0] &&
|
||
_vm.$getSSP("1fbaf552-4", "listData")["list"][0].search_type == 3
|
||
: null
|
||
var m2 = m0 && m1 ? _vm.$getSSP("1fbaf552-4", "listData") : null
|
||
var m3 = m0
|
||
? _vm.listQuery.type == 1 &&
|
||
_vm.$getSSP("1fbaf552-4", "listData")["list"][0] &&
|
||
_vm.$getSSP("1fbaf552-4", "listData")["list"][0].search_type == 1
|
||
: null
|
||
var m4 = m0 && m3 ? _vm.$getSSP("1fbaf552-4", "listData") : null
|
||
var m5 = m0
|
||
? _vm.listQuery.type == 2 &&
|
||
_vm.$getSSP("1fbaf552-4", "listData")["list"][0] &&
|
||
_vm.$getSSP("1fbaf552-4", "listData")["list"][0].search_type == 2
|
||
: null
|
||
var m6 = m0 && m5 ? _vm.$getSSP("1fbaf552-4", "listData") : null
|
||
_vm.$mp.data = Object.assign(
|
||
{},
|
||
{
|
||
$root: {
|
||
m0: m0,
|
||
m1: m1,
|
||
m2: m2,
|
||
m3: m3,
|
||
m4: m4,
|
||
m5: m5,
|
||
m6: m6,
|
||
},
|
||
}
|
||
)
|
||
}
|
||
var recyclableRender = false
|
||
var staticRenderFns = []
|
||
render._withStripped = true
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 147:
|
||
/*!*************************************************************************************************************!*\
|
||
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/search/search-result.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_search_result_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!./search-result.vue?vue&type=script&lang=js& */ 148);
|
||
/* 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_search_result_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_search_result_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_search_result_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_search_result_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_search_result_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 148:
|
||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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/search/search-result.vue?vue&type=script&lang=js& ***!
|
||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||
|
||
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 _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
||
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.js */ 37));
|
||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
||
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
||
var CommonList = function CommonList() {
|
||
Promise.all(/*! require.ensure | components/common/CommonList */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/common/CommonList")]).then((function () {
|
||
return resolve(__webpack_require__(/*! @/components/common/CommonList.vue */ 1430));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var searchBox = function searchBox() {
|
||
__webpack_require__.e(/*! require.ensure | pages/search/components/search_box_result */ "pages/search/components/search_box_result").then((function () {
|
||
return resolve(__webpack_require__(/*! ./components/search_box_result.vue */ 1503));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var syrCardList = function syrCardList() {
|
||
__webpack_require__.e(/*! require.ensure | pages/search/components/syrCardList */ "pages/search/components/syrCardList").then((function () {
|
||
return resolve(__webpack_require__(/*! ./components/syrCardList.vue */ 1510));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var serviceCardList = function serviceCardList() {
|
||
__webpack_require__.e(/*! require.ensure | pages/search/components/serviceCardList */ "pages/search/components/serviceCardList").then((function () {
|
||
return resolve(__webpack_require__(/*! ./components/serviceCardList.vue */ 1517));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var shopCard = function shopCard() {
|
||
__webpack_require__.e(/*! require.ensure | pages/search/components/shopCard */ "pages/search/components/shopCard").then((function () {
|
||
return resolve(__webpack_require__(/*! ./components/shopCard.vue */ 1524));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var filterVue = function filterVue() {
|
||
__webpack_require__.e(/*! require.ensure | pages/search/components/filter */ "pages/search/components/filter").then((function () {
|
||
return resolve(__webpack_require__(/*! ./components/filter.vue */ 1531));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var _default = {
|
||
components: {
|
||
searchBox: searchBox,
|
||
CommonList: CommonList,
|
||
syrCardList: syrCardList,
|
||
serviceCardList: serviceCardList,
|
||
shopCard: shopCard,
|
||
filterVue: filterVue
|
||
},
|
||
data: function data() {
|
||
return {
|
||
totalTopHeight: 300,
|
||
// 顶部区域总高度估算值,会在onLoad中重新计算
|
||
listQuery: {
|
||
page: 1,
|
||
limit: 10,
|
||
type: 3,
|
||
title: "",
|
||
userLngz: "",
|
||
userLat: "",
|
||
// 筛选参数
|
||
serviceType: null,
|
||
distance: null,
|
||
minPrice: null,
|
||
maxPrice: null,
|
||
sortType: null,
|
||
// 用于强制刷新的时间戳
|
||
_timestamp: 0
|
||
},
|
||
tabList: [{
|
||
label: "服务",
|
||
value: 3
|
||
}, {
|
||
label: "手艺人",
|
||
value: 1
|
||
}, {
|
||
label: "门店",
|
||
value: 2
|
||
}],
|
||
isSearching: false,
|
||
// 防止重复搜索
|
||
searchTimer: null,
|
||
// 防抖定时器
|
||
hasInitialSearch: false,
|
||
// 标记是否已执行初始智能搜索
|
||
userChangedTab: false,
|
||
// 标记用户是否手动切换过tab
|
||
lastSearchText: "",
|
||
// 记录上一次的搜索词
|
||
forceNormalSearch: false,
|
||
// 强制普通搜索标志
|
||
isLoading: false,
|
||
// 加载状态
|
||
loadingTimer: null,
|
||
// 加载计时器(防止加载时间过短闪烁)
|
||
minLoadingTime: 100 // 最小加载显示时间(毫秒)
|
||
};
|
||
},
|
||
onLoad: function onLoad(options) {
|
||
var _this = this;
|
||
// 接收可能的搜索词参数
|
||
this.listQuery.title = options.searchText || '';
|
||
this.lastSearchText = this.listQuery.title; // 记录初始搜索词
|
||
|
||
// 获取用户地理位置
|
||
var userAdrees = uni.getStorageSync("userAdrees");
|
||
if (userAdrees) {
|
||
this.listQuery.userLngz = userAdrees.longitude;
|
||
this.listQuery.userLat = userAdrees.latitude;
|
||
} else {
|
||
// 默认位置(备用)
|
||
this.listQuery.userLngz = "117.330043";
|
||
this.listQuery.userLat = "38.372266";
|
||
}
|
||
this.$nextTick(function () {
|
||
_this.showLoading();
|
||
// 只在第一次进入页面时执行智能搜索
|
||
_this.performInitialSearch();
|
||
|
||
// 延迟计算高度,确保DOM渲染完成
|
||
setTimeout(function () {
|
||
_this.calculateTopHeight();
|
||
}, 100);
|
||
});
|
||
},
|
||
methods: {
|
||
// 计算顶部区域总高度(用于设置列表滚动区域高度)
|
||
calculateTopHeight: function calculateTopHeight() {
|
||
var _this2 = this;
|
||
// 创建选择器查询
|
||
var query = uni.createSelectorQuery().in(this);
|
||
|
||
// 查询导航栏高度
|
||
query.select('.custom-navbar').boundingClientRect();
|
||
query.select('.page-top').boundingClientRect();
|
||
query.exec(function (res) {
|
||
if (res[0] && res[1]) {
|
||
var navHeight = res[0].height;
|
||
var topHeight = res[1].height;
|
||
var systemInfo = uni.getSystemInfoSync();
|
||
var pxToRpx = 750 / systemInfo.windowWidth;
|
||
|
||
// 转换为rpx并四舍五入
|
||
var totalHeight = Math.ceil((navHeight + topHeight) * pxToRpx);
|
||
_this2.totalTopHeight = totalHeight;
|
||
console.log('导航栏高度(px):', navHeight);
|
||
console.log('顶部区域高度(px):', topHeight);
|
||
console.log('总高度(rpx):', totalHeight);
|
||
}
|
||
});
|
||
},
|
||
// 返回上一页
|
||
goBack: function goBack() {
|
||
uni.navigateBack({
|
||
delta: 1
|
||
});
|
||
},
|
||
// 切换tab类型
|
||
changeType: function changeType(type) {
|
||
var _this3 = this;
|
||
// 标记用户手动切换tab
|
||
this.userChangedTab = true;
|
||
// 切换到指定tab后,后续搜索都使用普通搜索(不检查其他tab)
|
||
this.forceNormalSearch = true;
|
||
this.listQuery.type = type;
|
||
// 切换类型时重置筛选参数(只有服务类型才有筛选)
|
||
if (type !== 3) {
|
||
this.resetFilterParams();
|
||
}
|
||
|
||
// 显示加载
|
||
this.showLoading();
|
||
// 用户手动切换tab时,只执行普通搜索
|
||
this.performNormalSearch();
|
||
|
||
// 重新计算高度(因为筛选组件可能显示/隐藏)
|
||
this.$nextTick(function () {
|
||
setTimeout(function () {
|
||
_this3.calculateTopHeight();
|
||
}, 50);
|
||
});
|
||
},
|
||
// 搜索方法(点击搜索按钮或确认搜索时触发)
|
||
search: function search() {
|
||
var _this4 = this;
|
||
// 防抖处理,避免频繁请求
|
||
if (this.searchTimer) {
|
||
clearTimeout(this.searchTimer);
|
||
}
|
||
|
||
// 如果正在搜索中,等待
|
||
if (this.isSearching) {
|
||
console.log('正在搜索中,稍后重试');
|
||
return;
|
||
}
|
||
this.searchTimer = setTimeout(function () {
|
||
// 检查搜索词是否有变化
|
||
var searchTextChanged = _this4.listQuery.title !== _this4.lastSearchText;
|
||
var isEmptySearch = !_this4.listQuery.title || _this4.listQuery.title.trim() === '';
|
||
|
||
// 如果搜索框为空,直接获取当前类型的全部数据
|
||
if (isEmptySearch) {
|
||
console.log('搜索框为空,直接获取全部数据');
|
||
_this4.lastSearchText = '';
|
||
_this4.showLoading();
|
||
// 清空搜索词,确保后端能正确返回全部数据
|
||
_this4.listQuery.title = '';
|
||
// 重置页码,从第一页开始
|
||
_this4.listQuery.page = 1;
|
||
// 添加时间戳强制刷新列表
|
||
_this4.listQuery._timestamp = Date.now();
|
||
// 执行搜索
|
||
_this4.performNormalSearch();
|
||
return;
|
||
}
|
||
|
||
// 如果搜索词有变化,重置智能搜索状态
|
||
if (searchTextChanged) {
|
||
console.log('搜索词变化,重置智能搜索状态');
|
||
_this4.lastSearchText = _this4.listQuery.title;
|
||
_this4.hasInitialSearch = false;
|
||
_this4.forceNormalSearch = false;
|
||
}
|
||
|
||
// 显示加载动画
|
||
_this4.showLoading();
|
||
|
||
// 根据当前状态决定使用哪种搜索方式
|
||
if (_this4.forceNormalSearch) {
|
||
console.log('强制使用普通搜索');
|
||
_this4.performNormalSearch();
|
||
} else if (_this4.userChangedTab) {
|
||
// 用户已经切换过tab,但搜索词变化了,可以考虑重新智能搜索
|
||
if (searchTextChanged && !_this4.hasInitialSearch) {
|
||
console.log('用户切换过tab但搜索词变化,尝试智能搜索');
|
||
_this4.performSmartSearch();
|
||
} else {
|
||
console.log('用户切换过tab且搜索词未变,使用普通搜索');
|
||
_this4.performNormalSearch();
|
||
}
|
||
} else if (!_this4.hasInitialSearch) {
|
||
console.log('首次或搜索词变化,使用智能搜索');
|
||
_this4.performSmartSearch();
|
||
} else {
|
||
console.log('已经执行过智能搜索,使用普通搜索');
|
||
// 否则执行普通搜索
|
||
_this4.performNormalSearch();
|
||
}
|
||
}, 300);
|
||
},
|
||
// 显示加载动画
|
||
showLoading: function showLoading() {
|
||
if (this.loadingTimer) {
|
||
clearTimeout(this.loadingTimer);
|
||
}
|
||
this.isLoading = true;
|
||
},
|
||
// 隐藏加载动画(带最小时间,避免闪烁)
|
||
hideLoading: function hideLoading() {
|
||
var _this5 = this;
|
||
if (this.loadingTimer) {
|
||
clearTimeout(this.loadingTimer);
|
||
}
|
||
|
||
// 确保至少显示一定时间,避免闪烁
|
||
this.loadingTimer = setTimeout(function () {
|
||
_this5.isLoading = false;
|
||
_this5.loadingTimer = null;
|
||
console.log('加载动画已隐藏');
|
||
}, this.minLoadingTime);
|
||
},
|
||
// 立即隐藏加载动画(用于错误情况)
|
||
forceHideLoading: function forceHideLoading() {
|
||
if (this.loadingTimer) {
|
||
clearTimeout(this.loadingTimer);
|
||
this.loadingTimer = null;
|
||
}
|
||
this.isLoading = false;
|
||
console.log('强制隐藏加载动画');
|
||
},
|
||
// 首次进入页面时的智能搜索 - 哪个列表先有数据就显示哪个
|
||
performInitialSearch: function performInitialSearch() {
|
||
var _this6 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||
var originalType, targetType;
|
||
return _regenerator.default.wrap(function _callee$(_context) {
|
||
while (1) {
|
||
switch (_context.prev = _context.next) {
|
||
case 0:
|
||
if (!_this6.isSearching) {
|
||
_context.next = 2;
|
||
break;
|
||
}
|
||
return _context.abrupt("return");
|
||
case 2:
|
||
_this6.isSearching = true;
|
||
_context.prev = 3;
|
||
if (!(!_this6.listQuery.title || _this6.listQuery.title.trim() === '')) {
|
||
_context.next = 13;
|
||
break;
|
||
}
|
||
console.log('搜索框为空,获取全部数据');
|
||
// 清空title参数,让后端返回全部数据
|
||
_this6.listQuery.title = '';
|
||
// 重置页码
|
||
_this6.listQuery.page = 1;
|
||
// 添加时间戳强制刷新
|
||
_this6.listQuery._timestamp = Date.now();
|
||
// 刷新当前列表
|
||
_this6.refreshCurrentList();
|
||
_this6.hasInitialSearch = true;
|
||
// 延迟隐藏加载
|
||
setTimeout(function () {
|
||
return _this6.hideLoading();
|
||
}, 100);
|
||
return _context.abrupt("return");
|
||
case 13:
|
||
// 记录原始类型
|
||
originalType = _this6.listQuery.type;
|
||
console.log('初始智能搜索开始,当前类型:', originalType, '搜索词:', _this6.listQuery.title);
|
||
|
||
// 检查三个类型哪个先有数据
|
||
_context.next = 17;
|
||
return _this6.findFirstAvailableType();
|
||
case 17:
|
||
targetType = _context.sent;
|
||
console.log('初始智能搜索结束,找到的目标类型:', targetType, '当前类型:', _this6.listQuery.type);
|
||
|
||
// 如果找到有数据的类型,切换到该类型
|
||
if (targetType && targetType !== _this6.listQuery.type) {
|
||
console.log("\u521D\u59CB\u5207\u6362\u5230\u7C7B\u578B ".concat(targetType));
|
||
_this6.listQuery.type = targetType;
|
||
// 如果是服务类型,保留筛选参数,否则重置
|
||
if (targetType !== 3) {
|
||
_this6.resetFilterParams();
|
||
}
|
||
|
||
// 重置页码
|
||
_this6.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this6.listQuery._timestamp = Date.now();
|
||
|
||
// 更新UI后刷新列表
|
||
_this6.$nextTick(function () {
|
||
_this6.refreshCurrentList();
|
||
});
|
||
} else if (targetType === _this6.listQuery.type) {
|
||
// 类型没变,直接刷新
|
||
console.log("\u521D\u59CB\u7C7B\u578B\u672A\u53D8 ".concat(targetType, "\uFF0C\u76F4\u63A5\u5237\u65B0"));
|
||
// 重置页码
|
||
_this6.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this6.listQuery._timestamp = Date.now();
|
||
_this6.refreshCurrentList();
|
||
} else {
|
||
// 没找到有数据的类型,显示空状态
|
||
console.log("\u521D\u59CB\u672A\u627E\u5230\u6709\u6570\u636E\u7684\u7C7B\u578B\uFF0C\u4FDD\u6301\u5F53\u524D\u7C7B\u578B ".concat(_this6.listQuery.type));
|
||
// 重置页码
|
||
_this6.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this6.listQuery._timestamp = Date.now();
|
||
_this6.refreshCurrentList();
|
||
}
|
||
_context.next = 26;
|
||
break;
|
||
case 22:
|
||
_context.prev = 22;
|
||
_context.t0 = _context["catch"](3);
|
||
console.error('初始智能搜索失败:', _context.t0);
|
||
// 出错时直接刷新当前列表
|
||
_this6.refreshCurrentList();
|
||
case 26:
|
||
_context.prev = 26;
|
||
_this6.isSearching = false;
|
||
_this6.hasInitialSearch = true; // 标记初始搜索已完成
|
||
return _context.finish(26);
|
||
case 30:
|
||
case "end":
|
||
return _context.stop();
|
||
}
|
||
}
|
||
}, _callee, null, [[3, 22, 26, 30]]);
|
||
}))();
|
||
},
|
||
// 普通搜索(用于用户手动操作后)
|
||
performNormalSearch: function performNormalSearch() {
|
||
if (this.isSearching) return;
|
||
this.isSearching = true;
|
||
try {
|
||
console.log('普通搜索,类型:', this.listQuery.type, '搜索词:', this.listQuery.title);
|
||
// 确保空搜索时也能正确请求
|
||
if (!this.listQuery.title || this.listQuery.title.trim() === '') {
|
||
this.listQuery.title = '';
|
||
}
|
||
// 重置页码
|
||
this.listQuery.page = 1;
|
||
// 添加时间戳强制刷新
|
||
this.listQuery._timestamp = Date.now();
|
||
// 刷新列表
|
||
this.refreshCurrentList();
|
||
} catch (error) {
|
||
console.error('普通搜索失败:', error);
|
||
this.forceHideLoading();
|
||
} finally {
|
||
this.isSearching = false;
|
||
}
|
||
},
|
||
// 智能搜索(只在第一次搜索时使用)
|
||
performSmartSearch: function performSmartSearch() {
|
||
var _this7 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
||
var originalType, currentTypeHasData, targetType;
|
||
return _regenerator.default.wrap(function _callee2$(_context2) {
|
||
while (1) {
|
||
switch (_context2.prev = _context2.next) {
|
||
case 0:
|
||
if (!_this7.isSearching) {
|
||
_context2.next = 2;
|
||
break;
|
||
}
|
||
return _context2.abrupt("return");
|
||
case 2:
|
||
_this7.isSearching = true;
|
||
_context2.prev = 3;
|
||
if (!(!_this7.listQuery.title || _this7.listQuery.title.trim() === '')) {
|
||
_context2.next = 12;
|
||
break;
|
||
}
|
||
_this7.listQuery.title = '';
|
||
// 重置页码
|
||
_this7.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this7.listQuery._timestamp = Date.now();
|
||
_this7.refreshCurrentList();
|
||
_this7.hasInitialSearch = true;
|
||
setTimeout(function () {
|
||
return _this7.hideLoading();
|
||
}, 100);
|
||
return _context2.abrupt("return");
|
||
case 12:
|
||
// 记录原始类型
|
||
originalType = _this7.listQuery.type;
|
||
console.log('智能搜索开始,当前类型:', originalType, '搜索词:', _this7.listQuery.title);
|
||
|
||
// 先检查当前tab是否有数据
|
||
_context2.next = 16;
|
||
return _this7.checkTypeHasData(_this7.listQuery.type);
|
||
case 16:
|
||
currentTypeHasData = _context2.sent;
|
||
if (!currentTypeHasData) {
|
||
_context2.next = 24;
|
||
break;
|
||
}
|
||
// 当前tab有数据,直接使用当前tab
|
||
console.log("\u5F53\u524D\u7C7B\u578B ".concat(_this7.listQuery.type, " \u6709\u6570\u636E\uFF0C\u76F4\u63A5\u5237\u65B0"));
|
||
// 重置页码
|
||
_this7.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this7.listQuery._timestamp = Date.now();
|
||
_this7.refreshCurrentList();
|
||
_context2.next = 29;
|
||
break;
|
||
case 24:
|
||
_context2.next = 26;
|
||
return _this7.findFirstAvailableType();
|
||
case 26:
|
||
targetType = _context2.sent;
|
||
console.log('智能搜索结束,找到的目标类型:', targetType, '当前类型:', _this7.listQuery.type);
|
||
if (targetType && targetType !== _this7.listQuery.type) {
|
||
console.log("\u5207\u6362\u5230\u7C7B\u578B ".concat(targetType));
|
||
_this7.listQuery.type = targetType;
|
||
// 如果是服务类型,保留筛选参数,否则重置
|
||
if (targetType !== 3) {
|
||
_this7.resetFilterParams();
|
||
}
|
||
|
||
// 重置页码
|
||
_this7.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this7.listQuery._timestamp = Date.now();
|
||
|
||
// 更新UI后刷新列表
|
||
_this7.$nextTick(function () {
|
||
_this7.refreshCurrentList();
|
||
});
|
||
} else if (targetType === _this7.listQuery.type) {
|
||
console.log("\u7C7B\u578B\u672A\u53D8 ".concat(targetType, "\uFF0C\u76F4\u63A5\u5237\u65B0"));
|
||
// 重置页码
|
||
_this7.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this7.listQuery._timestamp = Date.now();
|
||
_this7.refreshCurrentList();
|
||
} else {
|
||
// 没找到有数据的类型,显示空状态
|
||
console.log("\u672A\u627E\u5230\u6709\u6570\u636E\u7684\u7C7B\u578B\uFF0C\u4FDD\u6301\u5F53\u524D\u7C7B\u578B ".concat(_this7.listQuery.type));
|
||
// 重置页码
|
||
_this7.listQuery.page = 1;
|
||
// 添加时间戳
|
||
_this7.listQuery._timestamp = Date.now();
|
||
_this7.refreshCurrentList();
|
||
}
|
||
case 29:
|
||
_context2.next = 35;
|
||
break;
|
||
case 31:
|
||
_context2.prev = 31;
|
||
_context2.t0 = _context2["catch"](3);
|
||
console.error('智能搜索失败:', _context2.t0);
|
||
_this7.refreshCurrentList();
|
||
case 35:
|
||
_context2.prev = 35;
|
||
_this7.isSearching = false;
|
||
_this7.hasInitialSearch = true;
|
||
return _context2.finish(35);
|
||
case 39:
|
||
case "end":
|
||
return _context2.stop();
|
||
}
|
||
}
|
||
}, _callee2, null, [[3, 31, 35, 39]]);
|
||
}))();
|
||
},
|
||
// 查找第一个有数据的类型
|
||
findFirstAvailableType: function findFirstAvailableType() {
|
||
var _this8 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
||
var typesToCheck, priorityTypes, _iterator, _step, type, hasData;
|
||
return _regenerator.default.wrap(function _callee3$(_context3) {
|
||
while (1) {
|
||
switch (_context3.prev = _context3.next) {
|
||
case 0:
|
||
typesToCheck = [3, 1, 2]; // 服务 -> 手艺人 -> 店铺
|
||
// 智能判断优先检查哪个类型
|
||
priorityTypes = typesToCheck; // 如果当前搜索词是之前搜索过的,并且用户已经选择了某个tab
|
||
// 则优先检查用户选择的tab
|
||
if (_this8.userChangedTab && _this8.listQuery.type) {
|
||
console.log("\u7528\u6237\u5DF2\u9009\u62E9\u7C7B\u578B ".concat(_this8.listQuery.type, "\uFF0C\u4F18\u5148\u68C0\u67E5"));
|
||
priorityTypes = [_this8.listQuery.type].concat((0, _toConsumableArray2.default)(typesToCheck.filter(function (type) {
|
||
return type !== _this8.listQuery.type;
|
||
})));
|
||
}
|
||
_iterator = _createForOfIteratorHelper(priorityTypes);
|
||
_context3.prev = 4;
|
||
_iterator.s();
|
||
case 6:
|
||
if ((_step = _iterator.n()).done) {
|
||
_context3.next = 25;
|
||
break;
|
||
}
|
||
type = _step.value;
|
||
_context3.prev = 8;
|
||
console.log("\u5F00\u59CB\u68C0\u67E5\u7C7B\u578B ".concat(type, " \u662F\u5426\u6709\u6570\u636E"));
|
||
_context3.next = 12;
|
||
return _this8.checkTypeHasData(type);
|
||
case 12:
|
||
hasData = _context3.sent;
|
||
console.log("\u7C7B\u578B ".concat(type, " \u68C0\u67E5\u7ED3\u679C: ").concat(hasData ? '有数据' : '无数据'));
|
||
if (!hasData) {
|
||
_context3.next = 17;
|
||
break;
|
||
}
|
||
console.log("\u7C7B\u578B ".concat(type, " \u6709\u6570\u636E\uFF0C\u5C06\u5207\u6362\u5230\u8BE5\u7C7B\u578B"));
|
||
return _context3.abrupt("return", type);
|
||
case 17:
|
||
_context3.next = 23;
|
||
break;
|
||
case 19:
|
||
_context3.prev = 19;
|
||
_context3.t0 = _context3["catch"](8);
|
||
console.error("\u68C0\u67E5\u7C7B\u578B ".concat(type, " \u5931\u8D25:"), _context3.t0);
|
||
return _context3.abrupt("continue", 23);
|
||
case 23:
|
||
_context3.next = 6;
|
||
break;
|
||
case 25:
|
||
_context3.next = 30;
|
||
break;
|
||
case 27:
|
||
_context3.prev = 27;
|
||
_context3.t1 = _context3["catch"](4);
|
||
_iterator.e(_context3.t1);
|
||
case 30:
|
||
_context3.prev = 30;
|
||
_iterator.f();
|
||
return _context3.finish(30);
|
||
case 33:
|
||
// 都没找到数据,返回null
|
||
console.log('所有类型都没有数据');
|
||
return _context3.abrupt("return", null);
|
||
case 35:
|
||
case "end":
|
||
return _context3.stop();
|
||
}
|
||
}
|
||
}, _callee3, null, [[4, 27, 30, 33], [8, 19]]);
|
||
}))();
|
||
},
|
||
// 检查指定类型是否有数据
|
||
checkTypeHasData: function checkTypeHasData(type) {
|
||
var _this9 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
||
var params, sortMap, res, hasData;
|
||
return _regenerator.default.wrap(function _callee4$(_context4) {
|
||
while (1) {
|
||
switch (_context4.prev = _context4.next) {
|
||
case 0:
|
||
_context4.prev = 0;
|
||
// 构建检查参数 注意这里title要传空字符串而不是不传
|
||
params = {
|
||
page: 1,
|
||
limit: 5,
|
||
// 只检查前5条,减少请求数据量
|
||
type: type,
|
||
// 这里必须传title,即使是空字符串也要传
|
||
title: _this9.listQuery.title || '',
|
||
userLngz: _this9.listQuery.userLngz,
|
||
userLat: _this9.listQuery.userLat
|
||
}; // 如果是服务类型,添加筛选参数
|
||
if (type === 3) {
|
||
if (_this9.listQuery.serviceType !== null && _this9.listQuery.serviceType !== undefined) {
|
||
params.server_kind = _this9.listQuery.serviceType;
|
||
}
|
||
if (_this9.listQuery.distance !== null && _this9.listQuery.distance !== undefined) {
|
||
params.distance = _this9.listQuery.distance / 1000;
|
||
}
|
||
if (_this9.listQuery.minPrice !== null && _this9.listQuery.minPrice !== undefined) {
|
||
params.min_price = _this9.listQuery.minPrice;
|
||
}
|
||
if (_this9.listQuery.maxPrice !== null && _this9.listQuery.maxPrice !== undefined) {
|
||
params.max_price = _this9.listQuery.maxPrice;
|
||
}
|
||
if (_this9.listQuery.sortType !== null && _this9.listQuery.sortType !== undefined) {
|
||
sortMap = {
|
||
'distance': 1,
|
||
'sales': 2,
|
||
'price_asc': 3,
|
||
'price_desc': 4
|
||
};
|
||
params.sort_type = sortMap[_this9.listQuery.sortType] || 1;
|
||
}
|
||
}
|
||
|
||
// 清理空值参数,但保留title为空字符串的情况
|
||
Object.keys(params).forEach(function (key) {
|
||
if (params[key] === null || params[key] === undefined) {
|
||
delete params[key];
|
||
}
|
||
});
|
||
console.log("\u68C0\u67E5\u7C7B\u578B ".concat(type, " \u7684\u8BF7\u6C42\u53C2\u6570:"), JSON.stringify(params));
|
||
|
||
// 使用项目的请求封装
|
||
_context4.next = 7;
|
||
return _request.default.post('/user/getSearchList', params, {
|
||
hideLoading: true
|
||
});
|
||
case 7:
|
||
res = _context4.sent;
|
||
hasData = false; // 尝试多种可能的数据结构
|
||
// 可能性1: res 直接包含 list 数组
|
||
if (res && res.list && Array.isArray(res.list) && res.list.length > 0) {
|
||
console.log("\u221A\u7C7B\u578B ".concat(type, ": \u901A\u8FC7 res.list \u627E\u5230\u6570\u636E, \u957F\u5EA6: ").concat(res.list.length));
|
||
hasData = true;
|
||
}
|
||
// 可能性2: res.data 中包含 list 数组
|
||
else if (res && res.data && res.data.list && Array.isArray(res.data.list) && res.data.list.length > 0) {
|
||
console.log("\u221A \u7C7B\u578B ".concat(type, ": \u901A\u8FC7 res.data.list \u627E\u5230\u6570\u636E, \u957F\u5EA6: ").concat(res.data.list.length));
|
||
hasData = true;
|
||
}
|
||
// 可能性3: res 本身是数组
|
||
else if (res && Array.isArray(res) && res.length > 0) {
|
||
console.log("\u221A \u7C7B\u578B ".concat(type, ": res \u672C\u8EAB\u5C31\u662F\u6570\u7EC4, \u957F\u5EA6: ").concat(res.length));
|
||
hasData = true;
|
||
}
|
||
// 可能性4: 根据 CommonList 的日志,可能是其他数据结构
|
||
else if (res && res.data && Array.isArray(res.data) && res.data.length > 0) {
|
||
console.log("\u221A\u7C7B\u578B ".concat(type, ": \u901A\u8FC7 res.data \u6570\u7EC4\u627E\u5230\u6570\u636E, \u957F\u5EA6: ").concat(res.data.length));
|
||
hasData = true;
|
||
} else {
|
||
console.log("\xD7 \u7C7B\u578B ".concat(type, ": \u672A\u627E\u5230\u6570\u636E, \u54CD\u5E94\u7ED3\u6784\u4E0D\u7B26\u5408\u9884\u671F"));
|
||
hasData = false;
|
||
}
|
||
return _context4.abrupt("return", hasData);
|
||
case 13:
|
||
_context4.prev = 13;
|
||
_context4.t0 = _context4["catch"](0);
|
||
console.error('检查数据失败:', _context4.t0);
|
||
// 请求失败,认为没有数据
|
||
return _context4.abrupt("return", false);
|
||
case 17:
|
||
case "end":
|
||
return _context4.stop();
|
||
}
|
||
}
|
||
}, _callee4, null, [[0, 13]]);
|
||
}))();
|
||
},
|
||
// 判断是否为可能的手艺人名称
|
||
isPossibleArtisanName: function isPossibleArtisanName(text) {
|
||
if (!text) return false;
|
||
|
||
// 手艺人名称通常是中文,且较短
|
||
var chineseRegex = /^[\u4e00-\u9fa5]{2,4}$/;
|
||
return chineseRegex.test(text);
|
||
},
|
||
// 刷新当前列表
|
||
refreshCurrentList: function refreshCurrentList() {
|
||
var _this10 = this;
|
||
// 构建API请求参数
|
||
var apiParams = this.buildApiParams();
|
||
console.log('刷新列表,类型:', this.listQuery.type, '搜索词:', this.listQuery.title, 'API请求参数:', apiParams);
|
||
|
||
// 强制更新listQuery
|
||
this.listQuery = _objectSpread(_objectSpread(_objectSpread({}, this.listQuery), apiParams), {}, {
|
||
// 确保时间戳更新
|
||
_timestamp: Date.now()
|
||
});
|
||
console.log('更新后的listQuery:', JSON.parse(JSON.stringify(this.listQuery)));
|
||
|
||
// 检查CommonList组件是否存在
|
||
if (!this.$refs.groupRef) {
|
||
console.error('CommonList组件引用不存在');
|
||
this.forceHideLoading();
|
||
return;
|
||
}
|
||
console.log('开始调用manualRefresh...');
|
||
|
||
// 等待一个tick确保DOM更新
|
||
this.$nextTick(function () {
|
||
try {
|
||
// 尝试调用CommonList的刷新方法
|
||
if (_this10.$refs.groupRef.manualRefresh) {
|
||
console.log('调用manualRefresh方法,参数:', apiParams);
|
||
_this10.$refs.groupRef.manualRefresh(apiParams);
|
||
} else {
|
||
console.warn('CommonList没有找到manualRefresh方法');
|
||
// 如果manualRefresh不存在,尝试其他方式
|
||
_this10.$forceUpdate();
|
||
}
|
||
} catch (error) {
|
||
console.error('调用manualRefresh失败:', error);
|
||
_this10.forceHideLoading();
|
||
}
|
||
});
|
||
|
||
// 监听列表刷新完成(使用一个简单的超时机制)
|
||
// 因为CommonList可能没有提供完成事件,我们设置一个合理的超时
|
||
setTimeout(function () {
|
||
_this10.hideLoading();
|
||
console.log('列表刷新超时检查,隐藏加载动画');
|
||
}, 300);
|
||
},
|
||
// 构建符合后端接口的参数
|
||
buildApiParams: function buildApiParams() {
|
||
var params = {
|
||
page: this.listQuery.page,
|
||
limit: this.listQuery.limit,
|
||
type: this.listQuery.type,
|
||
// 关键:这里title必须传,即使为空字符串也要传
|
||
// 因为后端可能依赖title参数来判断是搜索还是获取全部
|
||
// 如果后端不需要title参数来表示全部,那么传空字符串应该也是可以的
|
||
title: this.listQuery.title || '',
|
||
userLngz: this.listQuery.userLngz,
|
||
userLat: this.listQuery.userLat
|
||
};
|
||
|
||
// 只有服务类型(type=3)时才添加筛选参数
|
||
if (this.listQuery.type === 3) {
|
||
// 服务类型映射: serviceType -> server_kind
|
||
if (this.listQuery.serviceType !== null && this.listQuery.serviceType !== undefined) {
|
||
params.server_kind = this.listQuery.serviceType;
|
||
}
|
||
|
||
// 距离筛选: 前端是米,后端是公里
|
||
if (this.listQuery.distance !== null && this.listQuery.distance !== undefined) {
|
||
params.distance = this.listQuery.distance / 1000; // 米转公里
|
||
}
|
||
|
||
// 价格筛选
|
||
if (this.listQuery.minPrice !== null && this.listQuery.minPrice !== undefined) {
|
||
params.min_price = this.listQuery.minPrice;
|
||
}
|
||
if (this.listQuery.maxPrice !== null && this.listQuery.maxPrice !== undefined) {
|
||
params.max_price = this.listQuery.maxPrice;
|
||
}
|
||
|
||
// 排序类型映射
|
||
if (this.listQuery.sortType !== null && this.listQuery.sortType !== undefined) {
|
||
// 将前端的排序值映射为后端的数字
|
||
var sortMap = {
|
||
'distance': 1,
|
||
// 离我最近
|
||
'sales': 2,
|
||
// 销量最高
|
||
'price_asc': 3,
|
||
// 价格最低
|
||
'price_desc': 4 // 价格最高
|
||
};
|
||
|
||
params.sort_type = sortMap[this.listQuery.sortType] || 1;
|
||
}
|
||
} else {
|
||
params.server_kind = null;
|
||
params.distance = null;
|
||
params.min_price = null;
|
||
params.max_price = null;
|
||
params.sortMap = null;
|
||
}
|
||
|
||
// 清理空值参数,但保留title为空字符串的情况
|
||
Object.keys(params).forEach(function (key) {
|
||
if (params[key] === null || params[key] === undefined) {
|
||
delete params[key];
|
||
}
|
||
});
|
||
console.log('最终构建的参数:', JSON.stringify(params));
|
||
return params;
|
||
},
|
||
// 重置筛选参数
|
||
resetFilterParams: function resetFilterParams() {
|
||
this.$set(this.listQuery, "serviceType", null);
|
||
this.$set(this.listQuery, "distance", null);
|
||
this.$set(this.listQuery, "minPrice", null);
|
||
this.$set(this.listQuery, "maxPrice", null);
|
||
this.$set(this.listQuery, "sortType", null);
|
||
},
|
||
// 处理筛选变化
|
||
handleFilterChange: function handleFilterChange(filterData) {
|
||
console.log('收到筛选数据:', filterData);
|
||
// 更新筛选参数
|
||
this.listQuery.serviceType = filterData.serviceType;
|
||
this.listQuery.distance = filterData.distance;
|
||
this.listQuery.minPrice = filterData.minPrice;
|
||
this.listQuery.maxPrice = filterData.maxPrice;
|
||
this.listQuery.sortType = filterData.sortType;
|
||
|
||
// 重置页码
|
||
this.listQuery.page = 1;
|
||
// 添加时间戳
|
||
this.listQuery._timestamp = Date.now();
|
||
|
||
// 显示加载
|
||
this.showLoading();
|
||
// 重新搜索
|
||
this.performNormalSearch();
|
||
},
|
||
// 筛选面板状态变化
|
||
onFilterShowChange: function onFilterShowChange(show) {
|
||
var _this11 = this;
|
||
// 筛选面板显示/隐藏时重新计算高度
|
||
this.$nextTick(function () {
|
||
setTimeout(function () {
|
||
_this11.calculateTopHeight();
|
||
}, 300);
|
||
});
|
||
}
|
||
},
|
||
onUnload: function onUnload() {
|
||
// 页面卸载时清理计时器
|
||
if (this.searchTimer) {
|
||
clearTimeout(this.searchTimer);
|
||
this.searchTimer = null;
|
||
}
|
||
if (this.loadingTimer) {
|
||
clearTimeout(this.loadingTimer);
|
||
this.loadingTimer = null;
|
||
}
|
||
}
|
||
};
|
||
exports.default = _default;
|
||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||
|
||
/***/ }),
|
||
|
||
/***/ 149:
|
||
/*!**********************************************************************************************************************!*\
|
||
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/search/search-result.vue?vue&type=style&index=0&lang=less& ***!
|
||
\**********************************************************************************************************************/
|
||
/*! 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_10_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_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_10_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_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_10_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_search_result_vue_vue_type_style_index_0_lang_less___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--10-oneOf-1-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-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--10-oneOf-1-2!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--10-oneOf-1-3!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-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!./search-result.vue?vue&type=style&index=0&lang=less& */ 150);
|
||
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_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_10_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_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_10_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_search_result_vue_vue_type_style_index_0_lang_less___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_10_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_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_10_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_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_10_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_search_result_vue_vue_type_style_index_0_lang_less___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_10_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_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_10_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_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_10_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_search_result_vue_vue_type_style_index_0_lang_less___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_10_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_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_10_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_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_10_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_search_result_vue_vue_type_style_index_0_lang_less___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_10_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_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_10_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_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_10_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_search_result_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 150:
|
||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--10-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--10-oneOf-1-2!./node_modules/postcss-loader/src??ref--10-oneOf-1-3!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-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/search/search-result.vue?vue&type=style&index=0&lang=less& ***!
|
||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
// extracted by mini-css-extract-plugin
|
||
if(false) { var cssReload; }
|
||
|
||
|
||
/***/ })
|
||
|
||
},[[143,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/search/search-result.js.map
|