491 lines
28 KiB
JavaScript
491 lines
28 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/tabbar/my/my"],{
|
||
|
||
/***/ 63:
|
||
/*!*************************************************************************!*\
|
||
!*** D:/鲁班家具小程序/luban-mall/main.js?{"page":"pages%2Ftabbar%2Fmy%2Fmy"} ***!
|
||
\*************************************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||
|
||
|
||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||
var _my = _interopRequireDefault(__webpack_require__(/*! ./pages/tabbar/my/my.vue */ 64));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_my.default);
|
||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||
|
||
/***/ }),
|
||
|
||
/***/ 64:
|
||
/*!****************************************************!*\
|
||
!*** D:/鲁班家具小程序/luban-mall/pages/tabbar/my/my.vue ***!
|
||
\****************************************************/
|
||
/*! no static exports found */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./my.vue?vue&type=template&id=19e17412& */ 65);
|
||
/* harmony import */ var _my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./my.vue?vue&type=script&lang=js& */ 67);
|
||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _my_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 _my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
/* harmony import */ var _HBuilderX_app_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-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 17);
|
||
|
||
var renderjs
|
||
|
||
|
||
|
||
|
||
/* normalize component */
|
||
|
||
var component = Object(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||
_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||
_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||
_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||
false,
|
||
null,
|
||
null,
|
||
null,
|
||
false,
|
||
_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||
renderjs
|
||
)
|
||
|
||
component.options.__file = "pages/tabbar/my/my.vue"
|
||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 65:
|
||
/*!***********************************************************************************!*\
|
||
!*** D:/鲁班家具小程序/luban-mall/pages/tabbar/my/my.vue?vue&type=template&id=19e17412& ***!
|
||
\***********************************************************************************/
|
||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./my.vue?vue&type=template&id=19e17412& */ 66);
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_19e17412___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 66:
|
||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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:/鲁班家具小程序/luban-mall/pages/tabbar/my/my.vue?vue&type=template&id=19e17412& ***!
|
||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
/*! 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 = {
|
||
enterCart: function() {
|
||
return Promise.all(/*! import() | components/enter-cart/enter-cart */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/enter-cart/enter-cart")]).then(__webpack_require__.bind(null, /*! @/components/enter-cart/enter-cart.vue */ 186))
|
||
},
|
||
footTab: function() {
|
||
return Promise.all(/*! import() | components/foot-tab/foot-tab */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/foot-tab/foot-tab")]).then(__webpack_require__.bind(null, /*! @/components/foot-tab/foot-tab.vue */ 193))
|
||
}
|
||
}
|
||
} catch (e) {
|
||
if (
|
||
e.message.indexOf("Cannot find module") !== -1 &&
|
||
e.message.indexOf(".vue") !== -1
|
||
) {
|
||
console.error(e.message)
|
||
console.error("1. 排查组件名称拼写是否正确")
|
||
console.error(
|
||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||
)
|
||
console.error(
|
||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||
)
|
||
} else {
|
||
throw e
|
||
}
|
||
}
|
||
var render = function() {
|
||
var _vm = this
|
||
var _h = _vm.$createElement
|
||
var _c = _vm._self._c || _h
|
||
}
|
||
var recyclableRender = false
|
||
var staticRenderFns = []
|
||
render._withStripped = true
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 67:
|
||
/*!*****************************************************************************!*\
|
||
!*** D:/鲁班家具小程序/luban-mall/pages/tabbar/my/my.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_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./my.vue?vue&type=script&lang=js& */ 68);
|
||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_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_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 68:
|
||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./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:/鲁班家具小程序/luban-mall/pages/tabbar/my/my.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 statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 200));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {Promise.all(/*! require.ensure | components/enter-cart/enter-cart */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/enter-cart/enter-cart")]).then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 186));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {Promise.all(/*! require.ensure | components/foot-tab/foot-tab */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/foot-tab/foot-tab")]).then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 193));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
{
|
||
components: {
|
||
statusNav: statusNav,
|
||
enterCart: enterCart,
|
||
footTab: footTab },
|
||
|
||
data: function data() {
|
||
return {
|
||
newTop: uni.getSystemInfoSync().statusBarHeight + 50,
|
||
headPortrait: '', //头像
|
||
nickName: '', //用户名
|
||
businessCode: '', //是否会员
|
||
customerSrc: '', //商家客服二维码
|
||
myOrder: [
|
||
{ title: '全部订单', tag: 'all', num: 0 },
|
||
{ title: '已下单', tag: 'ordered', num: 0 },
|
||
{ title: '已完成', tag: 'completed', num: 0 },
|
||
{ title: '已取消', tag: 'closed', num: 0 }],
|
||
//订单
|
||
listData: [
|
||
{ titele: '个人资料', imgSrc: '/static/public/icon-my-01.png', iconWidth: 43, iconHeight: 43 },
|
||
{ titele: '会员码输入', imgSrc: '/static/public/icon-my-02.png', iconWidth: 41, iconHeight: 35 },
|
||
{ titele: '会员申请', imgSrc: '/static/public/icon-my-03.png', iconWidth: 40, iconHeight: 40 },
|
||
{ titele: '我的收藏', imgSrc: '/static/public/icon-my-04.png', iconWidth: 49, iconHeight: 47 },
|
||
{ titele: '关于我们', imgSrc: '/static/public/icon-my-05.png', iconWidth: 33, iconHeight: 31 },
|
||
{ titele: '免责申明', imgSrc: '/static/public/icon-my-06.png', iconWidth: 38, iconHeight: 38 },
|
||
{ titele: '是否显示会员价', imgSrc: '/static/public/icon-my-07.png', iconWidth: 39, iconHeight: 26 },
|
||
{ titele: '商家客服', imgSrc: '/static/public/icon-my-08.png', iconWidth: 35, iconHeight: 37 }],
|
||
//列表数据
|
||
isShow: true, //是否显示会员价
|
||
isCustomer: false, //商家客服
|
||
isVip: false, //会员申请弹窗
|
||
myName: '', //姓名
|
||
myPhone: '', //电话
|
||
inviteeName: '', //邀请人
|
||
inviteeCode: '', //会员码
|
||
flag: true,
|
||
vipCode: '', //会员码
|
||
isChecked: false //验证会员码
|
||
};
|
||
},
|
||
onReachBottom: function onReachBottom() {
|
||
|
||
},
|
||
onHide: function onHide() {
|
||
|
||
},
|
||
onLoad: function onLoad() {
|
||
this.getUserInfo();
|
||
this.getCustomer();
|
||
},
|
||
onShow: function onShow() {
|
||
|
||
},
|
||
methods: {
|
||
// 获取用户信息
|
||
getUserInfo: function getUserInfo() {var _this = this;
|
||
uni.showLoading();
|
||
this.$requst.get('/api/user/info').then(function (res) {
|
||
console.log(res, '用户信息');
|
||
if (res.code == 0) {
|
||
var newArr = res.data.order_count;
|
||
_this.headPortrait = res.data.headimgurl,
|
||
_this.nickName = res.data.nickname;
|
||
_this.businessCode = res.data.business_code;
|
||
_this.myOrder[0].num = newArr.all,
|
||
_this.myOrder[1].num = newArr.ordered,
|
||
_this.myOrder[2].num = newArr.completed,
|
||
_this.myOrder[3].num = newArr.closed;
|
||
}
|
||
uni.hideLoading();
|
||
});
|
||
},
|
||
|
||
// 获取商家客服
|
||
getCustomer: function getCustomer() {var _this2 = this;
|
||
this.$requst.post('/api/user/business-qr').then(function (res) {
|
||
console.log(res, '商家客服');
|
||
if (res.code == 0) {
|
||
_this2.customerSrc = res.data.qr;
|
||
}
|
||
});
|
||
},
|
||
// 是否显示会员价
|
||
changeShow: function changeShow() {
|
||
this.isShow = !this.isShow;
|
||
},
|
||
// 跳转方式
|
||
toMore: function toMore(index) {
|
||
if (index == 6) {
|
||
return false;
|
||
} else {
|
||
if (index == 0) {
|
||
uni.navigateTo({
|
||
url: "/pagesB/ucenter/ucenter" });
|
||
|
||
}
|
||
if (index == 1) {
|
||
this.isChecked = true;
|
||
}
|
||
if (index == 2) {
|
||
this.isVip = true;
|
||
}
|
||
if (index == 3) {
|
||
uni.navigateTo({
|
||
url: "/pages/tabbar/news/collection" });
|
||
|
||
}
|
||
if (index == 4) {
|
||
uni.navigateTo({
|
||
url: "/pagesB/about/about" });
|
||
|
||
}
|
||
if (index == 5) {
|
||
uni.navigateTo({
|
||
url: "/pagesB/disclaimers/disclaimers" });
|
||
|
||
}
|
||
if (index == 7) {
|
||
this.isCustomer = true;
|
||
}
|
||
}
|
||
},
|
||
// 提交会员申请
|
||
submitEv: function submitEv() {var _this3 = this;
|
||
if (this.checkEmpty() && this.flag) {
|
||
this.flag = false;
|
||
var params = {
|
||
name: this.myName,
|
||
phone: this.myPhone,
|
||
invite_name: this.inviteeName,
|
||
invite_code: this.inviteeCode };
|
||
|
||
this.$requst.post('/api/user/vip', params).then(function (res) {
|
||
if (res.code == 0) {
|
||
_this3.closeEv(); //关闭会员申请
|
||
_this3.getUserInfo(); // 刷新信息
|
||
} else {
|
||
_this3.$toolAll.tools.showToast(res.msg);
|
||
_this3.flag = true;
|
||
}
|
||
});
|
||
}
|
||
},
|
||
|
||
// 验证表单
|
||
checkEmpty: function checkEmpty() {
|
||
var result = false;
|
||
if (!this.myName) {
|
||
this.$toolAll.tools.showToast('请填写姓名');
|
||
} else if (this.$toolAll.tools.isPhone(this.myPhone)) {
|
||
this.$toolAll.tools.showToast('请正确填写联系电话');
|
||
} else {
|
||
result = true;
|
||
}
|
||
return result;
|
||
},
|
||
|
||
//关闭会员申请
|
||
closeEv: function closeEv() {
|
||
this.isVip = false;
|
||
this.myName = '';
|
||
this.myPhone = '';
|
||
this.inviteeName = '';
|
||
this.inviteeCode = '';
|
||
this.flag = true;
|
||
},
|
||
|
||
// 验证会员码
|
||
checkCode: function checkCode() {var _this4 = this;
|
||
if (this.vipCode !== '') {
|
||
this.$requst.post('/api/user/check-code', { code: this.vipCode }).then(function (res) {
|
||
if (res.code == 0) {
|
||
_this4.$toolAll.tools.showToast('验证成功');
|
||
_this4.closeCheck(); //清除验证信息
|
||
} else {
|
||
_this4.$toolAll.tools.showToast(res.msg);
|
||
}
|
||
});
|
||
} else {
|
||
this.$toolAll.tools.showToast('会员码不能为空');
|
||
}
|
||
|
||
},
|
||
// 取消验证会员码
|
||
closeCheck: function closeCheck() {
|
||
this.isChecked = false;
|
||
this.vipCode = '';
|
||
},
|
||
|
||
// 跳转订单管理
|
||
changeOrder: function changeOrder(index) {
|
||
uni.navigateTo({
|
||
url: "/pagesA/order/order?tag=".concat(this.myOrder[index].tag, "&index=").concat(index) });
|
||
|
||
},
|
||
// 选择
|
||
chooseEv: function chooseEv(obj) {
|
||
if (obj.url) {
|
||
uni.navigateTo({
|
||
url: obj.url });
|
||
|
||
} else {
|
||
// 添加微信
|
||
this.ifWx = true;
|
||
}
|
||
},
|
||
// 我的订单点击事件
|
||
chooseGe: function chooseGe(obj) {
|
||
uni.navigateTo({
|
||
url: "/pagesA/order-list/order-list?index=".concat([1, 2, 3, 4][obj.index]) });
|
||
|
||
},
|
||
// 关闭商家客服
|
||
closeCustomer: function closeCustomer() {
|
||
this.isCustomer = false;
|
||
},
|
||
// 保存二维码
|
||
saveImg: function saveImg() {
|
||
this.$toolAll.tools.saveImg(this.customerSrc);
|
||
} } };exports.default = _default;
|
||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||
|
||
/***/ })
|
||
|
||
},[[63,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/tabbar/my/my.js.map
|