2203 lines
107 KiB
JavaScript
2203 lines
107 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/index"],{
|
||
|
||
/***/ 54:
|
||
/*!********************************************************************************!*\
|
||
!*** E:/workfile/minprogram/caiyunyi/main.js?{"page":"pages%2Findex%2Findex"} ***!
|
||
\********************************************************************************/
|
||
/*! 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));
|
||
var _index = _interopRequireDefault(__webpack_require__(/*! ./pages/index/index.vue */ 55));
|
||
// @ts-ignore
|
||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||
createPage(_index.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"]))
|
||
|
||
/***/ }),
|
||
|
||
/***/ 55:
|
||
/*!*************************************************************!*\
|
||
!*** E:/workfile/minprogram/caiyunyi/pages/index/index.vue ***!
|
||
\*************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=57280228&scoped=true& */ 56);
|
||
/* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 58);
|
||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_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 _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
/* harmony import */ var _index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&id=57280228&lang=less&scoped=true& */ 61);
|
||
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 36);
|
||
|
||
var renderjs
|
||
|
||
|
||
|
||
|
||
|
||
/* normalize component */
|
||
|
||
var component = Object(_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||
_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||
_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||
_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||
false,
|
||
null,
|
||
"57280228",
|
||
null,
|
||
false,
|
||
_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||
renderjs
|
||
)
|
||
|
||
component.options.__file = "pages/index/index.vue"
|
||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 56:
|
||
/*!********************************************************************************************************!*\
|
||
!*** E:/workfile/minprogram/caiyunyi/pages/index/index.vue?vue&type=template&id=57280228&scoped=true& ***!
|
||
\********************************************************************************************************/
|
||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=57280228&scoped=true& */ 57);
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 57:
|
||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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:/workfile/minprogram/caiyunyi/pages/index/index.vue?vue&type=template&id=57280228&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 = {
|
||
uniRate: function () {
|
||
return __webpack_require__.e(/*! import() | uni_modules/uni-rate/components/uni-rate/uni-rate */ "uni_modules/uni-rate/components/uni-rate/uni-rate").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-rate/components/uni-rate/uni-rate.vue */ 489))
|
||
},
|
||
uniPopup: function () {
|
||
return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 496))
|
||
},
|
||
}
|
||
} 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 l0 = _vm.funList.slice(0, 9)
|
||
var g0 = _vm.serviceDetail.ImageLits && _vm.serviceDetail.ImageLits.length > 0
|
||
var g1 =
|
||
_vm.ScenicData &&
|
||
_vm.ScenicData.ImageList &&
|
||
_vm.ScenicData.ImageList.length > 0
|
||
var g2 = _vm.roadStatusList.length
|
||
var g3 = _vm.roadStatusList && _vm.roadStatusList.length > 1
|
||
var l1 = g3 ? _vm.roadStatusList.concat(_vm.roadStatusList) : null
|
||
var g4 = _vm.roadStatusList && _vm.roadStatusList.length === 1
|
||
var g5 = _vm.everyWeekShopData && _vm.everyWeekShopData.length > 0
|
||
var l2 = g5
|
||
? _vm.__map(_vm.everyWeekShopData, function (item, index) {
|
||
var $orig = _vm.__get_orig(item)
|
||
var g6 = item.IMAGE_PATH
|
||
? item.IMAGE_PATH.split(",") && item.IMAGE_PATH.split(",").length > 1
|
||
: null
|
||
var g7 = item.IMAGE_PATH && g6 ? item.IMAGE_PATH.split(",") : null
|
||
return {
|
||
$orig: $orig,
|
||
g6: g6,
|
||
g7: g7,
|
||
}
|
||
})
|
||
: null
|
||
var g8 = _vm.specialOffersList && _vm.specialOffersList.length > 0
|
||
var g9 = g8 ? _vm.productsList && _vm.productsList.length > 0 : null
|
||
var l3 = g8
|
||
? _vm.__map(_vm.specialOffersList, function (item, index) {
|
||
var $orig = _vm.__get_orig(item)
|
||
var g10 = item.IMAGE_PATH
|
||
? item.IMAGE_PATH.split(",") && item.IMAGE_PATH.split(",").length > 1
|
||
: null
|
||
var g11 = item.IMAGE_PATH && g10 ? item.IMAGE_PATH.split(",") : null
|
||
return {
|
||
$orig: $orig,
|
||
g10: g10,
|
||
g11: g11,
|
||
}
|
||
})
|
||
: null
|
||
var g12 = _vm.productsList && _vm.productsList.length > 0
|
||
var g13 = g12
|
||
? _vm.specialOffersList && _vm.specialOffersList.length > 0
|
||
: null
|
||
var l4 = g12
|
||
? _vm.__map(_vm.productsList, function (item, index) {
|
||
var $orig = _vm.__get_orig(item)
|
||
var g14 = item.IMAGE_PATH
|
||
? item.IMAGE_PATH.split(",") && item.IMAGE_PATH.split(",").length > 1
|
||
: null
|
||
var g15 = item.IMAGE_PATH && g14 ? item.IMAGE_PATH.split(",") : null
|
||
return {
|
||
$orig: $orig,
|
||
g14: g14,
|
||
g15: g15,
|
||
}
|
||
})
|
||
: null
|
||
if (!_vm._isMounted) {
|
||
_vm.e0 = function ($event, item) {
|
||
var _temp = arguments[arguments.length - 1].currentTarget.dataset,
|
||
_temp2 = _temp.eventParams || _temp["event-params"],
|
||
item = _temp2.item
|
||
var _temp, _temp2
|
||
return _vm.handleFunClick(item)
|
||
}
|
||
}
|
||
_vm.$mp.data = Object.assign(
|
||
{},
|
||
{
|
||
$root: {
|
||
l0: l0,
|
||
g0: g0,
|
||
g1: g1,
|
||
g2: g2,
|
||
g3: g3,
|
||
l1: l1,
|
||
g4: g4,
|
||
g5: g5,
|
||
l2: l2,
|
||
g8: g8,
|
||
g9: g9,
|
||
l3: l3,
|
||
g12: g12,
|
||
g13: g13,
|
||
l4: l4,
|
||
},
|
||
}
|
||
)
|
||
}
|
||
var recyclableRender = false
|
||
var staticRenderFns = []
|
||
render._withStripped = true
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 58:
|
||
/*!**************************************************************************************!*\
|
||
!*** E:/workfile/minprogram/caiyunyi/pages/index/index.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 _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js& */ 59);
|
||
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_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 _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 59:
|
||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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:/workfile/minprogram/caiyunyi/pages/index/index.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 */ 30));
|
||
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
|
||
var _vuex = __webpack_require__(/*! vuex */ 33);
|
||
var _publicMethods = __webpack_require__(/*! ../../utils/publicMethods */ 60);
|
||
var _handleAes = __webpack_require__(/*! ../../utils/handleAes */ 47);
|
||
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; }
|
||
var tabbar = function tabbar() {
|
||
__webpack_require__.e(/*! require.ensure | components/tabbar */ "components/tabbar").then((function () {
|
||
return resolve(__webpack_require__(/*! ../../components/tabbar.vue */ 503));
|
||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
};
|
||
var _default = {
|
||
components: {
|
||
tabbar: tabbar
|
||
},
|
||
data: function data() {
|
||
return {
|
||
menu: {},
|
||
funList: [{
|
||
label: "服务区",
|
||
value: 1,
|
||
index: 1,
|
||
src: "/static/images/home/serviceIcon.svg",
|
||
springSrc: "/static/images/home/springService.svg"
|
||
}, {
|
||
label: "商城",
|
||
value: 15,
|
||
index: 2,
|
||
src: "/static/images/home/shoppingMallIcon.svg",
|
||
springSrc: "/static/images/home/shoppingMallIconSpring.svg"
|
||
}, {
|
||
label: "加油",
|
||
value: 2,
|
||
index: 3,
|
||
src: "/static/images/home/gasoline.svg",
|
||
springSrc: "/static/images/home/springGasoline.svg"
|
||
}, {
|
||
label: "充电",
|
||
value: 3,
|
||
index: 4,
|
||
src: "/static/images/home/electricityIcon.svg",
|
||
springSrc: "/static/images/home/springElectricityIcon.svg"
|
||
}, {
|
||
label: "ETC",
|
||
value: 4,
|
||
index: 5,
|
||
src: "/static/images/home/ETC.svg",
|
||
springSrc: "/static/images/home/springETC.svg"
|
||
}, {
|
||
label: "点餐",
|
||
value: 5,
|
||
index: 6,
|
||
src: "/static/images/home/foodIcon.svg",
|
||
springSrc: "/static/images/home/springFood.svg"
|
||
}, {
|
||
label: "招商",
|
||
value: 17,
|
||
index: 7,
|
||
src: "/static/images/home/attractInvestment.svg",
|
||
springSrc: "/static/images/home/attractInvestment.svg"
|
||
}, {
|
||
label: "租车",
|
||
value: 7,
|
||
index: 17,
|
||
src: "/static/images/home/carRental.svg",
|
||
springSrc: "/static/images/home/springCarRental.svg"
|
||
}, {
|
||
label: "投诉建议",
|
||
value: 9,
|
||
index: 9,
|
||
src: "/static/images/home/suggestion.svg",
|
||
springSrc: "/static/images/home/springSuggestion.svg"
|
||
}, {
|
||
label: "保险",
|
||
value: 8,
|
||
index: 10,
|
||
src: "/static/images/home/insuranceIcon.svg",
|
||
springSrc: "/static/images/home/springInsurance.svg"
|
||
}, {
|
||
label: "金融",
|
||
value: 10,
|
||
index: 11,
|
||
src: "/static/images/home/finance.svg",
|
||
springSrc: "/static/images/home/springFinance.svg"
|
||
}, {
|
||
label: "文旅",
|
||
value: 11,
|
||
index: 12,
|
||
src: "/static/images/home/travel.svg",
|
||
springSrc: "/static/images/home/springTravel.svg"
|
||
}, {
|
||
label: "售后",
|
||
value: 12,
|
||
index: 13,
|
||
src: "/static/images/home/customerService.svg",
|
||
springSrc: "/static/images/home/springCustomerService.svg"
|
||
}, {
|
||
label: "加水",
|
||
value: 13,
|
||
index: 14,
|
||
src: "/static/images/home/addWater.svg",
|
||
springSrc: "/static/images/home/springAddWater.svg"
|
||
}, {
|
||
label: "尿素",
|
||
value: 14,
|
||
index: 15,
|
||
src: "/static/images/home/ureaIcon.svg",
|
||
springSrc: "/static/images/home/springUrea.svg"
|
||
}, {
|
||
label: "司机之家",
|
||
value: 6,
|
||
index: 8,
|
||
src: "/static/images/home/driverHome.svg",
|
||
springSrc: "/static/images/home/springDriverHome.svg"
|
||
}],
|
||
allFun: {
|
||
label: "全部功能",
|
||
value: 15,
|
||
src: "/static/images/home/allFunIcon.svg",
|
||
springSrc: "/static/images/home/springAllFunIcon.svg"
|
||
},
|
||
pageType: "",
|
||
// spring 春节模式
|
||
swiperList: [
|
||
// "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
||
// "http://saas.eshangtech.com/minTestImg/DragonBoatFestival.jpg",
|
||
// "https://eshangtech.com/minTestImg/banner_0626_0702.png",
|
||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区_1.jpg"],
|
||
previewImageList: [
|
||
// "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
||
// "http://saas.eshangtech.com/minTestImg/DragonBoatFestival.jpg",
|
||
// "https://eshangtech.com/minTestImg/banner_0626_0702.png",
|
||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/正太泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区.jpg"],
|
||
// 预览图数组
|
||
roadStatusList: [],
|
||
// 路况播报
|
||
seat: {},
|
||
// 坐标
|
||
serverPartList: [],
|
||
serviceDetail: {},
|
||
// 当前服务区的详情
|
||
specialOffersList: [],
|
||
// 促销单品的数据
|
||
productsList: [],
|
||
// 甄选商品的数据
|
||
shoppingMall: [],
|
||
// 商城精选的数据
|
||
chargingObj: {
|
||
have: 0,
|
||
use: 0
|
||
},
|
||
// 充电桩数据
|
||
safeHeight: 0,
|
||
// ios的安全距离
|
||
showBackTop: false,
|
||
// 页面滚动距离
|
||
scrollView: "",
|
||
showPoster: true,
|
||
// 判断是否显示海报
|
||
isChangeIcon: true,
|
||
// 判断是否切换商城的图表
|
||
triggered: false,
|
||
poster: {},
|
||
// 海报信息
|
||
ScenicData: null,
|
||
// 景区信息
|
||
SCENICAREAOBJ: {},
|
||
// 景区类型的枚举
|
||
everyWeekShopData: [] // 每周特惠数据
|
||
};
|
||
},
|
||
onLoad: function onLoad() {
|
||
var _this2 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||
var systemInfo, height, currentService, seatInfo, res, funList, newFunList, _this3;
|
||
return _regenerator.default.wrap(function _callee$(_context) {
|
||
while (1) {
|
||
switch (_context.prev = _context.next) {
|
||
case 0:
|
||
if (!_this2.user.MEMBERSHIP_ID) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index?backTo=index"
|
||
});
|
||
}
|
||
// let stronge = uni.getStorageSync("showIndexPoster");
|
||
|
||
_this2.menu = uni.getMenuButtonBoundingClientRect();
|
||
systemInfo = uni.getSystemInfoSync(); // 判断如果是苹果手机 那么把它底部的安全距离存起来
|
||
if (systemInfo.osName === "ios") {
|
||
// let height = systemInfo.safeArea.bottom - systemInfo.safeArea.height;
|
||
height = systemInfo.safeAreaInsets.bottom;
|
||
_this2.safeHeight = Number(height);
|
||
uni.setStorageSync("safeHeight", height);
|
||
}
|
||
currentService = uni.getStorageSync("currentService");
|
||
seatInfo = uni.getStorageSync("seatInfo");
|
||
if (seatInfo) {
|
||
_this2.seat = JSON.parse(seatInfo);
|
||
}
|
||
|
||
// this.getLocalServer();
|
||
if (currentService) {
|
||
res = _this2.handleMergeDetail(currentService);
|
||
_this2.serviceDetail = _objectSpread(_objectSpread({}, _this2.serviceDetail), res);
|
||
} else {
|
||
_this2.getLocalServer();
|
||
}
|
||
funList = uni.getStorageSync("funList");
|
||
if (funList) {
|
||
newFunList = JSON.parse(funList);
|
||
if (newFunList && newFunList.length > 0) {
|
||
newFunList.forEach(function (item, index) {
|
||
item.index = index + 1;
|
||
});
|
||
}
|
||
_this2.funList = newFunList;
|
||
} else {
|
||
uni.setStorageSync("funList", JSON.stringify(_this2.funList));
|
||
}
|
||
_context.next = 12;
|
||
return _this2.handleGetAdvertisementData();
|
||
case 12:
|
||
// this.$refs.noticeRef.open("center");
|
||
// if (new Date("2025-06-25 00:00:00").getTime() < new Date().getTime() && new Date("2025-07-02 23:59:59").getTime() > new Date().getTime()) {
|
||
if (new Date(_this2.poster.PRESALE_STARTTIME).getTime() < new Date().getTime() && new Date(_this2.poster.PRESALE_ENDTIME).getTime() > new Date().getTime()) {
|
||
_this2.$refs.noticeRef.open("center");
|
||
_this3 = _this2;
|
||
setTimeout(function () {
|
||
_this3.$refs.noticeRef.close();
|
||
}, 8000);
|
||
} else {
|
||
_this2.showPoster = false;
|
||
}
|
||
|
||
// 高速头条播报
|
||
_this2.handleGetHighwayHeadlines();
|
||
// 促销单品
|
||
_this2.handleGetSpecialOffers();
|
||
// 甄选商品
|
||
_this2.handleGetProductsList();
|
||
// 商城的内容
|
||
_this2.handleGetShoppingMall();
|
||
if (_this2.seat.latitude && _this2.seat.longitude) {
|
||
// 景区信息
|
||
_this2.handleGetScenicData();
|
||
}
|
||
|
||
// this.handleAes()
|
||
_this2.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "进入了首页"
|
||
});
|
||
_this2.handleGetShopMallData();
|
||
case 20:
|
||
case "end":
|
||
return _context.stop();
|
||
}
|
||
}
|
||
}, _callee);
|
||
}))();
|
||
},
|
||
onShow: function onShow() {
|
||
var _this4 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
||
var currentService, obj, newObj, idList, funList, newFunList;
|
||
return _regenerator.default.wrap(function _callee2$(_context2) {
|
||
while (1) {
|
||
switch (_context2.prev = _context2.next) {
|
||
case 0:
|
||
currentService = uni.getStorageSync("currentService");
|
||
if (!currentService) {
|
||
_context2.next = 9;
|
||
break;
|
||
}
|
||
_context2.next = 4;
|
||
return _this4.handleGetServiceDetail(currentService.SERVERPART_ID);
|
||
case 4:
|
||
// this.serviceDetail = currentService;
|
||
obj = _this4.handleMergeDetail(currentService);
|
||
newObj = _objectSpread(_objectSpread({}, currentService), {}, {
|
||
sumDetail: obj,
|
||
haveREFUELINGGUN: obj.haveREFUELINGGUN,
|
||
HASCHARGE: obj.HASCHARGE,
|
||
havePARKING: obj.havePARKING,
|
||
haveWC: obj.haveWC,
|
||
HASMOTHER: obj.HASMOTHER,
|
||
HASPILOTLOUNGE: obj.HASPILOTLOUNGE
|
||
});
|
||
_this4.serviceDetail = newObj;
|
||
idList = [1212, 1222, 1139, 1215];
|
||
if (idList.indexOf(_this4.serviceDetail.SERVERPART_ID) !== -1) {
|
||
_this4.handleGetChargingStation(_this4.serviceDetail);
|
||
}
|
||
case 9:
|
||
funList = uni.getStorageSync("funList");
|
||
if (funList) {
|
||
newFunList = JSON.parse(funList);
|
||
if (newFunList && newFunList.length > 0) {
|
||
newFunList.forEach(function (item, index) {
|
||
item.index = index + 1;
|
||
});
|
||
}
|
||
_this4.funList = newFunList;
|
||
}
|
||
|
||
// if (new Date("2025-03-02 8:00:00").getTime() < new Date().getTime()) {
|
||
// this.isChangeIcon = false;
|
||
// }
|
||
// if (this.isChangeIcon) {
|
||
// let fun = this.funList;
|
||
// fun.forEach((item) => {
|
||
// if (item.value === 15) {
|
||
// item.label = "女神活动";
|
||
// item.src = "https://eshangtech.com/minTestImg/GoddessFestival.png";
|
||
// item.springSrc =
|
||
// "https://eshangtech.com/minTestImg/GoddessFestival.png";
|
||
// }
|
||
// });
|
||
|
||
// this.funList = fun;
|
||
// this.$forceUpdate();
|
||
// }
|
||
case 11:
|
||
case "end":
|
||
return _context2.stop();
|
||
}
|
||
}
|
||
}, _callee2);
|
||
}))();
|
||
},
|
||
// async onPullDownRefresh() {
|
||
// // await this.handleReloadFunIndex()
|
||
// const seatInfo = await this.handleGetNewPosition()
|
||
|
||
// // handleGetNearService(seatInfo.longitude, seatInfo.latitude)
|
||
// let objInfo = await this.handleGetNearService(seatInfo.longitude, seatInfo.latitude)
|
||
// let obj = await this.handleGetServiceDetail(objInfo.SERVERPART_ID);
|
||
|
||
// let newObj = {
|
||
// ...objInfo,
|
||
// sumDetail: obj,
|
||
// haveREFUELINGGUN: obj.haveREFUELINGGUN,
|
||
// HASCHARGE: obj.HASCHARGE,
|
||
// havePARKING: obj.havePARKING,
|
||
// haveWC: obj.haveWC,
|
||
// HASMOTHER: obj.HASMOTHER,
|
||
// HASPILOTLOUNGE: obj.HASPILOTLOUNGE,
|
||
// }
|
||
// console.log('newObjnewObjnewObjnewObj', newObj);
|
||
|
||
// this.serviceDetail = newObj
|
||
// let idList = [1212, 1222, 1139, 1215];
|
||
// if (idList.indexOf(nearService.SERVERPART_ID) !== -1) {
|
||
// this.handleGetChargingStation(nearService);
|
||
// }
|
||
// uni.stopPullDownRefresh()
|
||
// },
|
||
computed: _objectSpread({}, (0, _vuex.mapGetters)({
|
||
user: "user",
|
||
tableNum: "orderTable",
|
||
orderRemark: "orderRemark",
|
||
provinceCode: "provinceCode",
|
||
couponPrice: "couponPrice",
|
||
nowStore: "nowStore"
|
||
})),
|
||
onShareAppMessage: function onShareAppMessage() {
|
||
// let _this = this;
|
||
return {
|
||
title: "彩云驿出行",
|
||
path: "/pages/index/index"
|
||
// imageUrl: _this.good.DEFAULT_IMG,
|
||
};
|
||
},
|
||
onShareTimeline: function onShareTimeline() {
|
||
return {
|
||
title: "彩云驿出行",
|
||
path: "/pages/index/index"
|
||
// imageUrl: _this.good.DEFAULT_IMG,
|
||
};
|
||
},
|
||
|
||
methods: {
|
||
// 请求景区信息
|
||
handleGetScenicData: function handleGetScenicData(latitude, longitude) {
|
||
var _this5 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
||
var SCENICAREA, SCENICAREAOBJ, field, fieldList, req, data, list, res;
|
||
return _regenerator.default.wrap(function _callee3$(_context3) {
|
||
while (1) {
|
||
switch (_context3.prev = _context3.next) {
|
||
case 0:
|
||
SCENICAREA = uni.getStorageSync("SCENICAREAOBJ");
|
||
SCENICAREAOBJ = {};
|
||
if (!SCENICAREAOBJ) {
|
||
_context3.next = 6;
|
||
break;
|
||
}
|
||
SCENICAREAOBJ = SCENICAREA;
|
||
_context3.next = 12;
|
||
break;
|
||
case 6:
|
||
_context3.next = 8;
|
||
return _this5.$api.$get("/EShangApiMain/FrameWork/GetFieldEnumTree", {
|
||
FieldExplainField: 'SCENICAREA_TYPE'
|
||
});
|
||
case 8:
|
||
field = _context3.sent;
|
||
fieldList = _this5.$utils.wrapTreeNode(field.Result_Data.List);
|
||
if (fieldList && fieldList.length > 0) {
|
||
fieldList.forEach(function (item) {
|
||
SCENICAREAOBJ[item.value] = item.label;
|
||
});
|
||
}
|
||
uni.setStorageSync("SCENICAREAOBJ", SCENICAREAOBJ);
|
||
case 12:
|
||
_this5.SCENICAREAOBJ = SCENICAREAOBJ;
|
||
req = {
|
||
ProvinceCode: "530000",
|
||
latitude: latitude || _this5.seat.latitude || "",
|
||
longitude: longitude || _this5.seat.longitude || "",
|
||
ServerpartID: _this5.serviceDetail.SERVERPART_ID || "",
|
||
type: 'encryption'
|
||
};
|
||
_context3.next = 16;
|
||
return _this5.$api.$zzyLocalPost("/WisdomServerpart/GetScenicAreaListByLocation", req);
|
||
case 16:
|
||
data = _context3.sent;
|
||
console.log('景区数据 ', data);
|
||
list = data.Result_Data.List;
|
||
res = [];
|
||
if (list && list.length > 0) {
|
||
list.forEach(function (item) {
|
||
if (item.SCENICAREA_STATE === 1000) {
|
||
res.push(item);
|
||
}
|
||
});
|
||
}
|
||
_this5.ScenicData = res[0];
|
||
case 22:
|
||
case "end":
|
||
return _context3.stop();
|
||
}
|
||
}
|
||
}, _callee3);
|
||
}))();
|
||
},
|
||
// 跳转去附近的景区列表页面
|
||
handleGoScenicList: function handleGoScenicList() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this6 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.navigateTo({
|
||
url: '/pages/scenicList/scenicList'
|
||
});
|
||
},
|
||
// 拿到广告数据
|
||
handleGetAdvertisementData: function handleGetAdvertisementData() {
|
||
var _this7 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
||
var minReq, req, data1, req2, data2, res1, res2, firstObj1, i, item, firstObj2, _i, _item;
|
||
return _regenerator.default.wrap(function _callee4$(_context4) {
|
||
while (1) {
|
||
switch (_context4.prev = _context4.next) {
|
||
case 0:
|
||
minReq = {
|
||
ADDTIME: "2025-01-03T10:51:04",
|
||
APPGUID: "2693711a-72eb-48dc-b3dc-5122424e8fd4",
|
||
APPNAME: "",
|
||
INTERFACE_ADDRESS: "",
|
||
OPERATE_DATE: "2025-01-07T09:44:04",
|
||
OWNERUNIT_ID: 911,
|
||
OWNERUNIT_NAME: "云南交投集团经营开发有限公司彩云驿商业管理分公司",
|
||
PROVINCE_CODE: null,
|
||
STAFF_ID: 1,
|
||
STAFF_NAME: "系统开发者",
|
||
WECHATAPPSIGN_CODE: "",
|
||
WECHATAPPSIGN_DESC: "",
|
||
WECHATAPPSIGN_ID: 38,
|
||
WECHATAPPSIGN_NAME: "彩云驿商城",
|
||
WECHATAPP_APPID: "wxee018fb96955552a",
|
||
WECHATAPP_APPSECRET: "4d7f57d88b38b593781b4b0fd9e1a323",
|
||
WECHATPUBLICSIGN_ID: 3
|
||
}; // let req = {
|
||
// WECHATAPPSIGN_ID: minReq.WECHATAPPSIGN_ID,
|
||
// WECHATAPP_APPID: minReq.WECHATAPP_APPID,
|
||
// USERDEFINEDTYPE_NAME: "小程序海报",
|
||
// PRESALE_STARTTIME: "2025-06-26 00:00:00",
|
||
// PRESALE_ENDTIME: "2025-07-02 23:59:59",
|
||
// GOODSTYPE: "7000",
|
||
// USERDEFINEDTYPE_STATE: 1,
|
||
// USERDEFINEDTYPE_ICO: "https://eshangtech.com/minTestImg/banner_0626_0702.png",
|
||
// OWNERUNIT_ID: 911,
|
||
// PROVINCE_CODE: "530000",
|
||
// STAFF_ID: 2785,
|
||
// type: 'encryption'
|
||
// }
|
||
// const data = await this.$api.$zzyLocalPost(
|
||
// "/MallBasic/SynchroUSERDEFINEDTYPE",
|
||
// req
|
||
// );
|
||
// console.log('datadatadatadatadatadatadatadatadata', data);
|
||
req = {
|
||
SearchParameter: {
|
||
OWNERUNIT_ID: 911,
|
||
GOODSTYPE: 7000,
|
||
USERDEFINEDTYPE_STATE: 1
|
||
},
|
||
SortStr: "OPERATE_DATE desc",
|
||
type: 'encryption'
|
||
};
|
||
_context4.next = 4;
|
||
return _this7.$api.$zzyLocalPost("/MallBasic/GetUSERDEFINEDTYPEList", req);
|
||
case 4:
|
||
data1 = _context4.sent;
|
||
req2 = {
|
||
SearchParameter: {
|
||
OWNERUNIT_ID: 911,
|
||
GOODSTYPE: 7001,
|
||
USERDEFINEDTYPE_STATE: 1
|
||
},
|
||
SortStr: "OPERATE_DATE desc",
|
||
type: 'encryption'
|
||
};
|
||
_context4.next = 8;
|
||
return _this7.$api.$zzyLocalPost("/MallBasic/GetUSERDEFINEDTYPEList", req2);
|
||
case 8:
|
||
data2 = _context4.sent;
|
||
console.log('datadatadatadatadatadatadatadatadata', data1);
|
||
console.log('datadatadatadatadatadatadatadatadata', data2);
|
||
res1 = data1.Result_Data.List;
|
||
res2 = data2.Result_Data.List; // 修改一下 使用的是 当前时间在的范围内的第一个
|
||
firstObj1 = {};
|
||
if (!(res1 && res1.length > 0)) {
|
||
_context4.next = 24;
|
||
break;
|
||
}
|
||
i = 0;
|
||
case 16:
|
||
if (!(i < res1.length)) {
|
||
_context4.next = 24;
|
||
break;
|
||
}
|
||
item = res1[i];
|
||
if (!(new Date(item.PRESALE_STARTTIME).getTime() < new Date().getTime() && new Date().getTime() < new Date(item.PRESALE_ENDTIME).getTime())) {
|
||
_context4.next = 21;
|
||
break;
|
||
}
|
||
firstObj1 = item;
|
||
return _context4.abrupt("break", 24);
|
||
case 21:
|
||
i++;
|
||
_context4.next = 16;
|
||
break;
|
||
case 24:
|
||
firstObj2 = {};
|
||
if (!(res2 && res2.length > 0)) {
|
||
_context4.next = 35;
|
||
break;
|
||
}
|
||
_i = 0;
|
||
case 27:
|
||
if (!(_i < res2.length)) {
|
||
_context4.next = 35;
|
||
break;
|
||
}
|
||
_item = res2[_i];
|
||
if (!(new Date(_item.PRESALE_STARTTIME).getTime() < new Date().getTime() && new Date().getTime() < new Date(_item.PRESALE_ENDTIME).getTime())) {
|
||
_context4.next = 32;
|
||
break;
|
||
}
|
||
firstObj2 = _item;
|
||
return _context4.abrupt("break", 35);
|
||
case 32:
|
||
_i++;
|
||
_context4.next = 27;
|
||
break;
|
||
case 35:
|
||
console.log('firstObj1', firstObj1);
|
||
console.log('firstObj2', firstObj2);
|
||
if (firstObj1.USERDEFINEDTYPE_ICO) {
|
||
_this7.swiperList.unshift(firstObj1.USERDEFINEDTYPE_ICO);
|
||
}
|
||
_this7.poster = firstObj2;
|
||
|
||
// this.swiperList.unshift(res1[0].USERDEFINEDTYPE_ICO)
|
||
// this.poster = res2[0]
|
||
case 39:
|
||
case "end":
|
||
return _context4.stop();
|
||
}
|
||
}
|
||
}, _callee4);
|
||
}))();
|
||
},
|
||
// 测试加密的方法
|
||
handleAes: function handleAes() {
|
||
var _this8 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
||
var req, str, data;
|
||
return _regenerator.default.wrap(function _callee5$(_context5) {
|
||
while (1) {
|
||
switch (_context5.prev = _context5.next) {
|
||
case 0:
|
||
req = {
|
||
waybillNo: "434491081179331",
|
||
mobile: "15558136957",
|
||
type: 'encryption'
|
||
};
|
||
str = JSON.stringify(req); // let jiami = encryptAES(str)
|
||
// let jiemi = decryptAES(jiami)
|
||
_context5.next = 4;
|
||
return _this8.$api.$zzyLocalPost("/WeChat/ExpressQuery", req);
|
||
case 4:
|
||
data = _context5.sent;
|
||
case 5:
|
||
case "end":
|
||
return _context5.stop();
|
||
}
|
||
}
|
||
}, _callee5);
|
||
}))();
|
||
},
|
||
// 重新获取经纬度位置
|
||
handleGetNewPosition: function handleGetNewPosition() {
|
||
return new Promise(function (resolve, reject) {
|
||
uni.getLocation({
|
||
type: "gcj02",
|
||
altitude: true,
|
||
success: function () {
|
||
var _success = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(res) {
|
||
var seatInfo;
|
||
return _regenerator.default.wrap(function _callee6$(_context6) {
|
||
while (1) {
|
||
switch (_context6.prev = _context6.next) {
|
||
case 0:
|
||
seatInfo = {
|
||
latitude: res.latitude,
|
||
longitude: res.longitude
|
||
};
|
||
uni.setStorageSync("seatInfo", JSON.stringify(seatInfo));
|
||
uni.setStorageSync("actualLocation", JSON.stringify(seatInfo));
|
||
resolve(seatInfo);
|
||
case 4:
|
||
case "end":
|
||
return _context6.stop();
|
||
}
|
||
}
|
||
}, _callee6);
|
||
}));
|
||
function success(_x) {
|
||
return _success.apply(this, arguments);
|
||
}
|
||
return success;
|
||
}()
|
||
});
|
||
});
|
||
},
|
||
handleCloseNotice: function handleCloseNotice() {
|
||
this.$refs.noticeRef.close();
|
||
},
|
||
// 重置顶部方法顺序
|
||
handleReloadFunIndex: function handleReloadFunIndex() {
|
||
var _this9 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
||
var _this, seatInfo, oldSeatInfo, distance, nearService, currentService, obj, newObj, idList, objInfo, _obj, _newObj, _idList;
|
||
return _regenerator.default.wrap(function _callee7$(_context7) {
|
||
while (1) {
|
||
switch (_context7.prev = _context7.next) {
|
||
case 0:
|
||
_this9.triggered = true;
|
||
_this = _this9; // 这里获取新的经纬度
|
||
_context7.next = 4;
|
||
return _this9.handleGetNewPosition();
|
||
case 4:
|
||
seatInfo = _context7.sent;
|
||
console.log('seatInfoseatInfoseatInfo', seatInfo);
|
||
// 拿到旧的经纬度
|
||
oldSeatInfo = uni.getStorageSync('seatInfo');
|
||
if (oldSeatInfo) {
|
||
oldSeatInfo = JSON.parse(oldSeatInfo);
|
||
}
|
||
// 两次经纬度的相距距离
|
||
distance = (0, _publicMethods.getDistanceBetweenCoordinates)(seatInfo, oldSeatInfo);
|
||
console.log('distancedistancedistancedistance', distance);
|
||
if (!(distance < 10)) {
|
||
_context7.next = 16;
|
||
break;
|
||
}
|
||
// 拿到之前存的 当前定位的最近服务区 判断跟当前的选中服务区 是否一致 一致就不做处理 不一致 就要换成最近的服务区
|
||
nearService = uni.getStorageSync("nearService");
|
||
currentService = uni.getStorageSync("currentService");
|
||
if (nearService.SERVERPART_ID !== currentService.SERVERPART_ID) {
|
||
obj = _this9.handleMergeDetail(nearService);
|
||
newObj = _objectSpread(_objectSpread({}, nearService), {}, {
|
||
sumDetail: obj,
|
||
haveREFUELINGGUN: obj.haveREFUELINGGUN,
|
||
HASCHARGE: obj.HASCHARGE,
|
||
havePARKING: obj.havePARKING,
|
||
haveWC: obj.haveWC,
|
||
HASMOTHER: obj.HASMOTHER,
|
||
HASPILOTLOUNGE: obj.HASPILOTLOUNGE
|
||
});
|
||
_this9.serviceDetail = newObj;
|
||
uni.setStorageSync("currentService", nearService);
|
||
idList = [1212, 1222, 1139, 1215];
|
||
if (idList.indexOf(nearService.SERVERPART_ID) !== -1) {
|
||
_this9.handleGetChargingStation(nearService);
|
||
} else {
|
||
_this9.chargingObj = {
|
||
have: 0,
|
||
use: 0
|
||
};
|
||
}
|
||
}
|
||
_context7.next = 27;
|
||
break;
|
||
case 16:
|
||
uni.setStorageSync("seatInfo", JSON.stringify(seatInfo));
|
||
uni.setStorageSync("actualLocation", JSON.stringify(seatInfo));
|
||
_context7.next = 20;
|
||
return _this9.handleGetNearService(seatInfo.longitude, seatInfo.latitude);
|
||
case 20:
|
||
objInfo = _context7.sent;
|
||
console.log('objInfo', objInfo);
|
||
_obj = _this9.handleMergeDetail(objInfo);
|
||
_newObj = _objectSpread(_objectSpread({}, objInfo), {}, {
|
||
sumDetail: _obj,
|
||
haveREFUELINGGUN: _obj.haveREFUELINGGUN,
|
||
HASCHARGE: _obj.HASCHARGE,
|
||
havePARKING: _obj.havePARKING,
|
||
haveWC: _obj.haveWC,
|
||
HASMOTHER: _obj.HASMOTHER,
|
||
HASPILOTLOUNGE: _obj.HASPILOTLOUNGE
|
||
});
|
||
_this9.serviceDetail = _newObj;
|
||
_idList = [1212, 1222, 1139, 1215];
|
||
if (_idList.indexOf(_newObj.SERVERPART_ID) !== -1) {
|
||
_this9.handleGetChargingStation(_this9.serviceDetail);
|
||
}
|
||
case 27:
|
||
return _context7.abrupt("return", new Promise(function (resolve) {
|
||
setTimeout(function () {
|
||
_this.funList = [{
|
||
label: "服务区",
|
||
value: 1,
|
||
index: 1,
|
||
src: "/static/images/home/serviceIcon.svg",
|
||
springSrc: "/static/images/home/springService.svg"
|
||
}, {
|
||
label: "商城",
|
||
value: 15,
|
||
index: 2,
|
||
src: "/static/images/home/shoppingMallIcon.svg",
|
||
springSrc: "/static/images/home/shoppingMallIconSpring.svg"
|
||
}, {
|
||
label: "加油",
|
||
value: 2,
|
||
index: 3,
|
||
src: "/static/images/home/gasoline.svg",
|
||
springSrc: "/static/images/home/springGasoline.svg"
|
||
}, {
|
||
label: "充电",
|
||
value: 3,
|
||
index: 4,
|
||
src: "/static/images/home/electricityIcon.svg",
|
||
springSrc: "/static/images/home/springElectricityIcon.svg"
|
||
}, {
|
||
label: "ETC",
|
||
value: 4,
|
||
index: 5,
|
||
src: "/static/images/home/ETC.svg",
|
||
springSrc: "/static/images/home/springETC.svg"
|
||
}, {
|
||
label: "点餐",
|
||
value: 5,
|
||
index: 6,
|
||
src: "/static/images/home/foodIcon.svg",
|
||
springSrc: "/static/images/home/springFood.svg"
|
||
}, {
|
||
label: "招商",
|
||
value: 17,
|
||
index: 7,
|
||
src: "/static/images/home/attractInvestment.svg",
|
||
springSrc: "/static/images/home/attractInvestment.svg"
|
||
}, {
|
||
label: "租车",
|
||
value: 7,
|
||
index: 17,
|
||
src: "/static/images/home/carRental.svg",
|
||
springSrc: "/static/images/home/springCarRental.svg"
|
||
}, {
|
||
label: "投诉建议",
|
||
value: 9,
|
||
index: 9,
|
||
src: "/static/images/home/suggestion.svg",
|
||
springSrc: "/static/images/home/springSuggestion.svg"
|
||
}, {
|
||
label: "保险",
|
||
value: 8,
|
||
index: 10,
|
||
src: "/static/images/home/insuranceIcon.svg",
|
||
springSrc: "/static/images/home/springInsurance.svg"
|
||
}, {
|
||
label: "金融",
|
||
value: 10,
|
||
index: 11,
|
||
src: "/static/images/home/finance.svg",
|
||
springSrc: "/static/images/home/springFinance.svg"
|
||
}, {
|
||
label: "文旅",
|
||
value: 11,
|
||
index: 12,
|
||
src: "/static/images/home/travel.svg",
|
||
springSrc: "/static/images/home/springTravel.svg"
|
||
}, {
|
||
label: "售后",
|
||
value: 12,
|
||
index: 13,
|
||
src: "/static/images/home/customerService.svg",
|
||
springSrc: "/static/images/home/springCustomerService.svg"
|
||
}, {
|
||
label: "加水",
|
||
value: 13,
|
||
index: 14,
|
||
src: "/static/images/home/addWater.svg",
|
||
springSrc: "/static/images/home/springAddWater.svg"
|
||
}, {
|
||
label: "尿素",
|
||
value: 14,
|
||
index: 15,
|
||
src: "/static/images/home/ureaIcon.svg",
|
||
springSrc: "/static/images/home/springUrea.svg"
|
||
}, {
|
||
label: "司机之家",
|
||
value: 6,
|
||
index: 8,
|
||
src: "/static/images/home/driverHome.svg",
|
||
springSrc: "/static/images/home/springDriverHome.svg"
|
||
}];
|
||
_this.triggered = false;
|
||
uni.setStorageSync("funList", JSON.stringify(_this.funList));
|
||
resolve(true);
|
||
}, 300);
|
||
}));
|
||
case 28:
|
||
case "end":
|
||
return _context7.stop();
|
||
}
|
||
}
|
||
}, _callee7);
|
||
}))();
|
||
},
|
||
handleHidePopup: function handleHidePopup() {
|
||
uni.setStorageSync("showIndexPoster", 1);
|
||
this.$refs.noticeRef.close();
|
||
uni.navigateTo({
|
||
url: "/pages/shopMallPage/shopType/index"
|
||
});
|
||
},
|
||
// 回到顶部
|
||
handleGoBack: function handleGoBack() {
|
||
this.scrollView = "navItem";
|
||
},
|
||
// 下拉触发事件
|
||
handlePageScroll: function handlePageScroll(e) {
|
||
this.pageScrollNumber = Number(e.detail.scrollTop);
|
||
if (Number(e.detail.scrollTop) > 100) {
|
||
this.showBackTop = true;
|
||
} else {
|
||
this.scrollView = "";
|
||
this.showBackTop = false;
|
||
}
|
||
},
|
||
// 查询现在的充电桩
|
||
handleGetChargingStation: function handleGetChargingStation(obj) {
|
||
var _this10 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
||
var _this;
|
||
return _regenerator.default.wrap(function _callee8$(_context8) {
|
||
while (1) {
|
||
switch (_context8.prev = _context8.next) {
|
||
case 0:
|
||
_this = _this10;
|
||
uni.request({
|
||
url: "https://xny.yciccloud.com/interconnect/api/interconnection/open/getConnectList",
|
||
//仅为示例,并非真实接口地址。
|
||
method: "POST",
|
||
success: function success(res) {
|
||
var list = res.data;
|
||
console.log('充电', res);
|
||
var result = [];
|
||
if (list && list.length > 0) {
|
||
list.forEach(function (item) {
|
||
if (item.stationName.indexOf("读书铺") !== -1 && obj.SERVERPART_NAME.indexOf("读书铺") !== -1 || item.stationName.indexOf("鸡街") !== -1 && obj.SERVERPART_NAME.indexOf("鸡街") !== -1 || item.stationName.indexOf("星云") !== -1 && obj.SERVERPART_NAME.indexOf("星云") !== -1 || item.stationName.indexOf("富民") !== -1 && obj.SERVERPART_NAME.indexOf("富民") !== -1) {
|
||
result.push(item);
|
||
}
|
||
});
|
||
}
|
||
var sum = 0;
|
||
var have = 0;
|
||
var use = 0;
|
||
if (result && result.length > 0) {
|
||
result.forEach(function (item) {
|
||
if (item.status === "50") {
|
||
sum += 1;
|
||
}
|
||
});
|
||
}
|
||
if (sum > 0) {
|
||
use = sum;
|
||
if (obj.sumDetail.STATEGRIDCHARGE > 0) {
|
||
if (obj.sumDetail.STATEGRIDCHARGE < result.length) {
|
||
have = result.length;
|
||
} else {
|
||
have = obj.sumDetail.STATEGRIDCHARGE;
|
||
}
|
||
} else {
|
||
have = result.length;
|
||
}
|
||
} else {
|
||
have = obj.sumDetail.LIVESTOCKPACKING;
|
||
var rank = Number(uni.getStorageSync("rankNumber"));
|
||
if (rank > 0) {} else {
|
||
rank = Math.random() * (0.7 - 0.5) + 0.5;
|
||
uni.setStorageSync("rankNumber", rank);
|
||
}
|
||
use = Math.floor(have * rank);
|
||
}
|
||
_this.chargingObj = {
|
||
have: have,
|
||
use: use
|
||
};
|
||
_this.$forceUpdate();
|
||
}
|
||
});
|
||
case 2:
|
||
case "end":
|
||
return _context8.stop();
|
||
}
|
||
}
|
||
}, _callee8);
|
||
}))();
|
||
},
|
||
// 拿到服务区详情
|
||
handleGetServiceDetail: function handleGetServiceDetail(id) {
|
||
var _this11 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
|
||
var req, data, obj;
|
||
return _regenerator.default.wrap(function _callee9$(_context9) {
|
||
while (1) {
|
||
switch (_context9.prev = _context9.next) {
|
||
case 0:
|
||
if (id) {
|
||
_context9.next = 2;
|
||
break;
|
||
}
|
||
return _context9.abrupt("return");
|
||
case 2:
|
||
req = {
|
||
ServerpartId: id,
|
||
latitude: _this11.seat.latitude,
|
||
longitude: _this11.seat.longitude
|
||
};
|
||
_context9.next = 5;
|
||
return _this11.$api.$get("/CommercialApi/BaseInfo/GetServerpartInfo", req);
|
||
case 5:
|
||
data = _context9.sent;
|
||
obj = data.Result_Data;
|
||
_this11.serviceDetail = obj;
|
||
_this11.serviceDetail.sumDetail = _this11.handleMergeDetail(obj);
|
||
return _context9.abrupt("return", _this11.serviceDetail);
|
||
case 10:
|
||
case "end":
|
||
return _context9.stop();
|
||
}
|
||
}
|
||
}, _callee9);
|
||
}))();
|
||
},
|
||
// 预览查看
|
||
handleShowPreview: function handleShowPreview(obj) {
|
||
uni.previewImage({
|
||
current: obj,
|
||
// 当前显示图片的http链接
|
||
urls: this.previewImageList // 需要预览的图片http链接列表
|
||
});
|
||
},
|
||
handleGoDetail: function handleGoDetail() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this12 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.navigateTo({
|
||
url: "/pages/serviceDetail/index"
|
||
});
|
||
},
|
||
// ETC的功能
|
||
handleGoETC: function handleGoETC(value) {
|
||
if (value === 1) {
|
||
uni.navigateToMiniProgram({
|
||
appId: "wxb228568a0a4f7120",
|
||
success: function success(res) {
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "跳转ETC小程序"
|
||
});
|
||
}
|
||
});
|
||
} else if (value === 2) {
|
||
uni.navigateTo({
|
||
url: "/pages/etcMap/index"
|
||
});
|
||
}
|
||
},
|
||
// 功能列表
|
||
handleFunClick: function handleFunClick(obj) {
|
||
var _this = this;
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this13 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
// 服务区
|
||
if (obj.value === 1) {
|
||
uni.navigateTo({
|
||
url: "/pages/serviceDetail/index"
|
||
});
|
||
} else if (obj.value === 2) {
|
||
// 加油
|
||
uni.navigateTo({
|
||
url: "/pages/otherFunPage/goPublicPage/index"
|
||
});
|
||
// uni.navigateTo({
|
||
// url: `/pages/noDataPage/index`,
|
||
// });
|
||
} else if (obj.value === 3) {
|
||
// 充电
|
||
uni.navigateToMiniProgram({
|
||
shortLink: "#小程序://云南交投新能源充电网平台/Z6OAkOF7DnSm5da",
|
||
success: function success(res) {
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "进入充电页面"
|
||
});
|
||
}
|
||
});
|
||
} else if (obj.value === 4) {
|
||
// ETC
|
||
// uni.navigateToMiniProgram({
|
||
// appId: "wxb228568a0a4f7120",
|
||
// });
|
||
|
||
this.$refs.ETCRef.open("center");
|
||
|
||
// uni.navigateTo({
|
||
// url: `/pages/etcMap/index`,
|
||
// });
|
||
} else if (obj.value === 5) {
|
||
// 点餐
|
||
uni.navigateTo({
|
||
url: "/pages/serviceList/index?type=food"
|
||
});
|
||
// uni.navigateTo({
|
||
// url: `/pages/reservationOrder/index?id=${this.serviceDetail.SERVERPART_ID}`,
|
||
// });
|
||
} else if (obj.value === 6) {
|
||
// 司机之家
|
||
uni.navigateTo({
|
||
url: "/pages/serviceList/index?type=driver"
|
||
});
|
||
} else if (obj.value === 7) {
|
||
// 租车
|
||
// uni.navigateTo({
|
||
// url: `/pages/noDataPage/index`,
|
||
// });
|
||
uni.navigateToMiniProgram({
|
||
appId: "wxe4bc565cbbf5e289",
|
||
path: "pages/isd/indexNew/index?landingto=home&apptype=ISD_C_WX&st=ser&fromurl=common&channelid=242572",
|
||
success: function success(res) {
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "跳转租车"
|
||
});
|
||
} // extraData: {
|
||
// landingto: "home",
|
||
// apptype: "ISD_C_WX",
|
||
// st: "ser",
|
||
// fromurl: "common",
|
||
// channelid: 242572,
|
||
// },
|
||
});
|
||
} else if (obj.value === 8) {
|
||
// 保险
|
||
uni.navigateTo({
|
||
url: "/pages/otherFunPage/insurance/index"
|
||
});
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "跳转保险"
|
||
});
|
||
} else if (obj.value === 9) {
|
||
// 投诉建议
|
||
uni.navigateToMiniProgram({
|
||
shortLink: "#小程序://云交经司服/jFbQlCIEsEjf5Nq",
|
||
success: function success(res) {
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "跳转投诉建议"
|
||
});
|
||
}
|
||
});
|
||
} else if (obj.value === 10) {
|
||
// 金融
|
||
uni.navigateTo({
|
||
url: "/pages/otherFunPage/finance/index"
|
||
});
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "跳转金融"
|
||
});
|
||
} else if (obj.value === 11) {
|
||
// 文旅
|
||
uni.navigateTo({
|
||
url: "/pages/noDataPage/index"
|
||
});
|
||
} else if (obj.value === 12) {
|
||
// 售后
|
||
uni.navigateTo({
|
||
url: "/pages/noDataPage/index"
|
||
});
|
||
} else if (obj.value === 13) {
|
||
// 加水
|
||
uni.scanCode({
|
||
success: function success(res) {}
|
||
});
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "加水扫码"
|
||
});
|
||
} else if (obj.value === 14) {
|
||
// 尿素
|
||
uni.scanCode({
|
||
success: function success(res) {}
|
||
});
|
||
_this.$utils.addUserBehaviorNew({
|
||
behaviorRecordDesc: "尿素扫码"
|
||
});
|
||
} else if (obj.value === 15) {
|
||
if (this.isChangeIcon) {
|
||
uni.navigateTo({
|
||
url: "/pages/shopMallPage/shopType/index"
|
||
});
|
||
} else {
|
||
// 商城
|
||
this.handleGoShop();
|
||
}
|
||
} else if (obj.value === 17) {
|
||
if (obj.index === 0) {
|
||
uni.navigateTo({
|
||
url: "/pages/shopMallPage/shopType/index?comeForm=index"
|
||
});
|
||
} else {
|
||
uni.navigateTo({
|
||
url: "/pages/highwayHeadlines/attractInvestment"
|
||
});
|
||
}
|
||
}
|
||
},
|
||
// 跳转到商城
|
||
handleGoShop: function handleGoShop() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this14 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.navigateTo({
|
||
url: "/pages/shopMallPage/index/index"
|
||
});
|
||
},
|
||
// 全部功能
|
||
handleGoAllFun: function handleGoAllFun() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this15 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.navigateTo({
|
||
url: "/pages/allFunPage/index?pageType=".concat(this.pageType)
|
||
});
|
||
},
|
||
// 跳转到选择服务区
|
||
goSelectServer: function goSelectServer() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this16 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.navigateTo({
|
||
url: "/pages/newMap/index/index?comeForm=home"
|
||
});
|
||
},
|
||
getLocalServer: function getLocalServer() {
|
||
// 根据定位获取周边服务区
|
||
var _this = this;
|
||
uni.getLocation({
|
||
type: "gcj02",
|
||
altitude: true,
|
||
success: function success(res) {
|
||
var seatInfo = {
|
||
latitude: res.latitude,
|
||
longitude: res.longitude
|
||
};
|
||
uni.setStorageSync("seatInfo", JSON.stringify(seatInfo));
|
||
uni.setStorageSync("actualLocation", JSON.stringify(seatInfo));
|
||
_this.seat = seatInfo;
|
||
var latitude = res.latitude;
|
||
var longitude = res.longitude;
|
||
_this.handleGetNearService(latitude, longitude);
|
||
// 获得附近的景区数据
|
||
_this.handleGetScenicData(latitude, longitude);
|
||
},
|
||
fail: function fail(err) {}
|
||
});
|
||
},
|
||
// 合并服务区数据
|
||
handleMergeDetail: function handleMergeDetail(obj) {
|
||
var sumObj = {
|
||
LIVESTOCKPACKING: 0,
|
||
// 充电桩数
|
||
STATEGRIDCHARGE: 0,
|
||
// 国网充电桩数量
|
||
LIAUTOCHARGE: 0,
|
||
// 理想5C充电桩数量
|
||
GACENERGYCHARGE: 0,
|
||
// 广汽能源充电桩数量
|
||
OTHERCHARGE: 0,
|
||
// 其他充电桩数量
|
||
REFUELINGGUN92: 0,
|
||
// 加油枪92号
|
||
REFUELINGGUN95: 0,
|
||
// 加油枪95号
|
||
REFUELINGGUN0: 0,
|
||
// 加油枪0号
|
||
HASPANTRY: 0,
|
||
// 男厕数量
|
||
HASWIFI: 0,
|
||
// 女厕数量
|
||
TOILETCOUNT: 0,
|
||
// 潮汐厕位
|
||
HASSHOWERROOM: 0,
|
||
// 淋浴房
|
||
HASWATERROOM: 0,
|
||
// 开水器
|
||
MICROWAVEOVEN: 0,
|
||
// 微波炉
|
||
WASHERCOUNT: 0,
|
||
// 洗衣机数量
|
||
SLEEPINGPODS: 0,
|
||
// 睡眠仓
|
||
HASPILOTLOUNGE: false,
|
||
// 有无司机之家
|
||
HASCHILD: false,
|
||
// 有无车辆维修
|
||
VEHICLEWATERFILLING: false,
|
||
// 有无车辆加水
|
||
SMALLPARKING: 0,
|
||
// 轿车车位
|
||
PACKING: 0,
|
||
// 客车车位
|
||
TRUCKPACKING: 0,
|
||
// 货车车位
|
||
DANPACKING: 0,
|
||
// 危化品车位
|
||
DININGBXCOUNT: 0,
|
||
// 商铺数量
|
||
DININGROOMCOUNT: 0,
|
||
// 餐饮店
|
||
HASBACKGROUNDRADIO: 0,
|
||
// 便利店
|
||
POINTCONTROLCOUNT: 0,
|
||
// 客房
|
||
BUSINESSTYPE: "",
|
||
TOILET_PAPER: 0,
|
||
// 厕纸巾
|
||
MABROOMWATER_DISPENSER: 0,
|
||
// 母婴室饮水机
|
||
NURSING_TABLE: 0,
|
||
// 哺乳桌
|
||
BABY_COT: 0,
|
||
// 婴儿床
|
||
CHANGING_TABLE: 0,
|
||
// 尿布台
|
||
DROOMWATER_DISPENSER: 0,
|
||
// 司机之家饮水机
|
||
haveREFUELINGGUN: false,
|
||
// 判断有无加油
|
||
havePARKING: false,
|
||
// 判断有无停车场
|
||
haveWC: false,
|
||
// 判断有无卫生间
|
||
HASMOTHER: false
|
||
};
|
||
if (obj.RegionInfo && obj.RegionInfo.length > 0) {
|
||
obj.RegionInfo.forEach(function (item) {
|
||
sumObj.LIVESTOCKPACKING += item.LIVESTOCKPACKING;
|
||
sumObj.STATEGRIDCHARGE += item.STATEGRIDCHARGE;
|
||
sumObj.LIAUTOCHARGE += item.LIAUTOCHARGE;
|
||
sumObj.GACENERGYCHARGE += item.GACENERGYCHARGE;
|
||
sumObj.OTHERCHARGE += item.OTHERCHARGE;
|
||
sumObj.REFUELINGGUN92 += item.REFUELINGGUN92;
|
||
sumObj.REFUELINGGUN95 += item.REFUELINGGUN95;
|
||
sumObj.REFUELINGGUN0 += item.REFUELINGGUN0;
|
||
sumObj.HASPANTRY += item.HASPANTRY;
|
||
sumObj.HASWIFI += item.HASWIFI;
|
||
sumObj.TOILETCOUNT += item.TOILETCOUNT;
|
||
sumObj.HASSHOWERROOM += item.HASSHOWERROOM;
|
||
sumObj.HASWATERROOM += item.HASWATERROOM;
|
||
sumObj.MICROWAVEOVEN += item.MICROWAVEOVEN;
|
||
sumObj.WASHERCOUNT += item.WASHERCOUNT;
|
||
sumObj.SLEEPINGPODS += item.SLEEPINGPODS;
|
||
sumObj.SMALLPARKING += item.SMALLPARKING;
|
||
sumObj.PACKING += item.PACKING;
|
||
sumObj.TRUCKPACKING += item.TRUCKPACKING;
|
||
sumObj.DANPACKING += item.DANPACKING;
|
||
sumObj.BUSINESSTYPE = item.BUSINESSTYPE;
|
||
sumObj.TOILET_PAPER += item.TOILET_PAPER;
|
||
sumObj.MABROOMWATER_DISPENSER += item.MABROOMWATER_DISPENSER;
|
||
sumObj.NURSING_TABLE += item.NURSING_TABLE;
|
||
sumObj.BABY_COT += item.BABY_COT;
|
||
sumObj.CHANGING_TABLE += item.CHANGING_TABLE;
|
||
sumObj.DROOMWATER_DISPENSER += item.DROOMWATER_DISPENSER;
|
||
if (item.HASMOTHER) {
|
||
sumObj.HASMOTHER = true;
|
||
}
|
||
if (sumObj.LIVESTOCKPACKING > 0 || sumObj.STATEGRIDCHARGE > 0 || sumObj.LIAUTOCHARGE > 0 || sumObj.GACENERGYCHARGE > 0 || sumObj.OTHERCHARGE > 0) {
|
||
sumObj.HASCHARGE = true;
|
||
}
|
||
if (item.HASPILOTLOUNGE) {
|
||
sumObj.HASPILOTLOUNGE = true;
|
||
}
|
||
if (item.VEHICLEWATERFILLING) {
|
||
sumObj.VEHICLEWATERFILLING = true;
|
||
}
|
||
if (item.HASCHILD) {
|
||
sumObj.HASCHILD = true;
|
||
}
|
||
sumObj.DININGBXCOUNT += item.DININGBXCOUNT;
|
||
sumObj.DININGROOMCOUNT += item.DININGROOMCOUNT;
|
||
sumObj.HASBACKGROUNDRADIO += item.HASBACKGROUNDRADIO;
|
||
sumObj.POINTCONTROLCOUNT += item.POINTCONTROLCOUNT;
|
||
if (sumObj.REFUELINGGUN92 > 0 || sumObj.REFUELINGGUN95 > 0 || sumObj.REFUELINGGUN0 > 0) {
|
||
sumObj.haveREFUELINGGUN = true;
|
||
}
|
||
if (sumObj.SMALLPARKING > 0 || sumObj.PACKING > 0 || sumObj.TRUCKPACKING > 0 || sumObj.DANPACKING > 0) {
|
||
sumObj.havePARKING = true;
|
||
}
|
||
if (sumObj.HASPANTRY > 0 || sumObj.HASWIFI > 0 || sumObj.TOILETCOUNT > 0) {
|
||
sumObj.haveWC = true;
|
||
}
|
||
});
|
||
}
|
||
return sumObj;
|
||
},
|
||
// 拿到最近的服务区数据
|
||
handleGetNearService: function handleGetNearService(latitude, longitude) {
|
||
var _this17 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
||
var req, data, nearService, newObj, idList;
|
||
return _regenerator.default.wrap(function _callee10$(_context10) {
|
||
while (1) {
|
||
switch (_context10.prev = _context10.next) {
|
||
case 0:
|
||
req = {
|
||
Province_Code: "530000",
|
||
longitude: longitude,
|
||
latitude: latitude,
|
||
showservice: true,
|
||
appId: "wxee018fb96955552a"
|
||
};
|
||
uni.showLoading({
|
||
title: "查找最近的服务区..."
|
||
});
|
||
// const data = await this.$api.$get(
|
||
// "/CommercialApi/BaseInfo/GetServerpartList",
|
||
// req
|
||
// );
|
||
_context10.next = 4;
|
||
return _this17.$api.$javaGet('/third-party/getServerPartList', req);
|
||
case 4:
|
||
data = _context10.sent;
|
||
_this17.serverPartList = data.Result_Data.List;
|
||
console.log('this.serverPartListthis.serverPartListthis.serverPartList2312', _this17.serverPartList);
|
||
uni.setStorageSync("serverPartList", JSON.stringify(_this17.serverPartList));
|
||
nearService = _this17.serverPartList[0];
|
||
uni.setStorageSync("nearService", nearService);
|
||
console.log('nearServicenearServicenearService', nearService);
|
||
nearService.sumDetail = _this17.handleMergeDetail(nearService);
|
||
newObj = _objectSpread(_objectSpread({}, nearService), {}, {
|
||
sumDetail: nearService.sumDetail,
|
||
haveREFUELINGGUN: nearService.sumDetail.haveREFUELINGGUN,
|
||
HASCHARGE: nearService.sumDetail.HASCHARGE,
|
||
havePARKING: nearService.sumDetail.havePARKING,
|
||
haveWC: nearService.sumDetail.haveWC,
|
||
HASMOTHER: nearService.sumDetail.HASMOTHER,
|
||
HASPILOTLOUNGE: nearService.sumDetail.HASPILOTLOUNGE
|
||
});
|
||
_this17.serviceDetail = newObj;
|
||
uni.setStorageSync("currentService", nearService);
|
||
idList = [1212, 1222, 1139, 1215];
|
||
if (idList.indexOf(nearService.SERVERPART_ID) !== -1) {
|
||
_this17.handleGetChargingStation(nearService);
|
||
}
|
||
uni.hideLoading();
|
||
return _context10.abrupt("return", nearService);
|
||
case 19:
|
||
case "end":
|
||
return _context10.stop();
|
||
}
|
||
}
|
||
}, _callee10);
|
||
}))();
|
||
},
|
||
// 高速头条播报
|
||
handleGetHighwayHeadlines: function handleGetHighwayHeadlines() {
|
||
var _this18 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
|
||
var start, end, params, time, req, signText, sign, tweetsData, newReq, newData, list;
|
||
return _regenerator.default.wrap(function _callee11$(_context11) {
|
||
while (1) {
|
||
switch (_context11.prev = _context11.next) {
|
||
case 0:
|
||
start = "".concat(_this18.$moment.now().set("month", -1).format("YYYY-MM-DD"), " 00:00:00");
|
||
end = "".concat(_this18.$moment.now().format("YYYY-MM-DD"), " 23:59:59");
|
||
params = {
|
||
startQueryTime: start,
|
||
// 开始时间
|
||
endQueryTime: end // 结束时间
|
||
};
|
||
time = Math.ceil(new Date().getTime() / 1000);
|
||
req = {
|
||
app_id: "530000301",
|
||
biz_content: JSON.stringify(params),
|
||
charset: "UTF-8",
|
||
pid: "530000301",
|
||
service: "trawe.eats.etc",
|
||
utc_timestamp: time,
|
||
version: "1.0",
|
||
sign_type: "RSA2"
|
||
};
|
||
signText = "app_id=".concat(req.app_id, "&biz_content=").concat(req.biz_content, "&charset=UTF-8&pid=").concat(req.app_id, "&service=trawe.eats.etc&utc_timestamp=").concat(req.utc_timestamp, "&version=1.0"); // 签名
|
||
_context11.next = 8;
|
||
return new Promise(function (resolve, reject) {
|
||
uni.request({
|
||
url: "https://admin.es.eshangtech.com/prod-api/RSA/sign",
|
||
method: "POST",
|
||
data: {
|
||
originalText: signText,
|
||
privateKey: "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCtIkIJLbZYI9NvTRkRbqtjJ73gkAUJZBJw88Z+O8prX2HXMTIedmZZxTwbfM5kGpl9VmS0CY8QL0DnDsgHO8QnSDpN1jiqTD9lk1evycuF7ujmlOk/cJ5x2cLPn9rPIrQn1lxp9mBiO1m9vsrNOze/kx7wRyif/+hvn5Q9KtNEMy0K8oOE5vktnjkk1AhhXrTii9eIjOrO3pRgh9cFA9kqQpvD14CImD7tdCgyntKcYAB7rlin6a2N0yH9JJINjOyOiyHufP8sR7pb9VYXVYXukOCItdC9QQluQhSdyC/3BfZD5zV1A+X7pUle7dDLGG6aSZyCibg16siFIEX94KYfAgMBAAECggEAcP5uwrbGzvdywq06sxnbWTdSwQC9iMd7EaTH4xL6pOD3Zg6Be0givGvxMq9dtA94JUkBKE8kw5dTcHlBKxdiiZCmHK63BM4GgjCLhfrZjWvDLNn68KB7iCpq7j6R+6XWljlczvsxJGs/woqGqTMAy1MlWgPXC7Vk6ZTolpMglt0IJOzPtgJ66qU2CtNRjowkXSCHDO2RCjkmYcjU6W+eCvi9cXIXhLv5yra1PE0KOxn3NiEFwgGUXpu8LKqxuUfGLuHljoLxWV8EEfwZaWB6Wy1DHMMgxhKrO3xEmdMEqtvJmF98LRSYiJerkExY8Gdx8bkLPjlCLYKW4JVuPmyYgQKBgQD8l0lLtB94MQMib0t8RzqlbKcczTAkicjSms3/P4kwh50GC8OqwjJB75n4yQyDPgsjms/SnRMq1zjgm+MHSC4snpLCcvKFYLnvrslWGu/2lyUTwEwdUdQe1ILG4Y9NXKWg4zXpKfJ2Rz/cqw6bHGYhQWZ62AXQgiz+W7cIPrsHsQKBgQCveHGHF0WqtYAmrW7nf04PKmcJ5U2briYCWOtWJE5Mo5BYxsGLX6vI53DMNQ42hFk0ye61VNfcazAoGI3mM4+j6R9k3ek8EtkBYBro5eeoBtB7TMTJagQqzBLz316mJBsFmw3TiC9BzYhs3tKJnVxpfqXoqsyu2ZA6VG5Y/gXOzwKBgCbejPvmUvVm7WmOINqWB3NPXgPzm1X0EgA+rDZ8K3tZUxOMGeccDSnSWipLne5QTNyExThOzZVJG0qNEombVOeu2zyq/aECunoktnzWllim96CrdcsJPZAk+Z7rNOcdu6sfa7teph4HZs9pT00VOK4jZ0a+GV71uUDHEkplhNhxAoGAMDOi5BxFe/595KIR7C/xboMUaQh/iDuPn2dzxmcUx0LLPUfkFPhEBV1mhAIzFFDI/JJYK6HR5m/fe7Q7DritRbaddCTtlB4NVK5k1gOJ3oN4s9ZD3Jxt5p/GuQ1sP7F9Zs3QP4KSkL34MwgGx9zdbPFofACnV4TWdN+KrJGjYMsCgYAE0CMM7rYHGY3Vt3/WZZJ+DPlKE6Q+uvFDomtsB1IavCeEJyjBP9+GhBHat86aA3mCFjf4emj1or7OEgPc0gCMtKBG6m10CrzLjzdWnOTveqWVUW/FS2gf17cIO5/FK/4KmAjH/QN24KXm395Qu8C0UFfgA66yysakJFkvXVBiPg=="
|
||
},
|
||
header: {
|
||
"content-type": "application/json"
|
||
},
|
||
success: function success(res) {
|
||
resolve(res.data.data);
|
||
}
|
||
});
|
||
});
|
||
case 8:
|
||
sign = _context11.sent;
|
||
req.sign = sign;
|
||
|
||
// 推文数据
|
||
_context11.next = 12;
|
||
return new Promise(function (resolve, reject) {
|
||
uni.request({
|
||
url: "https://sxgzh.etclife.cn/etc/api/v1/gzh/point/tweets",
|
||
method: "POST",
|
||
data: req,
|
||
header: {
|
||
"content-type": "application/x-www-form-urlencoded"
|
||
},
|
||
success: function success(res) {
|
||
if (res.data.response.data) {
|
||
resolve(res.data.response.data.data.tweets);
|
||
} else {
|
||
resolve([]);
|
||
}
|
||
// let data = res.data.CollectionObject;
|
||
// if (data && data.length > 0) {
|
||
// resolve(data);
|
||
// } else {
|
||
// resolve([]);
|
||
// }
|
||
}
|
||
});
|
||
});
|
||
case 12:
|
||
tweetsData = _context11.sent;
|
||
// if (tweetsData && tweetsData.length > 0) {
|
||
// this.roadStatusList = tweetsData;
|
||
// } else {
|
||
// this.roadStatusList = [];
|
||
// }
|
||
newReq = {
|
||
SearchParameter: {
|
||
// NOTICEINFO_TYPES: 1010,
|
||
PROVINCE_CODE: "530000",
|
||
NOTICEINFO_STATE: 1
|
||
},
|
||
PageIndex: 1,
|
||
PageSize: 10,
|
||
appId: "wxee018fb96955552a"
|
||
};
|
||
_context11.next = 16;
|
||
return _this18.$api.$post("/EShangApiMain/Notice/GetNOTICEINFOList", newReq);
|
||
case 16:
|
||
newData = _context11.sent;
|
||
list = newData.Result_Data.List; // if (list && list.length > 0) {
|
||
// } else {
|
||
// this.roadStatusList = [];
|
||
// }
|
||
// this.roadStatusList = list.concat(tweetsData);
|
||
_this18.roadStatusList = list;
|
||
|
||
// this.roadStatusList.unshift({
|
||
// NOTICEINFO_TITLE: "最新放假通知:调休2天,免费8天!",
|
||
// });
|
||
case 19:
|
||
case "end":
|
||
return _context11.stop();
|
||
}
|
||
}
|
||
}, _callee11);
|
||
}))();
|
||
},
|
||
// 跳转高速头条
|
||
handleGoHighWay: function handleGoHighWay() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this19 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.navigateTo({
|
||
url: "/pages/highwayHeadlines/index"
|
||
});
|
||
},
|
||
// 拿到促销单品的数据 5030
|
||
handleGetSpecialOffers: function handleGetSpecialOffers() {
|
||
var _this20 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
|
||
var data, list, shopList;
|
||
return _regenerator.default.wrap(function _callee12$(_context12) {
|
||
while (1) {
|
||
switch (_context12.prev = _context12.next) {
|
||
case 0:
|
||
_context12.next = 2;
|
||
return _this20.$api.getCoop({
|
||
action_type: "WeChat_GetMallGoodsInfo",
|
||
ownerUnitId: 911,
|
||
COMMODITYNATURE: 5030,
|
||
excludeNature: 5070,
|
||
justCommodity: 1
|
||
});
|
||
case 2:
|
||
data = _context12.sent;
|
||
list = data.Data.List;
|
||
shopList = [];
|
||
if (list && list.length > 0) {
|
||
list.forEach(function (item) {
|
||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||
item.COMMODITYLIST.forEach(function (subItem) {
|
||
shopList.push(subItem);
|
||
});
|
||
}
|
||
});
|
||
}
|
||
if (shopList && shopList.length > 0) {
|
||
_this20.specialOffersList = shopList.slice(0, 2);
|
||
} else {
|
||
_this20.specialOffersList = [];
|
||
}
|
||
case 7:
|
||
case "end":
|
||
return _context12.stop();
|
||
}
|
||
}
|
||
}, _callee12);
|
||
}))();
|
||
},
|
||
// 拿到甄选商品 5040
|
||
handleGetProductsList: function handleGetProductsList() {
|
||
var _this21 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
|
||
var data, list, shopList;
|
||
return _regenerator.default.wrap(function _callee13$(_context13) {
|
||
while (1) {
|
||
switch (_context13.prev = _context13.next) {
|
||
case 0:
|
||
_context13.next = 2;
|
||
return _this21.$api.getCoop({
|
||
action_type: "WeChat_GetMallGoodsInfo",
|
||
ownerUnitId: 911,
|
||
COMMODITYNATURE: 5040,
|
||
excludeNature: 5070,
|
||
justCommodity: 1
|
||
});
|
||
case 2:
|
||
data = _context13.sent;
|
||
list = data.Data.List;
|
||
shopList = [];
|
||
if (list && list.length > 0) {
|
||
list.forEach(function (item) {
|
||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||
item.COMMODITYLIST.forEach(function (subItem) {
|
||
shopList.push(subItem);
|
||
});
|
||
}
|
||
});
|
||
}
|
||
if (shopList && shopList.length > 0) {
|
||
_this21.productsList = shopList.slice(0, 2);
|
||
} else {
|
||
_this21.productsList = [];
|
||
}
|
||
case 7:
|
||
case "end":
|
||
return _context13.stop();
|
||
}
|
||
}
|
||
}, _callee13);
|
||
}))();
|
||
},
|
||
// 拿到 商城精品 3000
|
||
handleGetShoppingMall: function handleGetShoppingMall() {
|
||
var _this22 = this;
|
||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
|
||
var data, list, shopList;
|
||
return _regenerator.default.wrap(function _callee14$(_context14) {
|
||
while (1) {
|
||
switch (_context14.prev = _context14.next) {
|
||
case 0:
|
||
_context14.next = 2;
|
||
return _this22.$api.getCoop({
|
||
action_type: "WeChat_GetMallGoodsInfo",
|
||
ownerUnitId: 911,
|
||
COMMODITYNATURE: 3000,
|
||
excludeNature: 5070,
|
||
justCommodity: 1
|
||
});
|
||
case 2:
|
||
data = _context14.sent;
|
||
list = data.Data.List;
|
||
shopList = [];
|
||
if (list && list.length > 0) {
|
||
list.forEach(function (item) {
|
||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||
item.COMMODITYLIST.forEach(function (subItem) {
|
||
if (subItem.COMMODITY_MEMBERPRICE && subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1) {
|
||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
||
subItem.smallNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
||
} else {
|
||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
||
}
|
||
if (subItem.COMMODITY_RETAILPRICE && subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1) {
|
||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
||
subItem.RETsmallNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
||
} else {
|
||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
||
}
|
||
shopList.push(subItem);
|
||
});
|
||
}
|
||
});
|
||
}
|
||
_this22.shoppingMall = shopList;
|
||
case 7:
|
||
case "end":
|
||
return _context14.stop();
|
||
}
|
||
}
|
||
}, _callee14);
|
||
}))();
|
||
},
|
||
// 打开地图的跳转
|
||
handleGoMap: function handleGoMap() {
|
||
if (this.user && !this.user.MEMBERSHIP_ID || !this.user && !this.user.MEMBERSHIP_ID) {
|
||
var _this23 = this;
|
||
uni.showModal({
|
||
title: "温馨提示",
|
||
content: "请您授权登录后再操作。",
|
||
success: function success(res) {
|
||
if (res.confirm) {
|
||
uni.navigateTo({
|
||
url: "/pages/register/index"
|
||
});
|
||
}
|
||
}
|
||
});
|
||
return;
|
||
}
|
||
uni.openLocation({
|
||
latitude: this.serviceDetail.SERVERPART_Y * 1,
|
||
longitude: this.serviceDetail.SERVERPART_X * 1,
|
||
scale: 16,
|
||
// 缩放比例
|
||
name: this.serviceDetail.SERVERPART_NAME,
|
||
// address: "", // 这个可能会影响地图的定位,所以可以选择不填
|
||
success: function success(data) {},
|
||
fail: function fail(err) {}
|
||
});
|
||
},
|
||
// 跳转商品详情
|
||
handleGoShopDetail: function handleGoShopDetail(obj) {
|
||
uni.navigateTo({
|
||
url: "/pages/shopPages/shopDetail/index?id=".concat(obj.COMMODITY_ID)
|
||
});
|
||
},
|
||
// 跳转商品列表接口
|
||
handleGoShopList: function handleGoShopList(type) {
|
||
uni.navigateTo({
|
||
url: "/pages/shopPages/shopList/index?type=".concat(type)
|
||
});
|
||
},
|
||
// 拿到里面商城页面分类的缓存数据
|
||
handleGetShopMallData: function handleGetShopMallData() {
|
||
var _this24 = this;
|
||
// 判断当前是否在进行 请求里面商城的数据
|
||
uni.setStorageSync("isPaddingShopData", true);
|
||
|
||
// 拿到顶部商品大类的方法
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsType', {
|
||
ownerUnitId: 911,
|
||
commodityNature: 5070 // 类型
|
||
}).then(function (data) {
|
||
console.log('拿到顶部商品大类的方法', data);
|
||
uni.setStorageSync("getWeChatGetMallGoodsType", data.Data.List);
|
||
});
|
||
|
||
// 拿到每周特惠的内容
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', {
|
||
ownerUnitId: 911,
|
||
userdefinedtypeId: 4597,
|
||
userdefinedTypeId: 4597,
|
||
justCommodity: 1
|
||
}).then(function (data) {
|
||
console.log('拿到每周特惠的内容', data);
|
||
uni.setStorageSync("getWeChatGetMallGoodsInfo", data.Data.List);
|
||
var list = data.Data.List;
|
||
var res = [];
|
||
var idSet = new Set();
|
||
if (list && list.length > 0) {
|
||
list.forEach(function (item) {
|
||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||
item.COMMODITYLIST.forEach(function (subItem) {
|
||
if (!idSet.has(subItem.COMMODITY_ID)) {
|
||
res.push(subItem);
|
||
idSet.add(subItem.COMMODITY_ID);
|
||
}
|
||
});
|
||
}
|
||
});
|
||
}
|
||
console.log('everyWeekShopDataeveryWeekShopDataeveryWeekShopData', res);
|
||
_this24.everyWeekShopData = res;
|
||
});
|
||
|
||
// 拿到特价优惠的内容
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfoExclude', {
|
||
ownerUnitId: 911,
|
||
// COMMODITYNATURE: 5030,//特价优惠
|
||
COMMODITYNATURE: 5021,
|
||
// 绿色云品
|
||
userdefinedTypeId: 3186,
|
||
// 绿色云品
|
||
userdefinedtypeId: 3186,
|
||
// 绿色云品
|
||
excludeNature: 5070,
|
||
justCommodity: 1
|
||
}).then(function (data) {
|
||
console.log('拿到特价优惠的内容', data);
|
||
uni.setStorageSync("getWeChatGetMallGoodsInfoExclude", data.Data.List);
|
||
});
|
||
|
||
// 拿到今日推荐的商品列表
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfoExclude', {
|
||
ownerUnitId: 911,
|
||
// COMMODITYNATURE: 4598,// 原今日推荐
|
||
COMMODITYNATURE: 5022,
|
||
//自有品牌
|
||
userdefinedtypeId: 3175,
|
||
// 商品分类
|
||
userdefinedTypeId: 3175,
|
||
// 商品分类
|
||
excludeNature: 5070,
|
||
justCommodity: 1
|
||
}).then(function (data) {
|
||
console.log('拿到今日推荐的商品列表', data);
|
||
uni.setStorageSync("getWeChatGetMallGoodsInfoExcludeToday", data.Data.List);
|
||
});
|
||
|
||
// 工会商城的三个榜单的内容
|
||
// 新品榜单
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', {
|
||
action_type: "WeChat_GetMallGoodsInfo",
|
||
ownerUnitId: 911,
|
||
COMMODITYNATURE: 5070,
|
||
payMethod: "1000,3000",
|
||
justCommodity: 1,
|
||
userdefinedTypeId: "1317"
|
||
}).then(function (data1) {
|
||
uni.setStorageSync("newShowList", data1);
|
||
});
|
||
// 热销榜
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', {
|
||
action_type: "WeChat_GetMallGoodsInfo",
|
||
ownerUnitId: 911,
|
||
COMMODITYNATURE: 5070,
|
||
payMethod: "1000,3000",
|
||
justCommodity: 1,
|
||
userdefinedTypeId: "1318",
|
||
sortStr: "COMMODITY_EN desc"
|
||
}).then(function (data2) {
|
||
uni.setStorageSync("hotShopList", data2);
|
||
});
|
||
|
||
// 推荐榜
|
||
this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', {
|
||
action_type: "WeChat_GetMallGoodsInfo",
|
||
ownerUnitId: 911,
|
||
COMMODITYNATURE: 5070,
|
||
payMethod: "1000,3000",
|
||
justCommodity: 1,
|
||
userdefinedTypeId: "1319"
|
||
}).then(function (data3) {
|
||
console.log('data3data3data3', data3);
|
||
uni.setStorageSync("goodShopList", data3);
|
||
});
|
||
}
|
||
}
|
||
};
|
||
exports.default = _default;
|
||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||
|
||
/***/ }),
|
||
|
||
/***/ 61:
|
||
/*!***********************************************************************************************************************!*\
|
||
!*** E:/workfile/minprogram/caiyunyi/pages/index/index.vue?vue&type=style&index=0&id=57280228&lang=less&scoped=true& ***!
|
||
\***********************************************************************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-2!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--10-oneOf-1-3!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-5!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=57280228&lang=less&scoped=true& */ 62);
|
||
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_57280228_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 62:
|
||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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!E:/workfile/minprogram/caiyunyi/pages/index/index.vue?vue&type=style&index=0&id=57280228&lang=less&scoped=true& ***!
|
||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
// extracted by mini-css-extract-plugin
|
||
if(false) { var cssReload; }
|
||
|
||
|
||
/***/ })
|
||
|
||
},[[54,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|