From 9dfc54bf6e0fdb3c746815707487c6ae50e98905 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 25 二月 2025 18:30:08 +0800
Subject: [PATCH] 更新

---
 bicycle/unpackage/dist/dev/mp-weixin/common/vendor.js |  346 +++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 274 insertions(+), 72 deletions(-)

diff --git a/bicycle/unpackage/dist/dev/mp-weixin/common/vendor.js b/bicycle/unpackage/dist/dev/mp-weixin/common/vendor.js
index e34db18..35b7bc3 100644
--- a/bicycle/unpackage/dist/dev/mp-weixin/common/vendor.js
+++ b/bicycle/unpackage/dist/dev/mp-weixin/common/vendor.js
@@ -20680,6 +20680,63 @@
     });
   }; // 鑾峰彇瀛楀吀鍊间俊鎭�
 
+  var discountPage = function discountPage() {
+    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.post('web/business/discountPage', data);
+  }; // 鐑攢濂楅
+  var discountDetail = function discountDetail() {
+    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.get('web/business/discountDetail', {
+      params: params
+    });
+  }; // 濂楅璇︽儏
+  var createDiscountOrderPay = function createDiscountOrderPay() {
+    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.get('web/business/createDiscountOrderPay', {
+      params: params
+    });
+  }; // 濂楅璐拱
+  var eleBikeList = function eleBikeList() {
+    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.get('web/business/eleBikeList', {
+      params: params
+    });
+  }; // 鏌ヨ鎵�鏈夌數鍔ㄨ溅淇℃伅
+  var eleSiteList = function eleSiteList() {
+    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.get('web/business/eleSiteList', {
+      params: params
+    });
+  }; // 鐢靛姩杞︾珯鐐瑰垪琛�
+  var getEleBusinessArea = function getEleBusinessArea() {
+    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.get('web/business/getEleBusinessArea', {
+      params: params
+    });
+  }; // 鑾峰彇鐢靛姩杞﹁繍钀ュ尯鍩�
+  var getBikeChargingRule = function getBikeChargingRule() {
+    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.get('web/business/getBikeChargingRule', {
+      params: params
+    });
+  }; // 鎵爜鑾峰彇杞﹁締淇℃伅
+  var openElecBike = function openElecBike() {
+    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.post('web/business/openElecBike', data);
+  }; // 鐢佃溅寮�閿�
+  var backElecBike = function backElecBike() {
+    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.post('web/business/backElecBike', data);
+  }; // 鐢佃溅绔欑偣杩樿溅
+  var pauseElecBike = function pauseElecBike() {
+    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.post('web/business/pauseElecBike', data);
+  }; // 鐢佃溅涓存椂鍋滆溅
+  var pauseOpenElecBike = function pauseOpenElecBike() {
+    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return uni.$u.http.post('web/business/pauseOpenElecBike', data);
+  }; // 鐢佃溅涓村仠寮�閿�
+
   vm.$u.api = {
     getUserInfo: getUserInfo,
     wxLogin: wxLogin,
@@ -20696,7 +20753,18 @@
     onlineBike: onlineBike,
     transactionsPage: transactionsPage,
     goodsOrderSettlement: goodsOrderSettlement,
-    getSysDict: getSysDict
+    getSysDict: getSysDict,
+    discountPage: discountPage,
+    discountDetail: discountDetail,
+    createDiscountOrderPay: createDiscountOrderPay,
+    eleBikeList: eleBikeList,
+    eleSiteList: eleSiteList,
+    getEleBusinessArea: getEleBusinessArea,
+    getBikeChargingRule: getBikeChargingRule,
+    openElecBike: openElecBike,
+    backElecBike: backElecBike,
+    pauseElecBike: pauseElecBike,
+    pauseOpenElecBike: pauseOpenElecBike
   };
 };
 var _default = {
@@ -20747,7 +20815,6 @@
         icon: "none",
         duration: 2000
       });
-      return response.data;
     }
     return response.data;
   }, function (response) {
@@ -21234,7 +21301,14 @@
 /* 311 */,
 /* 312 */,
 /* 313 */,
-/* 314 */
+/* 314 */,
+/* 315 */,
+/* 316 */,
+/* 317 */,
+/* 318 */,
+/* 319 */,
+/* 320 */,
+/* 321 */
 /*!********************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-parse/props.js ***!
   \********************************************************************************/
@@ -21294,7 +21368,7 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 315 */
+/* 322 */
 /*!*********************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-parse/parser.js ***!
   \*********************************************************************************/
@@ -22225,14 +22299,14 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
 
 /***/ }),
-/* 316 */,
-/* 317 */,
-/* 318 */,
-/* 319 */,
-/* 320 */,
-/* 321 */,
-/* 322 */,
-/* 323 */
+/* 323 */,
+/* 324 */,
+/* 325 */,
+/* 326 */,
+/* 327 */,
+/* 328 */,
+/* 329 */,
+/* 330 */
 /*!***************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-loading-page/props.js ***!
   \***************************************************************************************/
@@ -22299,14 +22373,142 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 324 */,
-/* 325 */,
-/* 326 */,
-/* 327 */,
-/* 328 */,
-/* 329 */,
-/* 330 */,
-/* 331 */
+/* 331 */,
+/* 332 */,
+/* 333 */,
+/* 334 */,
+/* 335 */,
+/* 336 */,
+/* 337 */,
+/* 338 */
+/*!*************************************************************************************!*\
+  !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-count-down/props.js ***!
+  \*************************************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+/* WEBPACK VAR INJECTION */(function(uni) {
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+var _default = {
+  props: {
+    // 鍊掕鏃舵椂闀匡紝鍗曚綅ms
+    time: {
+      type: [String, Number],
+      default: uni.$u.props.countDown.time
+    },
+    // 鏃堕棿鏍煎紡锛孌D-鏃ワ紝HH-鏃讹紝mm-鍒嗭紝ss-绉掞紝SSS-姣
+    format: {
+      type: String,
+      default: uni.$u.props.countDown.format
+    },
+    // 鏄惁鑷姩寮�濮嬪�掕鏃�
+    autoStart: {
+      type: Boolean,
+      default: uni.$u.props.countDown.autoStart
+    },
+    // 鏄惁灞曠ず姣鍊掕鏃�
+    millisecond: {
+      type: Boolean,
+      default: uni.$u.props.countDown.millisecond
+    }
+  }
+};
+exports.default = _default;
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
+
+/***/ }),
+/* 339 */
+/*!*************************************************************************************!*\
+  !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-count-down/utils.js ***!
+  \*************************************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.isSameSecond = isSameSecond;
+exports.parseFormat = parseFormat;
+exports.parseTimeData = parseTimeData;
+// 琛�0锛屽1 -> 01
+function padZero(num) {
+  var targetLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
+  var str = "".concat(num);
+  while (str.length < targetLength) {
+    str = "0".concat(str);
+  }
+  return str;
+}
+var SECOND = 1000;
+var MINUTE = 60 * SECOND;
+var HOUR = 60 * MINUTE;
+var DAY = 24 * HOUR;
+function parseTimeData(time) {
+  var days = Math.floor(time / DAY);
+  var hours = Math.floor(time % DAY / HOUR);
+  var minutes = Math.floor(time % HOUR / MINUTE);
+  var seconds = Math.floor(time % MINUTE / SECOND);
+  var milliseconds = Math.floor(time % SECOND);
+  return {
+    days: days,
+    hours: hours,
+    minutes: minutes,
+    seconds: seconds,
+    milliseconds: milliseconds
+  };
+}
+function parseFormat(format, timeData) {
+  var days = timeData.days,
+    hours = timeData.hours,
+    minutes = timeData.minutes,
+    seconds = timeData.seconds,
+    milliseconds = timeData.milliseconds;
+  // 濡傛灉鏍煎紡鍖栧瓧绗︿覆涓笉瀛樺湪DD(澶�)锛屽垯灏嗗ぉ鐨勬椂闂磋浆涓哄皬鏃朵腑鍘�
+  if (format.indexOf('DD') === -1) {
+    hours += days * 24;
+  } else {
+    // 瀵瑰ぉ琛�0
+    format = format.replace('DD', padZero(days));
+  }
+  // 鍏朵粬鍚岀悊浜嶥D鐨勬牸寮忓寲澶勭悊鏂瑰紡
+  if (format.indexOf('HH') === -1) {
+    minutes += hours * 60;
+  } else {
+    format = format.replace('HH', padZero(hours));
+  }
+  if (format.indexOf('mm') === -1) {
+    seconds += minutes * 60;
+  } else {
+    format = format.replace('mm', padZero(minutes));
+  }
+  if (format.indexOf('ss') === -1) {
+    milliseconds += seconds * 1000;
+  } else {
+    format = format.replace('ss', padZero(seconds));
+  }
+  return format.replace('SSS', padZero(milliseconds, 3));
+}
+function isSameSecond(time1, time2) {
+  return Math.floor(time1 / 1000) === Math.floor(time2 / 1000);
+}
+
+/***/ }),
+/* 340 */,
+/* 341 */,
+/* 342 */,
+/* 343 */,
+/* 344 */,
+/* 345 */,
+/* 346 */,
+/* 347 */
 /*!**********************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-overlay/props.js ***!
   \**********************************************************************************/
@@ -22348,14 +22550,14 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 332 */,
-/* 333 */,
-/* 334 */,
-/* 335 */,
-/* 336 */,
-/* 337 */,
-/* 338 */,
-/* 339 */
+/* 348 */,
+/* 349 */,
+/* 350 */,
+/* 351 */,
+/* 352 */,
+/* 353 */,
+/* 354 */,
+/* 355 */
 /*!*************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-transition/props.js ***!
   \*************************************************************************************/
@@ -22397,7 +22599,7 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 340 */
+/* 356 */
 /*!******************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-transition/transition.js ***!
   \******************************************************************************************/
@@ -22414,7 +22616,7 @@
 exports.default = void 0;
 var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30));
 var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
-var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 341));
+var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 357));
 // 瀹氫箟涓�涓竴瀹氭椂闂村悗鑷姩鎴愬姛鐨刾romise锛岃璋冪敤nextTick鏂规硶澶勶紝杩涘叆涓嬩竴涓猼hen鏂规硶
 var nextTick = function nextTick() {
   return new Promise(function (resolve) {
@@ -22506,7 +22708,7 @@
 exports.default = _default;
 
 /***/ }),
-/* 341 */
+/* 357 */
 /*!********************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-transition/nvue.ani-map.js ***!
   \********************************************************************************************/
@@ -22699,14 +22901,14 @@
 exports.default = _default;
 
 /***/ }),
-/* 342 */,
-/* 343 */,
-/* 344 */,
-/* 345 */,
-/* 346 */,
-/* 347 */,
-/* 348 */,
-/* 349 */
+/* 358 */,
+/* 359 */,
+/* 360 */,
+/* 361 */,
+/* 362 */,
+/* 363 */,
+/* 364 */,
+/* 365 */
 /*!*************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-status-bar/props.js ***!
   \*************************************************************************************/
@@ -22732,14 +22934,14 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 350 */,
-/* 351 */,
-/* 352 */,
-/* 353 */,
-/* 354 */,
-/* 355 */,
-/* 356 */,
-/* 357 */
+/* 366 */,
+/* 367 */,
+/* 368 */,
+/* 369 */,
+/* 370 */,
+/* 371 */,
+/* 372 */,
+/* 373 */
 /*!*******************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-icon/icons.js ***!
   \*******************************************************************************/
@@ -22970,7 +23172,7 @@
 exports.default = _default;
 
 /***/ }),
-/* 358 */
+/* 374 */
 /*!*******************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-icon/props.js ***!
   \*******************************************************************************/
@@ -23077,14 +23279,14 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 359 */,
-/* 360 */,
-/* 361 */,
-/* 362 */,
-/* 363 */,
-/* 364 */,
-/* 365 */,
-/* 366 */
+/* 375 */,
+/* 376 */,
+/* 377 */,
+/* 378 */,
+/* 379 */,
+/* 380 */,
+/* 381 */,
+/* 382 */
 /*!**************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-safe-bottom/props.js ***!
   \**************************************************************************************/
@@ -23104,14 +23306,14 @@
 exports.default = _default;
 
 /***/ }),
-/* 367 */,
-/* 368 */,
-/* 369 */,
-/* 370 */,
-/* 371 */,
-/* 372 */,
-/* 373 */,
-/* 374 */
+/* 383 */,
+/* 384 */,
+/* 385 */,
+/* 386 */,
+/* 387 */,
+/* 388 */,
+/* 389 */,
+/* 390 */
 /*!*******************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-line/props.js ***!
   \*******************************************************************************/
@@ -23162,14 +23364,14 @@
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 /***/ }),
-/* 375 */,
-/* 376 */,
-/* 377 */,
-/* 378 */,
-/* 379 */,
-/* 380 */,
-/* 381 */,
-/* 382 */
+/* 391 */,
+/* 392 */,
+/* 393 */,
+/* 394 */,
+/* 395 */,
+/* 396 */,
+/* 397 */,
+/* 398 */
 /*!***************************************************************************************!*\
   !*** D:/璞嗙背/parkBike/bicycle/node_modules/uview-ui/components/u-loading-icon/props.js ***!
   \***************************************************************************************/

--
Gitblit v1.9.3