1.chunk.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. webpackJsonp([1],{
  2. /***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoList/videoList.css":
  3. /*!**************************************************************************************************************************************************************************!*\
  4. !*** ./node_modules/css-loader?{"importLoaders":1}!./node_modules/postcss-loader/lib?{"ident":"postcss","plugins":[null,null,null]}!./src/views/videoList/videoList.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}", ""]);
  13. // exports
  14. /***/ }),
  15. /***/ "./src/assets/images/kemu1.png":
  16. /*!*************************************!*\
  17. !*** ./src/assets/images/kemu1.png ***!
  18. \*************************************/
  19. /*! dynamic exports provided */
  20. /*! all exports used */
  21. /***/ (function(module, exports, __webpack_require__) {
  22. module.exports = __webpack_require__.p + "static/media/kemu1.0a853c7a.png";
  23. /***/ }),
  24. /***/ "./src/assets/images/kemu2.png":
  25. /*!*************************************!*\
  26. !*** ./src/assets/images/kemu2.png ***!
  27. \*************************************/
  28. /*! dynamic exports provided */
  29. /*! all exports used */
  30. /***/ (function(module, exports, __webpack_require__) {
  31. module.exports = __webpack_require__.p + "static/media/kemu2.44dd75b0.png";
  32. /***/ }),
  33. /***/ "./src/assets/images/kemu3.png":
  34. /*!*************************************!*\
  35. !*** ./src/assets/images/kemu3.png ***!
  36. \*************************************/
  37. /*! dynamic exports provided */
  38. /*! all exports used */
  39. /***/ (function(module, exports, __webpack_require__) {
  40. module.exports = __webpack_require__.p + "static/media/kemu3.c1afdae7.png";
  41. /***/ }),
  42. /***/ "./src/assets/images/kemu4.png":
  43. /*!*************************************!*\
  44. !*** ./src/assets/images/kemu4.png ***!
  45. \*************************************/
  46. /*! dynamic exports provided */
  47. /*! all exports used */
  48. /***/ (function(module, exports, __webpack_require__) {
  49. module.exports = __webpack_require__.p + "static/media/kemu4.096fc2de.png";
  50. /***/ }),
  51. /***/ "./src/views/videoList/videoList.css":
  52. /*!*******************************************!*\
  53. !*** ./src/views/videoList/videoList.css ***!
  54. \*******************************************/
  55. /*! dynamic exports provided */
  56. /***/ (function(module, exports, __webpack_require__) {
  57. // style-loader: Adds some css to the DOM by adding a <style> tag
  58. // load the styles
  59. var content = __webpack_require__(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./videoList.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoList/videoList.css");
  60. if(typeof content === 'string') content = [[module.i, content, '']];
  61. // Prepare cssTransformation
  62. var transform;
  63. var options = {"hmr":true}
  64. options.transform = transform
  65. // add the styles to the DOM
  66. var update = __webpack_require__(/*! ../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
  67. if(content.locals) module.exports = content.locals;
  68. // Hot Module Replacement
  69. if(true) {
  70. // When the styles change, update the <style> tags
  71. if(!content.locals) {
  72. module.hot.accept(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./videoList.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoList/videoList.css", function() {
  73. var newContent = __webpack_require__(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./videoList.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoList/videoList.css");
  74. if(typeof newContent === 'string') newContent = [[module.i, newContent, '']];
  75. update(newContent);
  76. });
  77. }
  78. // When the module is disposed, remove the <style> tags
  79. module.hot.dispose(function() { update(); });
  80. }
  81. /***/ }),
  82. /***/ "./src/views/videoList/videoList.js":
  83. /*!******************************************!*\
  84. !*** ./src/views/videoList/videoList.js ***!
  85. \******************************************/
  86. /*! exports provided: default */
  87. /*! all exports used */
  88. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  89. "use strict";
  90. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  91. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  92. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
  93. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_redux__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/es/index.js");
  94. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__videoList_css__ = __webpack_require__(/*! ./videoList.css */ "./src/views/videoList/videoList.css");
  95. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__videoList_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__videoList_css__);
  96. var _jsxFileName = 'D:\\react\\nbjk-h5\\src\\views\\videoList\\videoList.js';
  97. 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; }; }();
  98. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  99. 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; }
  100. 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; }
  101. var mapStateToProps = function mapStateToProps(state) {
  102. return {};
  103. };
  104. var mapDispatchToProps = function mapDispatchToProps(dispatch) {
  105. return {};
  106. };
  107. var VideoListViews = function (_Component) {
  108. _inherits(VideoListViews, _Component);
  109. /*
  110. * 构造函数
  111. *
  112. * */
  113. function VideoListViews() {
  114. _classCallCheck(this, VideoListViews);
  115. var _this = _possibleConstructorReturn(this, (VideoListViews.__proto__ || Object.getPrototypeOf(VideoListViews)).call(this));
  116. _this.state = {
  117. list: [{
  118. image: __webpack_require__(/*! ./../../assets/images/kemu1.png */ "./src/assets/images/kemu1.png"),
  119. title: "科目一"
  120. }, {
  121. image: __webpack_require__(/*! ./../../assets/images/kemu2.png */ "./src/assets/images/kemu2.png"),
  122. title: "科目二"
  123. }, {
  124. image: __webpack_require__(/*! ./../../assets/images/kemu3.png */ "./src/assets/images/kemu3.png"),
  125. title: "科目三"
  126. }, {
  127. image: __webpack_require__(/*! ./../../assets/images/kemu4.png */ "./src/assets/images/kemu4.png"),
  128. title: "科目四"
  129. }]
  130. };
  131. return _this;
  132. }
  133. /*
  134. *
  135. * 生命周期一
  136. *
  137. * */
  138. _createClass(VideoListViews, [{
  139. key: 'componentWillMount',
  140. value: function componentWillMount() {}
  141. /*
  142. *
  143. * 如果是ios设备默认第一次不是播放状态,android没事
  144. *
  145. * */
  146. /*
  147. *
  148. * 请求数据
  149. *
  150. *
  151. * */
  152. /*
  153. *
  154. * 生命周期二
  155. *
  156. * */
  157. }, {
  158. key: 'componentDidMount',
  159. value: function componentDidMount() {}
  160. /*
  161. * 渲染
  162. * */
  163. }, {
  164. key: 'render',
  165. value: function render() {
  166. var _this2 = this;
  167. return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  168. 'div',
  169. { className: 'container', __source: {
  170. fileName: _jsxFileName,
  171. lineNumber: 78
  172. },
  173. __self: this
  174. },
  175. __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  176. 'div',
  177. { className: 'list', __source: {
  178. fileName: _jsxFileName,
  179. lineNumber: 79
  180. },
  181. __self: this
  182. },
  183. this.state.list.map(function (item, index) {
  184. return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  185. 'div',
  186. { className: 'list-item', key: index, __source: {
  187. fileName: _jsxFileName,
  188. lineNumber: 82
  189. },
  190. __self: _this2
  191. },
  192. __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img', { src: item.image, alt: '\u56FE\u7247', __source: {
  193. fileName: _jsxFileName,
  194. lineNumber: 83
  195. },
  196. __self: _this2
  197. }),
  198. __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  199. 'span',
  200. { className: 'list-item-text top54 ', __source: {
  201. fileName: _jsxFileName,
  202. lineNumber: 84
  203. },
  204. __self: _this2
  205. },
  206. item.title
  207. ),
  208. __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
  209. 'span',
  210. { className: 'list-item-text top128 left40', __source: {
  211. fileName: _jsxFileName,
  212. lineNumber: 85
  213. },
  214. __self: _this2
  215. },
  216. '\u300A\u89C6\u9891\u8BB2\u89E3\u300B'
  217. )
  218. );
  219. })
  220. )
  221. );
  222. }
  223. }, {
  224. key: 'componentWillUnmount',
  225. value: function componentWillUnmount() {}
  226. }]);
  227. return VideoListViews;
  228. }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
  229. /* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_react_redux__["b" /* connect */])(mapStateToProps, mapDispatchToProps)(VideoListViews));
  230. /***/ })
  231. });
  232. //# sourceMappingURL=1.chunk.js.map