text: module.exports = function(window, document) {const App = function(options) {window.appOptions = options};var navigator = window.navigator;var HTMLElement = window.HTMLElement;var localStorage = window.localStorage;var sessionStorage = window.sessionStorage;var location = window.location;window["createApp"] =
  /******/ (function(modules) { // webpackBootstrap
  /******/ 	// install a JSONP callback for chunk loading
  /******/ 	function webpackJsonpCallback(data) {
  /******/ 		var chunkIds = data[0];
  /******/ 		var moreModules = data[1];
  /******/ 		var executeModules = data[2];
  /******/
  /******/ 		// add "moreModules" to the modules object,
  /******/ 		// then flag all "chunkIds" as loaded and fire callback
  /******/ 		var moduleId, chunkId, i = 0, resolves = [];
  /******/ 		for(;i < chunkIds.length; i++) {
  /******/ 			chunkId = chunkIds[i];
  /******/ 			if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
  /******/ 				resolves.push(installedChunks[chunkId][0]);
  /******/ 			}
  /******/ 			installedChunks[chunkId] = 0;
  /******/ 		}
  /******/ 		for(moduleId in moreModules) {
  /******/ 			if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
  /******/ 				modules[moduleId] = moreModules[moduleId];
  /******/ 			}
  /******/ 		}
  /******/ 		if(parentJsonpFunction) parentJsonpFunction(data);
  /******/
  /******/ 		while(resolves.length) {
  /******/ 			resolves.shift()();
  /******/ 		}
  /******/
  /******/ 		// add entry modules from loaded chunk to deferred list
  /******/ 		deferredModules.push.apply(deferredModules, executeModules || []);
  /******/
  /******/ 		// run deferred modules when all chunks ready
  /******/ 		return checkDeferredModules();
  /******/ 	};
  /******/ 	function checkDeferredModules() {
  /******/ 		var result;
  /******/ 		for(var i = 0; i < deferredModules.length; i++) {
  /******/ 			var deferredModule = deferredModules[i];
  /******/ 			var fulfilled = true;
  /******/ 			for(var j = 1; j < deferredModule.length; j++) {
  /******/ 				var depId = deferredModule[j];
  /******/ 				if(installedChunks[depId] !== 0) fulfilled = false;
  /******/ 			}
  /******/ 			if(fulfilled) {
  /******/ 				deferredModules.splice(i--, 1);
  /******/ 				result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
  /******/ 			}
  /******/ 		}
  /******/
  /******/ 		return result;
  /******/ 	}
  /******/
  /******/ 	// The module cache
  /******/ 	var installedModules = {};
  /******/
  /******/ 	// object to store loaded and loading chunks
  /******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
  /******/ 	// Promise = chunk loading, 0 = chunk loaded
  /******/ 	var installedChunks = {
  /******/ 		4: 0
  /******/ 	};
  /******/
  /******/ 	var deferredModules = [];
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/
  /******/ 		// Check if module is in cache
  /******/ 		if(installedModules[moduleId]) {
  /******/ 			return installedModules[moduleId].exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = installedModules[moduleId] = {
  /******/ 			i: moduleId,
  /******/ 			l: false,
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  /******/
  /******/ 		// Flag the module as loaded
  /******/ 		module.l = true;
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /******/
  /******/ 	// expose the modules object (__webpack_modules__)
  /******/ 	__webpack_require__.m = modules;
  /******/
  /******/ 	// expose the module cache
  /******/ 	__webpack_require__.c = installedModules;
  /******/
  /******/ 	// define getter function for harmony exports
  /******/ 	__webpack_require__.d = function(exports, name, getter) {
  /******/ 		if(!__webpack_require__.o(exports, name)) {
  /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
  /******/ 		}
  /******/ 	};
  /******/
  /******/ 	// define __esModule on exports
  /******/ 	__webpack_require__.r = function(exports) {
  /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  /******/ 		}
  /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
  /******/ 	};
  /******/
  /******/ 	// create a fake namespace object
  /******/ 	// mode & 1: value is a module id, require it
  /******/ 	// mode & 2: merge all properties of value into the ns
  /******/ 	// mode & 4: return value when already ns object
  /******/ 	// mode & 8|1: behave like require
  /******/ 	__webpack_require__.t = function(value, mode) {
  /******/ 		if(mode & 1) value = __webpack_require__(value);
  /******/ 		if(mode & 8) return value;
  /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  /******/ 		var ns = Object.create(null);
  /******/ 		__webpack_require__.r(ns);
  /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  /******/ 		return ns;
  /******/ 	};
  /******/
  /******/ 	// getDefaultExport function for compatibility with non-harmony modules
  /******/ 	__webpack_require__.n = function(module) {
  /******/ 		var getter = module && module.__esModule ?
  /******/ 			function getDefault() { return module['default']; } :
  /******/ 			function getModuleExports() { return module; };
  /******/ 		__webpack_require__.d(getter, 'a', getter);
  /******/ 		return getter;
  /******/ 	};
  /******/
  /******/ 	// Object.prototype.hasOwnProperty.call
  /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  /******/
  /******/ 	// __webpack_public_path__
  /******/ 	__webpack_require__.p = "";
  /******/
  /******/ 	var jsonpArray = window["webpackJsonpcreateApp"] = window["webpackJsonpcreateApp"] || [];
  /******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
  /******/ 	jsonpArray.push = webpackJsonpCallback;
  /******/ 	jsonpArray = jsonpArray.slice();
  /******/ 	for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
  /******/ 	var parentJsonpFunction = oldJsonpFunction;
  /******/
  /******/
  /******/ 	// add entry module to deferred list
  /******/ 	deferredModules.push([32,0,8,1,2]);
  /******/ 	// run deferred modules when ready
  /******/ 	return checkDeferredModules();
  /******/ })
  /************************************************************************/
  /******/ ({
  
  /***/ 24:
  /***/ (function(module, exports, __webpack_require__) {
  
  // extracted by mini-css-extract-plugin
  
  /***/ }),
  
  /***/ 25:
  /***/ (function(module, exports, __webpack_require__) {
  
  // extracted by mini-css-extract-plugin
  
  /***/ }),
  
  /***/ 26:
  /***/ (function(module, exports, __webpack_require__) {
  
  // extracted by mini-css-extract-plugin
  
  /***/ }),
  
  /***/ 32:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  
  // EXTERNAL MODULE: ./node_modules/react/index.js
  var react = __webpack_require__(0);
  var react_default = /*#__PURE__*/__webpack_require__.n(react);
  
  // EXTERNAL MODULE: ./node_modules/react-dom/index.js
  var react_dom = __webpack_require__(6);
  var react_dom_default = /*#__PURE__*/__webpack_require__.n(react_dom);
  
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
  var classCallCheck = __webpack_require__(1);
  var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck);
  
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createClass.js
  var createClass = __webpack_require__(2);
  var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass);
  
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
  var possibleConstructorReturn = __webpack_require__(3);
  var possibleConstructorReturn_default = /*#__PURE__*/__webpack_require__.n(possibleConstructorReturn);
  
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/getPrototypeOf.js
  var getPrototypeOf = __webpack_require__(4);
  var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf);
  
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js
  var inherits = __webpack_require__(5);
  var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits);
  
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
  var slicedToArray = __webpack_require__(10);
  var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
  
  // EXTERNAL MODULE: ./src/components/navigate/index.scss
  var components_navigate = __webpack_require__(24);
  
  // CONCATENATED MODULE: ./src/components/navigate/index.js
  
  
  
  
  function navigate_navigate() {
    var _useState = Object(react["useState"])(0),
        _useState2 = slicedToArray_default()(_useState, 2),
        count = _useState2[0],
        setCount = _useState2[1];
  
    var items = [{}, {}, {}, {}, {}, {}, {}, {}];
    return react_default.a.createElement("div", {
      "class": 'navigate'
    }, items.map(function (val, i) {
      return react_default.a.createElement("div", {
        "class": 'item',
        key: i,
        onClick: handleGoto
      }, react_default.a.createElement("div", {
        "class": 'info'
      }));
    }));
  }
  
  function handleGoto() {
    if (true) {
      wx.navigateTo({
        url: '/pages/goodsInfo/index'
      });
    } else {}
  }
  
  /* harmony default export */ var src_components_navigate = (navigate_navigate);
  // EXTERNAL MODULE: ./src/components/banner/index.scss
  var banner = __webpack_require__(25);
  
  // CONCATENATED MODULE: ./src/components/banner/index.js
  
  
  
  function banner_banner(props) {
    var items = ['http://img.59iwh.com/rc/060ff530b1dc70909b219856a5325b77.jpg?t=20160914'];
    return react_default.a.createElement("div", {
      "class": 'banner'
    }, "undefined" != typeof wx && wx.getSystemInfoSync ? react_default.a.createElement("wx-swiper", null, react_default.a.createElement("wx-swiper-item", null, "\u8F6E\u64AD"), react_default.a.createElement("wx-swiper-item", null, "\u8F6E\u64AD")) //<wx-switch></wx-switch>
    : items.map(function (val, i) {
      return react_default.a.createElement("div", {
        "class": 'item',
        key: i
      }, react_default.a.createElement("img", {
        src: val,
        "class": 'info'
      }));
    }));
  }
  
  /* harmony default export */ var components_banner = (banner_banner);
  // EXTERNAL MODULE: ./src/components/broadcast/index.scss
  var broadcast = __webpack_require__(26);
  
  // CONCATENATED MODULE: ./src/components/broadcast/index.js
  
  
  
  
  function broadcast_broadcast() {
    var _useState = Object(react["useState"])(0),
        _useState2 = slicedToArray_default()(_useState, 2),
        count = _useState2[0],
        setCount = _useState2[1];
  
    var items = [{
      title: '这是个公告'
    }];
    return react_default.a.createElement("div", {
      "class": 'broadcast'
    }, items.map(function (val) {
      return react_default.a.createElement("div", {
        "class": 'item',
        key: val
      }, react_default.a.createElement("div", {
        "class": 'info'
      }, val.title));
    }));
  }
  
  /* harmony default export */ var components_broadcast = (broadcast_broadcast);
  // EXTERNAL MODULE: ./src/components/goods/index.js
  var goods = __webpack_require__(11);
  
  // EXTERNAL MODULE: ./src/components/search/index.js
  var search = __webpack_require__(12);
  
  // EXTERNAL MODULE: ./src/utils/indexData.js
  var indexData = __webpack_require__(8);
  
  // CONCATENATED MODULE: ./src/pages/home/home.js
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  var home_App =
  /*#__PURE__*/
  function (_React$Component) {
    inherits_default()(App, _React$Component);
  
    function App() {
      classCallCheck_default()(this, App);
  
      return possibleConstructorReturn_default()(this, getPrototypeOf_default()(App).apply(this, arguments));
    }
  
    createClass_default()(App, [{
      key: "render",
      value: function render() {
        return react_default.a.createElement("div", null, react_default.a.createElement(search["a" /* default */], null), react_default.a.createElement(components_banner, null), react_default.a.createElement(src_components_navigate, null), react_default.a.createElement(components_broadcast, null), react_default.a.createElement(goods["a" /* default */], {
          goodslist: indexData["a" /* indexData */]
        }));
      }
    }]);
  
    return App;
  }(react_default.a.Component);
  
  /* harmony default export */ var home = (home_App);
  // CONCATENATED MODULE: ./src/pages/home/home.mp.js
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createApp; });
  
  
  
  function createApp() {
    var container = document.createElement('div');
    container.id = 'app';
    document.body.appendChild(container);
    react_dom_default.a.render(react_default.a.createElement(home, null), container);
  }
  "undefined" != typeof wx && wx.getSystemInfoSync || createApp();
  
  /***/ })
  
  /******/ })["default"];}