123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- webpackJsonp([1],{
- /***/ "./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":
- /*!**************************************************************************************************************************************************************************!*\
- !*** ./node_modules/css-loader?{"importLoaders":1}!./node_modules/postcss-loader/lib?{"ident":"postcss","plugins":[null,null,null]}!./src/views/videoList/videoList.css ***!
- \**************************************************************************************************************************************************************************/
- /*! dynamic exports provided */
- /*! all exports used */
- /***/ (function(module, exports, __webpack_require__) {
- exports = module.exports = __webpack_require__(/*! ../../../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(undefined);
- // imports
- // module
- exports.push([module.i, ".container{\r\n width: 100vw;\r\n\r\n}", ""]);
- // exports
- /***/ }),
- /***/ "./src/assets/images/kemu1.png":
- /*!*************************************!*\
- !*** ./src/assets/images/kemu1.png ***!
- \*************************************/
- /*! dynamic exports provided */
- /*! all exports used */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "static/media/kemu1.0a853c7a.png";
- /***/ }),
- /***/ "./src/assets/images/kemu2.png":
- /*!*************************************!*\
- !*** ./src/assets/images/kemu2.png ***!
- \*************************************/
- /*! dynamic exports provided */
- /*! all exports used */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "static/media/kemu2.44dd75b0.png";
- /***/ }),
- /***/ "./src/assets/images/kemu3.png":
- /*!*************************************!*\
- !*** ./src/assets/images/kemu3.png ***!
- \*************************************/
- /*! dynamic exports provided */
- /*! all exports used */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "static/media/kemu3.c1afdae7.png";
- /***/ }),
- /***/ "./src/assets/images/kemu4.png":
- /*!*************************************!*\
- !*** ./src/assets/images/kemu4.png ***!
- \*************************************/
- /*! dynamic exports provided */
- /*! all exports used */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "static/media/kemu4.096fc2de.png";
- /***/ }),
- /***/ "./src/views/videoList/videoList.css":
- /*!*******************************************!*\
- !*** ./src/views/videoList/videoList.css ***!
- \*******************************************/
- /*! dynamic exports provided */
- /***/ (function(module, exports, __webpack_require__) {
- // style-loader: Adds some css to the DOM by adding a <style> tag
- // load the styles
- 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");
- if(typeof content === 'string') content = [[module.i, content, '']];
- // Prepare cssTransformation
- var transform;
- var options = {"hmr":true}
- options.transform = transform
- // add the styles to the DOM
- var update = __webpack_require__(/*! ../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
- if(content.locals) module.exports = content.locals;
- // Hot Module Replacement
- if(true) {
- // When the styles change, update the <style> tags
- if(!content.locals) {
- 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() {
- 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");
- if(typeof newContent === 'string') newContent = [[module.i, newContent, '']];
- update(newContent);
- });
- }
- // When the module is disposed, remove the <style> tags
- module.hot.dispose(function() { update(); });
- }
- /***/ }),
- /***/ "./src/views/videoList/videoList.js":
- /*!******************************************!*\
- !*** ./src/views/videoList/videoList.js ***!
- \******************************************/
- /*! exports provided: default */
- /*! all exports used */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_redux__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/es/index.js");
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__videoList_css__ = __webpack_require__(/*! ./videoList.css */ "./src/views/videoList/videoList.css");
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__videoList_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__videoList_css__);
- var _jsxFileName = 'D:\\react\\nbjk-h5\\src\\views\\videoList\\videoList.js';
- 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; }; }();
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- 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; }
- 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; }
- var mapStateToProps = function mapStateToProps(state) {
- return {};
- };
- var mapDispatchToProps = function mapDispatchToProps(dispatch) {
- return {};
- };
- var VideoListViews = function (_Component) {
- _inherits(VideoListViews, _Component);
- /*
- * 构造函数
- *
- * */
- function VideoListViews() {
- _classCallCheck(this, VideoListViews);
- var _this = _possibleConstructorReturn(this, (VideoListViews.__proto__ || Object.getPrototypeOf(VideoListViews)).call(this));
- _this.state = {
- list: [{
- image: __webpack_require__(/*! ./../../assets/images/kemu1.png */ "./src/assets/images/kemu1.png"),
- title: "科目一"
- }, {
- image: __webpack_require__(/*! ./../../assets/images/kemu2.png */ "./src/assets/images/kemu2.png"),
- title: "科目二"
- }, {
- image: __webpack_require__(/*! ./../../assets/images/kemu3.png */ "./src/assets/images/kemu3.png"),
- title: "科目三"
- }, {
- image: __webpack_require__(/*! ./../../assets/images/kemu4.png */ "./src/assets/images/kemu4.png"),
- title: "科目四"
- }]
- };
- return _this;
- }
- /*
- *
- * 生命周期一
- *
- * */
- _createClass(VideoListViews, [{
- key: 'componentWillMount',
- value: function componentWillMount() {}
- /*
- *
- * 如果是ios设备默认第一次不是播放状态,android没事
- *
- * */
- /*
- *
- * 请求数据
- *
- *
- * */
- /*
- *
- * 生命周期二
- *
- * */
- }, {
- key: 'componentDidMount',
- value: function componentDidMount() {}
- /*
- * 渲染
- * */
- }, {
- key: 'render',
- value: function render() {
- var _this2 = this;
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
- 'div',
- { className: 'container', __source: {
- fileName: _jsxFileName,
- lineNumber: 78
- },
- __self: this
- },
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
- 'div',
- { className: 'list', __source: {
- fileName: _jsxFileName,
- lineNumber: 79
- },
- __self: this
- },
- this.state.list.map(function (item, index) {
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
- 'div',
- { className: 'list-item', key: index, __source: {
- fileName: _jsxFileName,
- lineNumber: 82
- },
- __self: _this2
- },
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img', { src: item.image, alt: '\u56FE\u7247', __source: {
- fileName: _jsxFileName,
- lineNumber: 83
- },
- __self: _this2
- }),
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
- 'span',
- { className: 'list-item-text top54 ', __source: {
- fileName: _jsxFileName,
- lineNumber: 84
- },
- __self: _this2
- },
- item.title
- ),
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
- 'span',
- { className: 'list-item-text top128 left40', __source: {
- fileName: _jsxFileName,
- lineNumber: 85
- },
- __self: _this2
- },
- '\u300A\u89C6\u9891\u8BB2\u89E3\u300B'
- )
- );
- })
- )
- );
- }
- }, {
- key: 'componentWillUnmount',
- value: function componentWillUnmount() {}
- }]);
- return VideoListViews;
- }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
- /* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_react_redux__["b" /* connect */])(mapStateToProps, mapDispatchToProps)(VideoListViews));
- /***/ })
- });
- //# sourceMappingURL=1.chunk.js.map
|