|
@@ -904,7 +904,7 @@ function initData(vueOptions, context) {
|
|
try {
|
|
try {
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
} catch (e) {
|
|
} catch (e) {
|
|
- if (Object({"VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1935,7 +1935,51 @@ function normalizeComponent (
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 106:
|
|
|
|
|
|
+/***/ 11:
|
|
|
|
+/*!*************************************************!*\
|
|
|
|
+ !*** D:/wwwroot/cqcarbonwxapp/config/config.js ***!
|
|
|
|
+ \*************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.config = void 0;var config = {
|
|
|
|
+ //dev
|
|
|
|
+ // apiBaseurl:'http://172.16.90.8:21998',//东东
|
|
|
|
+ apiBaseurl: 'http://wx.hw.hongweisoft.com/cqthminapp', //东东
|
|
|
|
+
|
|
|
|
+ // 图片占位
|
|
|
|
+ placeImg: 'http://placekitten.com',
|
|
|
|
+
|
|
|
|
+ loginUrl: 'http://wx.hw.hongweisoft.com/zddtest/forest-portal/wechat/h5/authorize?returnUrl=http://foresth5test.hw.hongweisoft.com/#/', //登录后跳转到测试链接 东东
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //版本号:版本号升级将显示引导页
|
|
|
|
+ version: '1',
|
|
|
|
+
|
|
|
|
+ // 公司测试配置
|
|
|
|
+ // apiBaseurl:'http://forest.hw.hongweisoft.com/data/forest-portal',//测试
|
|
|
|
+ // loginUrl:'http://forest.hw.hongweisoft.com/data/forest-portal/wechat/h5/authorize?returnUrl=http://forest.hw.hongweisoft.com/#/',//登录后跳转到测试链接
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //online 线上配置
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //本地图片
|
|
|
|
+ // imgUrl:"../../static/img/",
|
|
|
|
+ imgUrl: "http://fqn.hongweisoft.com/cqcarbon/wxapp/",
|
|
|
|
+ //二级页面图片
|
|
|
|
+ // innerImgUrl:"../../../static/img/",
|
|
|
|
+ innerImgUrl: "http://fqn.hongweisoft.com/cqcarbon/wxapp/",
|
|
|
|
+ // 云图片(产品)
|
|
|
|
+ onlineImg: "http://cqth.hw.hongweisoft.com/ht/",
|
|
|
|
+ // 七牛云
|
|
|
|
+ qnyImg: "http://fqn.hongweisoft.com/cqcarbon/wxapp/" };exports.config = config;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
|
|
+/***/ 112:
|
|
/*!***************************************************************************!*\
|
|
/*!***************************************************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/mescroll-mixins.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/mescroll-mixins.js ***!
|
|
\***************************************************************************/
|
|
\***************************************************************************/
|
|
@@ -2011,51 +2055,194 @@ MescrollMixin;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 11:
|
|
|
|
-/*!*************************************************!*\
|
|
|
|
- !*** D:/wwwroot/cqcarbonwxapp/config/config.js ***!
|
|
|
|
- \*************************************************/
|
|
|
|
|
|
+/***/ 12:
|
|
|
|
+/*!***********************************************!*\
|
|
|
|
+ !*** D:/wwwroot/cqcarbonwxapp/store/index.js ***!
|
|
|
|
+ \***********************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
"use strict";
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.config = void 0;var config = {
|
|
|
|
- //dev
|
|
|
|
- // apiBaseurl:'http://172.16.90.8:21998',//东东
|
|
|
|
- apiBaseurl: 'http://wx.hw.hongweisoft.com/cqthminapp', //东东
|
|
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _regenerator = _interopRequireDefault(__webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 13));
|
|
|
|
|
|
- // 图片占位
|
|
|
|
- placeImg: 'http://placekitten.com',
|
|
|
|
|
|
|
|
- loginUrl: 'http://wx.hw.hongweisoft.com/zddtest/forest-portal/wechat/h5/authorize?returnUrl=http://foresth5test.hw.hongweisoft.com/#/', //登录后跳转到测试链接 东东
|
|
|
|
|
|
|
|
|
|
+var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
|
|
|
|
+var _vuex = _interopRequireDefault(__webpack_require__(/*! vuex */ 16));
|
|
|
|
|
|
- //版本号:版本号升级将显示引导页
|
|
|
|
- version: '1',
|
|
|
|
|
|
+var _index = _interopRequireDefault(__webpack_require__(/*! @/js_sdk/luch-request/luch-request/index.js */ 17));
|
|
|
|
|
|
- // 公司测试配置
|
|
|
|
- // apiBaseurl:'http://forest.hw.hongweisoft.com/data/forest-portal',//测试
|
|
|
|
- // loginUrl:'http://forest.hw.hongweisoft.com/data/forest-portal/wechat/h5/authorize?returnUrl=http://forest.hw.hongweisoft.com/#/',//登录后跳转到测试链接
|
|
|
|
|
|
+var _md5Min = _interopRequireDefault(__webpack_require__(/*! @/js_sdk/js-md5/md5.min.js */ 30));
|
|
|
|
+var _config = __webpack_require__(/*! @/config/config.js */ 11);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 http = new _index.default();
|
|
|
|
+_vue.default.use(_vuex.default);
|
|
|
|
+// const userKey = md5("userInfo");
|
|
|
|
+var userKey = "userInfo";
|
|
|
|
+var hPageKey = (0, _md5Min.default)('historyPage');
|
|
|
|
+// const sysTokenKey = md5('accessToken');
|
|
|
|
+var sysTokenKey = 'accessToken';
|
|
|
|
+var loginUrl = '/pages/login/loginType';var _default =
|
|
|
|
+new _vuex.default.Store({
|
|
|
|
+ state: {
|
|
|
|
+ hasLogin: false,
|
|
|
|
+ userInfo: {
|
|
|
|
+ customerCompanyInfoForm: {} },
|
|
|
|
|
|
|
|
+ token: '',
|
|
|
|
+ cartListTmp: [],
|
|
|
|
+ hPage: '' },
|
|
|
|
|
|
- //online 线上配置
|
|
|
|
|
|
+ mutations: {
|
|
|
|
+ addCart: function addCart(state, data) {
|
|
|
|
+ if (data) {
|
|
|
|
+ state.cartListTmp = data;
|
|
|
|
+ console.log("vuex add:", state.cartListTmp);
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ clearCart: function clearCart(state) {
|
|
|
|
+ state.cartListTmp = [];
|
|
|
|
+ console.log(state.cartListTmp);
|
|
|
|
+ },
|
|
|
|
+ login: function login(state) {var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
|
|
+ token = token instanceof Object ? token.token : token;
|
|
|
|
+ state.token = token || uni.getStorageSync(sysTokenKey).accessToken || '';
|
|
|
|
+ state.hasLogin = Boolean(state.token);
|
|
|
|
+ //保存token
|
|
|
|
+ uni.setStorage({
|
|
|
|
+ key: sysTokenKey,
|
|
|
|
+ data: {
|
|
|
|
+ accessToken: state.token } });
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ /**
|
|
|
|
+ * 退出登录,传入false只更新缓存不跳转
|
|
|
|
+ */
|
|
|
|
+ logout: function logout(state) {var v = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
|
|
+ state.hasLogin = false;
|
|
|
|
+ state.userInfo = {};
|
|
|
|
+ state.token = '';
|
|
|
|
+ uni.removeStorage({
|
|
|
|
+ key: userKey });
|
|
|
|
|
|
|
|
+ uni.removeStorage({
|
|
|
|
+ key: sysTokenKey });
|
|
|
|
|
|
|
|
+ //跳到登录页
|
|
|
|
+ // v && $api.goto(loginUrl);
|
|
|
|
+ },
|
|
|
|
+ // historyPage(state, pUrl = '') {
|
|
|
|
+ // if($api.alterUrl('/',pUrl) != loginUrl){
|
|
|
|
+ // state.hPage = pUrl || uni.getStorageSync(hPageKey).url;
|
|
|
|
+ // //记录历史页
|
|
|
|
+ // uni.setStorage({
|
|
|
|
+ // key: hPageKey,
|
|
|
|
+ // data: {
|
|
|
|
+ // url: state.hPage
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
|
|
|
|
- //本地图片
|
|
|
|
- // imgUrl:"../../static/img/",
|
|
|
|
- imgUrl: "http://fqn.hongweisoft.com/cqcarbon/wxapp/",
|
|
|
|
- //二级页面图片
|
|
|
|
- // innerImgUrl:"../../../static/img/",
|
|
|
|
- innerImgUrl: "http://fqn.hongweisoft.com/cqcarbon/wxapp/",
|
|
|
|
- // 云图片(产品)
|
|
|
|
- onlineImg: "http://cqth.hw.hongweisoft.com/ht/",
|
|
|
|
- // 七牛云
|
|
|
|
- qnyImg: "http://fqn.hongweisoft.com/cqcarbon/wxapp/" };exports.config = config;
|
|
|
|
|
|
+ upInfo: function upInfo(state) {var _arguments = arguments;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var provider, token, thetoken, infoObj, then;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:provider = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : {};
|
|
|
|
+ token = uni.getStorageSync(sysTokenKey);
|
|
|
|
+ thetoken = 'Bearer ' + token.accessToken;
|
|
|
|
+ //用户信息结构
|
|
|
|
+ infoObj = {
|
|
|
|
+ "page": 0,
|
|
|
|
+ "pageNo": 0,
|
|
|
|
+ "pageNum": 1,
|
|
|
|
+ "pageSize": 10,
|
|
|
|
+ "pageStart": null,
|
|
|
|
+ "pageEnd": null,
|
|
|
|
+ "limit": 0,
|
|
|
|
+ "accessToken": null,
|
|
|
|
+ "fkProductGuid": null,
|
|
|
|
+ "fkOrgGuid": null,
|
|
|
|
+ "state": null,
|
|
|
|
+ "createUser": "",
|
|
|
|
+ "createTime": "",
|
|
|
|
+ "modifiedUser": "",
|
|
|
|
+ "modifiedTime": "",
|
|
|
|
+ "orgBrevity": null,
|
|
|
|
+ "ico": null,
|
|
|
|
+ "params": null,
|
|
|
|
+ "codeUrlPrefix": null,
|
|
|
|
+ "loginOrgGuid": null,
|
|
|
|
+ "msgCode": null,
|
|
|
|
+ "storeName": null,
|
|
|
|
+ "guid": "",
|
|
|
|
+ "account": "",
|
|
|
|
+ "passwd": "",
|
|
|
|
+ "customerType": null,
|
|
|
|
+ "customerName": "",
|
|
|
|
+ "nickName": "",
|
|
|
|
+ "pid": null,
|
|
|
|
+ "phone": null,
|
|
|
|
+ "sex": null,
|
|
|
|
+ "score": null,
|
|
|
|
+ "wxId": "",
|
|
|
|
+ "unionId": null,
|
|
|
|
+ "headImage": "",
|
|
|
|
+ "isCompany": 0,
|
|
|
|
+ "isValidate": 0,
|
|
|
|
+ "isEnable": 1,
|
|
|
|
+ "queryStr": null,
|
|
|
|
+ "carbonAmount": null,
|
|
|
|
+ "goodsNum": null,
|
|
|
|
+ "farmerNum": null,
|
|
|
|
+ "farmerPersonNum": null,
|
|
|
|
+ "goodsList": null,
|
|
|
|
+ "loginType": null,
|
|
|
|
+ "customerCompanyInfoForm": null,
|
|
|
|
+ "channelType": null };
|
|
|
|
+
|
|
|
|
+ then = function then(res) {
|
|
|
|
+ if (res.data.code == 0) {
|
|
|
|
+ var data = res.data.retBody instanceof Object ? res.data.retBody : infoObj;
|
|
|
|
+ //处理头像连接
|
|
|
|
+ // data.headImage = $api.alterUrl($api.href, data.headImage || "");
|
|
|
|
+ state.userInfo = data;
|
|
|
|
+ uni.setStorage({ //缓存用户登陆状态
|
|
|
|
+ key: userKey,
|
|
|
|
+ data: data });
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ //读取本地缓存信息进行赋值
|
|
|
|
+ then({
|
|
|
|
+ code: 0,
|
|
|
|
+ data: Object.assign(uni.getStorageSync(userKey), provider) });
|
|
|
|
+
|
|
|
|
+ //在线更新取得用户信息
|
|
|
|
+ _context.t0 = then;_context.next = 9;return (
|
|
|
|
+ http.get(_config.config.apiBaseurl + '/carbon-h5/wap/customer/getCustomerByToken', { header: { Authorization: thetoken } }).then(function (res) {
|
|
|
|
+ // console.log('getCustomerByToken', res.data);
|
|
|
|
+ if (res.data.retHead.errCode == 0) {res.data.code = 0;}
|
|
|
|
+ // 处理非微信头像
|
|
|
|
+ var headImage = res.data.retBody.headImage;
|
|
|
|
+ if (headImage) {
|
|
|
|
+ //判断是否符合http://符合返回真不符合返回假
|
|
|
|
+ var http = /^http:\/\/.*/i.test(headImage);
|
|
|
|
+ //判断是否符合https://符合返回真不符合返回假
|
|
|
|
+ var https = /^https:\/\/.*/i.test(headImage);
|
|
|
|
+ //如果两个都为假,我们就为客户添加http://
|
|
|
|
+ if (!http && !https) {
|
|
|
|
+ headImage = _config.config.onlineImg + headImage;
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ res.data.retBody.headImage = headImage;
|
|
|
|
+ // 处理非微信头像
|
|
|
|
+ return res;
|
|
|
|
+ }).catch(function (err) {
|
|
|
|
+ // console.log('err', err)
|
|
|
|
+ }));case 9:_context.t1 = _context.sent;(0, _context.t0)(_context.t1);case 11:case "end":return _context.stop();}}}, _callee);}))();
|
|
|
|
+
|
|
|
|
+ } } });exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 115:
|
|
|
|
|
|
+/***/ 121:
|
|
/*!*****************************************************!*\
|
|
/*!*****************************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/utils/wxml2canvas.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/utils/wxml2canvas.js ***!
|
|
\*****************************************************/
|
|
\*****************************************************/
|
|
@@ -2548,252 +2735,65 @@ var drawCanvas = function drawCanvas(canvasId, wrapperData, innerData) {
|
|
// for now, just set canvas background as a compromise
|
|
// for now, just set canvas background as a compromise
|
|
drawWrapper(context, wrapperData[0]);
|
|
drawWrapper(context, wrapperData[0]);
|
|
|
|
|
|
- var storeObject = {};
|
|
|
|
-
|
|
|
|
- var sortedElementData = getSortedElementsData(formatElementData(innerData)); // fake z-index
|
|
|
|
-
|
|
|
|
- sortedElementData.forEach(function (item) {
|
|
|
|
- if (!storeObject[item.rank]) {
|
|
|
|
- // initialize
|
|
|
|
- storeObject[item.rank] = [];
|
|
|
|
- }
|
|
|
|
- if (isTextElement(item) || isImageElement(item) || isViewElement(item)) {
|
|
|
|
- storeObject[item.rank].push(item);
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- // note: draw is async
|
|
|
|
- return drawElementBaseOnIndex(context, storeObject).then(
|
|
|
|
- function () {return (
|
|
|
|
- new Promise(function (resolve, reject) {
|
|
|
|
- context.draw(true, function () {
|
|
|
|
- resolve();
|
|
|
|
- });
|
|
|
|
- }));});
|
|
|
|
-
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
-var wxSelectorQuery = function wxSelectorQuery(element) {return (
|
|
|
|
- new Promise(function (resolve, reject) {
|
|
|
|
- try {
|
|
|
|
- wx.
|
|
|
|
- createSelectorQuery().
|
|
|
|
- selectAll(element).
|
|
|
|
- fields(
|
|
|
|
- {
|
|
|
|
- dataset: true,
|
|
|
|
- size: true,
|
|
|
|
- rect: true,
|
|
|
|
- properties: PROPERTIES,
|
|
|
|
- computedStyle: COMPUTED_STYLE },
|
|
|
|
-
|
|
|
|
- function (res) {
|
|
|
|
- resolve(res);
|
|
|
|
- }).
|
|
|
|
-
|
|
|
|
- exec();
|
|
|
|
- } catch (error) {
|
|
|
|
- reject(error);
|
|
|
|
- }
|
|
|
|
- }));};
|
|
|
|
-
|
|
|
|
-var wxml2canvas = function wxml2canvas(wrapperId, elementsClass, canvasId) {
|
|
|
|
- var getWrapperElement = wxSelectorQuery(wrapperId);
|
|
|
|
- var getInnerElements = wxSelectorQuery(elementsClass);
|
|
|
|
-
|
|
|
|
- return Promise.all([getWrapperElement, getInnerElements]).then(function (data) {
|
|
|
|
- return drawCanvas(canvasId, data[0], data[1]);
|
|
|
|
- });
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
-// export default wxml2canvas
|
|
|
|
-module.exports = wxml2canvas;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
-/***/ 12:
|
|
|
|
-/*!***********************************************!*\
|
|
|
|
- !*** D:/wwwroot/cqcarbonwxapp/store/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.default = void 0;var _regenerator = _interopRequireDefault(__webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 13));
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
|
|
|
|
-var _vuex = _interopRequireDefault(__webpack_require__(/*! vuex */ 16));
|
|
|
|
-
|
|
|
|
-var _index = _interopRequireDefault(__webpack_require__(/*! @/js_sdk/luch-request/luch-request/index.js */ 17));
|
|
|
|
-
|
|
|
|
-var _md5Min = _interopRequireDefault(__webpack_require__(/*! @/js_sdk/js-md5/md5.min.js */ 30));
|
|
|
|
-var _config = __webpack_require__(/*! @/config/config.js */ 11);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 http = new _index.default();
|
|
|
|
-_vue.default.use(_vuex.default);
|
|
|
|
-// const userKey = md5("userInfo");
|
|
|
|
-var userKey = "userInfo";
|
|
|
|
-var hPageKey = (0, _md5Min.default)('historyPage');
|
|
|
|
-// const sysTokenKey = md5('accessToken');
|
|
|
|
-var sysTokenKey = 'accessToken';
|
|
|
|
-var loginUrl = '/pages/login/loginType';var _default =
|
|
|
|
-new _vuex.default.Store({
|
|
|
|
- state: {
|
|
|
|
- hasLogin: false,
|
|
|
|
- userInfo: {
|
|
|
|
- customerCompanyInfoForm: {} },
|
|
|
|
-
|
|
|
|
- token: '',
|
|
|
|
- cartListTmp: [],
|
|
|
|
- hPage: '' },
|
|
|
|
-
|
|
|
|
- mutations: {
|
|
|
|
- addCart: function addCart(state, data) {
|
|
|
|
- if (data) {
|
|
|
|
- state.cartListTmp = data;
|
|
|
|
- console.log("vuex add:", state.cartListTmp);
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- clearCart: function clearCart(state) {
|
|
|
|
- state.cartListTmp = [];
|
|
|
|
- console.log(state.cartListTmp);
|
|
|
|
- },
|
|
|
|
- login: function login(state) {var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
|
|
- token = token instanceof Object ? token.token : token;
|
|
|
|
- state.token = token || uni.getStorageSync(sysTokenKey).accessToken || '';
|
|
|
|
- state.hasLogin = Boolean(state.token);
|
|
|
|
- //保存token
|
|
|
|
- uni.setStorage({
|
|
|
|
- key: sysTokenKey,
|
|
|
|
- data: {
|
|
|
|
- accessToken: state.token } });
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- /**
|
|
|
|
- * 退出登录,传入false只更新缓存不跳转
|
|
|
|
- */
|
|
|
|
- logout: function logout(state) {var v = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
|
|
- state.hasLogin = false;
|
|
|
|
- state.userInfo = {};
|
|
|
|
- state.token = '';
|
|
|
|
- uni.removeStorage({
|
|
|
|
- key: userKey });
|
|
|
|
-
|
|
|
|
- uni.removeStorage({
|
|
|
|
- key: sysTokenKey });
|
|
|
|
-
|
|
|
|
- //跳到登录页
|
|
|
|
- // v && $api.goto(loginUrl);
|
|
|
|
- },
|
|
|
|
- // historyPage(state, pUrl = '') {
|
|
|
|
- // if($api.alterUrl('/',pUrl) != loginUrl){
|
|
|
|
- // state.hPage = pUrl || uni.getStorageSync(hPageKey).url;
|
|
|
|
- // //记录历史页
|
|
|
|
- // uni.setStorage({
|
|
|
|
- // key: hPageKey,
|
|
|
|
- // data: {
|
|
|
|
- // url: state.hPage
|
|
|
|
- // }
|
|
|
|
- // });
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
-
|
|
|
|
- upInfo: function upInfo(state) {var _arguments = arguments;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var provider, token, thetoken, infoObj, then;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:provider = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : {};
|
|
|
|
- token = uni.getStorageSync(sysTokenKey);
|
|
|
|
- thetoken = 'Bearer ' + token.accessToken;
|
|
|
|
- //用户信息结构
|
|
|
|
- infoObj = {
|
|
|
|
- "page": 0,
|
|
|
|
- "pageNo": 0,
|
|
|
|
- "pageNum": 1,
|
|
|
|
- "pageSize": 10,
|
|
|
|
- "pageStart": null,
|
|
|
|
- "pageEnd": null,
|
|
|
|
- "limit": 0,
|
|
|
|
- "accessToken": null,
|
|
|
|
- "fkProductGuid": null,
|
|
|
|
- "fkOrgGuid": null,
|
|
|
|
- "state": null,
|
|
|
|
- "createUser": "",
|
|
|
|
- "createTime": "",
|
|
|
|
- "modifiedUser": "",
|
|
|
|
- "modifiedTime": "",
|
|
|
|
- "orgBrevity": null,
|
|
|
|
- "ico": null,
|
|
|
|
- "params": null,
|
|
|
|
- "codeUrlPrefix": null,
|
|
|
|
- "loginOrgGuid": null,
|
|
|
|
- "msgCode": null,
|
|
|
|
- "storeName": null,
|
|
|
|
- "guid": "",
|
|
|
|
- "account": "",
|
|
|
|
- "passwd": "",
|
|
|
|
- "customerType": null,
|
|
|
|
- "customerName": "",
|
|
|
|
- "nickName": "",
|
|
|
|
- "pid": null,
|
|
|
|
- "phone": null,
|
|
|
|
- "sex": null,
|
|
|
|
- "score": null,
|
|
|
|
- "wxId": "",
|
|
|
|
- "unionId": null,
|
|
|
|
- "headImage": "",
|
|
|
|
- "isCompany": 0,
|
|
|
|
- "isValidate": 0,
|
|
|
|
- "isEnable": 1,
|
|
|
|
- "queryStr": null,
|
|
|
|
- "carbonAmount": null,
|
|
|
|
- "goodsNum": null,
|
|
|
|
- "farmerNum": null,
|
|
|
|
- "farmerPersonNum": null,
|
|
|
|
- "goodsList": null,
|
|
|
|
- "loginType": null,
|
|
|
|
- "customerCompanyInfoForm": null,
|
|
|
|
- "channelType": null };
|
|
|
|
-
|
|
|
|
- then = function then(res) {
|
|
|
|
- if (res.data.code == 0) {
|
|
|
|
- var data = res.data.retBody instanceof Object ? res.data.retBody : infoObj;
|
|
|
|
- //处理头像连接
|
|
|
|
- // data.headImage = $api.alterUrl($api.href, data.headImage || "");
|
|
|
|
- state.userInfo = data;
|
|
|
|
- uni.setStorage({ //缓存用户登陆状态
|
|
|
|
- key: userKey,
|
|
|
|
- data: data });
|
|
|
|
|
|
+ var storeObject = {};
|
|
|
|
|
|
- }
|
|
|
|
- };
|
|
|
|
- //读取本地缓存信息进行赋值
|
|
|
|
- then({
|
|
|
|
- code: 0,
|
|
|
|
- data: Object.assign(uni.getStorageSync(userKey), provider) });
|
|
|
|
|
|
+ var sortedElementData = getSortedElementsData(formatElementData(innerData)); // fake z-index
|
|
|
|
|
|
- //在线更新取得用户信息
|
|
|
|
- _context.t0 = then;_context.next = 9;return (
|
|
|
|
- http.get(_config.config.apiBaseurl + '/carbon-h5/wap/customer/getCustomerByToken', { header: { Authorization: thetoken } }).then(function (res) {
|
|
|
|
- // console.log('getCustomerByToken', res.data);
|
|
|
|
- if (res.data.retHead.errCode == 0) {res.data.code = 0;}
|
|
|
|
- // 处理非微信头像
|
|
|
|
- var headImage = res.data.retBody.headImage;
|
|
|
|
- if (headImage) {
|
|
|
|
- //判断是否符合http://符合返回真不符合返回假
|
|
|
|
- var http = /^http:\/\/.*/i.test(headImage);
|
|
|
|
- //判断是否符合https://符合返回真不符合返回假
|
|
|
|
- var https = /^https:\/\/.*/i.test(headImage);
|
|
|
|
- //如果两个都为假,我们就为客户添加http://
|
|
|
|
- if (!http && !https) {
|
|
|
|
- headImage = _config.config.onlineImg + headImage;
|
|
|
|
- }
|
|
|
|
- };
|
|
|
|
- res.data.retBody.headImage = headImage;
|
|
|
|
- // 处理非微信头像
|
|
|
|
- return res;
|
|
|
|
- }).catch(function (err) {
|
|
|
|
- // console.log('err', err)
|
|
|
|
- }));case 9:_context.t1 = _context.sent;(0, _context.t0)(_context.t1);case 11:case "end":return _context.stop();}}}, _callee);}))();
|
|
|
|
|
|
+ sortedElementData.forEach(function (item) {
|
|
|
|
+ if (!storeObject[item.rank]) {
|
|
|
|
+ // initialize
|
|
|
|
+ storeObject[item.rank] = [];
|
|
|
|
+ }
|
|
|
|
+ if (isTextElement(item) || isImageElement(item) || isViewElement(item)) {
|
|
|
|
+ storeObject[item.rank].push(item);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ // note: draw is async
|
|
|
|
+ return drawElementBaseOnIndex(context, storeObject).then(
|
|
|
|
+ function () {return (
|
|
|
|
+ new Promise(function (resolve, reject) {
|
|
|
|
+ context.draw(true, function () {
|
|
|
|
+ resolve();
|
|
|
|
+ });
|
|
|
|
+ }));});
|
|
|
|
|
|
- } } });exports.default = _default;
|
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+var wxSelectorQuery = function wxSelectorQuery(element) {return (
|
|
|
|
+ new Promise(function (resolve, reject) {
|
|
|
|
+ try {
|
|
|
|
+ wx.
|
|
|
|
+ createSelectorQuery().
|
|
|
|
+ selectAll(element).
|
|
|
|
+ fields(
|
|
|
|
+ {
|
|
|
|
+ dataset: true,
|
|
|
|
+ size: true,
|
|
|
|
+ rect: true,
|
|
|
|
+ properties: PROPERTIES,
|
|
|
|
+ computedStyle: COMPUTED_STYLE },
|
|
|
|
+
|
|
|
|
+ function (res) {
|
|
|
|
+ resolve(res);
|
|
|
|
+ }).
|
|
|
|
+
|
|
|
|
+ exec();
|
|
|
|
+ } catch (error) {
|
|
|
|
+ reject(error);
|
|
|
|
+ }
|
|
|
|
+ }));};
|
|
|
|
+
|
|
|
|
+var wxml2canvas = function wxml2canvas(wrapperId, elementsClass, canvasId) {
|
|
|
|
+ var getWrapperElement = wxSelectorQuery(wrapperId);
|
|
|
|
+ var getInnerElements = wxSelectorQuery(elementsClass);
|
|
|
|
+
|
|
|
|
+ return Promise.all([getWrapperElement, getInnerElements]).then(function (data) {
|
|
|
|
+ return drawCanvas(canvasId, data[0], data[1]);
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+// export default wxml2canvas
|
|
|
|
+module.exports = wxml2canvas;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
@@ -4714,72 +4714,6 @@ _Request.default;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 177:
|
|
|
|
-/*!**************************************************************!*\
|
|
|
|
- !*** D:/wwwroot/cqcarbonwxapp/components/uni-popup/popup.js ***!
|
|
|
|
- \**************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _message = _interopRequireDefault(__webpack_require__(/*! ./message.js */ 178));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
|
|
|
|
-// 定义 type 类型:弹出类型:top/bottom/center
|
|
|
|
-var config = {
|
|
|
|
- // 顶部弹出
|
|
|
|
- top: 'top',
|
|
|
|
- // 底部弹出
|
|
|
|
- bottom: 'bottom',
|
|
|
|
- // 居中弹出
|
|
|
|
- center: 'center',
|
|
|
|
- // 消息提示
|
|
|
|
- message: 'top',
|
|
|
|
- // 对话框
|
|
|
|
- dialog: 'center',
|
|
|
|
- // 分享
|
|
|
|
- share: 'bottom' };var _default =
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-{
|
|
|
|
- data: function data() {
|
|
|
|
- return {
|
|
|
|
- config: config };
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- mixins: [_message.default] };exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
-/***/ 178:
|
|
|
|
-/*!****************************************************************!*\
|
|
|
|
- !*** D:/wwwroot/cqcarbonwxapp/components/uni-popup/message.js ***!
|
|
|
|
- \****************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = {
|
|
|
|
- created: function created() {
|
|
|
|
- if (this.type === 'message') {
|
|
|
|
- // 不显示遮罩
|
|
|
|
- this.maskShow = false;
|
|
|
|
- // 获取子组件对象
|
|
|
|
- this.childrenMsg = null;
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- methods: {
|
|
|
|
- customOpen: function customOpen() {
|
|
|
|
- if (this.childrenMsg) {
|
|
|
|
- this.childrenMsg.open();
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- customClose: function customClose() {
|
|
|
|
- if (this.childrenMsg) {
|
|
|
|
- this.childrenMsg.close();
|
|
|
|
- }
|
|
|
|
- } } };exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
/***/ 18:
|
|
/***/ 18:
|
|
/*!*********************************************************************************!*\
|
|
/*!*********************************************************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/js_sdk/luch-request/luch-request/core/Request.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/js_sdk/luch-request/luch-request/core/Request.js ***!
|
|
@@ -4990,7 +4924,90 @@ Request = /*#__PURE__*/function () {
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 186:
|
|
|
|
|
|
+/***/ 183:
|
|
|
|
+/*!**************************************************************!*\
|
|
|
|
+ !*** D:/wwwroot/cqcarbonwxapp/components/uni-popup/popup.js ***!
|
|
|
|
+ \**************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _message = _interopRequireDefault(__webpack_require__(/*! ./message.js */ 184));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
|
|
|
|
+// 定义 type 类型:弹出类型:top/bottom/center
|
|
|
|
+var config = {
|
|
|
|
+ // 顶部弹出
|
|
|
|
+ top: 'top',
|
|
|
|
+ // 底部弹出
|
|
|
|
+ bottom: 'bottom',
|
|
|
|
+ // 居中弹出
|
|
|
|
+ center: 'center',
|
|
|
|
+ // 消息提示
|
|
|
|
+ message: 'top',
|
|
|
|
+ // 对话框
|
|
|
|
+ dialog: 'center',
|
|
|
|
+ // 分享
|
|
|
|
+ share: 'bottom' };var _default =
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ data: function data() {
|
|
|
|
+ return {
|
|
|
|
+ config: config };
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ mixins: [_message.default] };exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
|
|
+/***/ 184:
|
|
|
|
+/*!****************************************************************!*\
|
|
|
|
+ !*** D:/wwwroot/cqcarbonwxapp/components/uni-popup/message.js ***!
|
|
|
|
+ \****************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = {
|
|
|
|
+ created: function created() {
|
|
|
|
+ if (this.type === 'message') {
|
|
|
|
+ // 不显示遮罩
|
|
|
|
+ this.maskShow = false;
|
|
|
|
+ // 获取子组件对象
|
|
|
|
+ this.childrenMsg = null;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+ customOpen: function customOpen() {
|
|
|
|
+ if (this.childrenMsg) {
|
|
|
|
+ this.childrenMsg.open();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ customClose: function customClose() {
|
|
|
|
+ if (this.childrenMsg) {
|
|
|
|
+ this.childrenMsg.close();
|
|
|
|
+ }
|
|
|
|
+ } } };exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
|
|
+/***/ 19:
|
|
|
|
+/*!*****************************************************************************************!*\
|
|
|
|
+ !*** D:/wwwroot/cqcarbonwxapp/js_sdk/luch-request/luch-request/core/dispatchRequest.js ***!
|
|
|
|
+ \*****************************************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 20));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+function _default(config) {
|
|
|
|
+ return (0, _index.default)(config);
|
|
|
|
+};exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
|
|
+/***/ 192:
|
|
/*!************************************************************************!*\
|
|
/*!************************************************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/mescroll-uni.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/mescroll-uni.js ***!
|
|
\************************************************************************/
|
|
\************************************************************************/
|
|
@@ -5801,7 +5818,7 @@ MeScroll.prototype.preventDefault = function (e) {
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 187:
|
|
|
|
|
|
+/***/ 193:
|
|
/*!*******************************************************************************!*\
|
|
/*!*******************************************************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/mescroll-uni-option.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/mescroll-uni-option.js ***!
|
|
\*******************************************************************************/
|
|
\*******************************************************************************/
|
|
@@ -5848,7 +5865,7 @@ GlobalOption;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 188:
|
|
|
|
|
|
+/***/ 194:
|
|
/*!**********************************************************************!*\
|
|
/*!**********************************************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/wxs/mixins.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/components/mescroll-uni/wxs/mixins.js ***!
|
|
\**********************************************************************/
|
|
\**********************************************************************/
|
|
@@ -5968,23 +5985,6 @@ WxsMixin;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 19:
|
|
|
|
-/*!*****************************************************************************************!*\
|
|
|
|
- !*** D:/wwwroot/cqcarbonwxapp/js_sdk/luch-request/luch-request/core/dispatchRequest.js ***!
|
|
|
|
- \*****************************************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 20));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-function _default(config) {
|
|
|
|
- return (0, _index.default)(config);
|
|
|
|
-};exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
/***/ 2:
|
|
/***/ 2:
|
|
/*!******************************************************************************************!*\
|
|
/*!******************************************************************************************!*\
|
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
|
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
|
|
@@ -11511,7 +11511,7 @@ function type(obj) {
|
|
|
|
|
|
function flushCallbacks$1(vm) {
|
|
function flushCallbacks$1(vm) {
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
- if (Object({"VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
var mpInstance = vm.$scope;
|
|
var mpInstance = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
@@ -11532,14 +11532,14 @@ function nextTick$1(vm, cb) {
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
//2.nextTick 之前存在 render watcher
|
|
//2.nextTick 之前存在 render watcher
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
- if(Object({"VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
var mpInstance = vm.$scope;
|
|
var mpInstance = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
']:nextVueTick');
|
|
']:nextVueTick');
|
|
}
|
|
}
|
|
return nextTick(cb, vm)
|
|
return nextTick(cb, vm)
|
|
}else{
|
|
}else{
|
|
- if(Object({"VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
var mpInstance$1 = vm.$scope;
|
|
var mpInstance$1 = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
']:nextMPTick');
|
|
']:nextMPTick');
|
|
@@ -11625,7 +11625,7 @@ var patch = function(oldVnode, vnode) {
|
|
});
|
|
});
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
if (Object.keys(diffData).length) {
|
|
if (Object.keys(diffData).length) {
|
|
- if (Object({"VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_NAME":"cqcarbonwxapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
']差量更新',
|
|
']差量更新',
|
|
JSON.stringify(diffData));
|
|
JSON.stringify(diffData));
|
|
@@ -13192,7 +13192,7 @@ _vue.default.filter("formatDateTime", function (time) {
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 81:
|
|
|
|
|
|
+/***/ 87:
|
|
/*!**********************************************!*\
|
|
/*!**********************************************!*\
|
|
!*** D:/wwwroot/cqcarbonwxapp/utils/util.js ***!
|
|
!*** D:/wwwroot/cqcarbonwxapp/utils/util.js ***!
|
|
\**********************************************/
|
|
\**********************************************/
|