2021-08-26 01:49:06 +00:00
|
|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/productDetail/productDetail"],{
|
|
|
|
|
|
|
|
|
|
/***/ 60:
|
|
|
|
|
/*!****************************************************************************************************!*\
|
|
|
|
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/main.js?{"page":"pagesA%2FproductDetail%2FproductDetail"} ***!
|
|
|
|
|
\****************************************************************************************************/
|
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4);
|
|
|
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
|
|
|
|
|
var _productDetail = _interopRequireDefault(__webpack_require__(/*! ./pagesA/productDetail/productDetail.vue */ 61));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
|
|
|
|
|
createPage(_productDetail.default);
|
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 61:
|
|
|
|
|
/*!*********************************************************************************!*\
|
|
|
|
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/productDetail/productDetail.vue ***!
|
|
|
|
|
\*********************************************************************************/
|
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony import */ var _productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./productDetail.vue?vue&type=template&id=2c84d626& */ 62);
|
|
|
|
|
/* harmony import */ var _productDetail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./productDetail.vue?vue&type=script&lang=js& */ 64);
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _productDetail_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 _productDetail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
/* 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_2__ = __webpack_require__(/*! ../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
|
|
|
|
|
|
|
|
|
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_2__["default"])(
|
|
|
|
|
_productDetail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
|
|
_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
|
_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
|
|
false,
|
|
|
|
|
null,
|
|
|
|
|
null,
|
|
|
|
|
null,
|
|
|
|
|
false,
|
|
|
|
|
_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
|
|
|
renderjs
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
component.options.__file = "pagesA/productDetail/productDetail.vue"
|
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 62:
|
|
|
|
|
/*!****************************************************************************************************************!*\
|
|
|
|
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/productDetail/productDetail.vue?vue&type=template&id=2c84d626& ***!
|
|
|
|
|
\****************************************************************************************************************/
|
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* 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_productDetail_vue_vue_type_template_id_2c84d626___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!./productDetail.vue?vue&type=template&id=2c84d626& */ 63);
|
|
|
|
|
/* 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_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
|
|
|
|
|
|
/* 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_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
|
|
|
|
/* 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_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
|
|
|
|
|
|
/* 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_productDetail_vue_vue_type_template_id_2c84d626___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 63:
|
|
|
|
|
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./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:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/productDetail/productDetail.vue?vue&type=template&id=2c84d626& ***!
|
|
|
|
|
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
|
/*! 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
|
|
|
|
|
var render = function() {
|
|
|
|
|
var _vm = this
|
|
|
|
|
var _h = _vm.$createElement
|
|
|
|
|
var _c = _vm._self._c || _h
|
|
|
|
|
}
|
|
|
|
|
var recyclableRender = false
|
|
|
|
|
var staticRenderFns = []
|
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 64:
|
|
|
|
|
/*!**********************************************************************************************************!*\
|
|
|
|
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/productDetail/productDetail.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 _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_productDetail_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!./productDetail.vue?vue&type=script&lang=js& */ 65);
|
|
|
|
|
/* 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_productDetail_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_productDetail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
/* 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_productDetail_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 _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_productDetail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
/* 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_productDetail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 65:
|
|
|
|
|
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./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:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/productDetail/productDetail.vue?vue&type=script&lang=js& ***!
|
|
|
|
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var twocoluList = function twocoluList() {__webpack_require__.e(/*! require.ensure | components/twocoluList */ "components/twocoluList").then((function () {return resolve(__webpack_require__(/*! @/components/twocoluList.vue */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var bottomkf = function bottomkf() {__webpack_require__.e(/*! require.ensure | components/bottomkf */ "components/bottomkf").then((function () {return resolve(__webpack_require__(/*! @/components/bottomkf.vue */ 232));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var evaluateList = function evaluateList() {__webpack_require__.e(/*! require.ensure | components/evaluateList */ "components/evaluateList").then((function () {return resolve(__webpack_require__(/*! @/components/evaluateList.vue */ 237));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var backTop = function backTop() {__webpack_require__.e(/*! require.ensure | components/backTop */ "components/backTop").then((function () {return resolve(__webpack_require__(/*! @/components/backTop.vue */ 213));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-27 09:04:04 +00:00
|
|
|
|
|
2021-08-26 01:49:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
components: {
|
|
|
|
|
twocoluList: twocoluList,
|
|
|
|
|
bottomkf: bottomkf,
|
|
|
|
|
evaluateList: evaluateList,
|
|
|
|
|
backTop: backTop },
|
|
|
|
|
|
|
|
|
|
data: function data() {
|
|
|
|
|
return {
|
|
|
|
|
whereCome: 0,
|
|
|
|
|
dataInfo: {},
|
|
|
|
|
dataList: [],
|
|
|
|
|
guigArr: [],
|
|
|
|
|
guigCurrent: 0,
|
|
|
|
|
num: 1,
|
|
|
|
|
isBtn: false,
|
|
|
|
|
evalArr: [],
|
|
|
|
|
showTop: false,
|
|
|
|
|
isCollection: true,
|
|
|
|
|
proDetail: {},
|
|
|
|
|
zhuImg: '',
|
|
|
|
|
detailImg: [],
|
|
|
|
|
proDetailTwo: {},
|
|
|
|
|
detailCon: '',
|
|
|
|
|
order_sku_id: '',
|
|
|
|
|
evalTotal: 0,
|
|
|
|
|
sku_img: '',
|
|
|
|
|
page: 1,
|
|
|
|
|
size: 50,
|
|
|
|
|
only_image: 0,
|
|
|
|
|
statusHNH: uni.getStorageSync('statusHNH'),
|
|
|
|
|
pageShow: false,
|
|
|
|
|
titleVal: '',
|
|
|
|
|
xiaj: false, //是否下架
|
2021-08-27 08:01:51 +00:00
|
|
|
|
showShare: true,
|
|
|
|
|
user_type: uni.getStorageSync('user_type') //权限
|
|
|
|
|
};
|
2021-08-26 01:49:06 +00:00
|
|
|
|
},
|
|
|
|
|
onPageScroll: function onPageScroll(e) {
|
|
|
|
|
e.scrollTop > 360 ? this.showTop = true : this.showTop = false;
|
|
|
|
|
},
|
|
|
|
|
onShareAppMessage: function onShareAppMessage(options) {
|
|
|
|
|
var ya = this;
|
|
|
|
|
var shareObj = {
|
|
|
|
|
title: ya.proDetail.name, // 默认是小程序的名称(可以写slogan等)
|
|
|
|
|
path: '/pagesA/productDetail/productDetail?id=' + ya.proDetail.id + "&index=2", // 默认是当前页面,必须是以‘/’开头的完整路径
|
|
|
|
|
imageUrl: ya.zhuImg, //自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4
|
|
|
|
|
success: function success(res) {
|
|
|
|
|
// 转发成功之后的回调
|
|
|
|
|
if (res.errMsg == 'shareAppMessage:ok') {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: function fail(res) {
|
|
|
|
|
// 转发失败之后的回调
|
|
|
|
|
if (res.errMsg == 'shareAppMessage:fail cancel') {
|
|
|
|
|
// 用户取消转发
|
|
|
|
|
} else if (res.errMsg == 'shareAppMessage:fail') {
|
|
|
|
|
// 转发失败,其中 detail message 为详细失败信息
|
|
|
|
|
}
|
|
|
|
|
} };
|
|
|
|
|
|
|
|
|
|
// 来自页面内的按钮的转发
|
|
|
|
|
if (options.from == 'button') {
|
|
|
|
|
var eData = options.target.dataset;
|
|
|
|
|
//console.log( eData.name ); // shareBtn
|
|
|
|
|
// 此处可以修改 shareObj 中的内容
|
|
|
|
|
shareObj.path = '/pages/tabbar/my/my';
|
|
|
|
|
}
|
|
|
|
|
return shareObj;
|
|
|
|
|
},
|
|
|
|
|
onShow: function onShow() {
|
|
|
|
|
this.$toolAll.tools.guoq();
|
|
|
|
|
if (uni.getStorageSync('is_active') == 0) {
|
|
|
|
|
this.showShare = false;
|
|
|
|
|
}
|
|
|
|
|
uni.removeStorageSync('orderInfo');
|
|
|
|
|
},
|
|
|
|
|
onLoad: function onLoad(options) {
|
|
|
|
|
var ya = this;
|
|
|
|
|
|
|
|
|
|
if (uni.getStorageSync('token') != '') {
|
|
|
|
|
var whereNum = options.index;
|
|
|
|
|
if (whereNum != undefined) this.whereCome = whereNum;
|
|
|
|
|
this.checkDetail(options.id);
|
|
|
|
|
this.like();
|
|
|
|
|
} else {
|
|
|
|
|
this.$toolAll.tools.showToast('您目前是游客,请登录');
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/login/login' });
|
|
|
|
|
|
|
|
|
|
}, 2000);
|
|
|
|
|
}
|
|
|
|
|
// this.proDetail = uni.getStorageSync('proDetail')
|
|
|
|
|
// this.zhuImg = this.$http + this.proDetail.main_sku.main_image
|
|
|
|
|
// if(this.proDetail.main_sku.images.length!=0){
|
|
|
|
|
// this.proDetail.main_sku.images.forEach(item=>{
|
|
|
|
|
// let detailImgObj = {
|
|
|
|
|
// src:this.$http+item.src
|
|
|
|
|
// }
|
|
|
|
|
// this.detailImg.push(detailImgObj)
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
like: function like() {var _this = this; //查询猜你喜欢列表
|
|
|
|
|
this.$requst.post('product/spu/guess', { page: this.page, size: this.size }).then(function (res) {
|
|
|
|
|
// console.log('猜你喜欢',res);
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data.list.length != 0) {
|
|
|
|
|
res.data.list.forEach(function (item) {
|
|
|
|
|
var likeObj = {
|
|
|
|
|
id: item.main_sku.id,
|
|
|
|
|
spu_id: item.id,
|
|
|
|
|
src: _this.$http + item.main_sku.main_image,
|
|
|
|
|
title: item.name,
|
|
|
|
|
price: item.main_sku.cur_price / 100,
|
|
|
|
|
tags: item.tags };
|
|
|
|
|
|
|
|
|
|
_this.dataList.push(likeObj);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}, function (error) {});
|
|
|
|
|
},
|
|
|
|
|
proDetailEv: function proDetailEv() {
|
|
|
|
|
this.sku_img = this.$http + this.proDetail.sku_list[0].main_image;
|
|
|
|
|
},
|
|
|
|
|
checkDetail: function checkDetail(id) {var _this2 = this; //详情接口
|
|
|
|
|
this.$requst.post('product/spu/detail', { id: id }).then(function (res) {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
_this2.pageShow = true;
|
|
|
|
|
_this2.proDetail = res.data;
|
|
|
|
|
_this2.titleVal = _this2.proDetail.name;
|
|
|
|
|
if (res.data.is_collected == 0) _this2.isCollection = true;
|
|
|
|
|
if (res.data.is_collected == 1) _this2.isCollection = false;
|
|
|
|
|
if (res.data.sku_list.length != 0) {
|
|
|
|
|
for (var i = 0; i < res.data.sku_list.length; i++) {
|
|
|
|
|
if (res.data.sku_list[i].is_main == 1) {
|
|
|
|
|
_this2.proDetailTwo = res.data.sku_list[i];
|
|
|
|
|
_this2.zhuImg = _this2.$http + res.data.sku_list[i].main_image;
|
|
|
|
|
_this2.order_sku_id = res.data.sku_list[i].id;
|
|
|
|
|
break;
|
|
|
|
|
} else {
|
|
|
|
|
_this2.proDetailTwo = res.data.sku_list[i];
|
|
|
|
|
_this2.zhuImg = _this2.$http + res.data.sku_list[0].main_image;
|
|
|
|
|
_this2.order_sku_id = res.data.sku_list[0].id;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
_this2.detailCon = _this2.$toolAll.tools.escape2Html(_this2.proDetail.spu_detail.description);
|
|
|
|
|
_this2.checkEval(_this2.proDetail.id);
|
|
|
|
|
}
|
|
|
|
|
// if(res.code==4004){
|
|
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
}, function (error) {
|
|
|
|
|
_this2.xiaj = true;
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
uni.navigateBack({ delta: 1 });
|
|
|
|
|
}, 1500);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
checkEval: function checkEval(id) {var _this3 = this; //评论接口
|
|
|
|
|
var allEvaluateObj = {
|
|
|
|
|
spu_id: id,
|
|
|
|
|
page: this.page,
|
|
|
|
|
size: this.size,
|
|
|
|
|
only_image: this.only_image };
|
|
|
|
|
|
|
|
|
|
var pingArr = [];
|
|
|
|
|
this.$requst.post('product/spu/comment-list', allEvaluateObj).then(function (res) {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
_this3.evalTotal = res.data.total;
|
|
|
|
|
if (res.data.list.length != 0) {
|
|
|
|
|
res.data.list.forEach(function (item, index) {
|
|
|
|
|
var imgArr = [];
|
|
|
|
|
item.images.forEach(function (itemimg) {
|
|
|
|
|
var imgObj = {
|
|
|
|
|
src: _this3.$http + itemimg };
|
|
|
|
|
|
|
|
|
|
imgArr.push(imgObj);
|
|
|
|
|
});
|
|
|
|
|
var haveH = item.account.headimgurl.slice(0, 4);
|
|
|
|
|
if (haveH != 'http') {
|
|
|
|
|
haveH = _this3.$http;
|
|
|
|
|
} else haveH = '';
|
|
|
|
|
var newname = _this3.$toolAll.tools.hideName(item.account.nickname); //隐藏姓名中间几位
|
|
|
|
|
var evalObj = {
|
|
|
|
|
src: haveH + item.account.headimgurl,
|
|
|
|
|
name: newname,
|
|
|
|
|
xingj: item.grade,
|
|
|
|
|
content: item.content,
|
|
|
|
|
title: item.orderSku.spu_name,
|
|
|
|
|
time: item.created_at,
|
|
|
|
|
imgList: imgArr };
|
|
|
|
|
|
|
|
|
|
if (index < 2) {
|
|
|
|
|
_this3.evalArr.push(evalObj);
|
|
|
|
|
}
|
|
|
|
|
pingArr.push(evalObj);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// console.log('pingArr:',pingArr);
|
|
|
|
|
// console.log(res);
|
|
|
|
|
}, function (error) {});
|
|
|
|
|
},
|
|
|
|
|
checkAllp: function checkAllp(id) {
|
|
|
|
|
uni.setStorageSync('plOrder', this.proDetail);
|
|
|
|
|
uni.navigateTo({ url: '/pagesB/allEvaluate/allEvaluate?id=' + id });
|
|
|
|
|
},
|
|
|
|
|
backTop: function backTop() {
|
|
|
|
|
uni.pageScrollTo({
|
|
|
|
|
scrollTop: 0,
|
|
|
|
|
duration: 300 });
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
addChe: function addChe(e) {//加入购物车事件
|
|
|
|
|
// console.log('加入购物车:'+e)
|
|
|
|
|
this.$toolAll.tools.showToast('加入购物车' + e);
|
|
|
|
|
},
|
|
|
|
|
collection: function collection(id) {var _this4 = this;
|
|
|
|
|
if (uni.getStorageSync('is_active') == 0) {
|
|
|
|
|
this.$toolAll.tools.showToast('您目前是游客,请授权登录');
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
uni.navigateTo({ url: '/pages/login/login' });
|
|
|
|
|
}, 1500);
|
|
|
|
|
} else {
|
|
|
|
|
// console.log('收藏商品ID',id);
|
|
|
|
|
var newApi = '';
|
|
|
|
|
if (this.isCollection == true) {//添加收藏事件
|
|
|
|
|
this.$requst.post('user/collection-add', { spu_id: id }).then(function (res) {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
_this4.isCollection = false;
|
|
|
|
|
uni.showToast({ title: '收藏成功', icon: 'none' });
|
|
|
|
|
}
|
|
|
|
|
}, function (error) {});
|
|
|
|
|
} else {//取消收藏事件
|
|
|
|
|
// console.log('信息',this.proDetail);
|
|
|
|
|
this.$requst.post('user/collection-del', { spu_id: id }).then(function (res) {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
_this4.isCollection = true;
|
|
|
|
|
uni.showToast({ title: '取消成功', icon: 'none' });
|
|
|
|
|
}
|
|
|
|
|
}, function (error) {});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} } };exports.default = _default;
|
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
|
|
},[[60,"common/runtime","common/vendor"]]]);
|
|
|
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/productDetail/productDetail.js.map
|