funeng.js 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/category/funeng"],{
  2. /***/ 135:
  3. /*!*******************************************************************************************!*\
  4. !*** C:/Users/Administrator/Desktop/xmt_new/main.js?{"page":"pages%2Fcategory%2Ffuneng"} ***!
  5. \*******************************************************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. /* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
  10. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
  11. var _funeng = _interopRequireDefault(__webpack_require__(/*! ./pages/category/funeng.vue */ 136));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
  12. wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_funeng.default);
  13. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
  14. /***/ }),
  15. /***/ 136:
  16. /*!************************************************************************!*\
  17. !*** C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue ***!
  18. \************************************************************************/
  19. /*! no static exports found */
  20. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  21. "use strict";
  22. __webpack_require__.r(__webpack_exports__);
  23. /* harmony import */ var _funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./funeng.vue?vue&type=template&id=1e165c72& */ 137);
  24. /* harmony import */ var _funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./funeng.vue?vue&type=script&lang=js& */ 139);
  25. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  26. /* harmony import */ var _funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./funeng.vue?vue&type=style&index=0&lang=scss& */ 141);
  27. /* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
  28. var renderjs
  29. /* normalize component */
  30. var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  31. _funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  32. _funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["render"],
  33. _funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  34. false,
  35. null,
  36. null,
  37. null,
  38. false,
  39. _funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["components"],
  40. renderjs
  41. )
  42. component.options.__file = "pages/category/funeng.vue"
  43. /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  44. /***/ }),
  45. /***/ 137:
  46. /*!*******************************************************************************************************!*\
  47. !*** C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue?vue&type=template&id=1e165c72& ***!
  48. \*******************************************************************************************************/
  49. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  50. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  51. "use strict";
  52. __webpack_require__.r(__webpack_exports__);
  53. /* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./funeng.vue?vue&type=template&id=1e165c72& */ 138);
  54. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  55. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  56. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
  57. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_template_id_1e165c72___WEBPACK_IMPORTED_MODULE_0__["components"]; });
  58. /***/ }),
  59. /***/ 138:
  60. /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  61. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue?vue&type=template&id=1e165c72& ***!
  62. \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  63. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  64. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  65. "use strict";
  66. __webpack_require__.r(__webpack_exports__);
  67. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  68. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  69. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
  70. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
  71. var components
  72. try {
  73. components = {
  74. uniLoadMore: function() {
  75. return __webpack_require__.e(/*! import() | components/uni-load-more/uni-load-more */ "components/uni-load-more/uni-load-more").then(__webpack_require__.bind(null, /*! @/components/uni-load-more/uni-load-more.vue */ 243))
  76. }
  77. }
  78. } catch (e) {
  79. if (
  80. e.message.indexOf("Cannot find module") !== -1 &&
  81. e.message.indexOf(".vue") !== -1
  82. ) {
  83. console.error(e.message)
  84. console.error("1. 排查组件名称拼写是否正确")
  85. console.error(
  86. "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
  87. )
  88. console.error(
  89. "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
  90. )
  91. } else {
  92. throw e
  93. }
  94. }
  95. var render = function() {
  96. var _vm = this
  97. var _h = _vm.$createElement
  98. var _c = _vm._self._c || _h
  99. var l1 = _vm.__map(_vm.navList, function(navItem, __i0__) {
  100. var $orig = _vm.__get_orig(navItem)
  101. var l0 = _vm.__map(navItem.list, function(item, __i1__) {
  102. var $orig = _vm.__get_orig(item)
  103. var f0 =
  104. item.image_input.length == 1 ? _vm._f("storeName")(item.name) : null
  105. var f1 =
  106. item.image_input.length == 1 ? _vm._f("showTime")(item.add_time) : null
  107. var f2 =
  108. item.image_input.length == 0 ? _vm._f("storeName")(item.name) : null
  109. var f3 =
  110. item.image_input.length == 0 ? _vm._f("showTime")(item.add_time) : null
  111. var f4 =
  112. item.image_input.length > 1 ? _vm._f("storeName")(item.name) : null
  113. var f5 =
  114. item.image_input.length > 1 ? _vm._f("showTime")(item.add_time) : null
  115. return {
  116. $orig: $orig,
  117. f0: f0,
  118. f1: f1,
  119. f2: f2,
  120. f3: f3,
  121. f4: f4,
  122. f5: f5
  123. }
  124. })
  125. return {
  126. $orig: $orig,
  127. l0: l0
  128. }
  129. })
  130. _vm.$mp.data = Object.assign(
  131. {},
  132. {
  133. $root: {
  134. l1: l1
  135. }
  136. }
  137. )
  138. }
  139. var recyclableRender = false
  140. var staticRenderFns = []
  141. render._withStripped = true
  142. /***/ }),
  143. /***/ 139:
  144. /*!*************************************************************************************************!*\
  145. !*** C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue?vue&type=script&lang=js& ***!
  146. \*************************************************************************************************/
  147. /*! no static exports found */
  148. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  149. "use strict";
  150. __webpack_require__.r(__webpack_exports__);
  151. /* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./funeng.vue?vue&type=script&lang=js& */ 140);
  152. /* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  153. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  154. /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
  155. /***/ }),
  156. /***/ 140:
  157. /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  158. !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue?vue&type=script&lang=js& ***!
  159. \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  160. /*! no static exports found */
  161. /***/ (function(module, exports, __webpack_require__) {
  162. "use strict";
  163. /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
  164. var _index = __webpack_require__(/*! @/api/index.js */ 32);
  165. var _user = __webpack_require__(/*! @/api/user.js */ 33);
  166. var _loginUtils = __webpack_require__(/*! @/utils/loginUtils */ 28);
  167. var _vuex = __webpack_require__(/*! vuex */ 7);
  168. var _art = __webpack_require__(/*! @/api/art.js */ 34);
  169. var _rocessor = __webpack_require__(/*! @/utils/rocessor.js */ 35);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (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 = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var _default =
  170. {
  171. data: function data() {
  172. return {
  173. topNavWidth: '25%', //设置导航默认宽度
  174. height: '',
  175. tabCurrentIndex: 0,
  176. navList: [],
  177. checkid: 0,
  178. titleNViewBackground: '',
  179. swiperCurrent: 0,
  180. swiperLength: 0,
  181. carouselList: [], //轮播列表
  182. goodsList: [], //最新商品列表
  183. bastList: [], //精品推荐列表
  184. bastBanner: [], //促销商品列表
  185. menusList: [], //头部菜单
  186. page: 1,
  187. limit: 10,
  188. userServant: [{
  189. image: '' }],
  190. //用户推广服务
  191. actTime: new Date(),
  192. zdArt: {},
  193. itemWidht: '' };
  194. },
  195. computed: _objectSpread(_objectSpread(_objectSpread({},
  196. (0, _vuex.mapState)(['loginInterceptor'])),
  197. (0, _vuex.mapState)('user', ['hasLogin', 'userInfo'])), {}, {
  198. scrollLeft: function scrollLeft() {
  199. if (this.tabCurrentIndex > 1) {
  200. return this.itemWidht * (this.tabCurrentIndex - 1.5);
  201. } else {
  202. return 0;
  203. }
  204. } }),
  205. onLoad: function onLoad(option) {
  206. if (option.scene) {
  207. // 存储小程序邀请人
  208. uni.setStorage({
  209. key: 'spread_code',
  210. data: option.scene });
  211. }
  212. // 获取文章分类
  213. // this.getArtTypeList()
  214. // 获取置顶
  215. // this.getArtList('zhiding')
  216. // 获取推荐文章列表
  217. // this.getArtList()
  218. },
  219. onShow: function onShow() {
  220. // 判断是否强制登录
  221. if (this.loginInterceptor && !this.hasLogin) {
  222. // 登录拦截
  223. (0, _loginUtils.interceptor)();
  224. }
  225. if (this.navList.length == 0) {
  226. this.getArtTypeList();
  227. }
  228. },
  229. // 计算页面剩余高度
  230. onReady: function onReady(res) {
  231. var obj = this;
  232. uni.getSystemInfo({
  233. success: function success(resu) {
  234. var query = uni.createSelectorQuery();
  235. query.select('.nav-swiper').boundingClientRect();
  236. query.exec(function (res) {
  237. obj.height = resu.windowHeight - res[0].top + 'px';
  238. });
  239. },
  240. fail: function fail(res) {} });
  241. },
  242. filters: {
  243. showTime: function showTime(dateTime) {
  244. //dateTimeStamp是一个时间毫秒,注意时间戳是秒的形式,在这个毫秒的基础上除以1000,就是十位数的时间戳。13位数的都是时间毫秒。
  245. dateTime = dateTime * 1000;
  246. var minute = 1000 * 60; //把分,时,天,周,半个月,一个月用毫秒表示
  247. var hour = minute * 60;
  248. var day = hour * 24;
  249. var week = day * 7;
  250. var halfamonth = day * 15;
  251. var month = day * 30;
  252. var now = new Date().getTime(); //获取当前时间毫秒
  253. var dateTimeStamp = new Date(dateTime);
  254. var diffValue = now - dateTimeStamp; //时间差
  255. if (diffValue < 0) {
  256. return;
  257. }
  258. var minC = diffValue / minute; //计算时间差的分,时,天,周,月
  259. var hourC = diffValue / hour;
  260. var dayC = diffValue / day;
  261. var weekC = diffValue / week;
  262. var monthC = diffValue / month;
  263. var result = '';
  264. console.log(monthC, weekC, dayC, hourC, minC);
  265. if (monthC >= 1 && monthC <= 3) {
  266. result = ' ' + parseInt(monthC) + '月前';
  267. } else if (weekC >= 1 && weekC <= 4) {
  268. result = ' ' + parseInt(weekC) + '周前';
  269. } else if (dayC >= 1 && dayC <= 7) {
  270. result = ' ' + parseInt(dayC) + '天前';
  271. } else if (hourC >= 1 && hourC <= 24) {
  272. result = ' ' + parseInt(hourC) + '小时前';
  273. } else if (minC >= 1 && minC <= 60) {
  274. result = ' ' + parseInt(minC) + '分钟前';
  275. } else if (diffValue >= 0 && diffValue <= minute) {
  276. result = '刚刚';
  277. } else {
  278. var datetime = new Date();
  279. datetime.setTime(dateTimeStamp);
  280. var Nyear = datetime.getFullYear();
  281. var Nmonth =
  282. datetime.getMonth() + 1 < 10 ?
  283. '0' + (datetime.getMonth() + 1) :
  284. datetime.getMonth() + 1;
  285. var Ndate =
  286. datetime.getDate() < 10 ?
  287. '0' + datetime.getDate() :
  288. datetime.getDate();
  289. var Nhour =
  290. datetime.getHours() < 10 ?
  291. '0' + datetime.getHours() :
  292. datetime.getHours();
  293. var Nminute =
  294. datetime.getMinutes() < 10 ?
  295. '0' + datetime.getMinutes() :
  296. datetime.getMinutes();
  297. var Nsecond =
  298. datetime.getSeconds() < 10 ?
  299. '0' + datetime.getSeconds() :
  300. datetime.getSeconds();
  301. result = Nyear + '-' + Nmonth + '-' + Ndate;
  302. }
  303. return result;
  304. },
  305. storeName: function storeName(val) {
  306. var str = '';
  307. if (val) {
  308. if (val.length <= 6) {
  309. str = val;
  310. } else {
  311. str = val.slice(0, 6) + '...';
  312. }
  313. }
  314. return str;
  315. } },
  316. methods: {
  317. // 获取项目宽度
  318. numClassWidht: function numClassWidht() {var _this = this;
  319. uni.createSelectorQuery().
  320. select('.container').
  321. fields({
  322. size: true },
  323. function (data) {
  324. // 设置项目宽度
  325. _this.itemWidht = Math.floor(data.width / 750 * 187.5);
  326. }).
  327. exec();
  328. },
  329. //swiper 切换
  330. changeTab: function changeTab(e) {
  331. console.log(e, 'eeeeeeeeeeeeeeeeee');
  332. if (e.target.current > this.navList.length - 1) {
  333. e.target.current = 0;
  334. }
  335. this.tabCurrentIndex = e.target.current;
  336. this.getArtList('tab');
  337. },
  338. // 头部点击切换
  339. tabClick: function tabClick(index) {
  340. this.tabCurrentIndex = index;
  341. },
  342. openSubscribe: function openSubscribe(e) {
  343. var page = e;
  344. uni.showLoading({
  345. title: '正在加载' });
  346. openBargainSubscribe().
  347. then(function (res) {
  348. uni.hideLoading();
  349. uni.navigateTo({
  350. url: page });
  351. }).
  352. catch(function (err) {
  353. uni.hideLoading();
  354. });
  355. },
  356. // 监听切换事件
  357. listChange: function listChange(e) {
  358. this.checkid = e.detail.current;
  359. },
  360. // 點擊搜索框
  361. clickSearch: function clickSearch() {
  362. uni.navigateTo({
  363. url: '/pages/product/search' });
  364. },
  365. // 监听图片加载完成
  366. onImageError: function onImageError(key, index) {
  367. this[key][index].image = '/static/error/errorImage.jpg';
  368. },
  369. // 轮播图跳转
  370. bannerNavToUrl: function bannerNavToUrl(item) {
  371. //测试数据没有写id,用title代替
  372. uni.navigateTo({
  373. url: item.wap_url });
  374. },
  375. // 获取企业分类
  376. getArtTypeList: function getArtTypeList() {var _this2 = this;
  377. var obj = this;
  378. (0, _art.getQyType)({
  379. is_type: 1 }).
  380. then(function (res) {
  381. console.log(res);
  382. // 获取头部nav
  383. var arr = res.data.map(function (e) {
  384. e.loadingType = 'more';
  385. e.page = 1;
  386. e.limit = 10;
  387. e.loaded = false;
  388. e.list = [];
  389. return e;
  390. });
  391. obj.navList = arr;
  392. console.log(obj.navList, 'obj.navList');
  393. obj.$nextTick(function () {
  394. obj.numClassWidht();
  395. });
  396. console.log(obj.navList, '++++++++++++++++');
  397. _this2.getArtList();
  398. });
  399. },
  400. // 获取文章列表
  401. getArtList: function getArtList(type) {
  402. var obj = this;
  403. var index = obj.tabCurrentIndex;
  404. var navitem = obj.navList[index];
  405. console.log('res++++++');
  406. console.log(navitem.loadingType, 'navitem.loadingType');
  407. // nav 点击切换拦截
  408. if (type == 'tab') {
  409. if (navitem.loaded) {
  410. return;
  411. }
  412. }
  413. if (navitem.loadingType == 'loading' || navitem.loadingType == 'noMore') {
  414. return;
  415. }
  416. navitem.loadingType = 'loading';
  417. (0, _art.getQyArtList)({
  418. page: navitem.page,
  419. rows: navitem.limit,
  420. id: navitem.id }).
  421. then(function (res) {
  422. console.log(res, '其他');
  423. navitem.list = navitem.list.concat(res.data.list);
  424. console.log(navitem.list, 'navitem.list');
  425. navitem.page++;
  426. if (res.data.list.length == navitem.limit) {
  427. navitem.loadingType = 'more';
  428. } else {
  429. navitem.loadingType = 'noMore';
  430. }
  431. navitem.loaded = true;
  432. });
  433. },
  434. goToDetail: function goToDetail(id) {
  435. uni.navigateTo({
  436. url: '/pages/user/article?id=' + id });
  437. } } };exports.default = _default;
  438. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
  439. /***/ }),
  440. /***/ 141:
  441. /*!**********************************************************************************************************!*\
  442. !*** C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue?vue&type=style&index=0&lang=scss& ***!
  443. \**********************************************************************************************************/
  444. /*! no static exports found */
  445. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  446. "use strict";
  447. __webpack_require__.r(__webpack_exports__);
  448. /* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./funeng.vue?vue&type=style&index=0&lang=scss& */ 142);
  449. /* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
  450. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  451. /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_funeng_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
  452. /***/ }),
  453. /***/ 142:
  454. /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  455. !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Administrator/Desktop/xmt_new/pages/category/funeng.vue?vue&type=style&index=0&lang=scss& ***!
  456. \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  457. /*! no static exports found */
  458. /***/ (function(module, exports, __webpack_require__) {
  459. // extracted by mini-css-extract-plugin
  460. if(false) { var cssReload; }
  461. /***/ })
  462. },[[135,"common/runtime","common/vendor"]]]);
  463. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/category/funeng.js.map