2.chunk.js 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. webpackJsonp([2],{
  2. /***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/login/login.css":
  3. /*!******************************************************************************************************************************************************************!*\
  4. !*** ./node_modules/css-loader?{"importLoaders":1}!./node_modules/postcss-loader/lib?{"ident":"postcss","plugins":[null,null,null]}!./src/views/login/login.css ***!
  5. \******************************************************************************************************************************************************************/
  6. /*! dynamic exports provided */
  7. /*! all exports used */
  8. /***/ (function(module, exports, __webpack_require__) {
  9. exports = module.exports = __webpack_require__(/*! ../../../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(undefined);
  10. // imports
  11. // module
  12. exports.push([module.i, ".container{\r\n width: 100vw;\r\n\r\n}\r\n.login{\r\n font-size: 3.2vw;\r\n}", ""]);
  13. // exports
  14. /***/ }),
  15. /***/ "./src/views/login/login.css":
  16. /*!***********************************!*\
  17. !*** ./src/views/login/login.css ***!
  18. \***********************************/
  19. /*! dynamic exports provided */
  20. /***/ (function(module, exports, __webpack_require__) {
  21. // style-loader: Adds some css to the DOM by adding a <style> tag
  22. // load the styles
  23. var content = __webpack_require__(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./login.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/login/login.css");
  24. if(typeof content === 'string') content = [[module.i, content, '']];
  25. // Prepare cssTransformation
  26. var transform;
  27. var options = {"hmr":true}
  28. options.transform = transform
  29. // add the styles to the DOM
  30. var update = __webpack_require__(/*! ../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
  31. if(content.locals) module.exports = content.locals;
  32. // Hot Module Replacement
  33. if(true) {
  34. // When the styles change, update the <style> tags
  35. if(!content.locals) {
  36. module.hot.accept(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./login.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/login/login.css", function() {
  37. var newContent = __webpack_require__(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./login.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/login/login.css");
  38. if(typeof newContent === 'string') newContent = [[module.i, newContent, '']];
  39. update(newContent);
  40. });
  41. }
  42. // When the module is disposed, remove the <style> tags
  43. module.hot.dispose(function() { update(); });
  44. }
  45. /***/ }),
  46. /***/ "./src/views/login/login.js":
  47. /*!**********************************!*\
  48. !*** ./src/views/login/login.js ***!
  49. \**********************************/
  50. /*! exports provided: default */
  51. /*! all exports used */
  52. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  53. "use strict";
  54. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  55. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  56. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
  57. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_redux__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/es/index.js");
  58. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__login_css__ = __webpack_require__(/*! ./login.css */ "./src/views/login/login.css");
  59. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__login_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__login_css__);
  60. var _jsxFileName = 'D:\\react\\nbjk-h5\\src\\views\\login\\login.js';
  61. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  62. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  63. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  64. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  65. var mapStateToProps = function mapStateToProps(state) {
  66. return {};
  67. };
  68. var mapDispatchToProps = function mapDispatchToProps(dispatch) {
  69. return {};
  70. };
  71. var LoginViews = function (_Component) {
  72. _inherits(LoginViews, _Component);
  73. /*
  74. * 构造函数
  75. *
  76. * */
  77. function LoginViews() {
  78. _classCallCheck(this, LoginViews);
  79. var _this = _possibleConstructorReturn(this, (LoginViews.__proto__ || Object.getPrototypeOf(LoginViews)).call(this));
  80. _this.state = {};
  81. return _this;
  82. }
  83. /*
  84. *
  85. * 生命周期一
  86. *
  87. * */
  88. _createClass(LoginViews, [{
  89. key: 'componentWillMount',
  90. value: function componentWillMount() {}
  91. /*
  92. *
  93. * 如果是ios设备默认第一次不是播放状态,android没事
  94. *
  95. * */
  96. /*
  97. *
  98. * 请求数据
  99. *
  100. *
  101. * */
  102. /*
  103. *
  104. * 生命周期二
  105. *
  106. * */
  107. }, {
  108. key: 'componentDidMount',
  109. value: function componentDidMount() {}
  110. /*
  111. * 渲染
  112. * */
  113. }, {
  114. key: 'render',
  115. value: function render() {
  116. return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  117. 'div',
  118. { className: 'container', __source: {
  119. fileName: _jsxFileName,
  120. lineNumber: 66
  121. },
  122. __self: this
  123. },
  124. __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  125. 'a',
  126. { href: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx457ba48e0801c0b6&redirect_uri=https://gzh.zzxcx.net/login&response_type=code&scope=snsapi_base&state=STATE', className: 'login', __source: {
  127. fileName: _jsxFileName,
  128. lineNumber: 67
  129. },
  130. __self: this
  131. },
  132. '\u5F00\u59CB\u767B\u9646'
  133. )
  134. );
  135. }
  136. }, {
  137. key: 'componentWillUnmount',
  138. value: function componentWillUnmount() {}
  139. }]);
  140. return LoginViews;
  141. }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
  142. /* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_react_redux__["b" /* connect */])(mapStateToProps, mapDispatchToProps)(LoginViews));
  143. /***/ })
  144. });
  145. //# sourceMappingURL=2.chunk.js.map