| xqd
@@ -20829,7 +20829,7 @@ exports.getValidateCode = getValidateCode;
|
|
|
|
|
|
/* WEBPACK VAR INJECTION */(function(uni) {uni.$u.http.setConfig(function (config) {
|
|
|
if (true) {
|
|
|
- config.baseURL = 'http://t16.9026.com/';
|
|
|
+ config.baseURL = 'http://t23.9026.com/index.php';
|
|
|
} else {}
|
|
|
config.header = {
|
|
|
// 'Content-Type': 'application/x-www-form-urlencoded',
|
| xqd
@@ -20866,9 +20866,9 @@ module.exports = function (vm) {
|
|
|
uni.$u.http.interceptors.request.use(function (config) {
|
|
|
// 可使用async await 做异步操作
|
|
|
config.data = config.data || {};
|
|
|
- if ((0, _auth.getToken)()) {
|
|
|
+ if (uni.getStorageSync('token')) {
|
|
|
// config.header['Authorization'] = getToken()
|
|
|
- config.header['Authorization'] = (0, _auth.getToken)();
|
|
|
+ config.header['Authorization'] = uni.getStorageSync('token');
|
|
|
}
|
|
|
return config;
|
|
|
}, function (config) {
|
| xqd
@@ -22316,7 +22316,7 @@ exports.default = _default;
|
|
|
var configUrl = {};
|
|
|
if (true) {
|
|
|
configUrl = {
|
|
|
- baseUrl: 'http://t16.9026.com/api/api/v1/common/uploadFile'
|
|
|
+ baseUrl: 'http://t23.9026.com/index.php/api/upload'
|
|
|
};
|
|
|
} else {}
|
|
|
module.exports = configUrl;
|
| xqd
@@ -23290,7 +23290,204 @@ module.exports = {
|
|
|
/* 225 */,
|
|
|
/* 226 */,
|
|
|
/* 227 */,
|
|
|
-/* 228 */,
|
|
|
+/* 228 */
|
|
|
+/*!***********************************************!*\
|
|
|
+ !*** D:/desktop/jiancaiPro/api/test/index.js ***!
|
|
|
+ \***********************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.wxAuthLoginReq = exports.updateUserInfoReq = exports.postOrderReq = exports.postInviteReq = exports.getUserInfoReq = exports.getSerStepReq = exports.getSerDocReq = exports.getSerBackReq = exports.getSerBackGoodsReq = exports.getSerBackConReq = exports.getPricePercentReq = exports.getOrderDetailReq = exports.getMyInviteReq = exports.getMallReq = exports.getMallCatReq = exports.getIndexConfigReq = exports.getActGoodsReq = exports.cancelCollReq = exports.addInviteReq = exports.addCollReq = void 0;
|
|
|
+//我的相关:
|
|
|
+var http = uni.$u.http;
|
|
|
+
|
|
|
+//用户相关
|
|
|
+// 微信授权登陆
|
|
|
+var wxAuthLoginReq = function wxAuthLoginReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/auth/mnplogin', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取用户信息
|
|
|
+exports.wxAuthLoginReq = wxAuthLoginReq;
|
|
|
+var getUserInfoReq = function getUserInfoReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/users/getUserInfo', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 更新用户信息
|
|
|
+exports.getUserInfoReq = getUserInfoReq;
|
|
|
+var updateUserInfoReq = function updateUserInfoReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/users/updateUserInfo', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 首页相关
|
|
|
+// 获取首页配置
|
|
|
+exports.updateUserInfoReq = updateUserInfoReq;
|
|
|
+var getIndexConfigReq = function getIndexConfigReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/getHomeData', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 订单相关相关
|
|
|
+// 提交订单
|
|
|
+exports.getIndexConfigReq = getIndexConfigReq;
|
|
|
+var postOrderReq = function postOrderReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/order/submitOrder', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取订单详细
|
|
|
+exports.postOrderReq = postOrderReq;
|
|
|
+var getOrderDetailReq = function getOrderDetailReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ var apiUrl = '/api/order/getOrderDetail';
|
|
|
+ Object.keys(params).forEach(function (item, index) {
|
|
|
+ if (index == 0) {
|
|
|
+ apiUrl += "?".concat(item, "=").concat(params[item]);
|
|
|
+ } else {
|
|
|
+ apiUrl += "&".concat(item, "=").concat(params[item]);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ console.log('处理后的apiUrl', apiUrl);
|
|
|
+ return http.get(apiUrl, params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取商城分类数据
|
|
|
+exports.getOrderDetailReq = getOrderDetailReq;
|
|
|
+var getMallCatReq = function getMallCatReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/goods/getClassifyData', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取商城数据
|
|
|
+exports.getMallCatReq = getMallCatReq;
|
|
|
+var getMallReq = function getMallReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ var apiUrl = '/api/goods/getGoodsData';
|
|
|
+ Object.keys(params).forEach(function (item, index) {
|
|
|
+ if (index == 0) {
|
|
|
+ apiUrl += "?".concat(item, "=").concat(params[item]);
|
|
|
+ } else {
|
|
|
+ apiUrl += "&".concat(item, "=").concat(params[item]);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ console.log('处理后的apiUrl', apiUrl);
|
|
|
+ return http.get(apiUrl, params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取商城分类数据
|
|
|
+exports.getMallReq = getMallReq;
|
|
|
+var getSerDocReq = function getSerDocReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/server/getServerData', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取各个身份的价格百分比
|
|
|
+exports.getSerDocReq = getSerDocReq;
|
|
|
+var getPricePercentReq = function getPricePercentReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/common/getPriceConfig', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取我的售后保障
|
|
|
+exports.getPricePercentReq = getPricePercentReq;
|
|
|
+var getSerBackReq = function getSerBackReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/users/getMyAfterSaleData', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取我的服务流程
|
|
|
+exports.getSerBackReq = getSerBackReq;
|
|
|
+var getSerStepReq = function getSerStepReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/users/getMyServiceProcess', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 获取我的售后商品
|
|
|
+exports.getSerStepReq = getSerStepReq;
|
|
|
+var getSerBackGoodsReq = function getSerBackGoodsReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ var apiUrl = '/api/users/getMyAfterSaleGoods';
|
|
|
+ Object.keys(params).forEach(function (item, index) {
|
|
|
+ if (index == 0) {
|
|
|
+ apiUrl += "?".concat(item, "=").concat(params[item]);
|
|
|
+ } else {
|
|
|
+ apiUrl += "&".concat(item, "=").concat(params[item]);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ console.log('处理后的apiUrl', apiUrl);
|
|
|
+ return http.get(apiUrl, params, config);
|
|
|
+};
|
|
|
+
|
|
|
+//获取我的售后联系
|
|
|
+exports.getSerBackGoodsReq = getSerBackGoodsReq;
|
|
|
+var getSerBackConReq = function getSerBackConReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/users/getMyAfterSaleContact', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 提交邀请
|
|
|
+exports.getSerBackConReq = getSerBackConReq;
|
|
|
+var postInviteReq = function postInviteReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/invite/submitInviteData', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+//获取我的邀请
|
|
|
+exports.postInviteReq = postInviteReq;
|
|
|
+var getMyInviteReq = function getMyInviteReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ var apiUrl = '/api/invite/getMyInviteData';
|
|
|
+ Object.keys(params).forEach(function (item, index) {
|
|
|
+ if (index == 0) {
|
|
|
+ apiUrl += "?".concat(item, "=").concat(params[item]);
|
|
|
+ } else {
|
|
|
+ apiUrl += "&".concat(item, "=").concat(params[item]);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ console.log('处理后的apiUrl', apiUrl);
|
|
|
+ return http.get(apiUrl, params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 添加邀请
|
|
|
+exports.getMyInviteReq = getMyInviteReq;
|
|
|
+var addInviteReq = function addInviteReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/invite/addInvite', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 添加收藏
|
|
|
+exports.addInviteReq = addInviteReq;
|
|
|
+var addCollReq = function addCollReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/users/addCollect', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+// 取消收藏
|
|
|
+exports.addCollReq = addCollReq;
|
|
|
+var cancelCollReq = function cancelCollReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.post('/api/users/cancelCollect', params, config);
|
|
|
+};
|
|
|
+
|
|
|
+//获取活动商品
|
|
|
+exports.cancelCollReq = cancelCollReq;
|
|
|
+var getActGoodsReq = function getActGoodsReq(params) {
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ return http.get('/api/getActivityData', params, config);
|
|
|
+};
|
|
|
+exports.getActGoodsReq = getActGoodsReq;
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
+
|
|
|
+/***/ }),
|
|
|
/* 229 */,
|
|
|
/* 230 */,
|
|
|
/* 231 */,
|
| xqd
@@ -23303,7 +23500,24 @@ module.exports = {
|
|
|
/* 238 */,
|
|
|
/* 239 */,
|
|
|
/* 240 */,
|
|
|
-/* 241 */
|
|
|
+/* 241 */,
|
|
|
+/* 242 */,
|
|
|
+/* 243 */,
|
|
|
+/* 244 */,
|
|
|
+/* 245 */,
|
|
|
+/* 246 */,
|
|
|
+/* 247 */,
|
|
|
+/* 248 */,
|
|
|
+/* 249 */,
|
|
|
+/* 250 */,
|
|
|
+/* 251 */,
|
|
|
+/* 252 */,
|
|
|
+/* 253 */,
|
|
|
+/* 254 */,
|
|
|
+/* 255 */,
|
|
|
+/* 256 */,
|
|
|
+/* 257 */,
|
|
|
+/* 258 */
|
|
|
/*!***********************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/libs/mixin/button.js ***!
|
|
|
\***********************************************************************/
|
| xqd
@@ -23333,7 +23547,7 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 242 */
|
|
|
+/* 259 */
|
|
|
/*!*************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/libs/mixin/openType.js ***!
|
|
|
\*************************************************************************/
|
| xqd
@@ -23375,7 +23589,7 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 243 */
|
|
|
+/* 260 */
|
|
|
/*!*******************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-button/props.js ***!
|
|
|
\*******************************************************************************/
|
| xqd
@@ -23554,14 +23768,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 244 */,
|
|
|
-/* 245 */,
|
|
|
-/* 246 */,
|
|
|
-/* 247 */,
|
|
|
-/* 248 */,
|
|
|
-/* 249 */,
|
|
|
-/* 250 */,
|
|
|
-/* 251 */
|
|
|
+/* 261 */,
|
|
|
+/* 262 */,
|
|
|
+/* 263 */,
|
|
|
+/* 264 */,
|
|
|
+/* 265 */,
|
|
|
+/* 266 */,
|
|
|
+/* 267 */,
|
|
|
+/* 268 */
|
|
|
/*!*******************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-sticky/props.js ***!
|
|
|
\*******************************************************************************/
|
| xqd
@@ -23613,14 +23827,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 252 */,
|
|
|
-/* 253 */,
|
|
|
-/* 254 */,
|
|
|
-/* 255 */,
|
|
|
-/* 256 */,
|
|
|
-/* 257 */,
|
|
|
-/* 258 */,
|
|
|
-/* 259 */
|
|
|
+/* 269 */,
|
|
|
+/* 270 */,
|
|
|
+/* 271 */,
|
|
|
+/* 272 */,
|
|
|
+/* 273 */,
|
|
|
+/* 274 */,
|
|
|
+/* 275 */,
|
|
|
+/* 276 */
|
|
|
/*!*****************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-tabs/props.js ***!
|
|
|
\*****************************************************************************/
|
| xqd
@@ -23702,14 +23916,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 260 */,
|
|
|
-/* 261 */,
|
|
|
-/* 262 */,
|
|
|
-/* 263 */,
|
|
|
-/* 264 */,
|
|
|
-/* 265 */,
|
|
|
-/* 266 */,
|
|
|
-/* 267 */
|
|
|
+/* 277 */,
|
|
|
+/* 278 */,
|
|
|
+/* 279 */,
|
|
|
+/* 280 */,
|
|
|
+/* 281 */,
|
|
|
+/* 282 */,
|
|
|
+/* 283 */,
|
|
|
+/* 284 */
|
|
|
/*!******************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-popup/props.js ***!
|
|
|
\******************************************************************************/
|
| xqd
@@ -23806,14 +24020,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 268 */,
|
|
|
-/* 269 */,
|
|
|
-/* 270 */,
|
|
|
-/* 271 */,
|
|
|
-/* 272 */,
|
|
|
-/* 273 */,
|
|
|
-/* 274 */,
|
|
|
-/* 275 */
|
|
|
+/* 285 */,
|
|
|
+/* 286 */,
|
|
|
+/* 287 */,
|
|
|
+/* 288 */,
|
|
|
+/* 289 */,
|
|
|
+/* 290 */,
|
|
|
+/* 291 */,
|
|
|
+/* 292 */
|
|
|
/*!************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/components/wike-painter/common/relation.js ***!
|
|
|
\************************************************************************/
|
| xqd
@@ -23980,7 +24194,7 @@ function children(parent) {
|
|
|
}
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 276 */
|
|
|
+/* 293 */
|
|
|
/*!**************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/components/wike-painter/props.js ***!
|
|
|
\**************************************************************/
|
| xqd
@@ -24036,7 +24250,7 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 277 */
|
|
|
+/* 294 */
|
|
|
/*!**************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/components/wike-painter/utils.js ***!
|
|
|
\**************************************************************/
|
| xqd
@@ -24313,7 +24527,7 @@ function downloadFile(url) {
|
|
|
/* 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"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 278 */
|
|
|
+/* 295 */
|
|
|
/*!****************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/components/wike-painter/painter.js ***!
|
|
|
\****************************************************************/
|
| xqd
@@ -26398,14 +26612,21 @@ n.WEB == B && (window.Painter = yt);
|
|
|
/* 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"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 279 */,
|
|
|
-/* 280 */,
|
|
|
-/* 281 */,
|
|
|
-/* 282 */,
|
|
|
-/* 283 */,
|
|
|
-/* 284 */,
|
|
|
-/* 285 */,
|
|
|
-/* 286 */
|
|
|
+/* 296 */,
|
|
|
+/* 297 */,
|
|
|
+/* 298 */,
|
|
|
+/* 299 */,
|
|
|
+/* 300 */,
|
|
|
+/* 301 */,
|
|
|
+/* 302 */,
|
|
|
+/* 303 */,
|
|
|
+/* 304 */,
|
|
|
+/* 305 */,
|
|
|
+/* 306 */,
|
|
|
+/* 307 */,
|
|
|
+/* 308 */,
|
|
|
+/* 309 */,
|
|
|
+/* 310 */
|
|
|
/*!*********************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uni-icons/components/uni-icons/icons.js ***!
|
|
|
\*********************************************************************************/
|
| xqd
@@ -27426,14 +27647,14 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 287 */,
|
|
|
-/* 288 */,
|
|
|
-/* 289 */,
|
|
|
-/* 290 */,
|
|
|
-/* 291 */,
|
|
|
-/* 292 */,
|
|
|
-/* 293 */,
|
|
|
-/* 294 */
|
|
|
+/* 311 */,
|
|
|
+/* 312 */,
|
|
|
+/* 313 */,
|
|
|
+/* 314 */,
|
|
|
+/* 315 */,
|
|
|
+/* 316 */,
|
|
|
+/* 317 */,
|
|
|
+/* 318 */
|
|
|
/*!*************************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-loading-icon/props.js ***!
|
|
|
\*************************************************************************************/
|
| xqd
@@ -27510,14 +27731,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 295 */,
|
|
|
-/* 296 */,
|
|
|
-/* 297 */,
|
|
|
-/* 298 */,
|
|
|
-/* 299 */,
|
|
|
-/* 300 */,
|
|
|
-/* 301 */,
|
|
|
-/* 302 */
|
|
|
+/* 319 */,
|
|
|
+/* 320 */,
|
|
|
+/* 321 */,
|
|
|
+/* 322 */,
|
|
|
+/* 323 */,
|
|
|
+/* 324 */,
|
|
|
+/* 325 */,
|
|
|
+/* 326 */
|
|
|
/*!*****************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-icon/icons.js ***!
|
|
|
\*****************************************************************************/
|
| xqd
@@ -27748,7 +27969,7 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 303 */
|
|
|
+/* 327 */
|
|
|
/*!*****************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-icon/props.js ***!
|
|
|
\*****************************************************************************/
|
| xqd
@@ -27855,14 +28076,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 304 */,
|
|
|
-/* 305 */,
|
|
|
-/* 306 */,
|
|
|
-/* 307 */,
|
|
|
-/* 308 */,
|
|
|
-/* 309 */,
|
|
|
-/* 310 */,
|
|
|
-/* 311 */
|
|
|
+/* 328 */,
|
|
|
+/* 329 */,
|
|
|
+/* 330 */,
|
|
|
+/* 331 */,
|
|
|
+/* 332 */,
|
|
|
+/* 333 */,
|
|
|
+/* 334 */,
|
|
|
+/* 335 */
|
|
|
/*!******************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-badge/props.js ***!
|
|
|
\******************************************************************************/
|
| xqd
@@ -27952,14 +28173,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 312 */,
|
|
|
-/* 313 */,
|
|
|
-/* 314 */,
|
|
|
-/* 315 */,
|
|
|
-/* 316 */,
|
|
|
-/* 317 */,
|
|
|
-/* 318 */,
|
|
|
-/* 319 */
|
|
|
+/* 336 */,
|
|
|
+/* 337 */,
|
|
|
+/* 338 */,
|
|
|
+/* 339 */,
|
|
|
+/* 340 */,
|
|
|
+/* 341 */,
|
|
|
+/* 342 */,
|
|
|
+/* 343 */
|
|
|
/*!********************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-overlay/props.js ***!
|
|
|
\********************************************************************************/
|
| xqd
@@ -28001,14 +28222,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 320 */,
|
|
|
-/* 321 */,
|
|
|
-/* 322 */,
|
|
|
-/* 323 */,
|
|
|
-/* 324 */,
|
|
|
-/* 325 */,
|
|
|
-/* 326 */,
|
|
|
-/* 327 */
|
|
|
+/* 344 */,
|
|
|
+/* 345 */,
|
|
|
+/* 346 */,
|
|
|
+/* 347 */,
|
|
|
+/* 348 */,
|
|
|
+/* 349 */,
|
|
|
+/* 350 */,
|
|
|
+/* 351 */
|
|
|
/*!***********************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-transition/props.js ***!
|
|
|
\***********************************************************************************/
|
| xqd
@@ -28050,7 +28271,7 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 328 */
|
|
|
+/* 352 */
|
|
|
/*!****************************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-transition/transition.js ***!
|
|
|
\****************************************************************************************/
|
| xqd
@@ -28067,7 +28288,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
exports.default = void 0;
|
|
|
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 55));
|
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 57));
|
|
|
-var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 329));
|
|
|
+var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 353));
|
|
|
// 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
|
|
|
var nextTick = function nextTick() {
|
|
|
return new Promise(function (resolve) {
|
| xqd
@@ -28159,7 +28380,7 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 329 */
|
|
|
+/* 353 */
|
|
|
/*!******************************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-transition/nvue.ani-map.js ***!
|
|
|
\******************************************************************************************/
|
| xqd
@@ -28352,14 +28573,14 @@ var _default = {
|
|
|
exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 330 */,
|
|
|
-/* 331 */,
|
|
|
-/* 332 */,
|
|
|
-/* 333 */,
|
|
|
-/* 334 */,
|
|
|
-/* 335 */,
|
|
|
-/* 336 */,
|
|
|
-/* 337 */
|
|
|
+/* 354 */,
|
|
|
+/* 355 */,
|
|
|
+/* 356 */,
|
|
|
+/* 357 */,
|
|
|
+/* 358 */,
|
|
|
+/* 359 */,
|
|
|
+/* 360 */,
|
|
|
+/* 361 */
|
|
|
/*!***********************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-status-bar/props.js ***!
|
|
|
\***********************************************************************************/
|
| xqd
@@ -28385,14 +28606,14 @@ exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
-/* 338 */,
|
|
|
-/* 339 */,
|
|
|
-/* 340 */,
|
|
|
-/* 341 */,
|
|
|
-/* 342 */,
|
|
|
-/* 343 */,
|
|
|
-/* 344 */,
|
|
|
-/* 345 */
|
|
|
+/* 362 */,
|
|
|
+/* 363 */,
|
|
|
+/* 364 */,
|
|
|
+/* 365 */,
|
|
|
+/* 366 */,
|
|
|
+/* 367 */,
|
|
|
+/* 368 */,
|
|
|
+/* 369 */
|
|
|
/*!************************************************************************************!*\
|
|
|
!*** D:/desktop/jiancaiPro/uni_modules/uview-ui/components/u-safe-bottom/props.js ***!
|
|
|
\************************************************************************************/
|
| xqd
@@ -28411,6 +28632,154 @@ var _default = {
|
|
|
};
|
|
|
exports.default = _default;
|
|
|
|
|
|
+/***/ }),
|
|
|
+/* 370 */,
|
|
|
+/* 371 */,
|
|
|
+/* 372 */,
|
|
|
+/* 373 */,
|
|
|
+/* 374 */,
|
|
|
+/* 375 */,
|
|
|
+/* 376 */,
|
|
|
+/* 377 */,
|
|
|
+/* 378 */,
|
|
|
+/* 379 */,
|
|
|
+/* 380 */,
|
|
|
+/* 381 */,
|
|
|
+/* 382 */,
|
|
|
+/* 383 */,
|
|
|
+/* 384 */
|
|
|
+/*!*****************************************************************************************************!*\
|
|
|
+ !*** D:/desktop/jiancaiPro/uni_modules/uni-transition/components/uni-transition/createAnimation.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.createAnimation = createAnimation;
|
|
|
+var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
|
+var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
|
|
|
+var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
|
|
|
+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; }
|
|
|
+// const defaultOption = {
|
|
|
+// duration: 300,
|
|
|
+// timingFunction: 'linear',
|
|
|
+// delay: 0,
|
|
|
+// transformOrigin: '50% 50% 0'
|
|
|
+// }
|
|
|
+var MPAnimation = /*#__PURE__*/function () {
|
|
|
+ function MPAnimation(options, _this) {
|
|
|
+ (0, _classCallCheck2.default)(this, MPAnimation);
|
|
|
+ this.options = options;
|
|
|
+ // 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误
|
|
|
+ this.animation = uni.createAnimation(_objectSpread({}, options));
|
|
|
+ this.currentStepAnimates = {};
|
|
|
+ this.next = 0;
|
|
|
+ this.$ = _this;
|
|
|
+ }
|
|
|
+ (0, _createClass2.default)(MPAnimation, [{
|
|
|
+ key: "_nvuePushAnimates",
|
|
|
+ value: function _nvuePushAnimates(type, args) {
|
|
|
+ var aniObj = this.currentStepAnimates[this.next];
|
|
|
+ var styles = {};
|
|
|
+ if (!aniObj) {
|
|
|
+ styles = {
|
|
|
+ styles: {},
|
|
|
+ config: {}
|
|
|
+ };
|
|
|
+ } else {
|
|
|
+ styles = aniObj;
|
|
|
+ }
|
|
|
+ if (animateTypes1.includes(type)) {
|
|
|
+ if (!styles.styles.transform) {
|
|
|
+ styles.styles.transform = '';
|
|
|
+ }
|
|
|
+ var unit = '';
|
|
|
+ if (type === 'rotate') {
|
|
|
+ unit = 'deg';
|
|
|
+ }
|
|
|
+ styles.styles.transform += "".concat(type, "(").concat(args + unit, ") ");
|
|
|
+ } else {
|
|
|
+ styles.styles[type] = "".concat(args);
|
|
|
+ }
|
|
|
+ this.currentStepAnimates[this.next] = styles;
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ key: "_animateRun",
|
|
|
+ value: function _animateRun() {
|
|
|
+ var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
|
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
+ var ref = this.$.$refs['ani'].ref;
|
|
|
+ if (!ref) return;
|
|
|
+ return new Promise(function (resolve, reject) {
|
|
|
+ nvueAnimation.transition(ref, _objectSpread({
|
|
|
+ styles: styles
|
|
|
+ }, config), function (res) {
|
|
|
+ resolve();
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ key: "_nvueNextAnimate",
|
|
|
+ value: function _nvueNextAnimate(animates) {
|
|
|
+ var _this2 = this;
|
|
|
+ var step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
|
+ var fn = arguments.length > 2 ? arguments[2] : undefined;
|
|
|
+ var obj = animates[step];
|
|
|
+ if (obj) {
|
|
|
+ var styles = obj.styles,
|
|
|
+ config = obj.config;
|
|
|
+ this._animateRun(styles, config).then(function () {
|
|
|
+ step += 1;
|
|
|
+ _this2._nvueNextAnimate(animates, step, fn);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.currentStepAnimates = {};
|
|
|
+ typeof fn === 'function' && fn();
|
|
|
+ this.isEnd = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ key: "step",
|
|
|
+ value: function step() {
|
|
|
+ var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
|
+ this.animation.step(config);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ key: "run",
|
|
|
+ value: function run(fn) {
|
|
|
+ this.$.animationData = this.animation.export();
|
|
|
+ this.$.timer = setTimeout(function () {
|
|
|
+ typeof fn === 'function' && fn();
|
|
|
+ }, this.$.durationTime);
|
|
|
+ }
|
|
|
+ }]);
|
|
|
+ return MPAnimation;
|
|
|
+}();
|
|
|
+var animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY', 'translateZ'];
|
|
|
+var animateTypes2 = ['opacity', 'backgroundColor'];
|
|
|
+var animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom'];
|
|
|
+animateTypes1.concat(animateTypes2, animateTypes3).forEach(function (type) {
|
|
|
+ MPAnimation.prototype[type] = function () {
|
|
|
+ var _this$animation;
|
|
|
+ (_this$animation = this.animation)[type].apply(_this$animation, arguments);
|
|
|
+ return this;
|
|
|
+ };
|
|
|
+});
|
|
|
+function createAnimation(option, _this) {
|
|
|
+ if (!_this) return;
|
|
|
+ clearTimeout(_this.timer);
|
|
|
+ return new MPAnimation(option, _this);
|
|
|
+}
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
+
|
|
|
/***/ })
|
|
|
]]);
|
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|