2022-12-05 02:35:44 +00:00
|
|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/release/release"],{
|
2022-11-28 07:21:53 +00:00
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/***/ 100:
|
|
|
|
|
/*!***************************************************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/leave-unused/pagesA/release/release.vue?vue&type=style&index=0&id=3893cd0a&scoped=true&lang=css& ***!
|
|
|
|
|
\***************************************************************************************************************/
|
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=style&index=0&id=3893cd0a&scoped=true&lang=css& */ 101);
|
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 101:
|
|
|
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/leave-unused/pagesA/release/release.vue?vue&type=style&index=0&id=3893cd0a&scoped=true&lang=css& ***!
|
|
|
|
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
if(false) { var cssReload; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 94:
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/*!*************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/leave-unused/main.js?{"page":"pagesA%2Frelease%2Frelease"} ***!
|
|
|
|
|
\*************************************************************************/
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */(function(createPage) {
|
|
|
|
|
|
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 3);
|
|
|
|
|
__webpack_require__(/*! uni-pages */ 25);
|
|
|
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 24));
|
|
|
|
|
var _release = _interopRequireDefault(__webpack_require__(/*! ./pagesA/release/release.vue */ 95));
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
|
|
|
createPage(_release.default);
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/***/ 95:
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/*!******************************************************!*\
|
|
|
|
|
!*** D:/Lee/leave-unused/pagesA/release/release.vue ***!
|
|
|
|
|
\******************************************************/
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/* harmony import */ var _release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./release.vue?vue&type=template&id=3893cd0a&scoped=true& */ 96);
|
|
|
|
|
/* harmony import */ var _release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./release.vue?vue&type=script&lang=js& */ 98);
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _release_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 _release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
/* harmony import */ var _release_vue_vue_type_style_index_0_id_3893cd0a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./release.vue?vue&type=style&index=0&id=3893cd0a&scoped=true&lang=css& */ 100);
|
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 31);
|
2022-11-28 07:21:53 +00:00
|
|
|
|
|
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
|
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
|
|
|
_release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
2022-12-05 02:35:44 +00:00
|
|
|
|
_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
|
_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
2022-11-28 07:21:53 +00:00
|
|
|
|
false,
|
|
|
|
|
null,
|
2022-12-05 02:35:44 +00:00
|
|
|
|
"3893cd0a",
|
2022-11-28 07:21:53 +00:00
|
|
|
|
null,
|
|
|
|
|
false,
|
2022-12-05 02:35:44 +00:00
|
|
|
|
_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
2022-11-28 07:21:53 +00:00
|
|
|
|
renderjs
|
|
|
|
|
)
|
|
|
|
|
|
2022-12-05 02:35:44 +00:00
|
|
|
|
component.options.__file = "pagesA/release/release.vue"
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/***/ 96:
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/*!*************************************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/leave-unused/pagesA/release/release.vue?vue&type=template&id=3893cd0a&scoped=true& ***!
|
|
|
|
|
\*************************************************************************************************/
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=template&id=3893cd0a&scoped=true& */ 97);
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
2022-11-28 07:21:53 +00:00
|
|
|
|
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
2022-11-28 07:21:53 +00:00
|
|
|
|
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
2022-11-28 07:21:53 +00:00
|
|
|
|
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_template_id_3893cd0a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
2022-11-28 07:21:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/***/ 97:
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--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!D:/Lee/leave-unused/pagesA/release/release.vue?vue&type=template&id=3893cd0a&scoped=true& ***!
|
|
|
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/*! 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 = {
|
2023-01-06 07:07:02 +00:00
|
|
|
|
statusNav: function () {
|
|
|
|
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 125))
|
|
|
|
|
},
|
2022-11-28 07:21:53 +00:00
|
|
|
|
}
|
|
|
|
|
} catch (e) {
|
|
|
|
|
if (
|
|
|
|
|
e.message.indexOf("Cannot find module") !== -1 &&
|
|
|
|
|
e.message.indexOf(".vue") !== -1
|
|
|
|
|
) {
|
|
|
|
|
console.error(e.message)
|
|
|
|
|
console.error("1. 排查组件名称拼写是否正确")
|
|
|
|
|
console.error(
|
|
|
|
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
|
|
|
|
)
|
|
|
|
|
console.error(
|
|
|
|
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
|
|
|
|
)
|
|
|
|
|
} else {
|
|
|
|
|
throw e
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-01-06 07:07:02 +00:00
|
|
|
|
var render = function () {
|
2022-11-28 07:21:53 +00:00
|
|
|
|
var _vm = this
|
|
|
|
|
var _h = _vm.$createElement
|
|
|
|
|
var _c = _vm._self._c || _h
|
|
|
|
|
if (!_vm._isMounted) {
|
2023-01-06 07:07:02 +00:00
|
|
|
|
_vm.e0 = function ($event) {
|
2022-11-28 07:21:53 +00:00
|
|
|
|
_vm.cover = ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var recyclableRender = false
|
|
|
|
|
var staticRenderFns = []
|
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/***/ 98:
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/*!*******************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/leave-unused/pagesA/release/release.vue?vue&type=script&lang=js& ***!
|
|
|
|
|
\*******************************************************************************/
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=script&lang=js& */ 99);
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_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 _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_release_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/***/ 99:
|
2022-12-05 02:35:44 +00:00
|
|
|
|
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./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!D:/Lee/leave-unused/pagesA/release/release.vue?vue&type=script&lang=js& ***!
|
|
|
|
|
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
2023-01-06 07:07:02 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
|
|
value: true
|
|
|
|
|
});
|
|
|
|
|
exports.default = void 0;
|
|
|
|
|
//
|
2022-11-28 07:21:53 +00:00
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
2023-01-06 07:07:02 +00:00
|
|
|
|
var _default = {
|
2022-11-28 07:21:53 +00:00
|
|
|
|
data: function data() {
|
|
|
|
|
return {
|
2023-01-06 07:07:02 +00:00
|
|
|
|
statusHeight: uni.getSystemInfoSync().statusBarHeight,
|
|
|
|
|
//状态栏高度
|
|
|
|
|
pageTitle: '',
|
|
|
|
|
//页面名称
|
|
|
|
|
estateList: [],
|
|
|
|
|
//小区列表
|
|
|
|
|
estateIndex: 0,
|
|
|
|
|
//小区选择
|
|
|
|
|
cateList: [],
|
|
|
|
|
//分类列表
|
|
|
|
|
cateIndex: 0,
|
|
|
|
|
//分类选择
|
|
|
|
|
goodsDetail: {},
|
|
|
|
|
//商品详情
|
|
|
|
|
cover: '',
|
|
|
|
|
//封面图
|
|
|
|
|
goodsImg: [],
|
|
|
|
|
//商品图片
|
|
|
|
|
phone: '',
|
|
|
|
|
//联系电话
|
|
|
|
|
isEdit: false,
|
|
|
|
|
//是否编辑进入
|
|
|
|
|
isLoading: false,
|
|
|
|
|
//是否记载完成
|
|
|
|
|
page: 1,
|
|
|
|
|
//页数
|
|
|
|
|
size: 100,
|
|
|
|
|
//条数
|
|
|
|
|
StagingImg: '',
|
|
|
|
|
//暂存img
|
2022-11-28 07:21:53 +00:00
|
|
|
|
goods_id: -1 //商品id
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
onLoad: function onLoad(op) {
|
|
|
|
|
if (op.id) {
|
|
|
|
|
// 判断是否是编辑进入
|
|
|
|
|
this.isEdit = true;
|
|
|
|
|
this.pageTitle = '编辑商品';
|
|
|
|
|
// 获取商品id
|
|
|
|
|
this.goods_id = op.id;
|
|
|
|
|
} else {
|
|
|
|
|
this.pageTitle = '新增商品';
|
|
|
|
|
// 获取用户信息
|
|
|
|
|
this.getUserInfo();
|
|
|
|
|
}
|
|
|
|
|
// 查询小区列表
|
|
|
|
|
this.getEstateList();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// 获取用户信息
|
2023-01-06 07:07:02 +00:00
|
|
|
|
getUserInfo: function getUserInfo() {
|
|
|
|
|
var _this = this;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
this.$requst.get('/api/v1/user/info').then(function (res) {
|
|
|
|
|
console.log(res, '用户信息');
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
_this.phone = res.data.mobile;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 查询小区列表
|
2023-01-06 07:07:02 +00:00
|
|
|
|
getEstateList: function getEstateList() {
|
|
|
|
|
var _this2 = this;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
this.$requst.get('/api/v1/goods/area').then(function (res) {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
console.log(res, '小区列表');
|
|
|
|
|
var estateArr = [];
|
|
|
|
|
res.data.list.forEach(function (item) {
|
|
|
|
|
var obj = {
|
|
|
|
|
id: item.id,
|
2023-01-06 07:07:02 +00:00
|
|
|
|
name: item.title
|
|
|
|
|
};
|
2022-11-28 07:21:53 +00:00
|
|
|
|
estateArr.push(obj);
|
|
|
|
|
});
|
|
|
|
|
_this2.estateList = _this2.estateList.concat(estateArr);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
_this2.estateIndex = _this2.estateList.findIndex(function (item) {
|
|
|
|
|
return item.id === uni.getStorageSync('area_id');
|
|
|
|
|
});
|
2022-11-28 07:21:53 +00:00
|
|
|
|
// 查询分类
|
|
|
|
|
_this2.getCateList();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 查询分类
|
2023-01-06 07:07:02 +00:00
|
|
|
|
getCateList: function getCateList() {
|
|
|
|
|
var _this3 = this;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
if (this.page == 1) this.goodsList = [];
|
|
|
|
|
this.$requst.get('/api/v1/goods/category').then(function (res) {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
console.log(res, '物品分类列表');
|
|
|
|
|
var cateArr = [];
|
|
|
|
|
res.data.forEach(function (item) {
|
|
|
|
|
var obj = {
|
|
|
|
|
id: item.id,
|
2023-01-06 07:07:02 +00:00
|
|
|
|
name: item.title
|
|
|
|
|
};
|
2022-11-28 07:21:53 +00:00
|
|
|
|
cateArr.push(obj);
|
|
|
|
|
});
|
|
|
|
|
_this3.cateList = cateArr;
|
|
|
|
|
if (_this3.isEdit) {
|
|
|
|
|
// 查询商品详情
|
|
|
|
|
_this3.getGoodsDetail(_this3.goods_id);
|
|
|
|
|
} else {
|
|
|
|
|
_this3.isLoading = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 查询商品详情
|
2023-01-06 07:07:02 +00:00
|
|
|
|
getGoodsDetail: function getGoodsDetail(id) {
|
|
|
|
|
var _this4 = this;
|
|
|
|
|
this.$requst.get('/api/v1/goods/detail', {
|
|
|
|
|
id: id
|
|
|
|
|
}).then(function (res) {
|
2022-11-28 07:21:53 +00:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
console.log(res, '闲置商品详情');
|
|
|
|
|
// 获取图片
|
|
|
|
|
_this4.goodsImg = res.data.images;
|
|
|
|
|
// 获取电话
|
|
|
|
|
_this4.phone = res.data.phone;
|
|
|
|
|
// 获取封面图
|
|
|
|
|
_this4.cover = res.data.cover;
|
|
|
|
|
// 获取当前分类
|
2023-01-06 07:07:02 +00:00
|
|
|
|
_this4.cateIndex = _this4.cateList.findIndex(function (item) {
|
|
|
|
|
return item.name === res.data.category_name;
|
|
|
|
|
});
|
2022-11-28 07:21:53 +00:00
|
|
|
|
// 获取当前小区
|
2023-01-06 07:07:02 +00:00
|
|
|
|
_this4.estateIndex = _this4.estateList.findIndex(function (item) {
|
|
|
|
|
return item.name === res.data.area_name;
|
|
|
|
|
});
|
2022-11-28 07:21:53 +00:00
|
|
|
|
// 获取商品详情
|
|
|
|
|
_this4.goodsDetail = {
|
|
|
|
|
id: res.data.id,
|
|
|
|
|
name: res.data.title,
|
|
|
|
|
original_price: parseFloat(res.data.original_price),
|
|
|
|
|
price: parseFloat(res.data.price),
|
2023-01-06 07:07:02 +00:00
|
|
|
|
msg: res.data.content
|
|
|
|
|
};
|
2022-11-28 07:21:53 +00:00
|
|
|
|
}
|
|
|
|
|
_this4.isLoading = true;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 新增or编辑闲置商品
|
2023-01-06 07:07:02 +00:00
|
|
|
|
addGoodsEv: function addGoodsEv() {
|
|
|
|
|
var _this5 = this;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
var params = {
|
|
|
|
|
id: this.goods_id !== -1 ? this.goods_id : '',
|
|
|
|
|
title: this.goodsDetail.name,
|
|
|
|
|
cover: this.cover,
|
|
|
|
|
category_id: this.cateList[this.cateIndex].id,
|
|
|
|
|
area_id: this.estateList[this.estateIndex].id,
|
|
|
|
|
phone: this.phone,
|
|
|
|
|
original_price: this.goodsDetail.original_price,
|
|
|
|
|
price: this.goodsDetail.price,
|
|
|
|
|
images: this.goodsImg.join(','),
|
2023-01-06 07:07:02 +00:00
|
|
|
|
content: this.goodsDetail.msg
|
|
|
|
|
};
|
2022-11-28 07:21:53 +00:00
|
|
|
|
this.$requst.post(this.isEdit ? '/api/v1/goods/edit' : '/api/v1/goods/add', params).then(function (res) {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (_this5.isEdit) {
|
|
|
|
|
_this5.$toolAll.tools.showToast('修改成功');
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
uni.navigateBack({
|
|
|
|
|
delta: 1,
|
|
|
|
|
fail: function fail() {
|
|
|
|
|
uni.reLaunch({
|
2023-01-06 07:07:02 +00:00
|
|
|
|
url: '/pages/idle/idle'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
2022-11-28 07:21:53 +00:00
|
|
|
|
}, 500);
|
|
|
|
|
} else {
|
|
|
|
|
_this5.$toolAll.tools.showToast('添加成功');
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
uni.reLaunch({
|
2023-01-06 07:07:02 +00:00
|
|
|
|
url: '/pages/idle/idle'
|
|
|
|
|
});
|
2022-11-28 07:21:53 +00:00
|
|
|
|
}, 500);
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
_this5.$toolAll.tools.showToast(res.msg);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 选择分类
|
|
|
|
|
choiceCate: function choiceCate(e) {
|
|
|
|
|
this.cateIndex = e.detail.value;
|
|
|
|
|
},
|
|
|
|
|
// 选择小区
|
|
|
|
|
choiceEstate: function choiceEstate(e) {
|
|
|
|
|
this.estateIndex = e.detail.value;
|
|
|
|
|
},
|
|
|
|
|
// 选择图片
|
2023-01-06 07:07:02 +00:00
|
|
|
|
changeImg: function changeImg(type) {
|
|
|
|
|
var _this6 = this;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
if (type == 'cover') this.cover = '';
|
|
|
|
|
uni.chooseImage({
|
2023-01-06 07:07:02 +00:00
|
|
|
|
count: 1,
|
|
|
|
|
//默认9
|
|
|
|
|
sourceType: ['album', 'camera'],
|
|
|
|
|
//从相册选择
|
2022-11-28 07:21:53 +00:00
|
|
|
|
success: function success(res) {
|
|
|
|
|
_this6.StagingImg = res.tempFilePaths[0];
|
|
|
|
|
// 上传图片
|
|
|
|
|
_this6.uploadImg(type);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
}
|
|
|
|
|
});
|
2022-11-28 07:21:53 +00:00
|
|
|
|
},
|
|
|
|
|
// 上传图片
|
2023-01-06 07:07:02 +00:00
|
|
|
|
uploadImg: function uploadImg(type) {
|
|
|
|
|
var _this7 = this;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
uni.showLoading({
|
2023-01-06 07:07:02 +00:00
|
|
|
|
title: '上传中'
|
|
|
|
|
});
|
|
|
|
|
this.$requst.upload('/api/v1/file/upload/image', {
|
|
|
|
|
path: this.StagingImg
|
|
|
|
|
}).then(function (res) {
|
2022-11-28 07:21:53 +00:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (type == 'cover') {
|
|
|
|
|
_this7.cover = _this7.$hostHttp + res.data.src;
|
|
|
|
|
}
|
|
|
|
|
if (type == 'img') {
|
|
|
|
|
_this7.goodsImg.push(_this7.$hostHttp + res.data.src);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 删除图片
|
|
|
|
|
delImg: function delImg(index) {
|
|
|
|
|
this.goodsImg.splice(index, 1);
|
2023-01-06 07:07:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
exports.default = _default;
|
2022-11-28 07:21:53 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
2023-01-06 07:07:02 +00:00
|
|
|
|
},[[94,"common/runtime","common/vendor"]]]);
|
2022-12-05 02:35:44 +00:00
|
|
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/release/release.js.map
|