Browse Source

token过期登录

skiy 3 years ago
parent
commit
b72a7fbcab
87 changed files with 660 additions and 623 deletions
  1. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  2. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  3. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/u-header.js.map
  4. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Delivery/Delivery.js.map
  5. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Delivery/create.js.map
  6. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Delivery/location.js.map
  7. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Marketing/Marketing.js.map
  8. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Marketing/coupon.js.map
  9. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Marketing/vipers.js.map
  10. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  11. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  12. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/Withdrawal.js.map
  13. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map
  14. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/password.js.map
  15. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/info.js.map
  16. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/order.js.map
  17. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/perfect.js.map
  18. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/settle.js.map
  19. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/transport.js.map
  20. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/video.js.map
  21. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/refund/refund.js.map
  22. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/turnover/info.js.map
  23. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/turnover/turnover.js.map
  24. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/webview/webview.js.map
  25. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-badge/u-badge.js.map
  26. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map
  27. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-checkbox/u-checkbox.js.map
  28. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-form-item/u-form-item.js.map
  29. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-form/u-form.js.map
  30. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-icon/u-icon.js.map
  31. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-index-anchor/u-index-anchor.js.map
  32. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-index-list/u-index-list.js.map
  33. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-input/u-input.js.map
  34. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-loading/u-loading.js.map
  35. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-mask/u-mask.js.map
  36. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-modal/u-modal.js.map
  37. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-picker/u-picker.js.map
  38. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-popup/u-popup.js.map
  39. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-search/u-search.js.map
  40. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-subsection/u-subsection.js.map
  41. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-switch/u-switch.js.map
  42. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-tabs/u-tabs.js.map
  43. 33 33
      unpackage/dist/dev/mp-weixin/app.json
  44. 17 17
      unpackage/dist/dev/mp-weixin/common/main.js
  45. 140 118
      unpackage/dist/dev/mp-weixin/common/vendor.js
  46. 7 7
      unpackage/dist/dev/mp-weixin/components/u-header.js
  47. 10 10
      unpackage/dist/dev/mp-weixin/pages/Delivery/Delivery.js
  48. 10 10
      unpackage/dist/dev/mp-weixin/pages/Delivery/create.js
  49. 10 10
      unpackage/dist/dev/mp-weixin/pages/Delivery/location.js
  50. 10 10
      unpackage/dist/dev/mp-weixin/pages/Marketing/Marketing.js
  51. 10 10
      unpackage/dist/dev/mp-weixin/pages/Marketing/coupon.js
  52. 10 10
      unpackage/dist/dev/mp-weixin/pages/Marketing/vipers.js
  53. 10 10
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  54. 10 10
      unpackage/dist/dev/mp-weixin/pages/login/login.js
  55. 10 10
      unpackage/dist/dev/mp-weixin/pages/mine/Withdrawal.js
  56. 10 10
      unpackage/dist/dev/mp-weixin/pages/mine/mine.js
  57. 10 10
      unpackage/dist/dev/mp-weixin/pages/mine/password.js
  58. 10 10
      unpackage/dist/dev/mp-weixin/pages/order/info.js
  59. 10 10
      unpackage/dist/dev/mp-weixin/pages/order/order.js
  60. 10 10
      unpackage/dist/dev/mp-weixin/pages/order/perfect.js
  61. 10 10
      unpackage/dist/dev/mp-weixin/pages/order/settle.js
  62. 10 10
      unpackage/dist/dev/mp-weixin/pages/order/transport.js
  63. 10 10
      unpackage/dist/dev/mp-weixin/pages/order/video.js
  64. 10 10
      unpackage/dist/dev/mp-weixin/pages/refund/refund.js
  65. 10 10
      unpackage/dist/dev/mp-weixin/pages/turnover/info.js
  66. 10 10
      unpackage/dist/dev/mp-weixin/pages/turnover/turnover.js
  67. 10 10
      unpackage/dist/dev/mp-weixin/pages/webview/webview.js
  68. 57 57
      unpackage/dist/dev/mp-weixin/project.config.json
  69. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-badge/u-badge.js
  70. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-checkbox-group/u-checkbox-group.js
  71. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-checkbox/u-checkbox.js
  72. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-form-item/u-form-item.js
  73. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-form/u-form.js
  74. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-icon/u-icon.js
  75. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-index-anchor/u-index-anchor.js
  76. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-index-list/u-index-list.js
  77. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-input/u-input.js
  78. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-loading/u-loading.js
  79. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-mask/u-mask.js
  80. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-modal/u-modal.js
  81. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-picker/u-picker.js
  82. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-popup/u-popup.js
  83. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-search/u-search.js
  84. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-subsection/u-subsection.js
  85. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-switch/u-switch.js
  86. 7 7
      unpackage/dist/dev/mp-weixin/uview-ui/components/u-tabs/u-tabs.js
  87. 70 55
      utils/request.js

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-header.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Delivery/Delivery.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Delivery/create.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Delivery/location.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Marketing/Marketing.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Marketing/coupon.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Marketing/vipers.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/Withdrawal.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/password.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/info.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/order.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/perfect.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/settle.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/transport.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/video.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/refund/refund.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/turnover/info.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/turnover/turnover.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/webview/webview.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-badge/u-badge.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-checkbox/u-checkbox.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-form-item/u-form-item.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-form/u-form.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-icon/u-icon.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-index-anchor/u-index-anchor.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-index-list/u-index-list.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-input/u-input.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-loading/u-loading.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-mask/u-mask.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-modal/u-modal.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-picker/u-picker.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-popup/u-popup.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-search/u-search.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-subsection/u-subsection.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-switch/u-switch.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-tabs/u-tabs.js.map


+ 33 - 33
unpackage/dist/dev/mp-weixin/app.json

@@ -1,35 +1,35 @@
 {
-  "pages": [
-    "pages/login/login",
-    "pages/index/index",
-    "pages/refund/refund",
-    "pages/turnover/turnover",
-    "pages/turnover/info",
-    "pages/order/order",
-    "pages/order/info",
-    "pages/Marketing/Marketing",
-    "pages/order/transport",
-    "pages/Marketing/coupon",
-    "pages/Marketing/vipers",
-    "pages/Delivery/Delivery",
-    "pages/Delivery/create",
-    "pages/order/perfect",
-    "pages/order/video",
-    "pages/Delivery/location",
-    "pages/mine/mine",
-    "pages/mine/password",
-    "pages/mine/Withdrawal",
-    "pages/order/settle",
-    "pages/webview/webview"
-  ],
-  "subPackages": [],
-  "window": {
-    "navigationBarTextStyle": "black",
-    "navigationBarTitleText": "uni-app",
-    "navigationBarBackgroundColor": "#F8F8F8",
-    "backgroundColor": "#F8F8F8"
-  },
-  "permission": {},
-  "usingComponents": {},
-  "sitemapLocation": "sitemap.json"
+    "pages": [
+        "pages/login/login",
+        "pages/index/index",
+        "pages/refund/refund",
+        "pages/turnover/turnover",
+        "pages/turnover/info",
+        "pages/order/order",
+        "pages/order/info",
+        "pages/Marketing/Marketing",
+        "pages/order/transport",
+        "pages/Marketing/coupon",
+        "pages/Marketing/vipers",
+        "pages/Delivery/Delivery",
+        "pages/Delivery/create",
+        "pages/order/perfect",
+        "pages/order/video",
+        "pages/Delivery/location",
+        "pages/mine/mine",
+        "pages/mine/password",
+        "pages/mine/Withdrawal",
+        "pages/order/settle",
+        "pages/webview/webview"
+    ],
+    "subPackages": [],
+    "window": {
+        "navigationBarTextStyle": "black",
+        "navigationBarTitleText": "uni-app",
+        "navigationBarBackgroundColor": "#F8F8F8",
+        "backgroundColor": "#F8F8F8"
+    },
+    "permission": {},
+    "usingComponents": {},
+    "sitemapLocation": "sitemap.json"
 }

File diff suppressed because it is too large
+ 17 - 17
unpackage/dist/dev/mp-weixin/common/main.js


+ 140 - 118
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -805,9 +805,15 @@ var customize = cached(function (str) {
 
 function initTriggerEvent(mpInstance) {
   var oldTriggerEvent = mpInstance.triggerEvent;
-  mpInstance.triggerEvent = function (event) {for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {args[_key3 - 1] = arguments[_key3];}
+  var newTriggerEvent = function newTriggerEvent(event) {for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {args[_key3 - 1] = arguments[_key3];}
     return oldTriggerEvent.apply(mpInstance, [customize(event)].concat(args));
   };
+  try {
+    // 京东小程序 triggerEvent 为只读
+    mpInstance.triggerEvent = newTriggerEvent;
+  } catch (error) {
+    mpInstance._triggerEvent = newTriggerEvent;
+  }
 }
 
 function initHook(name, options, isComponent) {
@@ -1981,17 +1987,17 @@ function createPlugin(vm) {
   var appOptions = parseApp(vm);
   if (isFn(appOptions.onShow) && wx.onAppShow) {
     wx.onAppShow(function () {for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {args[_key7] = arguments[_key7];}
-      appOptions.onShow.apply(vm, args);
+      vm.__call_hook('onShow', args);
     });
   }
   if (isFn(appOptions.onHide) && wx.onAppHide) {
     wx.onAppHide(function () {for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {args[_key8] = arguments[_key8];}
-      appOptions.onHide.apply(vm, args);
+      vm.__call_hook('onHide', args);
     });
   }
   if (isFn(appOptions.onLaunch)) {
     var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
-    appOptions.onLaunch.call(vm, args);
+    vm.__call_hook('onLaunch', args);
   }
   return vm;
 }
@@ -2215,9 +2221,9 @@ function normalizeComponent (
 /***/ }),
 
 /***/ 12:
-/*!******************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/utils/request.js ***!
-  \******************************************************************/
+/*!*******************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/utils/request.js ***!
+  \*******************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -2229,6 +2235,9 @@ function normalizeComponent (
 
 
 var _auth = __webpack_require__(/*! ./auth */ 16);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};}
+
+
+
 var baseUrl = 'https://pet.hdlkeji.com/api';function
 request(_x, _x2, _x3, _x4) {return _request.apply(this, arguments);}function _request() {_request = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee(mehtod, params, type, callBack) {var header, http, promise;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:
             //创建一个名为request请求的方法函数
@@ -2252,6 +2261,18 @@ request(_x, _x2, _x3, _x4) {return _request.apply(this, arguments);}function _re
               uni.request(http).then(function (res) {
                 console.log(res);
                 var newdata = res[1].data; // if (newdata.code == 403) {
+                if (newdata.code === 401) {
+                  uni.showModal({
+                    title: "提示",
+                    content: "登录身份已过期,请重新登录。",
+                    showCancel: false,
+                    success: function success() {
+                      uni.navigateTo({
+                        url: '/pages/login/login' });
+
+                    } });
+
+                }
                 if (res[1].data.code == 0) {
                   //如果错误码为 -1 提示
                   uni.showToast({
@@ -3073,9 +3094,9 @@ if (hadRuntime) {
 /***/ }),
 
 /***/ 16:
-/*!***************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/utils/auth.js ***!
-  \***************************************************************/
+/*!****************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/utils/auth.js ***!
+  \****************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3143,9 +3164,9 @@ function getConfig() {
 /***/ }),
 
 /***/ 17:
-/*!*******************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/index.js ***!
-  \*******************************************************************/
+/*!********************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/index.js ***!
+  \********************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3295,9 +3316,9 @@ var install = function install(Vue) {
 /***/ }),
 
 /***/ 18:
-/*!******************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/mixin/mixin.js ***!
-  \******************************************************************************/
+/*!*******************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/mixin/mixin.js ***!
+  \*******************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3369,9 +3390,9 @@ var install = function install(Vue) {
 /***/ }),
 
 /***/ 19:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/request/index.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/request/index.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3586,9 +3607,9 @@ module.exports = g;
 /***/ }),
 
 /***/ 20:
-/*!*************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/deepMerge.js ***!
-  \*************************************************************************************/
+/*!**************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/deepMerge.js ***!
+  \**************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3627,9 +3648,9 @@ deepMerge;exports.default = _default;
 /***/ }),
 
 /***/ 202:
-/*!********************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/utils/operation.js ***!
-  \********************************************************************/
+/*!*********************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/utils/operation.js ***!
+  \*********************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3655,9 +3676,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.numAdd = n
 /***/ }),
 
 /***/ 21:
-/*!*************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/deepClone.js ***!
-  \*************************************************************************************/
+/*!**************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/deepClone.js ***!
+  \**************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3689,9 +3710,9 @@ deepClone;exports.default = _default;
 /***/ }),
 
 /***/ 22:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/test.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/test.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -3931,9 +3952,9 @@ function code(value) {var len = arguments.length > 1 && arguments[1] !== undefin
 /***/ }),
 
 /***/ 23:
-/*!***************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/queryParams.js ***!
-  \***************************************************************************************/
+/*!****************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/queryParams.js ***!
+  \****************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4000,9 +4021,9 @@ queryParams;exports.default = _default;
 /***/ }),
 
 /***/ 237:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/util/province.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/util/province.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4012,9 +4033,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
 /***/ }),
 
 /***/ 238:
-/*!****************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/util/city.js ***!
-  \****************************************************************************/
+/*!*****************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/util/city.js ***!
+  \*****************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4024,9 +4045,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
 /***/ }),
 
 /***/ 239:
-/*!****************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/util/area.js ***!
-  \****************************************************************************/
+/*!*****************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/util/area.js ***!
+  \*****************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4036,9 +4057,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
 /***/ }),
 
 /***/ 24:
-/*!*********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/route.js ***!
-  \*********************************************************************************/
+/*!**********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/route.js ***!
+  \**********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4170,9 +4191,9 @@ new Router().route;exports.default = _default;
 /***/ }),
 
 /***/ 25:
-/*!**************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/timeFormat.js ***!
-  \**************************************************************************************/
+/*!***************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/timeFormat.js ***!
+  \***************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4232,9 +4253,9 @@ timeFormat;exports.default = _default;
 /***/ }),
 
 /***/ 26:
-/*!************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/timeFrom.js ***!
-  \************************************************************************************/
+/*!*************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/timeFrom.js ***!
+  \*************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4290,9 +4311,9 @@ timeFrom;exports.default = _default;
 /***/ }),
 
 /***/ 27:
-/*!*****************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/colorGradient.js ***!
-  \*****************************************************************************************/
+/*!******************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/colorGradient.js ***!
+  \******************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4434,9 +4455,9 @@ function colorToRgba(color) {var alpha = arguments.length > 1 && arguments[1] !=
 /***/ }),
 
 /***/ 28:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/guid.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/guid.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4486,9 +4507,9 @@ guid;exports.default = _default;
 /***/ }),
 
 /***/ 282:
-/*!*******************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/util/emitter.js ***!
-  \*******************************************************************************/
+/*!********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/util/emitter.js ***!
+  \********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -4546,9 +4567,9 @@ function _broadcast(componentName, eventName, params) {
 /***/ }),
 
 /***/ 29:
-/*!*********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/color.js ***!
-  \*********************************************************************************/
+/*!**********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/color.js ***!
+  \**********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -10420,9 +10441,10 @@ function internalMixin(Vue) {
 
   Vue.prototype.$emit = function(event) {
     if (this.$scope && event) {
-      this.$scope['triggerEvent'](event, {
-        __args__: toArray(arguments, 1)
-      });
+      (this.$scope['_triggerEvent'] || this.$scope['triggerEvent'])
+        .call(this.$scope, event, {
+          __args__: toArray(arguments, 1)
+        })
     }
     return oldEmit.apply(this, arguments)
   };
@@ -10486,7 +10508,7 @@ function internalMixin(Vue) {
     if (!target) {
       target = this;
     }
-    // 解决动态属性添加
+    // 解决动态属性添加
     Vue.set(target, key, value)
   };
 
@@ -10494,7 +10516,7 @@ function internalMixin(Vue) {
     if (!target) {
       target = this;
     }
-    // 解决动态属性添加
+    // 解决动态属性添加
     Vue.set(target, key, value)
   };
 
@@ -10645,9 +10667,9 @@ internalMixin(Vue);
 /***/ }),
 
 /***/ 30:
-/*!*************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/type2icon.js ***!
-  \*************************************************************************************/
+/*!**************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/type2icon.js ***!
+  \**************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -10691,9 +10713,9 @@ type2icon;exports.default = _default;
 /***/ }),
 
 /***/ 31:
-/*!***************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/randomArray.js ***!
-  \***************************************************************************************/
+/*!****************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/randomArray.js ***!
+  \****************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -10709,9 +10731,9 @@ randomArray;exports.default = _default;
 /***/ }),
 
 /***/ 318:
-/*!***************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/util/async-validator.js ***!
-  \***************************************************************************************/
+/*!****************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/util/async-validator.js ***!
+  \****************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12071,7 +12093,7 @@ Schema.warning = warning;
 Schema.messages = messages;var _default =
 
 Schema;exports.default = _default;
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 319)))
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 319)))
 
 /***/ }),
 
@@ -12121,9 +12143,9 @@ exports.features = {};
 /***/ }),
 
 /***/ 32:
-/*!***********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/addUnit.js ***!
-  \***********************************************************************************/
+/*!************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/addUnit.js ***!
+  \************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12454,9 +12476,9 @@ var substr = 'ab'.substr(-1) === 'b'
 /***/ }),
 
 /***/ 33:
-/*!**********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/random.js ***!
-  \**********************************************************************************/
+/*!***********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/random.js ***!
+  \***********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12475,9 +12497,9 @@ random;exports.default = _default;
 /***/ }),
 
 /***/ 34:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/trim.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/trim.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12501,9 +12523,9 @@ trim;exports.default = _default;
 /***/ }),
 
 /***/ 35:
-/*!*********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/toast.js ***!
-  \*********************************************************************************/
+/*!**********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/toast.js ***!
+  \**********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12522,9 +12544,9 @@ toast;exports.default = _default;
 /***/ }),
 
 /***/ 36:
-/*!*************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/getParent.js ***!
-  \*************************************************************************************/
+/*!**************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/getParent.js ***!
+  \**************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12580,9 +12602,9 @@ function getParent(name, keys) {
 /***/ }),
 
 /***/ 37:
-/*!***********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/$parent.js ***!
-  \***********************************************************************************/
+/*!************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/$parent.js ***!
+  \************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12609,9 +12631,9 @@ function $parent() {var name = arguments.length > 0 && arguments[0] !== undefine
 /***/ }),
 
 /***/ 38:
-/*!*******************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/sys.js ***!
-  \*******************************************************************************/
+/*!********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/sys.js ***!
+  \********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -12628,9 +12650,9 @@ function sys() {
 /***/ }),
 
 /***/ 39:
-/*!************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/debounce.js ***!
-  \************************************************************************************/
+/*!*************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/debounce.js ***!
+  \*************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -13132,9 +13154,9 @@ function resolveLocaleChain(locale) {
 /***/ }),
 
 /***/ 40:
-/*!************************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/function/throttle.js ***!
-  \************************************************************************************/
+/*!*************************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/function/throttle.js ***!
+  \*************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -13175,9 +13197,9 @@ throttle;exports.default = _default;
 /***/ }),
 
 /***/ 41:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/config/config.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/config/config.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -13199,9 +13221,9 @@ var version = '1.8.4';var _default =
 /***/ }),
 
 /***/ 42:
-/*!********************************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/uview-ui/libs/config/zIndex.js ***!
-  \********************************************************************************/
+/*!*********************************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/uview-ui/libs/config/zIndex.js ***!
+  \*********************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
@@ -13229,9 +13251,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
 /***/ }),
 
 /***/ 5:
-/*!************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/pages.json ***!
-  \************************************************************/
+/*!*************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/pages.json ***!
+  \*************************************************/
 /*! no static exports found */
 /***/ (function(module, exports) {
 
@@ -13240,9 +13262,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
 /***/ }),
 
 /***/ 73:
-/*!***************************************************************!*\
-  !*** /Users/kiys/Desktop/parkService-wxapp/pet/utils/time.js ***!
-  \***************************************************************/
+/*!****************************************************!*\
+  !*** /Users/kiys/Desktop/pet_server/utils/time.js ***!
+  \****************************************************/
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 

File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/components/u-header.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/Delivery/Delivery.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/Delivery/create.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/Delivery/location.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/Marketing/Marketing.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/Marketing/coupon.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/Marketing/vipers.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/index/index.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/login/login.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/mine/Withdrawal.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/mine/mine.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/mine/password.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/order/info.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/order/order.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/order/perfect.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/order/settle.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/order/transport.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/order/video.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/refund/refund.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/turnover/info.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/turnover/turnover.js


File diff suppressed because it is too large
+ 10 - 10
unpackage/dist/dev/mp-weixin/pages/webview/webview.js


+ 57 - 57
unpackage/dist/dev/mp-weixin/project.config.json

@@ -1,62 +1,62 @@
 {
-  "description": "项目配置文件。",
-  "packOptions": {
-    "ignore": []
-  },
-  "setting": {
-    "urlCheck": false,
-    "es6": true,
-    "enhance": true,
-    "postcss": true,
-    "preloadBackgroundData": false,
-    "minified": true,
-    "newFeature": false,
-    "coverView": true,
-    "nodeModules": false,
-    "autoAudits": false,
-    "showShadowRootInWxmlPanel": true,
-    "scopeDataCheck": false,
-    "uglifyFileName": false,
-    "checkInvalidKey": true,
-    "checkSiteMap": true,
-    "uploadWithSourceMap": true,
-    "compileHotReLoad": false,
-    "lazyloadPlaceholderEnable": false,
-    "useMultiFrameRuntime": true,
-    "useApiHook": true,
-    "useApiHostProcess": true,
-    "babelSetting": {
-      "ignore": [],
-      "disablePlugins": [],
-      "outputPath": ""
+    "description": "项目配置文件。",
+    "packOptions": {
+        "ignore": []
     },
-    "enableEngineNative": false,
-    "useIsolateContext": true,
-    "userConfirmedBundleSwitch": false,
-    "packNpmManually": false,
-    "packNpmRelationList": [],
-    "minifyWXSS": true,
-    "disableUseStrict": false,
-    "showES6CompileOption": false,
-    "useCompilerPlugins": false,
-    "minifyWXML": true
-  },
-  "compileType": "miniprogram",
-  "libVersion": "",
-  "appid": "wx626ffe02cf1f0710",
-  "projectname": "pet",
-  "condition": {
-    "search": {
-      "list": []
+    "setting": {
+        "urlCheck": false,
+        "es6": true,
+        "enhance": true,
+        "postcss": true,
+        "preloadBackgroundData": false,
+        "minified": true,
+        "newFeature": false,
+        "coverView": true,
+        "nodeModules": false,
+        "autoAudits": false,
+        "showShadowRootInWxmlPanel": true,
+        "scopeDataCheck": false,
+        "uglifyFileName": false,
+        "checkInvalidKey": true,
+        "checkSiteMap": true,
+        "uploadWithSourceMap": true,
+        "compileHotReLoad": false,
+        "lazyloadPlaceholderEnable": false,
+        "useMultiFrameRuntime": true,
+        "useApiHook": true,
+        "useApiHostProcess": true,
+        "babelSetting": {
+            "ignore": [],
+            "disablePlugins": [],
+            "outputPath": ""
+        },
+        "useIsolateContext": true,
+        "userConfirmedBundleSwitch": false,
+        "packNpmManually": false,
+        "packNpmRelationList": [],
+        "minifyWXSS": true,
+        "disableUseStrict": false,
+        "minifyWXML": true,
+        "showES6CompileOption": false,
+        "useCompilerPlugins": false,
+        "ignoreUploadUnusedFiles": true
     },
-    "conversation": {
-      "list": []
-    },
-    "game": {
-      "list": []
-    },
-    "miniprogram": {
-      "list": []
+    "compileType": "miniprogram",
+    "libVersion": "",
+    "appid": "wx626ffe02cf1f0710",
+    "projectname": "pet",
+    "condition": {
+        "search": {
+            "list": []
+        },
+        "conversation": {
+            "list": []
+        },
+        "game": {
+            "list": []
+        },
+        "miniprogram": {
+            "list": []
+        }
     }
-  }
 }

File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-badge/u-badge.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-checkbox-group/u-checkbox-group.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-checkbox/u-checkbox.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-form-item/u-form-item.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-form/u-form.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-icon/u-icon.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-index-anchor/u-index-anchor.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-index-list/u-index-list.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-input/u-input.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-loading/u-loading.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-mask/u-mask.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-modal/u-modal.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-picker/u-picker.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-popup/u-popup.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-search/u-search.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-subsection/u-subsection.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-switch/u-switch.js


File diff suppressed because it is too large
+ 7 - 7
unpackage/dist/dev/mp-weixin/uview-ui/components/u-tabs/u-tabs.js


+ 70 - 55
utils/request.js

@@ -1,56 +1,71 @@
-/**
- * 封装的异步请求处理函数
- * 使用方法为:
- * request('接口名称',{key:value},'请求方式(默认为GET)')
- * .then(res=>{console.log(res)})
- */
-import { getToken, removeToken } from "./auth";
-let baseUrl = 'https://pet.hdlkeji.com/api';
-async function request(mehtod, params, type, callBack) {
-  //创建一个名为request请求的方法函数
-  if (!type) {
-    type = 'GET';
-  }
-  let header = {
-    //设置请求头信息
-    'token': getToken(),
-    'X-Requested-With': 'XMLHttpRequest',
-    "Accept": "application/json",
-    "Content-Type": "application/json; charset=UTF-8"
-  };
-  let http = {
-    url: baseUrl + mehtod,
-    data: params,
-    method: type,
-    header: header
-  };
-  let promise = new Promise((resolve, reject) => {
-    uni.request(http).then(res => {
-		console.log(res)
-      let newdata = res[1].data; // if (newdata.code == 403) {
-      if (res[1].data.code == 0) {
-        //如果错误码为 -1 提示
-        uni.showToast({
-          title: res[1].data.msg,
-          icon: 'none'
-        });
-		if(res[1].data.msg == "请先登录"){
-			setTimeout(function(){
-				uni.redirectTo({
-					url: '/pages/login/login'
-				})
-			},0)
-		}
-		return
-      }
-      resolve(res[1].data);
-    }).catch(err => {
-      reject(err);
-      console.log(err);
-    });
-  });
-  return promise;
-}
-export default {
-  request
+/**
+ * 封装的异步请求处理函数
+ * 使用方法为:
+ * request('接口名称',{key:value},'请求方式(默认为GET)')
+ * .then(res=>{console.log(res)})
+ */
+import {
+	getToken,
+	removeToken
+} from "./auth";
+let baseUrl = 'https://pet.hdlkeji.com/api';
+async function request(mehtod, params, type, callBack) {
+	//创建一个名为request请求的方法函数
+	if (!type) {
+		type = 'GET';
+	}
+	let header = {
+		//设置请求头信息
+		'token': getToken(),
+		'X-Requested-With': 'XMLHttpRequest',
+		"Accept": "application/json",
+		"Content-Type": "application/json; charset=UTF-8"
+	};
+	let http = {
+		url: baseUrl + mehtod,
+		data: params,
+		method: type,
+		header: header
+	};
+	let promise = new Promise((resolve, reject) => {
+		uni.request(http).then(res => {
+			console.log(res)
+			let newdata = res[1].data; // if (newdata.code == 403) {
+			if (newdata.code === 401) {
+				uni.showModal({
+					title: "提示",
+					content: "登录身份已过期,请重新登录。",
+					showCancel: false,
+					success() {
+						uni.navigateTo({
+							url: '/pages/login/login'
+						})
+					}
+				})
+			}
+			if (res[1].data.code == 0) {
+				//如果错误码为 -1 提示
+				uni.showToast({
+					title: res[1].data.msg,
+					icon: 'none'
+				});
+				if (res[1].data.msg == "请先登录") {
+					setTimeout(function() {
+						uni.redirectTo({
+							url: '/pages/login/login'
+						})
+					}, 0)
+				}
+				return
+			}
+			resolve(res[1].data);
+		}).catch(err => {
+			reject(err);
+			console.log(err);
+		});
+	});
+	return promise;
+}
+export default {
+	request
 };

Some files were not shown because too many files changed in this diff