{"version":3,"sources":["newslistbefore.js"],"sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 21);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */\n/***/ (function(module, exports) {\n\njQuery.noConflict();\r\n; (function ($) {\r\n var StockHK = {\r\n init: function () {\r\n StockHK.videoPlay();\r\n },\r\n videoPlay: function () {\r\n if ($(\".roll\").length > 0) {\r\n $(\".rollimglist li\").each(function () {\r\n $(this).addClass(\"rollimg\");\r\n var thisindex = $(this).index();\r\n $(this).attr(\"nowpo\", thisindex);\r\n if (thisindex > 2) {\r\n $(this).addClass(\"ldsn\");\r\n }\r\n else {\r\n $(this).addClass(\"l\" + (thisindex + 1));\r\n }\r\n });\r\n $(\".rollimg:not(:eq(1))\").css(\"opacity\", \"0.2\");\r\n function rollimgto(i) {\r\n $(\".rollimgtxt\").remove();\r\n $(\".rollimglist a img\").unwrap(); // 删除a标签\r\n var rollimgpo = [{ \"left\": 10, \"top\": 19, \"zindex\": 9, \"width\": 164, \"height\": 92, \"opacity\": 0.2 }, { \"left\": 45, \"top\": 12, \"zindex\": 10, \"width\": 191, \"height\": 107, \"opacity\": 1 }, { \"left\": 106, \"top\": 19, \"zindex\": 9, \"width\": 164, \"height\": 92, \"opacity\": 0.2 }];\r\n var rollimglenght = $(\".rollimg\").length;\r\n $(\".rollimg\").each(function () {\r\n var qindex = parseInt($(this).attr(\"nowpo\")); //目前位置\r\n var toindex = (qindex + i + rollimglenght) % rollimglenght; //目标位置\r\n var thisimg = $(this).children(\"img\"); //下面的图片\r\n $(this).attr(\"nowpo\", toindex);\r\n if (toindex > 2) {\r\n $(this).css(\"display\", \"none\");\r\n }\r\n else {\r\n $(this).css(\"display\", \"block\");\r\n $(this).animate({\r\n left: rollimgpo[toindex].left,\r\n top: rollimgpo[toindex].top,\r\n opacity: rollimgpo[toindex].opacity\r\n }, 300, function () {\r\n $(this).css(\"z-index\", rollimgpo[toindex].zindex);\r\n if (toindex == 1) {\r\n thisimg.after('
';\r\n _html += '' + item.title + '';\r\n _html += '
';\r\n _html += ''+_des+'
';\r\n _html += ''+convertToNewsListDate(item.showTime)+'
';\r\n _html += '