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.
907 lines
54 KiB
907 lines
54 KiB
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/mine"],{
|
|
|
|
/***/ 219:
|
|
/*!***********************************************************************!*\
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/main.js?{"page":"pages%2Fmine"} ***!
|
|
\***********************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
"use strict";
|
|
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
__webpack_require__(/*! uni-pages */ 26);
|
|
__webpack_require__(/*! @dcloudio/uni-stat/dist/uni-stat.es.js */ 27);
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
|
var _mine = _interopRequireDefault(__webpack_require__(/*! ./pages/mine.vue */ 220));
|
|
// @ts-ignore
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
createPage(_mine.default);
|
|
/* 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)["createPage"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 220:
|
|
/*!******************************************************!*\
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/pages/mine.vue ***!
|
|
\******************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mine.vue?vue&type=template&id=ef6e6e68& */ 221);
|
|
/* harmony import */ var _mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mine.vue?vue&type=script&lang=js& */ 223);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony import */ var _mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mine.vue?vue&type=style&index=0&lang=scss& */ 225);
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 66);
|
|
|
|
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_3__["default"])(
|
|
_mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
false,
|
|
_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
renderjs
|
|
)
|
|
|
|
component.options.__file = "pages/mine.vue"
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 221:
|
|
/*!*************************************************************************************!*\
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/pages/mine.vue?vue&type=template&id=ef6e6e68& ***!
|
|
\*************************************************************************************/
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-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!./mine.vue?vue&type=template&id=ef6e6e68& */ 222);
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 222:
|
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/18634/Desktop/项目/xxdj1/pages/mine.vue?vue&type=template&id=ef6e6e68& ***!
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! 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 = {
|
|
uIcon: function () {
|
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-icon/u-icon.vue */ 798))
|
|
},
|
|
}
|
|
} 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
|
|
if (!_vm._isMounted) {
|
|
_vm.e0 = function ($event) {
|
|
$event.stopPropagation()
|
|
return _vm.$util.goUrl({
|
|
url: "/user/pages/setting",
|
|
})
|
|
}
|
|
_vm.e1 = function ($event) {
|
|
return _vm.$util.goUrl({
|
|
url: "/user/pages/stored/list",
|
|
})
|
|
}
|
|
_vm.e2 = function ($event) {
|
|
$event.stopPropagation()
|
|
return _vm.$util.goUrl({
|
|
url: "/technician/pages/income/car-fee-record",
|
|
})
|
|
}
|
|
_vm.e3 = function ($event) {
|
|
$event.stopPropagation()
|
|
return _vm.$util.goUrl({
|
|
url: "/technician/pages/apply?is_edit=1",
|
|
})
|
|
}
|
|
_vm.e4 = function ($event) {
|
|
return _vm.$util.goUrl({
|
|
url: "/user/pages/coupon/list",
|
|
})
|
|
}
|
|
_vm.e5 = function ($event) {
|
|
$event.stopPropagation()
|
|
return _vm.$util.goUrl({
|
|
url: "/technician/pages/income/index",
|
|
})
|
|
}
|
|
_vm.e6 = function ($event) {
|
|
$event.stopPropagation()
|
|
return _vm.$util.goUrl({
|
|
url: "/user/pages/cash-out?type=carfee",
|
|
})
|
|
}
|
|
}
|
|
}
|
|
var recyclableRender = false
|
|
var staticRenderFns = []
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 223:
|
|
/*!*******************************************************************************!*\
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/pages/mine.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_mine_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!./mine.vue?vue&type=script&lang=js& */ 224);
|
|
/* 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_mine_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_mine_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_mine_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_mine_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_mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 224:
|
|
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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/pages/mine.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 _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 38));
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
var _vuex = __webpack_require__(/*! vuex */ 48);
|
|
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; }
|
|
// import tabbar from "@/components/tabbar.vue"
|
|
var _default = {
|
|
// components: {
|
|
// tabbar
|
|
// },
|
|
data: function data() {
|
|
return {
|
|
options: {},
|
|
// 我的订单
|
|
orderList: [{
|
|
icon: 'icondaizhifu',
|
|
text: '待支付',
|
|
url: '/pages/order?tab=1'
|
|
}, {
|
|
icon: 'icondaifuwu',
|
|
text: '待服务',
|
|
url: '/pages/order?tab=2'
|
|
}, {
|
|
icon: 'iconanmo2',
|
|
text: '服务中',
|
|
url: '/pages/order?tab=3'
|
|
}, {
|
|
icon: 'icondaipingjia',
|
|
text: '待评价',
|
|
url: '/pages/order?tab=4'
|
|
}, {
|
|
icon: 'icontuikuan',
|
|
text: '退款/售后',
|
|
url: '/user/pages/refund/list'
|
|
}],
|
|
orderList2: [{
|
|
icon: '../static/j11.png',
|
|
text: '待接单',
|
|
url: '/technician/pages/order/list'
|
|
}, {
|
|
icon: '../static/j22.png',
|
|
text: '待服务',
|
|
url: '/technician/pages/order/list?tab=1'
|
|
}, {
|
|
icon: '../static/j33.png',
|
|
text: '服务中',
|
|
url: '/technician/pages/order/list?tab=2'
|
|
}, {
|
|
icon: '../static/j44.png',
|
|
text: '已完成',
|
|
url: '/technician/pages/order/list?tab=3'
|
|
}],
|
|
// 分享赚钱
|
|
distributionList: [{
|
|
icon: 'iconwodeshouyi',
|
|
text: '我的收益',
|
|
url: '/user/pages/distribution/income'
|
|
}, {
|
|
icon: 'icontuiguanghaibao',
|
|
text: '推广海报',
|
|
url: '/user/pages/distribution/poster'
|
|
}, {
|
|
icon: 'iconwodetuandui1',
|
|
text: '我的粉丝',
|
|
url: '/user/pages/distribution/team'
|
|
}, {
|
|
icon: 'iconbangdingjishi',
|
|
text: '绑定技师',
|
|
url: '/user/pages/distribution/bind-technician'
|
|
}],
|
|
distributionApplyList: [{
|
|
icon: 'iconwodeshouyi',
|
|
text: '申请分销商',
|
|
url: '/user/pages/distribution/apply'
|
|
}, {
|
|
icon: 'iconbangdingjishi',
|
|
text: '绑定技师',
|
|
url: '/user/pages/distribution/bind-technician'
|
|
}],
|
|
toolList: [{
|
|
icon: '../static/dizhi.png',
|
|
text: '地址管理',
|
|
url: '/user/pages/address/list'
|
|
}, {
|
|
icon: '../static/guanzhu.png',
|
|
text: '我的关注',
|
|
url: '/user/pages/collect'
|
|
},
|
|
// {
|
|
// icon: 'iconlianxikefu',
|
|
// text: '联系客服',
|
|
// url: ''
|
|
// },
|
|
{
|
|
icon: '../static/gongg.png',
|
|
text: '官方公告',
|
|
url: '/user/pages/gonggao/list'
|
|
},
|
|
// {
|
|
// icon: '../static/tousu.png',
|
|
// text: '投诉管理',
|
|
// url: '/user/pages/complainList/complainList'
|
|
// },
|
|
{
|
|
icon: '../static/yaoq.png',
|
|
text: '邀请好友',
|
|
url: ''
|
|
}],
|
|
toolList2: [
|
|
// {
|
|
// // icon: 'iconshenqingjishi',
|
|
// text: '合同管理',
|
|
// // url: '/technician/pages/apply?is_edit=1'
|
|
// },
|
|
{
|
|
// icon: 'iconshenqingjishi',
|
|
text: '积分明细',
|
|
url: '/user/pages/score/score'
|
|
},
|
|
// {
|
|
// // icon: 'iconshijianguanli',
|
|
// text: '差评申诉',
|
|
// url: '/user/pages/chapingList/chapingList'
|
|
// },
|
|
{
|
|
// icon: 'iconshijianguanli',
|
|
text: '车费管理',
|
|
url: '/user/pages/traffic/index'
|
|
}, {
|
|
// icon: 'iconqiehuanjishiduan',
|
|
text: '切换用户端',
|
|
url: 'change'
|
|
}],
|
|
image_type: {
|
|
1: 'user_image',
|
|
2: 'coach_image'
|
|
},
|
|
font_type: {
|
|
1: 'user_font_color',
|
|
2: 'coach_font_color'
|
|
},
|
|
coach_info: {},
|
|
showAuth: false,
|
|
offsetL: 360,
|
|
offsetT: 0
|
|
};
|
|
},
|
|
computed: (0, _vuex.mapState)({
|
|
primaryColor: function primaryColor(state) {
|
|
return state.config.configInfo.primaryColor;
|
|
},
|
|
subColor: function subColor(state) {
|
|
return state.config.configInfo.subColor;
|
|
},
|
|
configInfo: function configInfo(state) {
|
|
return state.config.configInfo;
|
|
},
|
|
commonOptions: function commonOptions(state) {
|
|
return state.user.commonOptions;
|
|
},
|
|
userInfo: function userInfo(state) {
|
|
return state.user.userInfo;
|
|
},
|
|
userPageType: function userPageType(state) {
|
|
return state.user.userPageType;
|
|
},
|
|
mineInfo: function mineInfo(state) {
|
|
return state.user.mineInfo;
|
|
}
|
|
}),
|
|
onLoad: function onLoad(options) {
|
|
this.options = options;
|
|
console.log(this.userInfo, "564");
|
|
var _options$type = options.type,
|
|
type = _options$type === void 0 ? 0 : _options$type;
|
|
if (type) {
|
|
this.updateUserItem({
|
|
key: 'userPageType',
|
|
val: type
|
|
});
|
|
}
|
|
if (!this.mineInfo.id) {
|
|
this.$util.showLoading();
|
|
}
|
|
this.initIndex();
|
|
},
|
|
onPullDownRefresh: function onPullDownRefresh() {
|
|
uni.showNavigationBarLoading();
|
|
this.initRefresh();
|
|
uni.stopPullDownRefresh();
|
|
},
|
|
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapActions)(['getConfigInfo', 'getMineInfo', 'getAuthUserProfile', 'updateCommonOptions', 'toPlayAudio'])), (0, _vuex.mapMutations)(['updateUserItem'])), {}, {
|
|
timeManage: function timeManage() {
|
|
this.$util.goUrl({
|
|
url: "/technician/pages/time-manage"
|
|
});
|
|
},
|
|
mygroup: function mygroup() {
|
|
var _this = this;
|
|
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.$util.goUrl({
|
|
url: '/user/pages/myGroup/myGroup?isGroup=true'
|
|
});
|
|
case 1:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, _callee);
|
|
}))();
|
|
},
|
|
initIndex: function initIndex() {
|
|
var _arguments = arguments,
|
|
_this2 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
var refresh, fx_check, _this2$mineInfo, coach_status, fx_status, val, arr, textArr;
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
while (1) {
|
|
switch (_context2.prev = _context2.next) {
|
|
case 0:
|
|
refresh = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
|
|
if (!(!_this2.configInfo.id || refresh)) {
|
|
_context2.next = 4;
|
|
break;
|
|
}
|
|
_context2.next = 4;
|
|
return _this2.getConfigInfo();
|
|
case 4:
|
|
_context2.next = 6;
|
|
return _this2.getMineInfo();
|
|
case 6:
|
|
_this2.$util.setNavigationBarColor({
|
|
bg: _this2.primaryColor
|
|
});
|
|
fx_check = _this2.configInfo.fx_check;
|
|
_this2$mineInfo = _this2.mineInfo, coach_status = _this2$mineInfo.coach_status, fx_status = _this2$mineInfo.fx_status;
|
|
console.log(_this2.mineInfo, "===");
|
|
val = _this2.$util.deepCopy(_this2.mineInfo);
|
|
val.is_fx = !fx_check || fx_check && fx_status == 2;
|
|
_this2.updateUserItem({
|
|
key: 'mineInfo',
|
|
val: val
|
|
});
|
|
_this2.updateUserItem({
|
|
key: 'userPageType',
|
|
val: coach_status == 2 || coach_status == 3 ? _this2.userPageType : 1
|
|
});
|
|
|
|
// let arr = ['coach_status', 'channel_status']
|
|
arr = ['coach_status'];
|
|
textArr = {
|
|
coach_status: {
|
|
text: '技师入驻',
|
|
list: {
|
|
icon: '../static/ruzhu.png',
|
|
text: '技师入驻',
|
|
url: '/user/pages/apply'
|
|
}
|
|
}
|
|
// channel_status: {
|
|
// text: '申请渠道商',
|
|
// list: {
|
|
// icon: '../static/ruzhu.png',
|
|
// text: '申请渠道商',
|
|
// url: '/user/pages/channel/apply'
|
|
// },
|
|
// list2: {
|
|
// icon: '../static/ruzhu.png',
|
|
// text: '我是渠道商',
|
|
// url: '/user/pages/channel/income'
|
|
// }
|
|
// }
|
|
};
|
|
|
|
arr.map(function (item) {
|
|
if (_this2.mineInfo[item] != 2) {
|
|
var _arr = _this2.toolList.filter(function (aitem) {
|
|
return aitem.text === textArr[item].text;
|
|
});
|
|
if (_arr.length === 0) {
|
|
_this2.toolList.push(textArr[item].list);
|
|
}
|
|
// if (item === 'channel_status') {
|
|
// let aindex = this.toolList.findIndex(aitem => {
|
|
// return aitem.text === '我是渠道商'
|
|
// })
|
|
// if (aindex != -1) {
|
|
// this.toolList.splice(aindex, 1)
|
|
// }
|
|
// }
|
|
} else {
|
|
_this2.toolList.map(function (aitem, aindex) {
|
|
if (aitem.text === textArr[item].text) {
|
|
_this2.toolList.splice(aindex, 1);
|
|
}
|
|
});
|
|
// if (item === 'channel_status') {
|
|
// let arr = this.toolList.filter(aitem => {
|
|
// return aitem.text === '我是渠道商'
|
|
// })
|
|
// if (arr.length === 0) {
|
|
// this.toolList.unshift(textArr[item].list2)
|
|
// }
|
|
// }
|
|
}
|
|
});
|
|
if (!(coach_status == 2 || coach_status == 3)) {
|
|
_context2.next = 20;
|
|
break;
|
|
}
|
|
_context2.next = 20;
|
|
return _this2.getCoachInfo();
|
|
case 20:
|
|
_this2.$util.hideAll();
|
|
case 21:
|
|
case "end":
|
|
return _context2.stop();
|
|
}
|
|
}
|
|
}, _callee2);
|
|
}))();
|
|
},
|
|
initRefresh: function initRefresh() {
|
|
this.initIndex(true);
|
|
},
|
|
getCoachInfo: function getCoachInfo() {
|
|
var _this3 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
var location, res;
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
while (1) {
|
|
switch (_context3.prev = _context3.next) {
|
|
case 0:
|
|
_context3.next = 2;
|
|
return _this3.$api.technician.coachInfo();
|
|
case 2:
|
|
_this3.coach_info = _context3.sent;
|
|
console.log(_this3.coach_info, "88888");
|
|
_context3.next = 6;
|
|
return _this3.$util.getBmapLocation();
|
|
case 6:
|
|
location = _context3.sent;
|
|
console.log(location, "locai");
|
|
_context3.next = 10;
|
|
return _this3.$api.service.updatePosition({
|
|
c_id: _this3.coach_info.user_id,
|
|
location: location.address
|
|
}).catch(function (err) {
|
|
console.log(err);
|
|
});
|
|
case 10:
|
|
res = _context3.sent;
|
|
console.log(_this3.coach_info.user_id, location.address);
|
|
// let address = await this.$api.service.getSeviceInfo({
|
|
// c_id:this.coach_info.user_id
|
|
// })
|
|
// console.log(address,"mmmm")
|
|
// this.coach_info.address = address.location;
|
|
_this3.coach_info.address = location.address;
|
|
case 13:
|
|
case "end":
|
|
return _context3.stop();
|
|
}
|
|
}
|
|
}, _callee3);
|
|
}))();
|
|
},
|
|
// 更新用户信息
|
|
authUserProfile: function authUserProfile(e) {
|
|
var _this4 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
while (1) {
|
|
switch (_context4.prev = _context4.next) {
|
|
case 0:
|
|
uni.getUserProfile({
|
|
desc: '用于完善个人资料',
|
|
// 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
|
|
success: function success(res) {
|
|
var _res$userInfo = res.userInfo,
|
|
userInfo = _res$userInfo === void 0 ? {} : _res$userInfo,
|
|
encryptedData = res.encryptedData,
|
|
iv = res.iv;
|
|
var param = Object.assign({}, userInfo, {
|
|
encryptedData: encryptedData,
|
|
iv: iv
|
|
});
|
|
_this4.toUpdateUserInfo(param);
|
|
},
|
|
fail: function fail(res) {
|
|
console.log(res, "=====fail");
|
|
_this4.toUpdateUserInfo();
|
|
}
|
|
});
|
|
case 1:
|
|
case "end":
|
|
return _context4.stop();
|
|
}
|
|
}
|
|
}, _callee4);
|
|
}))();
|
|
},
|
|
toUpdateUserInfo: function toUpdateUserInfo() {
|
|
var _arguments2 = arguments,
|
|
_this5 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
|
var userInfo, pMust, _this5$commonOptions$, coupon_atv_id;
|
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
while (1) {
|
|
switch (_context5.prev = _context5.next) {
|
|
case 0:
|
|
userInfo = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : {};
|
|
pMust = _this5.pMust;
|
|
if (!userInfo.nickName) {
|
|
_context5.next = 9;
|
|
break;
|
|
}
|
|
_this5.$util.showLoading({
|
|
title: '更新中'
|
|
});
|
|
_this5$commonOptions$ = _this5.commonOptions.coupon_atv_id, coupon_atv_id = _this5$commonOptions$ === void 0 ? 0 : _this5$commonOptions$;
|
|
userInfo.coupon_atv_id = coupon_atv_id;
|
|
_context5.next = 8;
|
|
return _this5.getAuthUserProfile(userInfo);
|
|
case 8:
|
|
setTimeout(function () {
|
|
_this5.$util.hideAll();
|
|
}, 1000);
|
|
case 9:
|
|
case "end":
|
|
return _context5.stop();
|
|
}
|
|
}
|
|
}, _callee5);
|
|
}))();
|
|
},
|
|
// 选择地区
|
|
toChooseLocation: function toChooseLocation(e) {
|
|
var _this6 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|
var _yield$uni$chooseLoca, _yield$uni$chooseLoca2, _yield$uni$chooseLoca3, _yield$uni$chooseLoca4, address, longitude, latitude;
|
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|
while (1) {
|
|
switch (_context6.prev = _context6.next) {
|
|
case 0:
|
|
_context6.next = 2;
|
|
return _this6.$util.checkAuth({
|
|
type: 'userLocation'
|
|
});
|
|
case 2:
|
|
_context6.next = 4;
|
|
return uni.chooseLocation();
|
|
case 4:
|
|
_yield$uni$chooseLoca = _context6.sent;
|
|
_yield$uni$chooseLoca2 = (0, _slicedToArray2.default)(_yield$uni$chooseLoca, 2);
|
|
_yield$uni$chooseLoca3 = _yield$uni$chooseLoca2[1];
|
|
_yield$uni$chooseLoca4 = _yield$uni$chooseLoca3.address;
|
|
address = _yield$uni$chooseLoca4 === void 0 ? '' : _yield$uni$chooseLoca4;
|
|
longitude = _yield$uni$chooseLoca3.longitude;
|
|
latitude = _yield$uni$chooseLoca3.latitude;
|
|
if (address) {
|
|
_context6.next = 13;
|
|
break;
|
|
}
|
|
return _context6.abrupt("return");
|
|
case 13:
|
|
_context6.next = 15;
|
|
return _this6.$api.technician.coachUpdate({
|
|
address: address,
|
|
lng: longitude,
|
|
lat: latitude
|
|
});
|
|
case 15:
|
|
_this6.coach_info.address = address;
|
|
_this6.$util.showToast({
|
|
title: "\u66F4\u65B0\u6210\u529F"
|
|
});
|
|
case 17:
|
|
case "end":
|
|
return _context6.stop();
|
|
}
|
|
}
|
|
}, _callee6);
|
|
}))();
|
|
},
|
|
// 跳转页面
|
|
toJumpAll: function toJumpAll(key) {
|
|
var url = {
|
|
1: "/pages/order",
|
|
2: "/technician/pages/order/list"
|
|
};
|
|
var openType = {
|
|
1: "reLaunch",
|
|
2: "navigateTo"
|
|
};
|
|
this.$util.goUrl({
|
|
url: url[key],
|
|
openType: openType[key]
|
|
});
|
|
},
|
|
toJump: function toJump(key, index) {
|
|
var _this$key$index = this[key][index],
|
|
url = _this$key$index.url,
|
|
text = _this$key$index.text;
|
|
if (['技师入驻', '申请分销商', '申请渠道商'].includes(text)) {
|
|
this.toApply(text == '技师入驻' ? 1 : text == '申请分销商' ? 2 : 3);
|
|
return;
|
|
}
|
|
if (text == '切换用户端') {
|
|
this.toChange();
|
|
return;
|
|
}
|
|
if (text == '联系客服') {
|
|
var _this$configInfo = this.configInfo,
|
|
mobile = _this$configInfo.mobile,
|
|
im_type = _this$configInfo.im_type;
|
|
if (im_type == 2) return;
|
|
this.$util.goUrl({
|
|
url: mobile,
|
|
openType: 'call'
|
|
});
|
|
return;
|
|
}
|
|
var openType = key == 'orderList' && index !== 4 ? "reLaunch" : 'navigateTo';
|
|
this.$util.log(url, openType);
|
|
this.$util.goUrl({
|
|
url: url,
|
|
openType: openType
|
|
});
|
|
},
|
|
toAtv: function toAtv() {
|
|
var _this7 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
var options;
|
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
while (1) {
|
|
switch (_context7.prev = _context7.next) {
|
|
case 0:
|
|
if (_this7.mineInfo.is_atv) {
|
|
_context7.next = 3;
|
|
break;
|
|
}
|
|
_this7.$util.showToast({
|
|
title: "\u6682\u65E0\u6D3B\u52A8"
|
|
});
|
|
return _context7.abrupt("return");
|
|
case 3:
|
|
options = _this7.commonOptions;
|
|
options.coupon_atv_id = 0;
|
|
_context7.next = 7;
|
|
return _this7.updateCommonOptions(options);
|
|
case 7:
|
|
_this7.$util.goUrl({
|
|
url: "/user/pages/coupon/share"
|
|
});
|
|
case 8:
|
|
case "end":
|
|
return _context7.stop();
|
|
}
|
|
}
|
|
}, _callee7);
|
|
}))();
|
|
},
|
|
// 申请技师/分销商/渠道商
|
|
toApply: function toApply(type) {
|
|
var _this8 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
|
var _this8$mineInfo, _this8$mineInfo$coach, coach_status, _this8$mineInfo$fx_st, fx_status, _this8$mineInfo$chann, channel_status, status, page, url;
|
|
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
while (1) {
|
|
switch (_context8.prev = _context8.next) {
|
|
case 0:
|
|
_this8$mineInfo = _this8.mineInfo, _this8$mineInfo$coach = _this8$mineInfo.coach_status, coach_status = _this8$mineInfo$coach === void 0 ? -1 : _this8$mineInfo$coach, _this8$mineInfo$fx_st = _this8$mineInfo.fx_status, fx_status = _this8$mineInfo$fx_st === void 0 ? -1 : _this8$mineInfo$fx_st, _this8$mineInfo$chann = _this8$mineInfo.channel_status, channel_status = _this8$mineInfo$chann === void 0 ? -1 : _this8$mineInfo$chann;
|
|
status = type == 1 ? coach_status : type == 2 ? fx_status : channel_status;
|
|
page = {
|
|
1: "/technician/pages/apply",
|
|
2: "/user/pages/distribution/apply",
|
|
3: "/user/pages/channel/apply"
|
|
}; // -1未申请,1审核中,2审核通过,3取消授权,4审核失败
|
|
url = status == -1 ? page[type] : "/user/pages/apply-result?type=".concat(type);
|
|
_this8.$util.log(url);
|
|
_this8.$util.goUrl({
|
|
url: url
|
|
});
|
|
case 6:
|
|
case "end":
|
|
return _context8.stop();
|
|
}
|
|
}
|
|
}, _callee8);
|
|
}))();
|
|
},
|
|
// 切换用户/技师端
|
|
toChange: function toChange() {
|
|
var _this9 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
|
|
var _this9$userPageType, userPageType;
|
|
return _regenerator.default.wrap(function _callee9$(_context9) {
|
|
while (1) {
|
|
switch (_context9.prev = _context9.next) {
|
|
case 0:
|
|
_this9$userPageType = _this9.userPageType, userPageType = _this9$userPageType === void 0 ? 1 : _this9$userPageType;
|
|
if (!(userPageType == 2)) {
|
|
_context9.next = 4;
|
|
break;
|
|
}
|
|
_context9.next = 4;
|
|
return _this9.getCoachInfo();
|
|
case 4:
|
|
_this9.updateUserItem({
|
|
key: 'userPageType',
|
|
val: userPageType == 2 ? 1 : 2
|
|
});
|
|
case 5:
|
|
case "end":
|
|
return _context9.stop();
|
|
}
|
|
}
|
|
}, _callee9);
|
|
}))();
|
|
},
|
|
onChange: function onChange(e) {
|
|
var _this10 = this;
|
|
var _e$detail = e.detail,
|
|
x = _e$detail.x,
|
|
y = _e$detail.y;
|
|
this.$nextTick(function () {
|
|
_this10.offsetL = x;
|
|
_this10.offsetT = y;
|
|
});
|
|
},
|
|
// 求助
|
|
toHelp: function toHelp() {
|
|
var _this11 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
|
return _regenerator.default.wrap(function _callee10$(_context10) {
|
|
while (1) {
|
|
switch (_context10.prev = _context10.next) {
|
|
case 0:
|
|
_context10.next = 2;
|
|
return _this11.$api.technician.police();
|
|
case 2:
|
|
_this11.$util.showToast({
|
|
title: "\u6C42\u6551\u6210\u529F"
|
|
});
|
|
case 3:
|
|
case "end":
|
|
return _context10.stop();
|
|
}
|
|
}
|
|
}, _callee10);
|
|
}))();
|
|
}
|
|
})
|
|
};
|
|
exports.default = _default;
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 225:
|
|
/*!****************************************************************************************!*\
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/pages/mine.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_mine_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!./mine.vue?vue&type=style&index=0&lang=scss& */ 226);
|
|
/* 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_mine_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_mine_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_mine_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_mine_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_mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 226:
|
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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/pages/mine.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; }
|
|
|
|
|
|
/***/ })
|
|
|
|
},[[219,"common/runtime","common/vendor"]]]);
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/pages/mine.js.map
|