|
@@ -0,0 +1,285 @@
|
|
|
+webpackJsonp([0],{
|
|
|
+
|
|
|
+/***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoKindList/videoKindList.css":
|
|
|
+/*!**********************************************************************************************************************************************************************************!*\
|
|
|
+ !*** ./node_modules/css-loader?{"importLoaders":1}!./node_modules/postcss-loader/lib?{"ident":"postcss","plugins":[null,null,null]}!./src/views/videoKindList/videoKindList.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}\r\n.list{\r\n width: 92vw;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n margin: 0 auto;\r\n position: relative;\r\n padding-top: 8.8vw;\r\n}\r\n.list-item{\r\n width: 92vw;\r\n height: 35.467vw;\r\n margin-bottom: 5.333vw;\r\n position: relative;\r\n \r\n}\r\n.list-item-text{\r\n color: white;\r\n position: absolute;\r\n font-size: 7.2vw;\r\n left: 8vw;\r\n text-align: left;\r\n\r\n\r\n}\r\n.left40{\r\n left:5.333vw\r\n}\r\n.top128{\r\n top: 17.067vw;\r\n}\r\n.top54{\r\n top: 7.2vw;\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/videoKindList/videoKindList.css":
|
|
|
+/*!***************************************************!*\
|
|
|
+ !*** ./src/views/videoKindList/videoKindList.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!./videoKindList.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoKindList/videoKindList.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!./videoKindList.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoKindList/videoKindList.css", function() {
|
|
|
+ var newContent = __webpack_require__(/*! !../../../node_modules/css-loader??ref--1-oneOf-2-1!../../../node_modules/postcss-loader/lib??postcss!./videoKindList.css */ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null,null]}!./src/views/videoKindList/videoKindList.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/videoKindList/videoKindList.js":
|
|
|
+/*!**************************************************!*\
|
|
|
+ !*** ./src/views/videoKindList/videoKindList.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__videoKindList_css__ = __webpack_require__(/*! ./videoKindList.css */ "./src/views/videoKindList/videoKindList.css");
|
|
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__videoKindList_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__videoKindList_css__);
|
|
|
+var _jsxFileName = 'D:\\react\\nbjk-h5\\src\\views\\videoKindList\\videoKindList.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 VideoKindListViews = function (_Component) {
|
|
|
+ _inherits(VideoKindListViews, _Component);
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 构造函数
|
|
|
+ *
|
|
|
+ * */
|
|
|
+ function VideoKindListViews() {
|
|
|
+ _classCallCheck(this, VideoKindListViews);
|
|
|
+
|
|
|
+ var _this = _possibleConstructorReturn(this, (VideoKindListViews.__proto__ || Object.getPrototypeOf(VideoKindListViews)).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(VideoKindListViews, [{
|
|
|
+ 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 VideoKindListViews;
|
|
|
+}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
|
|
+
|
|
|
+/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_react_redux__["b" /* connect */])(mapStateToProps, mapDispatchToProps)(VideoKindListViews));
|
|
|
+
|
|
|
+/***/ })
|
|
|
+
|
|
|
+});
|
|
|
+//# sourceMappingURL=0.chunk.js.map
|