You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
414 lines
33 KiB
414 lines
33 KiB
1 year ago
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/main"],{
|
||
|
|
||
|
/***/ 0:
|
||
|
/*!***********************************************!*\
|
||
|
!*** C:/Users/18634/Desktop/项目/xxdj1/main.js ***!
|
||
|
\***********************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
/* WEBPACK VAR INJECTION */(function(wx, createApp) {
|
||
|
|
||
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
||
|
__webpack_require__(/*! uni-pages */ 26);
|
||
|
__webpack_require__(/*! @dcloudio/uni-stat/dist/uni-stat.es.js */ 27);
|
||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
||
|
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 33));
|
||
|
var _index = _interopRequireDefault(__webpack_require__(/*! api/index.js */ 39));
|
||
|
var _index2 = _interopRequireDefault(__webpack_require__(/*! @/utils/index.js */ 43));
|
||
|
var _index3 = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */ 47));
|
||
|
var _uviewUi = _interopRequireDefault(__webpack_require__(/*! @/uni_modules/uview-ui */ 67));
|
||
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
||
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
||
|
// @ts-ignore
|
||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||
|
var banner = function banner() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/banner */ "components/banner").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/banner.vue */ 681));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var column = function column() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/column */ "components/column").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/column.vue */ 688));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var fixed = function fixed() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/fixed */ "components/fixed").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/fixed.vue */ 695));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var search = function search() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/search */ "components/search").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/search.vue */ 702));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var auth = function auth() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/auth */ "components/auth").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/auth.vue */ 709));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var tab = function tab() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/tab */ "components/tab").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/tab.vue */ 716));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var abnor = function abnor() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/abnor */ "components/abnor").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/abnor.vue */ 723));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var loadMore = function loadMore() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/load-more */ "components/load-more").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/load-more.vue */ 730));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var upload = function upload() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/upload */ "components/upload").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/upload.vue */ 737));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var minCountdown = function minCountdown() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/min-countdown */ "components/min-countdown").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/min-countdown.vue */ 744));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var uniNavBar = function uniNavBar() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/uni-nav-bar */ "components/uni-nav-bar").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/uni-nav-bar.vue */ 751));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var uniPopup = function uniPopup() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/uni-popup */ "components/uni-popup").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/uni-popup.vue */ 758));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var commonPopup = function commonPopup() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/common-popup */ "components/common-popup").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/common-popup.vue */ 765));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var commonList = function commonList() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/common-list */ "components/common-list").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/common-list.vue */ 770));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
var fixBottomButton = function fixBottomButton() {
|
||
|
__webpack_require__.e(/*! require.ensure | components/fix-bottom-button */ "components/fix-bottom-button").then((function () {
|
||
|
return resolve(__webpack_require__(/*! @/components/fix-bottom-button.vue */ 777));
|
||
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||
|
};
|
||
|
_vue.default.component('banner', banner);
|
||
|
_vue.default.component('column', column);
|
||
|
_vue.default.component('fixed', fixed);
|
||
|
_vue.default.component('search', search);
|
||
|
_vue.default.component('auth', auth);
|
||
|
_vue.default.component('tab', tab);
|
||
|
_vue.default.component('abnor', abnor);
|
||
|
_vue.default.component('loadMore', loadMore);
|
||
|
_vue.default.component('upload', upload);
|
||
|
_vue.default.component('minCountdown', minCountdown);
|
||
|
_vue.default.component('uniNavBar', uniNavBar);
|
||
|
_vue.default.component('uniPopup', uniPopup);
|
||
|
_vue.default.component('commonPopup', commonPopup);
|
||
|
_vue.default.component('commonList', commonList);
|
||
|
_vue.default.component('fixBottomButton', fixBottomButton);
|
||
|
_vue.default.use(_uviewUi.default);
|
||
|
_vue.default.prototype.$api = _index.default;
|
||
|
_vue.default.prototype.$util = _index2.default;
|
||
|
_vue.default.config.productionTip = false;
|
||
|
_App.default.mpType = 'app';
|
||
|
var app = new _vue.default(_objectSpread(_objectSpread({}, _App.default), {}, {
|
||
|
store: _index3.default
|
||
|
}));
|
||
|
createApp(app).$mount();
|
||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createApp"]))
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 33:
|
||
|
/*!***********************************************!*\
|
||
|
!*** C:/Users/18634/Desktop/项目/xxdj1/App.vue ***!
|
||
|
\***********************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 34);
|
||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_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 _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
/* harmony import */ var _App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=scss& */ 64);
|
||
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 66);
|
||
|
var render, staticRenderFns, recyclableRender, components
|
||
|
var renderjs
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/* normalize component */
|
||
|
|
||
|
var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||
|
_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"],
|
||
|
render,
|
||
|
staticRenderFns,
|
||
|
false,
|
||
|
null,
|
||
|
null,
|
||
|
null,
|
||
|
false,
|
||
|
components,
|
||
|
renderjs
|
||
|
)
|
||
|
|
||
|
component.options.__file = "App.vue"
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 34:
|
||
|
/*!************************************************************************!*\
|
||
|
!*** C:/Users/18634/Desktop/项目/xxdj1/App.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 _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js& */ 35);
|
||
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_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 _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 35:
|
||
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/18634/Desktop/项目/xxdj1/App.vue?vue&type=script&lang=js& ***!
|
||
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
/* WEBPACK VAR INJECTION */(function(uni) {
|
||
|
|
||
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = void 0;
|
||
|
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 36));
|
||
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 38));
|
||
|
var _index = _interopRequireDefault(__webpack_require__(/*! @/api/index.js */ 39));
|
||
|
var _index2 = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */ 47));
|
||
|
//
|
||
|
var _default = {
|
||
|
data: function data() {
|
||
|
return {
|
||
|
timer: null
|
||
|
};
|
||
|
},
|
||
|
mounted: function mounted() {
|
||
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||
|
return _regenerator.default.wrap(function _callee$(_context) {
|
||
|
while (1) {
|
||
|
switch (_context.prev = _context.next) {
|
||
|
case 0:
|
||
|
// this.onlineStatus()
|
||
|
// this.timer = setInterval(()=>{
|
||
|
// this.onlineStatus()
|
||
|
// },300000)
|
||
|
|
||
|
console.log('App mounted');
|
||
|
case 1:
|
||
|
case "end":
|
||
|
return _context.stop();
|
||
|
}
|
||
|
}
|
||
|
}, _callee);
|
||
|
}))();
|
||
|
},
|
||
|
onLaunch: function onLaunch() {
|
||
|
var _this = this;
|
||
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
||
|
var configInfo, arr, commonOptions, _commonOptions$channe, channel_id, _$store$state$config$, primaryColor;
|
||
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
||
|
while (1) {
|
||
|
switch (_context2.prev = _context2.next) {
|
||
|
case 0:
|
||
|
configInfo = uni.getStorageSync('configInfo') || '';
|
||
|
if (configInfo) {
|
||
|
_index2.default.commit('updateConfigItem', {
|
||
|
key: 'configInfo',
|
||
|
val: configInfo
|
||
|
});
|
||
|
}
|
||
|
arr = ['autograph', 'userInfo', 'location', 'appLogin'];
|
||
|
arr.map(function (key) {
|
||
|
var val = uni.getStorageSync(key) || '';
|
||
|
if (val) {
|
||
|
_index2.default.commit('updateUserItem', {
|
||
|
key: key,
|
||
|
val: val
|
||
|
});
|
||
|
}
|
||
|
});
|
||
|
commonOptions = _index2.default.state.user.commonOptions;
|
||
|
_commonOptions$channe = commonOptions.channel_id, channel_id = _commonOptions$channe === void 0 ? 0 : _commonOptions$channe;
|
||
|
if (channel_id) {
|
||
|
commonOptions.channel_id = 0;
|
||
|
_index2.default.commit('updateUserItem', {
|
||
|
key: 'commonOptions',
|
||
|
val: commonOptions
|
||
|
});
|
||
|
}
|
||
|
_$store$state$config$ = _index2.default.state.config.configInfo.primaryColor, primaryColor = _$store$state$config$ === void 0 ? '' : _$store$state$config$;
|
||
|
if (!primaryColor) {
|
||
|
_context2.next = 10;
|
||
|
break;
|
||
|
}
|
||
|
return _context2.abrupt("return");
|
||
|
case 10:
|
||
|
_context2.next = 12;
|
||
|
return _this.getBaseConfig();
|
||
|
case 12:
|
||
|
case "end":
|
||
|
return _context2.stop();
|
||
|
}
|
||
|
}
|
||
|
}, _callee2);
|
||
|
}))();
|
||
|
},
|
||
|
onShow: function onShow() {
|
||
|
var _this2 = this;
|
||
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
||
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
||
|
while (1) {
|
||
|
switch (_context3.prev = _context3.next) {
|
||
|
case 0:
|
||
|
console.log('App Show');
|
||
|
// this.timer = setInterval(()=>{
|
||
|
// // this.onlineStatus()
|
||
|
// console.log("666",uni.getStorageSync('configInfo'))
|
||
|
// },1000)
|
||
|
// this.$store.user.dispatch.
|
||
|
// this.userInfo = uni.getStorageSync('userInfo');
|
||
|
console.log("666", _this2.$store.state.user.userInfo);
|
||
|
case 2:
|
||
|
case "end":
|
||
|
return _context3.stop();
|
||
|
}
|
||
|
}
|
||
|
}, _callee3);
|
||
|
}))();
|
||
|
},
|
||
|
// watch:{
|
||
|
// '$store.state.user.userInfo':{
|
||
|
// deep:true,
|
||
|
// immediate:true,
|
||
|
// handler:function(newV){
|
||
|
// console.log("==32323==",newV)
|
||
|
// // this.timer = setInterval(()=>{
|
||
|
// // // this.onlineStatus()
|
||
|
// // console.log("666",newV)
|
||
|
// // },1000)
|
||
|
// }
|
||
|
// }
|
||
|
// },
|
||
|
onHide: function onHide() {
|
||
|
console.log('App Hide');
|
||
|
clearInterval(this.timer);
|
||
|
this.timer = null;
|
||
|
},
|
||
|
methods: {
|
||
|
getBaseConfig: function getBaseConfig() {
|
||
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
||
|
var config, configInfo;
|
||
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
||
|
while (1) {
|
||
|
switch (_context4.prev = _context4.next) {
|
||
|
case 0:
|
||
|
_context4.next = 2;
|
||
|
return _index.default.base.getConfig();
|
||
|
case 2:
|
||
|
config = _context4.sent;
|
||
|
console.log(config, "zazaza");
|
||
|
if (!config.primaryColor) {
|
||
|
config.primaryColor = '#A40035';
|
||
|
}
|
||
|
if (!config.subColor) {
|
||
|
config.subColor = '#F1C06B';
|
||
|
}
|
||
|
configInfo = Object.assign(_index2.default.state.config.configInfo, config);
|
||
|
_index2.default.commit('updateConfigItem', {
|
||
|
key: 'configInfo',
|
||
|
val: configInfo
|
||
|
});
|
||
|
case 8:
|
||
|
case "end":
|
||
|
return _context4.stop();
|
||
|
}
|
||
|
}
|
||
|
}, _callee4);
|
||
|
}))();
|
||
|
},
|
||
|
onlineStatus: function onlineStatus() {
|
||
|
var _this3 = this;
|
||
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
||
|
var res;
|
||
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
||
|
while (1) {
|
||
|
switch (_context5.prev = _context5.next) {
|
||
|
case 0:
|
||
|
_context5.next = 2;
|
||
|
return _this3.$api.mine.onlineStatus();
|
||
|
case 2:
|
||
|
res = _context5.sent;
|
||
|
console.log(res, "pppp");
|
||
|
case 4:
|
||
|
case "end":
|
||
|
return _context5.stop();
|
||
|
}
|
||
|
}
|
||
|
}, _callee5);
|
||
|
}))();
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
exports.default = _default;
|
||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 64:
|
||
|
/*!*********************************************************************************!*\
|
||
|
!*** C:/Users/18634/Desktop/项目/xxdj1/App.vue?vue&type=style&index=0&lang=scss& ***!
|
||
|
\*********************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss& */ 65);
|
||
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 65:
|
||
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/18634/Desktop/项目/xxdj1/App.vue?vue&type=style&index=0&lang=scss& ***!
|
||
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
// extracted by mini-css-extract-plugin
|
||
|
if(false) { var cssReload; }
|
||
|
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
},[[0,"common/runtime","common/vendor"]]]);
|
||
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/main.js.map
|