app.js 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. "use strict";
  2. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-dom_js.js");
  3. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-3EXGJ5BE_js.js");
  4. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-77KB62LY_js.js");
  5. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js.js");
  6. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
  7. require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js");
  8. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js");
  9. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js.js");
  10. require("./prebundle/remoteEntry.js");
  11. require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
  12. require("./prebundle/node_modules_taro_weapp_prebundle_react_js.js");
  13. require("./common");
  14. require("./vendors");
  15. require("./taro");
  16. require("./runtime");
  17. (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["app"],{
  18. /***/ "./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/app.ts":
  19. /*!*****************************************************************************************!*\
  20. !*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/app.ts ***!
  21. \*****************************************************************************************/
  22. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  23. /* harmony import */ var _Users_Work_hola2_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
  24. /* harmony import */ var _Users_Work_hola2_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass.js */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
  25. /* harmony import */ var _Users_Work_hola2_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits.js */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
  26. /* harmony import */ var _Users_Work_hola2_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper.js */ "./node_modules/@babel/runtime/helpers/esm/createSuper.js");
  27. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
  28. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  29. var App = /*#__PURE__*/function (_Component) {
  30. (0,_Users_Work_hola2_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__["default"])(App, _Component);
  31. var _super = (0,_Users_Work_hola2_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__["default"])(App);
  32. function App() {
  33. (0,_Users_Work_hola2_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__["default"])(this, App);
  34. return _super.apply(this, arguments);
  35. }
  36. (0,_Users_Work_hola2_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_4__["default"])(App, [{
  37. key: "componentDidMount",
  38. value: function componentDidMount() {}
  39. }, {
  40. key: "componentDidShow",
  41. value: function componentDidShow() {}
  42. }, {
  43. key: "componentDidHide",
  44. value: function componentDidHide() {}
  45. // this.props.children 是将要会渲染的页面
  46. }, {
  47. key: "render",
  48. value: function render() {
  49. return this.props.children;
  50. }
  51. }]);
  52. return App;
  53. }(react__WEBPACK_IMPORTED_MODULE_0__.Component);
  54. /* harmony default export */ __webpack_exports__["default"] = (App);
  55. /***/ }),
  56. /***/ "./src/app.ts":
  57. /*!********************!*\
  58. !*** ./src/app.ts ***!
  59. \********************/
  60. /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
  61. /* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/plugin-platform-weapp/dist/runtime */ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime");
  62. /* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__);
  63. /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
  64. /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__);
  65. /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/plugin-framework-react/dist/runtime */ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime");
  66. /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__);
  67. /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
  68. /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__);
  69. /* harmony import */ var _node_modules_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_app_ts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./app.ts */ "./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/app.ts");
  70. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
  71. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
  72. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom");
  73. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_6__);
  74. var config = {"pages":["pages/index/index","pages/Second","pages/Login","pages/Auth"],"subPackages":[{"root":"moduleA","pages":["pages/third"]}],"tabBar":{"list":[{"pagePath":"pages/index/index","text":"首页"},{"pagePath":"pages/Second","text":"第二页"}]},"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#000000","navigationBarTitleText":"Weixin","navigationBarTextStyle":"white","backgroundColor":"#000000"},"darkmode":true};
  75. _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__.window.__taroAppConfig = config
  76. var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__.createReactApp)(_node_modules_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_app_ts__WEBPACK_IMPORTED_MODULE_4__["default"], react__WEBPACK_IMPORTED_MODULE_5__, (react_dom__WEBPACK_IMPORTED_MODULE_6___default()), config))
  77. ;(0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__.initPxTransform)({
  78. designWidth: 750,
  79. deviceRatio: {"640":1.17,"750":1,"828":0.905},
  80. baseFontSize: 20,
  81. unitPrecision: undefined,
  82. targetUnit: undefined
  83. })
  84. /***/ }),
  85. /***/ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
  86. /*!**************************************************************************!*\
  87. !*** ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
  88. \**************************************************************************/
  89. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  90. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  91. /* harmony export */ "default": function() { return /* binding */ _assertThisInitialized; }
  92. /* harmony export */ });
  93. function _assertThisInitialized(self) {
  94. if (self === void 0) {
  95. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  96. }
  97. return self;
  98. }
  99. /***/ }),
  100. /***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
  101. /*!*******************************************************************!*\
  102. !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
  103. \*******************************************************************/
  104. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  105. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  106. /* harmony export */ "default": function() { return /* binding */ _classCallCheck; }
  107. /* harmony export */ });
  108. function _classCallCheck(instance, Constructor) {
  109. if (!(instance instanceof Constructor)) {
  110. throw new TypeError("Cannot call a class as a function");
  111. }
  112. }
  113. /***/ }),
  114. /***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js":
  115. /*!****************************************************************!*\
  116. !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***!
  117. \****************************************************************/
  118. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  119. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  120. /* harmony export */ "default": function() { return /* binding */ _createClass; }
  121. /* harmony export */ });
  122. /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
  123. function _defineProperties(target, props) {
  124. for (var i = 0; i < props.length; i++) {
  125. var descriptor = props[i];
  126. descriptor.enumerable = descriptor.enumerable || false;
  127. descriptor.configurable = true;
  128. if ("value" in descriptor) descriptor.writable = true;
  129. Object.defineProperty(target, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(descriptor.key), descriptor);
  130. }
  131. }
  132. function _createClass(Constructor, protoProps, staticProps) {
  133. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  134. if (staticProps) _defineProperties(Constructor, staticProps);
  135. Object.defineProperty(Constructor, "prototype", {
  136. writable: false
  137. });
  138. return Constructor;
  139. }
  140. /***/ }),
  141. /***/ "./node_modules/@babel/runtime/helpers/esm/createSuper.js":
  142. /*!****************************************************************!*\
  143. !*** ./node_modules/@babel/runtime/helpers/esm/createSuper.js ***!
  144. \****************************************************************/
  145. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  146. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  147. /* harmony export */ "default": function() { return /* binding */ _createSuper; }
  148. /* harmony export */ });
  149. /* harmony import */ var _getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getPrototypeOf.js */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
  150. /* harmony import */ var _isNativeReflectConstruct_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js");
  151. /* harmony import */ var _possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./possibleConstructorReturn.js */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
  152. function _createSuper(Derived) {
  153. var hasNativeReflectConstruct = (0,_isNativeReflectConstruct_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
  154. return function _createSuperInternal() {
  155. var Super = (0,_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_1__["default"])(Derived),
  156. result;
  157. if (hasNativeReflectConstruct) {
  158. var NewTarget = (0,_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_1__["default"])(this).constructor;
  159. result = Reflect.construct(Super, arguments, NewTarget);
  160. } else {
  161. result = Super.apply(this, arguments);
  162. }
  163. return (0,_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this, result);
  164. };
  165. }
  166. /***/ }),
  167. /***/ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
  168. /*!*******************************************************************!*\
  169. !*** ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
  170. \*******************************************************************/
  171. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  172. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  173. /* harmony export */ "default": function() { return /* binding */ _getPrototypeOf; }
  174. /* harmony export */ });
  175. function _getPrototypeOf(o) {
  176. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
  177. return o.__proto__ || Object.getPrototypeOf(o);
  178. };
  179. return _getPrototypeOf(o);
  180. }
  181. /***/ }),
  182. /***/ "./node_modules/@babel/runtime/helpers/esm/inherits.js":
  183. /*!*************************************************************!*\
  184. !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***!
  185. \*************************************************************/
  186. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  187. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  188. /* harmony export */ "default": function() { return /* binding */ _inherits; }
  189. /* harmony export */ });
  190. /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
  191. function _inherits(subClass, superClass) {
  192. if (typeof superClass !== "function" && superClass !== null) {
  193. throw new TypeError("Super expression must either be null or a function");
  194. }
  195. subClass.prototype = Object.create(superClass && superClass.prototype, {
  196. constructor: {
  197. value: subClass,
  198. writable: true,
  199. configurable: true
  200. }
  201. });
  202. Object.defineProperty(subClass, "prototype", {
  203. writable: false
  204. });
  205. if (superClass) (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(subClass, superClass);
  206. }
  207. /***/ }),
  208. /***/ "./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js":
  209. /*!*****************************************************************************!*\
  210. !*** ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js ***!
  211. \*****************************************************************************/
  212. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  213. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  214. /* harmony export */ "default": function() { return /* binding */ _isNativeReflectConstruct; }
  215. /* harmony export */ });
  216. function _isNativeReflectConstruct() {
  217. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  218. if (Reflect.construct.sham) return false;
  219. if (typeof Proxy === "function") return true;
  220. try {
  221. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  222. return true;
  223. } catch (e) {
  224. return false;
  225. }
  226. }
  227. /***/ }),
  228. /***/ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
  229. /*!******************************************************************************!*\
  230. !*** ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
  231. \******************************************************************************/
  232. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  233. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  234. /* harmony export */ "default": function() { return /* binding */ _possibleConstructorReturn; }
  235. /* harmony export */ });
  236. /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
  237. /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
  238. function _possibleConstructorReturn(self, call) {
  239. if (call && ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(call) === "object" || typeof call === "function")) {
  240. return call;
  241. } else if (call !== void 0) {
  242. throw new TypeError("Derived constructors may only return object or undefined");
  243. }
  244. return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
  245. }
  246. /***/ }),
  247. /***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
  248. /*!*******************************************************************!*\
  249. !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
  250. \*******************************************************************/
  251. /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
  252. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  253. /* harmony export */ "default": function() { return /* binding */ _setPrototypeOf; }
  254. /* harmony export */ });
  255. function _setPrototypeOf(o, p) {
  256. _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  257. o.__proto__ = p;
  258. return o;
  259. };
  260. return _setPrototypeOf(o, p);
  261. }
  262. /***/ })
  263. },
  264. /******/ function(__webpack_require__) { // webpackRuntimeModules
  265. /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
  266. /******/ __webpack_require__.O(0, ["vendors","common"], function() { return __webpack_exec__("./src/app.ts"); });
  267. /******/ var __webpack_exports__ = __webpack_require__.O();
  268. /******/ }
  269. ]);;;
  270. //# sourceMappingURL=app.js.map