vendor.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["devTools/page/common/vendor"],{
  2. /***/ 1059:
  3. /*!***************************************************************************!*\
  4. !*** E:/git/2021项目/v3-H5/devTools/page/components/libs/getRuntimeInfo.js ***!
  5. \***************************************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. /* WEBPACK VAR INJECTION */(function(uni) {
  10. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  11. Object.defineProperty(exports, "__esModule", {
  12. value: true
  13. });
  14. exports.default = getRuntimeInfo;
  15. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 50));
  16. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 52));
  17. /**
  18. * 获取当前运行时环境信息
  19. */
  20. function getRuntimeInfo() {
  21. return new Promise( /*#__PURE__*/function () {
  22. var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(yes) {
  23. var data;
  24. return _regenerator.default.wrap(function _callee$(_context) {
  25. while (1) {
  26. switch (_context.prev = _context.next) {
  27. case 0:
  28. _context.t0 = uni.getSystemInfoSync();
  29. _context.t1 = uni.getDeviceInfo ? uni.getDeviceInfo() : null;
  30. _context.t2 = uni.getWindowInfo ? uni.getWindowInfo() : null;
  31. _context.t3 = uni.getAppBaseInfo ? uni.getAppBaseInfo() : null;
  32. _context.t4 = uni.getAppAuthorizeSetting ? uni.getAppAuthorizeSetting() : null;
  33. _context.t5 = uni.getSystemSetting ? uni.getSystemSetting() : null;
  34. _context.next = 8;
  35. return getNetworkType();
  36. case 8:
  37. _context.t6 = _context.sent;
  38. _context.t7 = uni.getLaunchOptionsSync();
  39. data = {
  40. 系统信息: _context.t0,
  41. 设备基础信息: _context.t1,
  42. 窗口信息: _context.t2,
  43. APP基础信息: _context.t3,
  44. APP授权设置: _context.t4,
  45. 设备设置: _context.t5,
  46. 网络状态: _context.t6,
  47. 启动参数: _context.t7
  48. };
  49. yes(data);
  50. case 12:
  51. case "end":
  52. return _context.stop();
  53. }
  54. }
  55. }, _callee);
  56. }));
  57. return function (_x) {
  58. return _ref.apply(this, arguments);
  59. };
  60. }());
  61. }
  62. /**
  63. * 获取网络状态
  64. */
  65. function getNetworkType() {
  66. return new Promise(function (yes, err) {
  67. if (!uni.getNetworkType) {
  68. return yes(null);
  69. }
  70. uni.getNetworkType({
  71. success: function success(res) {
  72. yes(res.networkType);
  73. },
  74. fail: function fail() {
  75. yes("error");
  76. }
  77. });
  78. });
  79. }
  80. /**
  81. * 获取APP端设备其他信息
  82. */
  83. function getAppOtherInfo() {
  84. return new Promise( /*#__PURE__*/function () {
  85. var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(yes) {
  86. var info, getDevice, getOAID, getAAID, getDeviceId;
  87. return _regenerator.default.wrap(function _callee2$(_context2) {
  88. while (1) {
  89. switch (_context2.prev = _context2.next) {
  90. case 0:
  91. info = {};
  92. getDevice = function getDevice() {
  93. return new Promise(function (yes) {
  94. plus.device.getInfo({
  95. success: yes,
  96. fail: function fail() {
  97. yes("plus.device.getInfo() fail");
  98. }
  99. });
  100. });
  101. };
  102. getOAID = function getOAID() {
  103. return new Promise(function (yes) {
  104. plus.device.getOAID({
  105. success: yes,
  106. fail: function fail() {
  107. yes("plus.device.getOAID() fail");
  108. }
  109. });
  110. });
  111. };
  112. getAAID = function getAAID() {
  113. return new Promise(function (yes) {
  114. plus.device.getOAID({
  115. success: yes,
  116. fail: function fail() {
  117. yes("plus.device.getOAID() fail");
  118. }
  119. });
  120. });
  121. };
  122. getDeviceId = function getDeviceId() {
  123. return new Promise(function (yes) {
  124. try {
  125. var id = plus.device.getDeviceId();
  126. yes(id);
  127. } catch (error) {
  128. yes("plus.device.getDeviceId() fail");
  129. }
  130. });
  131. };
  132. _context2.prev = 5;
  133. _context2.next = 8;
  134. return getDevice();
  135. case 8:
  136. info.getDevice = _context2.sent;
  137. _context2.next = 11;
  138. return getOAID();
  139. case 11:
  140. info.getOAID = _context2.sent;
  141. _context2.next = 14;
  142. return getAAID();
  143. case 14:
  144. info.getAAID = _context2.sent;
  145. _context2.next = 17;
  146. return getDeviceId();
  147. case 17:
  148. info.getDeviceId = _context2.sent;
  149. yes(info);
  150. _context2.next = 25;
  151. break;
  152. case 21:
  153. _context2.prev = 21;
  154. _context2.t0 = _context2["catch"](5);
  155. console.log("getDeviceInfoFail", _context2.t0);
  156. yes("获取设备信息失败!");
  157. case 25:
  158. plus.device.getInfo({
  159. success: function success(e) {
  160. info = Object.assign(info, e);
  161. plus.device.getOAID({
  162. success: function success(e) {
  163. info = Object.assign(info, e);
  164. plus.device.getVAID({
  165. success: function success(e) {},
  166. fail: function fail() {
  167. yes(Object.assign(info, {
  168. errMsg: "plus.device.getVAID 获取失败!"
  169. }));
  170. }
  171. });
  172. },
  173. fail: function fail() {
  174. yes(Object.assign(info, {
  175. errMsg: "plus.device.getOAID 获取失败!"
  176. }));
  177. }
  178. });
  179. },
  180. fail: function fail() {
  181. yes({
  182. errMsg: "plus.device.getInfo 获取失败!"
  183. });
  184. }
  185. });
  186. case 26:
  187. case "end":
  188. return _context2.stop();
  189. }
  190. }
  191. }, _callee2, null, [[5, 21]]);
  192. }));
  193. return function (_x2) {
  194. return _ref2.apply(this, arguments);
  195. };
  196. }());
  197. }
  198. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  199. /***/ }),
  200. /***/ 1158:
  201. /*!**********************************************************************!*\
  202. !*** E:/git/2021项目/v3-H5/devTools/page/components/libs/appDelDir.js ***!
  203. \**********************************************************************/
  204. /*! no static exports found */
  205. /***/ (function(module, exports, __webpack_require__) {
  206. "use strict";
  207. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  208. Object.defineProperty(exports, "__esModule", {
  209. value: true
  210. });
  211. exports.default = appDelDir;
  212. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 50));
  213. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 52));
  214. var _dirReader = _interopRequireDefault(__webpack_require__(/*! ./dirReader */ 941));
  215. /**
  216. * 遍历删除整个文件夹,以“/”结尾
  217. */
  218. function appDelDir(path) {
  219. var needDelSelf = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  220. return new Promise( /*#__PURE__*/function () {
  221. var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(yes, err) {
  222. var dirList, i, item, info;
  223. return _regenerator.default.wrap(function _callee$(_context) {
  224. while (1) {
  225. switch (_context.prev = _context.next) {
  226. case 0:
  227. _context.next = 2;
  228. return _dirReader.default.getDirFileList(path);
  229. case 2:
  230. dirList = _context.sent;
  231. i = 0;
  232. case 4:
  233. if (!(i < dirList.length)) {
  234. _context.next = 29;
  235. break;
  236. }
  237. item = dirList[i];
  238. _context.prev = 6;
  239. if (!(item.type == "dir")) {
  240. _context.next = 20;
  241. break;
  242. }
  243. _context.next = 10;
  244. return getMeteInfo(path + item.name + "/");
  245. case 10:
  246. info = _context.sent;
  247. if (!(info.directoryCount > 0 || info.fileCount > 0)) {
  248. _context.next = 16;
  249. break;
  250. }
  251. _context.next = 14;
  252. return appDelDir(path + item.name + "/");
  253. case 14:
  254. _context.next = 18;
  255. break;
  256. case 16:
  257. _context.next = 18;
  258. return delDir(path + item.name + "/");
  259. case 18:
  260. _context.next = 22;
  261. break;
  262. case 20:
  263. _context.next = 22;
  264. return delFile(path + item.name);
  265. case 22:
  266. _context.next = 26;
  267. break;
  268. case 24:
  269. _context.prev = 24;
  270. _context.t0 = _context["catch"](6);
  271. case 26:
  272. i++;
  273. _context.next = 4;
  274. break;
  275. case 29:
  276. _context.prev = 29;
  277. if (!needDelSelf) {
  278. _context.next = 33;
  279. break;
  280. }
  281. _context.next = 33;
  282. return delDir(path);
  283. case 33:
  284. _context.next = 37;
  285. break;
  286. case 35:
  287. _context.prev = 35;
  288. _context.t1 = _context["catch"](29);
  289. case 37:
  290. yes();
  291. case 38:
  292. case "end":
  293. return _context.stop();
  294. }
  295. }
  296. }, _callee, null, [[6, 24], [29, 35]]);
  297. }));
  298. return function (_x, _x2) {
  299. return _ref.apply(this, arguments);
  300. };
  301. }());
  302. }
  303. function delFile(path) {
  304. return new Promise(function (yes, err) {
  305. plus.io.resolveLocalFileSystemURL(path, function (entry) {
  306. entry.remove(yes, err);
  307. }, err);
  308. });
  309. }
  310. function delDir(path) {
  311. return new Promise(function (yes, err) {
  312. plus.io.resolveLocalFileSystemURL(path, function (entry) {
  313. entry.remove(yes, err);
  314. }, err);
  315. });
  316. }
  317. /**
  318. * 获取文件夹内信息
  319. * @returns {Promise<PlusIoMetadata>}
  320. */
  321. function getMeteInfo(path) {
  322. return new Promise(function (yes, err) {
  323. plus.io.resolveLocalFileSystemURL(path, function (entry) {
  324. if (entry.isDirectory) {
  325. entry.getMetadata(function (metadata) {
  326. yes(metadata);
  327. }, err);
  328. } else {
  329. err();
  330. }
  331. }, err);
  332. });
  333. }
  334. /***/ }),
  335. /***/ 940:
  336. /*!*******************************************************************************!*\
  337. !*** E:/git/2021项目/v3-H5/devTools/page/components/mixins/animationControl.js ***!
  338. \*******************************************************************************/
  339. /*! no static exports found */
  340. /***/ (function(module, exports, __webpack_require__) {
  341. "use strict";
  342. /* WEBPACK VAR INJECTION */(function(uni) {
  343. Object.defineProperty(exports, "__esModule", {
  344. value: true
  345. });
  346. exports.default = void 0;
  347. var _default = {
  348. methods: {
  349. /**
  350. * 显示面板
  351. */
  352. panelShow: function panelShow() {
  353. var that = this;
  354. var sys = uni.getSystemInfoSync();
  355. animation.transition(that.$refs.mask, {
  356. styles: {
  357. opacity: 1,
  358. height: sys.windowHeight + 'px'
  359. },
  360. duration: 200,
  361. //ms
  362. timingFunction: 'linear',
  363. delay: 0 //ms
  364. });
  365. var height = Math.ceil(sys.windowHeight * 0.8);
  366. animation.transition(that.$refs.panel, {
  367. styles: {
  368. opacity: 1,
  369. transform: "transform: translate(0px,".concat(height, "px)")
  370. },
  371. duration: 1,
  372. //ms
  373. timingFunction: 'linear',
  374. delay: 0 //ms
  375. }, function (res) {
  376. animation.transition(that.$refs.panel, {
  377. styles: {
  378. transform: "transform: translate(0px,0px)"
  379. },
  380. duration: 200,
  381. //ms
  382. timingFunction: 'linear',
  383. delay: 0 //ms
  384. });
  385. });
  386. },
  387. /**
  388. * 关闭面板
  389. */
  390. panelHide: function panelHide() {
  391. var that = this;
  392. animation.transition(that.$refs.mask, {
  393. styles: {
  394. opacity: 0
  395. },
  396. duration: 200,
  397. //ms
  398. timingFunction: 'linear',
  399. delay: 0 //ms
  400. });
  401. var height = uni.upx2px(1000);
  402. animation.transition(that.$refs.panel, {
  403. styles: {
  404. transform: "transform: translate(0px,".concat(height, "px)")
  405. },
  406. duration: 200,
  407. //ms
  408. timingFunction: 'linear',
  409. delay: 0 //ms
  410. }, function () {
  411. uni.$emit("devTools_panelHideSuccess");
  412. });
  413. }
  414. }
  415. };
  416. exports.default = _default;
  417. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  418. /***/ }),
  419. /***/ 941:
  420. /*!**********************************************************************!*\
  421. !*** E:/git/2021项目/v3-H5/devTools/page/components/libs/dirReader.js ***!
  422. \**********************************************************************/
  423. /*! no static exports found */
  424. /***/ (function(module, exports, __webpack_require__) {
  425. "use strict";
  426. Object.defineProperty(exports, "__esModule", {
  427. value: true
  428. });
  429. exports.default = void 0;
  430. var iconConfig = [{
  431. type: ["", undefined, null],
  432. mime: "",
  433. icon: "/devTools/page/static/fileSys/weizhiwenjian.png"
  434. }, {
  435. type: ["dwg"],
  436. mime: "dwg",
  437. icon: "/devTools/page/static/fileSys/DWG.png"
  438. }, {
  439. type: ["xls", "xlsx", "csv"],
  440. mime: "xls",
  441. icon: "/devTools/page/static/fileSys/excel.png"
  442. }, {
  443. type: ["exe"],
  444. mime: "exe",
  445. icon: "/devTools/page/static/fileSys/EXE.png"
  446. }, {
  447. type: ["gif"],
  448. mime: "gif",
  449. icon: "/devTools/page/static/fileSys/GIF.png"
  450. }, {
  451. type: ["html"],
  452. mime: "html",
  453. icon: "/devTools/page/static/fileSys/HTML.png"
  454. }, {
  455. type: ["pdf"],
  456. mime: "pdf",
  457. icon: "/devTools/page/static/fileSys/pdf.png"
  458. }, {
  459. type: ["ppt"],
  460. mime: "ppt",
  461. icon: "/devTools/page/static/fileSys/pptl.png"
  462. }, {
  463. type: ["psd"],
  464. mime: "psd",
  465. icon: "/devTools/page/static/fileSys/PSD.png"
  466. }, {
  467. type: ["rvt"],
  468. mime: "rvt",
  469. icon: "/devTools/page/static/fileSys/RVT.png"
  470. }, {
  471. type: ["mp4", "avi", "wmv", "mpg", "mpeg", "mov", "flv", "3gp", "mp3gp", "mkv", "rmvb"],
  472. mime: "mp4",
  473. icon: "/devTools/page/static/fileSys/shipin.png"
  474. }, {
  475. type: ["skp"],
  476. mime: "skp",
  477. icon: "/devTools/page/static/fileSys/SKP.png"
  478. }, {
  479. type: ["svg"],
  480. mime: "svg",
  481. icon: "/devTools/page/static/fileSys/SVG.png"
  482. }, {
  483. type: ["png", "jpeg", "jpg", "webp", "bmp"],
  484. mime: "img",
  485. icon: "/devTools/page/static/fileSys/tupian.png"
  486. }, {
  487. type: ["txt", "sql", "js", "css", "log", "json"],
  488. mime: "txt",
  489. icon: "/devTools/page/static/fileSys/txt.png"
  490. }, {
  491. type: ["word"],
  492. mime: "word",
  493. icon: "/devTools/page/static/fileSys/word.png"
  494. }, {
  495. type: ["zip", "rar", "gz", "7z"],
  496. mime: "zip",
  497. icon: "/devTools/page/static/fileSys/yasuo.png"
  498. }, {
  499. type: ["mp3", "wma", "wav", "aac", "flac"],
  500. mime: "",
  501. icon: "/devTools/page/static/fileSys/yinpin.png"
  502. }];
  503. var _default = {
  504. /**
  505. * 获取文件和目录列表
  506. */
  507. getDirFileList: function getDirFileList(path) {
  508. return new Promise(function (yes) {});
  509. },
  510. /**
  511. * 获取文件图片
  512. */
  513. getFileIcon: function getFileIcon(type) {
  514. for (var i = 0; i < iconConfig.length; i++) {
  515. var item = iconConfig[i];
  516. for (var _i = 0; _i < item.type.length; _i++) {
  517. var typeName = item.type[_i];
  518. if (type == typeName) {
  519. return item.icon;
  520. }
  521. }
  522. }
  523. return "/devTools/page/static/fileSys/weizhiwenjian.png";
  524. }
  525. };
  526. /**
  527. * @param {PlusIoDirectoryEntry} entry
  528. */
  529. exports.default = _default;
  530. function getMetaData(entry) {
  531. return new Promise(function (yes) {
  532. entry.getMetadata(function (metadata) {
  533. yes({
  534. size: metadata.size,
  535. time: metadata.modificationTime.getTime(),
  536. fileCount: metadata.fileCount,
  537. directoryCount: metadata.directoryCount
  538. });
  539. }, function () {
  540. yes({
  541. size: 0,
  542. time: 0,
  543. fileCount: 0,
  544. directoryCount: 0
  545. });
  546. });
  547. });
  548. }
  549. function getFileType(name) {
  550. if (typeof name == "string") {
  551. var tList = name.split(".");
  552. if (tList.length > 1) {
  553. return tList.pop().toLocaleLowerCase();
  554. } else {
  555. return "";
  556. }
  557. } else {
  558. return "";
  559. }
  560. }
  561. /***/ }),
  562. /***/ 942:
  563. /*!*********************************************************************!*\
  564. !*** E:/git/2021项目/v3-H5/devTools/page/components/libs/fileSize.js ***!
  565. \*********************************************************************/
  566. /*! no static exports found */
  567. /***/ (function(module, exports, __webpack_require__) {
  568. "use strict";
  569. Object.defineProperty(exports, "__esModule", {
  570. value: true
  571. });
  572. exports.default = void 0;
  573. var _default = {
  574. /**
  575. * 获取字节大小,b转kb mb
  576. */
  577. getByteSize: function getByteSize(size) {
  578. if (null == size || size == '') return "0 B";
  579. var unitArr = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
  580. var index = 0;
  581. var srcsize = parseFloat(size);
  582. index = Math.floor(Math.log(srcsize) / Math.log(1024));
  583. var size = srcsize / Math.pow(1024, index);
  584. size = size.toFixed(2); //保留的小数位数
  585. return size + unitArr[index];
  586. }
  587. };
  588. exports.default = _default;
  589. /***/ }),
  590. /***/ 943:
  591. /*!*****************************************************************!*\
  592. !*** E:/git/2021项目/v3-H5/devTools/page/components/mixins/mp.js ***!
  593. \*****************************************************************/
  594. /*! no static exports found */
  595. /***/ (function(module, exports, __webpack_require__) {
  596. "use strict";
  597. /* WEBPACK VAR INJECTION */(function(uni) {
  598. Object.defineProperty(exports, "__esModule", {
  599. value: true
  600. });
  601. exports.default = void 0;
  602. var _default = {
  603. data: function data() {
  604. return {
  605. windowInfo: getWindowInfo()
  606. };
  607. },
  608. computed: {
  609. /**
  610. * 小程序和H5的标题
  611. */
  612. navbarStyle: function navbarStyle() {
  613. var windowInfo = getWindowInfo();
  614. return {
  615. statusBarHeightPx: windowInfo.system.statusBarHeight + 'px',
  616. navbarHeightPx: windowInfo.navbar.bodyHeightPx + 'px'
  617. };
  618. }
  619. },
  620. methods: {
  621. back: function back() {
  622. uni.navigateBack();
  623. }
  624. }
  625. };
  626. /**
  627. * 获取当前窗口数据
  628. *
  629. */
  630. exports.default = _default;
  631. function getWindowInfo() {
  632. var systemInfo = uni.getSystemInfoSync();
  633. systemInfo.pixelRatio = Math.round(systemInfo.pixelRatio * 100) / 100;
  634. var windowInfo = {
  635. system: systemInfo,
  636. capsule: {
  637. bottom: 78,
  638. height: 30,
  639. left: 283,
  640. right: 363,
  641. top: 48,
  642. width: 0
  643. },
  644. navbar: {
  645. heightPx: uni.upx2px(100) + systemInfo.statusBarHeight,
  646. bodyHeightPx: uni.upx2px(100),
  647. bodyWidthPx: systemInfo.windowWidth,
  648. capsuleWidthPx: 0,
  649. capsuleRightPx: 0
  650. },
  651. height: systemInfo.windowHeight * (750 / systemInfo.windowWidth),
  652. width: 750,
  653. statusBarHeight: systemInfo.statusBarHeight * (750 / systemInfo.windowWidth),
  654. safeBottom: systemInfo.windowHeight - systemInfo.safeArea.bottom,
  655. safeBottomRpx: (systemInfo.windowHeight - systemInfo.safeArea.bottom) * (750 / systemInfo.windowWidth),
  656. /**
  657. * 原生端 底部导航栏高度
  658. */
  659. footNavbarHeight: uni.upx2px(100) + (systemInfo.windowHeight - systemInfo.safeArea.bottom)
  660. };
  661. var capsuleInfo = uni.getMenuButtonBoundingClientRect();
  662. windowInfo.capsule = capsuleInfo;
  663. var capsuleToStatusBarPx = capsuleInfo.top - systemInfo.statusBarHeight; //胶囊和状态栏之间的高度
  664. windowInfo.navbar.bodyHeightPx = capsuleInfo.height + capsuleToStatusBarPx * 2;
  665. windowInfo.navbar.heightPx = windowInfo.navbar.bodyHeightPx + systemInfo.statusBarHeight;
  666. var capsuleWidthPx = (systemInfo.windowWidth - capsuleInfo.right) * 2 + capsuleInfo.width;
  667. windowInfo.navbar.bodyWidthPx = systemInfo.windowWidth - capsuleWidthPx;
  668. windowInfo.navbar.capsuleWidthPx = capsuleWidthPx;
  669. windowInfo.navbar.capsuleRightPx = capsuleWidthPx - (systemInfo.windowWidth - capsuleInfo.right);
  670. return windowInfo;
  671. }
  672. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  673. /***/ })
  674. }]);
  675. //# sourceMappingURL=../../../../.sourcemap/mp-weixin/devTools/page/common/vendor.js.map