Commit 7daa97d6 authored by IvyXia123's avatar IvyXia123

Merge branch 'pre' of http://git.singsingenglish.com/new-sing/wechat into pre

# Conflicts:
#	dist/index.html
#	dist/static/css/app.f8391ee1c16399fa4b9643e1b4e911d9.css
#	dist/static/js/1.d72fc5f437944f821059.js
#	dist/static/js/10.1c44a36e05524ee6a852.js
#	dist/static/js/11.55fd365c64fe555055eb.js
#	dist/static/js/12.c6e33a5ba0a1520d6758.js
#	dist/static/js/14.7e1f6ecd8342458ab429.js
#	dist/static/js/15.d206c28dee245623f7f7.js
#	dist/static/js/16.fbaedcbb21fbf724edef.js
#	dist/static/js/17.862530af8dbcf0a3c3f1.js
#	dist/static/js/18.68838b129cf486c1e9d9.js
#	dist/static/js/19.2318c04ee682994e7a70.js
#	dist/static/js/2.f4238a43f477c8f997f7.js
#	dist/static/js/20.bd513aa943ad6f278331.js
#	dist/static/js/21.d088d99e235f1837cb28.js
#	dist/static/js/23.3480ef1f360dc2f7941f.js
#	dist/static/js/26.1f744303f79d0549c35b.js
#	dist/static/js/27.a178f9849fed9e7f8e1c.js
#	dist/static/js/28.48b6bc9dba7bb171010d.js
#	dist/static/js/29.ccbcaaec2bf7df332b44.js
#	dist/static/js/3.0bdaaf6adb2b2b47c1a5.js
#	dist/static/js/30.dba3f74aedda2f6dd28c.js
#	dist/static/js/31.3b66afcace21f6c968b8.js
#	dist/static/js/32.16a9567f21831da43115.js
#	dist/static/js/33.3c091921da3d45c6048b.js
#	dist/static/js/34.d33f9404dc20881ef3f2.js
#	dist/static/js/35.f86979710a6f6cb2b435.js
#	dist/static/js/36.258bf2fe98b788b802b1.js
#	dist/static/js/37.72e06b2dd8fd2c92330b.js
#	dist/static/js/4.f03d8fe558c554582ec8.js
#	dist/static/js/40.20de8eeb6f7076866a11.js
#	dist/static/js/42.c07ce352a3e46a2967d2.js
#	dist/static/js/43.ee026bd8a841e657172b.js
#	dist/static/js/44.49625bd6a6ca8ec6e04c.js
#	dist/static/js/45.c4965532ac5d1958db1b.js
#	dist/static/js/46.db67d7da719531b56065.js
#	dist/static/js/47.b59bdec7b2facf009025.js
#	dist/static/js/48.9daa2e65ded04e44cf39.js
#	dist/static/js/49.a35a6c6f03fb3bdcfcca.js
#	dist/static/js/5.e710e8324d5b207be331.js
#	dist/static/js/50.2f86e015554ad09a36f7.js
#	dist/static/js/51.52ed313a1b5728839249.js
#	dist/static/js/53.a16b5479d7d7b90f3ff5.js
#	dist/static/js/54.73e8e061f944e012131d.js
#	dist/static/js/56.6836e2b8d913a5daa32b.js
#	dist/static/js/58.ce918692287232f2e076.js
#	dist/static/js/59.8495f768dcf2bb0a1607.js
#	dist/static/js/6.57410b457fe9f8549be1.js
#	dist/static/js/61.2095d18dc6c1f518a8c3.js
#	dist/static/js/63.369d180f6feb74e46ff6.js
#	dist/static/js/64.642dec71eb8f05963912.js
#	dist/static/js/7.0530d20d7374ed5ef1ef.js
#	dist/static/js/8.d26c40ae848ee02c92ba.js
#	dist/static/js/9.bee96636124c04562c9e.js
#	dist/static/js/vendor-async.c88056a05723e8c3ec8b.js
#	src/components/buy/index.vue
#	src/components/buy/passShop.vue
#	src/router/index.js
parents 5196dbbf 388d4fc5
......@@ -17,6 +17,7 @@ module.exports = {
},
output: {
path: config.build.assetsRoot,
crossOriginLoading: "anonymous",
filename: '[name].js',
publicPath: process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'testing'
? config.build.assetsPublicPath
......
CACHE MANIFEST
# 2010-06-18:v2
CACHE:
NETWORK:
https://cdn.singsingenglish.com/
FALLBACK:
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<ckplayer>
<!--基本配置-->
<config>
<fullInteractive>true</fullInteractive><!--是否开启交互功能-->
<delay>30</delay><!--延迟加载视频,单位:毫秒-->
<timeFrequency>100</timeFrequency><!--计算当前播放时间和加载量的时间频率,单位:毫秒-->
<autoLoad>true</autoLoad><!--视频是否自动加载-->
<loadNext>0</loadNext><!--多段视频预加载的段数,设置成0则全部加载-->
<definition>true</definition><!--是否使用清晰度组件-->
<smartRemove>true</smartRemove><!--是否使用智能清理,使用该功能则在多段时当前播放段之前的段都会被清除出内存,减少对内存的使用-->
<bufferTime>200</bufferTime><!--缓存区的长度,单位:毫秒,不要小于100-->
<click>true</click><!--是否支持屏幕单击暂停-->
<doubleClick>true</doubleClick><!--是否支持屏幕双击全屏-->
<doubleClickInterval>200</doubleClickInterval><!--判断双击的标准,即二次单击间隔的时间差之内判断为是双击,单位:毫秒-->
<keyDown>
<space>true</space><!--是否启用空格键切换播放/暂停-->
<left>true</left>
<right>true</right>
<up>true</up>
<down>true</down>
</keyDown>
<timeJump>10</timeJump><!--快进快退时的秒数-->
<volumeJump>0.1</volumeJump><!--音量调整的数量,大于0小于1的小数-->
<timeScheduleAdjust>1</timeScheduleAdjust><!--是否可调节调节栏,0不启用,1是启用,2是只能前进(向右拖动),3是只能后退,4是只能前进但能回到第一次拖动时的位置,5是看过的地方可以随意拖动-->
<previewDefaultLoad>true</previewDefaultLoad><!--预览图片是否默认加载,优点是鼠标第一次经过进度条即可显示预览图片-->
<promptSpotTime>false</promptSpotTime><!--提示点文字是否在前面加上对应时间-->
<buttonMode>
<player>false</player><!--鼠标在播放器上是否显示可点击形态-->
<controlBar>false</controlBar><!--鼠标在控制栏上是否显示可点击形态-->
<timeSchedule>true</timeSchedule><!--鼠标在时间进度条上是否显示可点击形态-->
<volumeSchedule>true</volumeSchedule><!--鼠标在音量调节栏上是否显示可点击形态-->
</buttonMode>
<liveAndVod><!--直播+点播=时移功能-->
<open>false</open><!--是否开启,开启该功能需要设置flashvars里live=true-->
<vodTime>2</vodTime><!--可以回看的整点数-->
<start>start</start><!--回看请求参数-->
</liveAndVod>
<errorNum>1</errorNum><!--错误重连次数-->
<playCorrect>false</playCorrect><!--错误修正-->
<timeCorrect>true</timeCorrect><!--http视频播放时间错误纠正,有些因为视频格式的问题导致视频没有实际播放结束视频文件就返回了stop命令-->
<m3u8Definition><!--m3u8自动清晰度时按关键字来进行判断-->
<!--<tags>110k</tags>
<tags>200k</tags>
<tags>400k</tags>
<tags>600k</tags>
<tags>800k</tags>
<tags>1000k</tags>-->
</m3u8Definition>
<m3u8MaxBufferLength>30</m3u8MaxBufferLength><!--m3u8每次缓冲时间,单位:秒数-->
<split>,</split><!--当视频地址采用字符形式并且需要使用逗号或其它符号来切割数组里定义-->
<timeStamp></timeStamp><!--一个地址,用来请求当前时间戳,用于播放器内部时间效准-->
<addCallback>adPlay,adPause,playOrPause,videoPlay,videoPause,videoMute,videoEscMute,videoClear,changeVolume,fastBack,fastNext,videoSeek,newVideo,getMetaDate,videoRotation,videoBrightness,videoContrast,videoSaturation,videoHue,videoZoom,videoProportion,videoError,addListener,removeListener,addElement,getElement,deleteElement,animate,animateResume,animatePause,deleteAnimate,changeConfig,getConfig,openUrl,fullScreen,quitFullScreen,switchFull,screenshot,custom,changeControlBarShow,getCurrentSrc</addCallback>
</config>
<menu>
<ckkey></ckkey>
<name></name>
<link></link>
<domain></domain>
<version></version>
<more></more>
</menu>
<languagePath></languagePath>
<stylePath></stylePath>
<style>
<loading><!--显示的loading元素-->
<file>data:image/swf;base64,Q1dTCrUjAAB4nKWZBzRc/bf3BwmJJEgQoo0SEd3odRA1iU70PjqjzYg6SESITiJatKiJMLroRIsuehC999FHveT/PBn3/p/33vu+71rG+pzf2fu7z3ef39nrzBorAFACgF0FAJBjAaRvkwMAAB/iK1cBAFFnMwthNWlZWjeonT1M+PxIjN4KDncU5uR0dXXlcOXhcHC25AQJCQlxcnFzcnOzn0eww9zt4SZu7PYwBnow7W8FaXMYxNnaEW7tYE97cWxi6uACF6On/0vWDer4R9YexmFi5mBqzgFxgHK6mThygji4OC90zoOEpZzNTeAOzhoODnZgyYsoWlk7E5gVrYqzg4U5DHYub2JHK6XOJ8r5X6Mv5ZtLn3/A3FwgbnYuAXZuIQ0QvzAvjzBIgJVLUJiL61LuvyL/lapoDjcxM4GbYJIv/ng0QH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1wsTC/8SSAv6skpL/SSPlxKzKYVYNMavP/6wSU2LwKQY9LvD1Bd5W+5sIjX8/3G9wcXHOn+27AIZJ8Wvn2wqA92fYYRPlRmD74dDdr7v4Hfl88v0elXmO2H4G+Y+5Lq0BaC8G4lqa5ZWpj1k4tCK4kvRyMkrXG2S7cC+K4eKei/4u9h8UUd6/</file>
<align>center</align><!--水平对齐方式:left,center,right-->
<vAlign>middle</vAlign><!--垂直对齐方式:top,middle,bottom-->
<offsetX>-100</offsetX><!--水平偏移量,单位:像素-->
<offsetY>-40</offsetY><!--垂直偏移量,单位:像素-->
</loading>
<logo>
<file>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAUCAYAAAD4BKGuAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAVTSURBVHja1Fl/aJVVGP4cw/mH5tUWi3I53cA0WbeIzMgaq6lQoVawm0S6glHhIKM/TELICotqCxMSGWQRdFfRLEhc9mMxqA0rbdS2wsV0GkZXuaKUWlHvgeeNh7f3u1du3Ft74eGcnXu+c873vD/Pt0nZbDZyZL2gWZAQTBH8IjggeEjgPZASPIB+g/P7EsGT6J/BfHfjHFIv2Jpjj/+dlDskvCm42Jk7X3C7YJOgw/z2oOBGwdEYRW0RVAjOCZ4ugNggqwU3CTLRBJFyQ+xuwVRY14igB78tE9QKpgmeEHwkGKRnq9AeMesHRWwEsYGUxwSdBZ51ecweE4Lct0DsOVjaZvptA8jfC4JfghWpXIJ2jMY+EDShf1pwh6DvX5x1GtpDE43cNFlfhyFWpQ9xd5FgFo3fRi++C+2nCBNBRgU3O6RsEyyEQv4QLMb4CcE9RlFBLqS1WZ6BZ83A35ofVhuvfE5QJrjWebdgCJOx51qM1QgewbMzsO57MDQrB9DeC8ObHd5Xyb2eiNiQQxmtgkZBr+OuZwV7BIcF1RgbF1wTE2MbEccX48VY9sMzBilhTke/m+b1Q9lefpgruI7OsYhIGzPJu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wyfkYlDkQUyLaWrwZBrbHMaB8Z3PJLaYk8IIVKKPSJdxbv3ecynNzLNr33GKLV1YVW4IyfycXfq0UxP4X5HJdXCqX4Wv0AKqYkkipw4LG6WxMNi+GhAtH+M/K8wVe7wuWvwQYAFT+UsGCXmX3AAAAAElFTkSuQmCC</file>
<align>right</align><!--水平对齐方式:left,center,right-->
<vAlign>top</vAlign><!--垂直对齐方式:top,middle,bottom-->
<offsetX>-100</offsetX><!--水平偏移量,单位:像素-->
<offsetY>10</offsetY><!--垂直偏移量,单位:像素-->
</logo>
<advertisement><!--广告相关的配置-->
<time>5</time><!--广告默认播放时长以及多个广告时每个广告默认播放时间,单位:秒-->
<method>get</method><!--广告监测地址默认请求方式,get/post-->
<videoForce>false</videoForce><!--视频广告是否强制播放结束-->
<videoVolume>0.8</videoVolume><!--视频音量-->
<skipButtonShow>true</skipButtonShow><!--是否显示跳过广告按钮-->
<linkButtonShow>true</linkButtonShow><!--是否显示广告链接按钮,如果选择显示,只有在提供了广告链接地址时才会显示-->
<muteButtonShow>true</muteButtonShow><!--是否显示跳过广告按钮-->
<closeButtonShow>true</closeButtonShow><!--暂停时是否显示关闭广告按钮-->
<closeOtherButtonShow>true</closeOtherButtonShow><!--其它广告是否需要关闭广告按钮-->
<frontSkipButtonDelay>0</frontSkipButtonDelay><!--前置广告跳过广告按钮延时显示的时间,秒-->
<insertSkipButtonDelay>0</insertSkipButtonDelay><!--插入广告跳过广告按钮延时显示的时间,秒-->
<endSkipButtonDelay>0</endSkipButtonDelay><!--后置广告跳过广告按钮延时显示的时间,秒-->
<!--广告拉伸方式,0=原始大小,1=自动缩放,2=只有当广告的宽或高大于播放器宽高时才进行缩放,3=参考播放器宽高,4=宽度参考播放器宽、高度自动,5=高度参考播放器高、宽度自动-->
<frontStretched>1</frontStretched>
<insertStretched>2</insertStretched>
<pauseStretched>2</pauseStretched>
<endStretched>2</endStretched>
</advertisement>
<video><!--视频的默认比例-->
<defaultWidth>4</defaultWidth>
<defaultHeight>3</defaultHeight>
</video>
</style>
<!--做为前端flashvars的补充-->
<flashvars></flashvars>
</ckplayer>
\ No newline at end of file
Copyright (c) 2017 Dailymotion (http://www.dailymotion.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
src/remux/mp4-generator.js and src/demux/exp-golomb.js implementation in this project
are derived from the HLS library for video.js (https://github.com/videojs/videojs-contrib-hls)
That work is also covered by the Apache 2 License, following copyright:
Copyright (c) 2013-2015 Brightcove
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<language>
<adCountdown>[$second]</adCountdown><!--广告播放结束倒计时-->
<skipDelay>[$second]</skipDelay>
<buttonOver>
<play>点击播放</play>
<pause>暂停播放</pause>
<mute>静音</mute>
<escMute>恢复音量</escMute>
<full>全屏</full>
<escFull>退出全屏</escFull>
<previousPage>上一集</previousPage>
<nextPage>下一集</nextPage>
<definition>点击选择清晰度</definition>
</buttonOver>
<volumeSliderOver>
音量:[$volume]%
</volumeSliderOver>
<buffer>[$percentage]%</buffer>
<timeSliderOver><!--鼠标经过进度条显示的时间格式-->
[$timeh]:[$timei]:[$times]
</timeSliderOver>
<liveAndVod>
[$timeh]:[$timei]:[$times]
</liveAndVod>
<live>
直播中 [$liveTimeY]-[$liveTimem]-[$liveTimed] [$liveTimeh]:[$liveTimei]:[$liveTimes]
</live>
<m3u8Definition>
<name>流畅</name>
<name>低清</name>
<name>标清</name>
<name>高清</name>
<name>超清</name>
<name>蓝光</name>
<name>未知</name>
</m3u8Definition>
<error>
<cannotFindUrl>视频地址不存在</cannotFindUrl>
<streamNotFound>加载失败</streamNotFound>
<formatError>视频格式错误</formatError>
</error>
<definition>自动</definition>
</language>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="icon_left" unicode="&#58889;" d="M512 384m-512 0a512 512 0 1 1 1024 0 512 512 0 1 1-1024 0ZM438.46573 384l185.925189-185.925189a41.513514 41.513514 0 0 0-58.727784-58.672433l-215.261405 215.23373a41.513514 41.513514 0 0 0 0 58.727784l215.261405 215.261405a41.513514 41.513514 0 0 0 58.727784-58.700108L438.46573 384z" horiz-adv-x="1024" />
<glyph glyph-name="icon_like" unicode="&#58890;" d="M128.08256 515.136a252.736 252.736 0 0 1 89.344-192.832l349.248-306.816a44.8 44.8 0 0 1 58.048-0.896l361.28 297.6A251.328 251.328 0 0 1 1088.08256 515.072a252.864 252.864 0 0 1-434.112 176.384l-45.888-47.168-45.888 47.168A252.864 252.864 0 0 1 128.08256 515.136zM237.65056 867.968a380.928 380.928 0 0 0 370.432-47.104A380.928 380.928 0 0 0 1216.08256 515.264c0.32-120.768-56.96-234.432-151.424-304l-358.528-295.424a172.8 172.8 0 0 0-224 3.52l-348.48 306.112A380.864 380.864 0 0 0 237.65056 868.032z" horiz-adv-x="1216" />
<glyph glyph-name="icon_like1" unicode="&#58891;" d="M237.65056 867.968a380.928 380.928 0 0 0 370.432-47.104A380.928 380.928 0 0 0 1216.08256 515.264c0.32-120.768-56.96-234.432-151.424-304l-358.528-295.424a172.8 172.8 0 0 0-224 3.52l-348.48 306.112A380.864 380.864 0 0 0 237.65056 868.032z" horiz-adv-x="1216" />
<glyph glyph-name="icon_right" unicode="&#58892;" d="M512 384m512 0a512 512 0 1 1-1024 0 512 512 0 1 1 1024 0ZM585.53427 384l-185.925189 185.925189a41.513514 41.513514 0 0 0 58.727784 58.672433l215.261405-215.23373a41.513514 41.513514 0 0 0 0-58.727784l-215.261405-215.261405a41.513514 41.513514 0 0 0-58.727784 58.700108L585.53427 384z" horiz-adv-x="1024" />
<glyph glyph-name="icon_changge" unicode="&#58893;" d="M785.6 769.23428531a51.42857156 51.42857156 0 0 0 88.52571469 52.38857156l162.17142843-274.28571375A51.42857156 51.42857156 0 0 0 992 469.71428531H100.57142844a51.42857156 51.42857156 0 1 0 0 102.85714313h801.25714312L785.6 769.23428531zM190.81142844 195.42857156000002l116.22857156-196.66285687a51.42857156 51.42857156 0 1 0-88.52571469-52.32l-162.17142843 274.28571375a51.42857156 51.42857156 0 0 0 44.29714312 77.55428625h891.42857156a51.42857156 51.42857156 0 0 0 0-102.85714313H190.81142844z" horiz-adv-x="1097" />
<glyph glyph-name="icon_change" unicode="&#58894;" d="M1040.15157875 436.85052656a370.8631575 370.8631575 0 0 1-190.48421063 285.72631594 35.31789469 35.31789469 0 0 1-49.97052562-19.90736906c-9.24631594-28.09263188 15.6631575-40.16842125 35.166315-52.59789469a298.76210531 298.76210531 0 0 0 101.30526375-108.88421062 300.22736812 300.22736812 0 0 0-7.12421062-296.23578938 300.12631594 300.12631594 0 0 0-254.55157876-143.3431575H537.16210531c-30.51789469 0-46.28210531-38.14736812-24.75789469-59.77263187l96.50526282-96.45473719c31.93263187-31.93263187 81.2968425 17.73473719 49.41473718 49.51579031l-36.68210531 36.68210531h52.85052656c214.83789469 0.10105219 387.38526281 191.74736813 365.70947344 405.22105219-1.2631575 12.27789469 1.2631575-12.32842125 0 0z m-365.81052656 260.21052563c21.92842125 0 48.20210531-8.03368406 62.90526375 13.54105312a35.36842125 35.36842125 0 0 1-25.41473719 54.56842125c-22.7368425 2.32421063-53.96210531 8.08421063-67.75578937-15.51157875a35.36842125 35.36842125 0 0 1 30.26526281-52.59789562zM369.31368406 103.22526281c-155.77263188 15.91578938-274.66105219 155.26736812-266.88 311.44421063C110.31578938 570.94736812 243.45263187 697.01052656 399.68 697.01052656h137.28c30.51789469 0 46.33263188 38.29894781 24.75789469 59.77263094L465.21263187 853.28842125c-31.83157875 31.83157875-81.34736813-17.68421062-49.41473718-49.51578938l36.68210531-36.68210531H399.62947344c-220.69894781 0-395.16631594-201.70105219-363.99157875-419.87368406a370.10526281 370.10526281 0 0 1 173.4568425-262.18105313 368.08421062 368.08421062 0 0 1 152.89263093-51.23368406c44.96842125-4.44631594 52.29473719 64.82526281 7.22526375 69.4231575-9.9031575 1.01052656 19.2-2.02105219 0 0h0.10105219zM541.4568425 396.7831575h-5.00210531v0.50526375h2.02105218v3.78947344l-2.02105218-0.35368406v0.60631593l3.03157875 0.50526282v-4.54736813h2.02105218v-0.50526375zM502.4 463.17473719a25.2631575 25.2631575 0 0 0-31.32631594 39.6631575l98.88 77.81052656a25.2631575 25.2631575 0 0 0 40.92631594-19.80631594v-317.60842125a25.2631575 25.2631575 0 1 0-50.52631594 0V508.8l-58.00421062-45.62526281z" horiz-adv-x="1077" />
<glyph glyph-name="icon_begin" unicode="&#58895;" d="M512 384m-512 0a512 512 0 1 1 1024 0 512 512 0 1 1-1024 0ZM399.36 609.28a51.2 51.2 0 0 0 51.2-51.2v-348.16a51.2 51.2 0 1 0-102.4 0v348.16a51.2 51.2 0 0 0 51.2 51.2z m225.28 0a51.2 51.2 0 0 0 51.2-51.2v-348.16a51.2 51.2 0 1 0-102.4 0v348.16a51.2 51.2 0 0 0 51.2 51.2z" horiz-adv-x="1024" />
<glyph glyph-name="icon_stop" unicode="&#58896;" d="M512 384m-512 0a512 512 0 1 1 1024 0 512 512 0 1 1-1024 0ZM501.90336 614.05184l232.2432-171.008a81.92 81.92 0 0 0 0-131.93216l-232.2432-171.008a81.92 81.92 0 0 0-130.47808 65.9456v342.016a81.92 81.92 0 0 0 130.47808 65.98656z" horiz-adv-x="1024" />
<glyph glyph-name="icon_list" unicode="&#58897;" d="M170.666667 682.666667m42.666666 0l597.333334 0q42.666667 0 42.666666-42.666667l0 0q0-42.666667-42.666666-42.666667l-597.333334 0q-42.666667 0-42.666666 42.666667l0 0q0 42.666667 42.666666 42.666667ZM170.666667 426.666667m42.666666 0l597.333334 0q42.666667 0 42.666666-42.666667l0 0q0-42.666667-42.666666-42.666667l-597.333334 0q-42.666667 0-42.666666 42.666667l0 0q0 42.666667 42.666666 42.666667ZM170.666667 170.666667m42.666666 0l597.333334 0q42.666667 0 42.666666-42.666667l0 0q0-42.666667-42.666666-42.666667l-597.333334 0q-42.666667 0-42.666666 42.666667l0 0q0 42.666667 42.666666 42.666667Z" horiz-adv-x="1024" />
<glyph glyph-name="icon_change1" unicode="&#58899;" d="M995.17022777 410.50567111a356.32165888 356.32165888 0 0 1-183.01534777 274.52302222 33.93308445 33.93308445 0 0 1-48.01118777-19.12680334c-8.88376889-26.99112334 15.04900779-38.59342222 33.78744889-50.53553778a287.04768 287.04768 0 0 0 97.33309554-104.61487331 288.45548999 288.45548999 0 0 0-6.84487111-284.62042112 288.3584 288.3584 0 0 0-244.57064221-137.72268999h-131.94581333c-29.32129223 0-44.46739001-36.65161443-23.78714112-57.42895446l92.72130332-92.6727589c30.68055666-30.68055666 78.10920334 17.03936 47.47719112 47.57428224l-35.24380445 35.24380445h50.77826446c206.41412779 0.09708999 372.19593443 184.22897778 351.37004999 389.33238443-1.21363001 11.79648 1.21363001-11.84502557 0 0z m-351.46713998 250.00770332c21.06860999 0 46.31210667-7.71868445 60.43875555 13.01011002a33.98163001 33.98163001 0 0 1-24.41822891 52.4288c-21.84533333 2.2330789-51.84625778 7.76723001-65.09909333-14.90337224a33.98163001 33.98163001 0 0 1 29.07856669-50.53553778zM350.63580445 89.96181333000004c-149.66480555 15.29173333-263.89162667 149.17935445-256.41566778 299.2325211C101.79318557 539.34459221 229.70974777 660.46483001 379.81146112 660.46483001h131.89726777c29.32129223 0 44.51593443 36.79724999 23.78714112 57.42895332l-92.72130446 92.72130446c-30.58346667 30.58346667-78.15774777-16.99081443-47.47719112-47.57428224l35.24380445-35.24380445H379.76291555c-212.04536889 0-379.67189333-193.79237888-349.71951445-403.41048889a355.5934811 355.5934811 0 0 1 166.65562112-251.90096554 353.65167445 353.65167445 0 0 1 146.89772999-49.22481778c43.20521443-4.27197667 50.24426667 62.28347221 6.94196224 66.70108444-9.51485667 0.97090333 18.44716999-1.94180779 0 0h0.09709zM516.02924999 372.00933888h-4.80597333v0.48545223h1.94180779v3.64088889l-1.94180779-0.33981667v0.58254222l2.91271111 0.48545223v-4.36906667h1.94180778v-0.48545223z" horiz-adv-x="1024" />
<glyph glyph-name="pengyouquan" unicode="&#58901;" d="M676.864 848.896S611.328 875.52 510.976 875.52 346.112 844.8 346.112 844.8L675.84 512V848.896zM855.04 732.16c-70.656 69.632-137.216 94.208-137.216 94.208l-2.048-466.944 237.568 238.592s-28.672 65.536-98.304 134.144z m111.616-184.32L634.88 219.13599999999997v-2.048h335.872s26.624 65.536 26.624 165.888-30.72 164.864-30.72 164.864zM718.848-61.440000000000055s65.536 28.672 134.144 98.304c68.608 71.68 94.208 138.24 94.208 138.24l-466.944 2.048L718.848-61.440000000000055zM345.088 256v-335.872s65.536-26.624 165.888-26.624 165.888 30.72 165.888 30.72L346.112 256h-1.024zM169.984 36.86400000000003c71.68-68.608 138.24-94.208 138.24-94.208l2.048 466.944L71.68 172.03200000000004s28.672-65.536 98.304-135.168zM54.272 549.8879999999999S27.648 484.352 27.648 384s30.72-165.888 30.72-165.888L390.144 547.8399999999999l-335.872 2.048zM304.128 830.4639999999999S238.592 803.84 169.984 732.16c-69.632-70.656-94.208-138.24-94.208-138.24l466.944-2.048L304.128 830.4639999999999z m0 0" horiz-adv-x="1024" />
<glyph glyph-name="icon_edit" unicode="&#58902;" d="M677.079579-100.190316H346.920421c-175.696842 0-319.488 143.791158-319.488 319.488V552.151579C27.486316 727.848421 171.223579 871.585684 346.920421 871.585684h330.159158c15.952842 0 26.624-10.617263 26.624-26.624 0-15.952842-10.671158-26.624-26.624-26.624H346.920421a266.994526 266.994526 0 0 1-266.24-266.24v-330.105263a266.994526 266.994526 0 0 1 266.24-266.24h330.159158a266.994526 266.994526 0 0 1 266.24 266.24V552.097684c0 16.006737 10.617263 26.624 26.624 26.624 15.952842 0 26.624-10.617263 26.624-26.624v-330.105263c2.694737-178.391579-143.791158-322.182737-319.488-322.182737zM462.255158 363.735579a21.935158 21.935158 0 0 0-16.922947 7.275789 23.390316 23.390316 0 0 0 0 33.792L928.821895 888.293053c9.701053 9.701053 24.198737 9.701053 33.845894 0 9.701053-9.701053 9.701053-24.144842 0-33.845895l-483.435789-483.43579a26.138947 26.138947 0 0 0-16.976842-7.275789z" horiz-adv-x="1024" />
<glyph glyph-name="yanjing" unicode="&#58921;" d="M511.948323 647.192308c-293.14141 0-448.565249-277.992385-448.565249-277.992385s167.818123-247.090585 448.565249-247.090585c280.767592 0 448.604134 247.090585 448.604134 247.090585S822.670134 647.192308 511.948323 647.192308zM512.223592 226.479407c-89.384773 0-161.849178 70.711482-161.849178 157.924799 0 87.212294 72.464405 157.924799 161.849178 157.924799 89.384773 0 161.849178-70.712505 161.849178-157.924799C674.072771 297.190889 601.607342 226.479407 512.223592 226.479407zM511.967766 448.800865c-39.134299 0-70.857814-31.467689-70.857814-70.273507 0-38.805818 31.723515-70.273507 70.857814-70.273507s70.857814 31.467689 70.857814 70.273507C582.82558 417.333176 551.102065 448.800865 511.967766 448.800865z" horiz-adv-x="1024" />
<glyph glyph-name="dagou" unicode="&#58883;" d="M512 896a512 512 0 1 1 512-512A512 512 0 0 1 512 896z m0-955.733A443.733 443.733 0 1 0 955.733 384 443.733 443.733 0 0 0 512-59.733zM753.323 577.195L439.637 263.509l-168.96 168.619A34.133 34.133 0 1 1 222.208 384l193.195-193.195a34.133 34.133 0 0 1 48.128 0l337.92 337.92a34.133 34.133 0 1 1-48.128 48.128z" horiz-adv-x="1024" />
<glyph glyph-name="below-s" unicode="&#58919;" d="M859.8528 603.0336H164.1472c-40.1408 0-60.3136-48.5376-31.8464-77.0048L480.1536 178.17600000000004c17.6128-17.6128 46.1824-17.6128 63.7952 0l347.8528 347.8528c28.3648 28.4672 8.2944 77.0048-31.9488 77.0048z" horiz-adv-x="1024" />
<glyph glyph-name="youjiantou" unicode="&#58947;" d="M704 384c0 8.288-3.232 15.776-8.4 21.456l0.08 0.064-320 352-0.08-0.08A31.76 31.76 0 0 1 352 768a32 32 0 0 1-32-32c0-8.288 3.232-15.76 8.4-21.456l-0.08-0.08L628.752 384 328.32 53.536l0.08-0.08A31.776 31.776 0 0 1 320 32a32 32 0 0 1 32-32 31.84 31.84 0 0 1 23.6 10.544l0.08-0.08 320 352-0.08 0.08c5.168 5.68 8.4 13.168 8.4 21.456z" horiz-adv-x="1024" />
</font>
</defs></svg>
webpackJsonp([22],{CGQl:function(t,i){},JoYa:function(t,i){},JsOw:function(t,i){},OhwO:function(t,i,e){"use strict";var s=e("RfZZ"),o=e("7+uW"),n=e("AA6R"),a=e.n(n),c=e("o69Z"),h=e("CsZI"),r=e("vwLT"),u=e("sM86"),l=Object(c.h)("swipe"),v=l[0],p=l[1],d=v({mixins:[r.a],props:{width:Number,height:Number,autoplay:Number,vertical:Boolean,initialSwipe:Number,indicatorColor:String,loop:{type:Boolean,default:!0},touchable:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},duration:{type:Number,default:500}},data:function(){return{computedWidth:0,computedHeight:0,offset:0,active:0,deltaX:0,deltaY:0,swipes:[],swiping:!1}},mounted:function(){this.initialize(),this.$isServer||Object(u.b)(window,"resize",this.onResize,!0)},activated:function(){this.rendered&&this.initialize(),this.rendered=!0},destroyed:function(){this.clear(),this.$isServer||Object(u.a)(window,"resize",this.onResize,!0)},watch:{swipes:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t?this.autoPlay():this.clear()}},computed:{count:function(){return this.swipes.length},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,i=this.vertical?"height":"width",e=this.vertical?"width":"height";return(t={})[i]=this.trackSize+"px",t[e]=this[e]?this[e]+"px":"",t.transitionDuration=(this.swiping?0:this.duration)+"ms",t.transform="translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)",t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}}},methods:{initialize:function(t){if(void 0===t&&(t=this.initialSwipe),clearTimeout(this.timer),this.$el){var i=this.$el.getBoundingClientRect();this.computedWidth=this.width||i.width,this.computedHeight=this.height||i.height}this.swiping=!0,this.active=t,this.offset=this.count>1?-this.size*this.active:0,this.swipes.forEach(function(t){t.offset=0}),this.autoPlay()},onResize:function(){this.initialize(this.activeIndicator)},onTouchStart:function(t){this.touchable&&(this.clear(),this.swiping=!0,this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(t.preventDefault(),t.stopPropagation(),this.move({offset:Math.min(Math.max(this.delta,-this.size),this.size)})))},onTouchEnd:function(){if(this.touchable&&this.swiping){if(this.delta&&this.isCorrectDirection){var t=this.vertical?this.offsetY:this.offsetX;this.move({pace:t>0?this.delta>0?-1:1:0,emitChange:!0})}this.swiping=!1,this.autoPlay()}},move:function(t){var i=t.pace,e=void 0===i?0:i,s=t.offset,o=void 0===s?0:s,n=t.emitChange,a=this.delta,c=this.active,h=this.count,r=this.swipes,u=this.trackSize,l=0===c,v=c===h-1;!this.loop&&(l&&(o>0||e<0)||v&&(o<0||e>0))||h<=1||(r[0]&&(r[0].offset=v&&(a<0||e>0)?u:0),r[h-1]&&(r[h-1].offset=l&&(a>0||e<0)?-u:0),e&&c+e>=-1&&c+e<=h&&(this.active+=e,n&&this.$emit("change",this.activeIndicator)),this.offset=Math.round(o-this.active*this.size))},swipeTo:function(t){var i=this;this.swiping=!0,this.resetTouchStatus(),this.correctPosition(),setTimeout(function(){i.swiping=!1,i.move({pace:t%i.count-i.active,emitChange:!0})},30)},correctPosition:function(){this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,i=this.autoplay;i&&this.count>1&&(this.clear(),this.timer=setTimeout(function(){t.swiping=!0,t.resetTouchStatus(),t.correctPosition(),setTimeout(function(){t.swiping=!1,t.move({pace:1,emitChange:!0}),t.autoPlay()},30)},i))}},render:function(t){var i=this,e=this.count,s=this.activeIndicator,o=this.slots("indicator")||this.showIndicators&&e>1&&t("div",{class:p("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(e)).map(function(e,o){return t("i",{class:p("indicator",{active:o===s}),style:o===s?i.indicatorStyle:null})})]);return t("div",{class:p()},[t("div",{ref:"track",style:this.trackStyle,class:p("track"),on:{touchstart:this.onTouchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[this.slots()]),o])}}),f=Object(c.h)("swipe-item"),m=f[0],g=f[1],w=m({data:function(){return{offset:0}},beforeCreate:function(){this.$parent.swipes.push(this)},destroyed:function(){this.$parent.swipes.splice(this.$parent.swipes.indexOf(this),1)},render:function(t){var i=this.$parent,e=i.vertical,o=i.computedWidth,n=i.computedHeight,a={width:o+"px",height:e?n+"px":"100%",transform:"translate"+(e?"Y":"X")+"("+this.offset+"px)"};return t("div",{class:g(),style:a,on:Object(s.a)({},this.$listeners)},[this.slots()])}}),y=Object(c.h)("image-preview"),I=y[0],C=y[1];function b(t){return Math.sqrt(Math.abs((t[0].clientX-t[1].clientX)*(t[0].clientY-t[1].clientY)))}var z,S=I({mixins:[h.a,r.a],props:{images:Array,className:null,lazyLoad:Boolean,asyncClose:Boolean,startPosition:Number,showIndicators:Boolean,loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},showIndex:{type:Boolean,default:!0},overlayClass:{type:String,default:"van-image-preview__overlay"},closeOnClickOverlay:{type:Boolean,default:!0}},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,active:0}},computed:{imageStyle:function(){var t=this.scale,i={transition:this.zooming||this.moving?"":".3s all"};return 1!==t&&(i.transform="scale3d("+t+", "+t+", 1) translate("+this.moveX/t+"px, "+this.moveY/t+"px)"),i}},watch:{value:function(){this.active=this.startPosition},startPosition:function(t){this.active=t}},methods:{onWrapperTouchStart:function(){this.touchStartTime=new Date},onWrapperTouchEnd:function(t){t.preventDefault();var i=new Date-this.touchStartTime,e=this.$refs.swipe||{},s=e.offsetX,o=void 0===s?0:s,n=e.offsetY;if(i<300&&o<10&&(void 0===n?0:n)<10){var a=this.active;this.resetScale(),this.$emit("close",{index:a,url:this.images[a]}),this.asyncClose||this.$emit("input",!1)}},startMove:function(t){var i=t.currentTarget.getBoundingClientRect(),e=window.innerWidth,s=window.innerHeight;this.touchStart(t),this.moving=!0,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.maxMoveX=Math.max(0,(i.width-e)/2),this.maxMoveY=Math.max(0,(i.height-s)/2)},startZoom:function(t){this.moving=!1,this.zooming=!0,this.startScale=this.scale,this.startDistance=b(t.touches)},onTouchStart:function(t){var i=t.touches,e=(this.$refs.swipe||{}).offsetX,s=void 0===e?0:e;1===i.length&&1!==this.scale?this.startMove(t):2!==i.length||s||this.startZoom(t)},onTouchMove:function(t){var i=t.touches;if((this.moving||this.zooming)&&(t.preventDefault(),t.stopPropagation()),this.moving){this.touchMove(t);var e=this.deltaX+this.startMoveX,s=this.deltaY+this.startMoveY;this.moveX=Object(c.g)(e,-this.maxMoveX,this.maxMoveX),this.moveY=Object(c.g)(s,-this.maxMoveY,this.maxMoveY)}if(this.zooming&&2===i.length){var o=b(i),n=this.startScale*o/this.startDistance;this.scale=Object(c.g)(n,1/3,3)}},onTouchEnd:function(t){if(this.moving||this.zooming){var i=!0;this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(i=!1),t.touches.length||(this.moving=!1,this.zooming=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale()),i&&(t.preventDefault(),t.stopPropagation())}},onChange:function(t){this.resetScale(),this.active=t},resetScale:function(){this.scale=1,this.moveX=0,this.moveY=0}},render:function(t){var i=this;if(this.value){var e=this.active,s=this.images,o=this.showIndex&&t("div",{class:C("index")},[e+1+"/"+s.length]),n=t(d,{ref:"swipe",attrs:{loop:this.loop,indicatorColor:"white",initialSwipe:this.startPosition,showIndicators:this.showIndicators},on:{change:this.onChange}},[s.map(function(s,o){var n={class:C("image"),style:o===e?i.imageStyle:null,on:{touchstart:i.onTouchStart,touchmove:i.onTouchMove,touchend:i.onTouchEnd,touchcancel:i.onTouchEnd}};return t(w,[i.lazyLoad?t("img",a()([{directives:[{name:"lazy",value:s}]},n])):t("img",a()([{attrs:{src:s}},n]))])})]);return t("transition",{attrs:{name:"van-fade"}},[t("div",{class:[C(),this.className],on:{touchstart:this.onWrapperTouchStart,touchend:this.onWrapperTouchEnd,touchcancel:this.onWrapperTouchEnd}},[o,n])])}}}),M={images:[],loop:!0,value:!0,className:"",lazyLoad:!1,showIndex:!0,asyncClose:!1,startPosition:0,showIndicators:!1},T=function(t,i){if(void 0===i&&(i=0),!c.e){z||(z=new(o.default.extend(S))({el:document.createElement("div")}),document.body.appendChild(z.$el));var e=Array.isArray(t)?{images:t,startPosition:i}:t;return Object(s.a)(z,M,e),z.$once("input",function(t){z.value=t}),e.onClose&&z.$once("close",e.onClose),z}};T.install=function(){o.default.use(S)};i.a=T},UFvj:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});e("WJbf");var s=e("OhwO"),o=e("Jmy5"),n={name:"nofinishdia",mounted:function(){this.$sa.track("ViewPreview",{})},data:function(){return{previewImg2:o.f}},methods:{toLink:function(){this.$sa.quick("trackHeatMap",this.$refs.btn),window.location.href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjoiIiwicmVzb3VyY2VfaWQiOiIiLCJwcm9kdWN0X2lkIjoicF81YjRhMjQxYzk0ODRlX2c4N2VYTjFIIiwiYXBwX2lkIjoiYXBwYU5RTGZrdEgzNzE3In0"},ImagePreviewF:function(t){Object(s.a)({images:[this.previewImg2.previewpic1,this.previewImg2.previewpic2,this.previewImg2.previewpic3,this.previewImg2.previewpic6,this.previewImg2.previewpic5,this.previewImg2.previewpic7,this.previewImg2.previewpic8,this.previewImg2.previewpic9],lazyLoad:!0,startPosition:t})}}},a={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"nofinish-block"},[e("img",{staticClass:"bg",attrs:{src:t.previewImg2.preview1,alt:""}}),t._v(" "),e("img",{staticClass:"bg",attrs:{src:t.previewImg2.preview2,alt:""}}),t._v(" "),e("img",{staticClass:"bg",attrs:{src:t.previewImg2.preview3,alt:""}}),t._v(" "),e("img",{staticClass:"bg",attrs:{src:t.previewImg2.preview4,alt:""}}),t._v(" "),e("div",{staticClass:"pic pic1",on:{click:function(i){t.ImagePreviewF(0)}}}),t._v(" "),e("div",{staticClass:"pic pic2",on:{click:function(i){t.ImagePreviewF(1)}}}),t._v(" "),e("div",{staticClass:"pic pic3",on:{click:function(i){t.ImagePreviewF(2)}}}),t._v(" "),e("div",{staticClass:"pic pic4",on:{click:function(i){t.ImagePreviewF(3)}}}),t._v(" "),e("div",{staticClass:"pic pic5",on:{click:function(i){t.ImagePreviewF(4)}}}),t._v(" "),e("div",{staticClass:"pic pic6",on:{click:function(i){t.ImagePreviewF(5)}}}),t._v(" "),e("div",{staticClass:"pic pic7",on:{click:function(i){t.ImagePreviewF(6)}}}),t._v(" "),e("div",{staticClass:"pic pic8",on:{click:function(i){t.ImagePreviewF(7)}}}),t._v(" "),e("div",{ref:"btn",staticClass:"btn",on:{click:t.toLink}},[e("img",{attrs:{src:t.previewImg2.previewBtn,alt:""}})])])},staticRenderFns:[]};var c=e("VU/8")(n,a,!1,function(t){e("JoYa")},"data-v-29d8679b",null);i.default=c.exports},W0KU:function(t,i){},WJbf:function(t,i,e){"use strict";var s=e("nsZj"),o=(e.n(s),e("hW8u")),n=(e.n(o),e("JsOw")),a=(e.n(n),e("W0KU")),c=(e.n(a),e("CGQl"));e.n(c)}});
\ No newline at end of file
webpackJsonp([24],{"9g8X":function(e,t,A){e.exports=A.p+"static/img/imgguide2@2x.075052c.png"},LHPr:function(e,t,A){e.exports=A.p+"static/img/imgguide@2x.13192ef.png"},OyxU:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAkBAMAAAA9a6Q5AAAAMFBMVEVHcEyg0vOh0/Sg0fOj0/eh0vOh0vSe0vOg0vOg0vOh0vSh0fOh0vOh0vOg0vOg0fK8mdkHAAAAD3RSTlMA9j7sDcUrHdl5UbGRYqKVaAcIAAABB0lEQVQoz2NgwAquOmAXT/3/AKs4p/z/v9jE2eL///+DTWLi//+fF2C14P//NuwW/P+NxVHsQAv+H8Ci4SJQ/CcWcW+g+P8LmOJM/UBxKSwa5gPFPyog1MEYpSCDjODiLPuhrmCyB4p/RmjI+P8P7mVkDVxAH22BuwjJhvNA7legV9lALvovxIBi4f8QBobFYAY89MAW/v//o4ATTP9FcTkItL0HUxPgEvf/IwOk+AG5CQGQo3ohkvhXlHBD0tKCEnDKcPHPBaiJwh4mIYQW1skwCfQIYu/HcCsUVEAkNmBIsIC1/MCSZlxBEmJYopolHjlc0VLNH+w5Yv//AOwSfGi+RoBTaHwAYkHok8/yj/8AAAAASUVORK5CYII="},kcFG:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=A("OyxU"),a=A.n(s),i=A("LHPr"),n=A.n(i),r=A("9g8X"),c=A.n(r),p=A("rGcc"),d=A.n(p),g=(A("CCn6"),{name:"guideActivity",components:{},data:function(){return{icon_yes:a.a,logo:d.a,groupDetail:{},userCourse:{},imgguide:n.a,imgguide2:c.a,exChange:null}},mounted:function(){this.initPage()},methods:{initPage:function(){this.$route.query.exChange&&(this.exChange=this.$route.query.exChange),window.location.href.indexOf("invite_code")>-1&&(this.invite_code=this.$route.query.invite_code),this.userCourse=JSON.parse(localStorage.getItem("userCourse")),this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id}}}),u={render:function(){var e=this,t=e.$createElement,A=e._self._c||t;return A("div",{staticClass:"guideActivity"},[A("div",{staticClass:"h2"},[A("img",{attrs:{src:e.icon_yes,alt:""}}),e._v(" "),e.exChange?e._e():A("span",[e._v("恭喜您,成功激活课程!")]),e._v(" "),e.exChange?A("span",[e._v("恭喜您,成功兑换课程!")]):e._e()]),e._v(" "),A("div",{staticClass:"top"},[e.exChange?e._e():A("img",{staticClass:"qr",attrs:{src:e.imgguide2,alt:""}}),e._v(" "),e.exChange?A("img",{staticClass:"qr",attrs:{src:e.imgguide,alt:""}}):e._e(),e._v(" "),e.userCourse.teacher_qr?A("img",{staticClass:"qrcode",attrs:{src:e.userCourse.teacher_qr}}):e._e()])])},staticRenderFns:[]};var o=A("VU/8")(g,u,!1,function(e){A("ohwa")},"data-v-38b0e366",null);t.default=o.exports},ohwa:function(e,t){},rGcc:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPgAAABECAMAAACbBwg3AAAAllBMVEVHcExjp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7V008NJfoDaqUt58K9/vvl9+nxU2zzbiN0Mtvd3ffkgjrQP+8Q5jWY2Qq446CCyabyiw4dlGZVySg71ERFmTeg9HduEZv3fRa3mULheHH26W/lCGfV7ZJQy08+/cGPG/4oo5Gev1uZ80kviZc8WRSZGYJfNbGTe4d71k4u0NiJ0EU0t+/3l3cL3999G8qHVvsBW+cCia6CzCWMASHCLNsZjPlNazOdXHD+vDYwLhs6foJPV357j1qf3/R4/cvi3uI3Y92tU2JxWL/0MF5pSci47vnuZCJDDb4+ajhA2rhpXMaiNNm4ZyG7gctn9sxvXsX+gh1GL8O/xkvv15xjKpsW7q480/brvx7R8aA7dz25v/4uJVe2P3r0Xj875fY+PJvnEijXfsHDxYiewzo9XI+HuPA7zY3OKi3w/KXi/fbdLW5yYE7yWLAnzYPdzcNXLOPIDJJ02fHv5Xif7p14OO4t8Af9I27W43xYNzNUtj9ly/3nwD4jynAP9ngd/9e5v4/iPKnzScc91+ebiqm/wtjLn/rKP2WEwAAAABJRU5ErkJggg=="}});
\ No newline at end of file
webpackJsonp([38],{GSYK:function(t,s,a){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=a("hU5a"),i=a.n(e),n=a("uC32"),r=a.n(n),c=a("Jmy5"),o=(a("CCn6"),a("t4cQ")),l=a.n(o),u={name:"starResultV2",data:function(){return{img_pass:l.a,pullup:!0,rankBg:i.a,starNum:"",userDetail:{},loading:!0,finished:!1,star_inner:r.a,starList:[],page:1,offset:30,starPage:c.j,starInfo:{},addressObj:!1}},components:{},methods:{initPage:function(){this.starInfo=JSON.parse(decodeURIComponent(this.$route.query.starInfo))}},mounted:function(){this.initPage()}},f={render:function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"page"},[3003==t.starInfo.code&&t.starInfo.activity_result&&21==t.starInfo.activity_result.result?a("div",{staticClass:"result"},[a("div",{staticClass:"float"},[t._v("结果公示")]),t._v(" "),t._m(0)]):t._e(),t._v(" "),3003==t.starInfo.code&&t.starInfo.activity_result&&22==t.starInfo.activity_result.result?a("div",{staticClass:"result fal"},[a("div",{staticClass:"float"},[t._v("结果公示")]),t._v(" "),t._m(1)]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",[s("h2",[this._v("恭喜全勤活动审核通过")]),this._v(" "),s("p",[this._v("您将获得唱唱启蒙英语“全勤奖学金”")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",[s("div",{staticClass:"fal_title"},[this._v("很抱歉全勤活动挑战失败")]),this._v(" "),s("div",{staticClass:"fal_tip"},[this._v("学习没有终点,任何时候都是一个起点")])])}]};var _=a("VU/8")(u,f,!1,function(t){a("PIcQ"),a("kmn4")},"data-v-3e0dceba",null);s.default=_.exports},PIcQ:function(t,s){},kmn4:function(t,s){},t4cQ:function(t,s,a){t.exports=a.p+"static/img/img_pass@2x.96468a6.png"}});
\ No newline at end of file
webpackJsonp([39],{"5iK7":function(t,n,e){t.exports=e.p+"static/img/no.415cb0b.png"},b9ac:function(t,n){},nmbt:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e("5iK7"),s=e.n(i),a={name:"noWechat",data:function(){return{noUrl:s.a}}},c={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"noWechat-page"},[n("img",{attrs:{src:this.noUrl}}),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"text-block"},[n("div",{staticClass:"title"},[this._v("\n 请在微信中打开链接\n ")]),this._v("\n 您可以复制链接后,粘贴到微信任意对话框,\n "),n("br"),this._v("\n 或发送给微信中的任意好友,\n "),n("br"),this._v("\n 点击链接即可查看哦~\n ")])}]};var r=e("VU/8")(a,c,!1,function(t){e("b9ac")},"data-v-edde77d4",null);n.default=r.exports}});
\ No newline at end of file
webpackJsonp([41],{PRsz:function(t,e){},VAx7:function(t,e,a){t.exports=a.p+"static/img/authorLoading.39aaada.png"},"sA+T":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("VAx7"),n=a.n(r),i={name:"author",data:function(){return{loadingUrl:n.a}},created:function(){this.$route.query&&this.$route.query.retUrl?localStorage.setItem("retUrl",this.$route.query.retUrl):localStorage.setItem("retUrl",""),this.$route.query&&this.$route.query.is_new_user_url?window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com":(localStorage.setItem("retUrl",""),window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1")},methods:{onPageReload:function(){this.$sa.track("buttonClick",{tabTitle:"授权",moduleTitle:"授权",buttonType:"重新授权",buttonName:"重新授权"}),window.location.reload()}}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"author"},[e("div",{staticClass:"img",style:{backgroundImage:"url("+this.loadingUrl+")"}}),this._v(" "),e("p",[this._v("正在加载中......")]),this._v(" "),e("p",{staticClass:"reload",attrs:{click:this.onPageReload}},[this._v("点击重新加载")])])},staticRenderFns:[]};var s=a("VU/8")(i,o,!1,function(t){a("PRsz")},"data-v-932efcec",null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([52],{CaET:function(t,s){},SnZy:function(t,s){},xi8t:function(t,s,a){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=a("hU5a"),i=a.n(e),r=a("uC32"),n=a.n(r),_=a("Jmy5"),d=(a("CCn6"),{name:"starResult",data:function(){return{pullup:!0,rankBg:i.a,starNum:"",userDetail:{},loading:!0,finished:!1,star_inner:n.a,starList:[],page:1,offset:30,starPage:_.j,starInfo:{},addressObj:!1}},components:{},methods:{initPage:function(){this.starInfo=JSON.parse(decodeURIComponent(this.$route.query.starInfo)),this.addressObj=this.starInfo.addressObj},goAddr:function(){this.addressObj?this.$router.push({name:"activityAddr"}):this.$router.push({name:"addressEdit"})}},mounted:function(){this.initPage()}}),v={render:function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"page"},[t.starInfo.activity_result&&16!=t.starInfo.activity_result.result?a("div",{staticClass:"result"},[a("div",{staticClass:"float"},[t._v("结果公示")]),t._v(" "),11==t.starInfo.activity_result.result?a("div",[a("h2",[t._v("恭喜两个阶段全勤挑战成功")]),t._v(" "),a("p",[t._v("赠送 猜猜我是谁系列双语洞洞书(4册)")]),t._v(" "),a("p",[t._v("培生预备级英语启蒙绘本(35册)")]),t._v(" "),a("div",{staticClass:"imgbox"},[a("img",{attrs:{src:t.starPage.star_prize1,alt:""}}),t._v(" "),a("img",{attrs:{src:t.starPage.star_prize2,alt:""}})])]):t._e(),t._v(" "),13==t.starInfo.activity_result.result?a("div",[a("h2",[t._v("恭喜第一阶段全勤挑战成功")]),t._v(" "),a("p",[t._v("赠送 猜猜我是谁系列双语洞洞书(4册)")]),t._v(" "),a("div",{staticClass:"imgbox"},[a("img",{attrs:{src:t.starPage.star_prize1,alt:""}})])]):t._e(),t._v(" "),14==t.starInfo.activity_result.result?a("div",[a("h2",[t._v("恭喜第二阶段全勤挑战成功")]),t._v(" "),a("p",[t._v("培生预备级英语启蒙绘本(35册)")]),t._v(" "),a("div",{staticClass:"imgbox"},[a("img",{attrs:{src:t.starPage.star_prize2,alt:""}})])]):t._e(),t._v(" "),t.addressObj?a("div",{staticClass:"addr",on:{click:t.goAddr}},[a("span",[t._v("\n "+t._s(t.addressObj.receive_name)+" "+t._s(t.addressObj.receive_mobile)+\n "+t._s(t.addressObj.province_name)+t._s(t.addressObj.city)+t._s(t.addressObj.area)+t._s(t.addressObj.address)+"\n ")]),t._v(" "),a("i",{staticClass:"iconfont icon-youjiantou"})]):t._e(),t._v(" "),a("div",{staticClass:"tip"},[t._v("注意:请于"+t._s(t.starInfo.start_twenty_five)+"之前填写完您的收货地址,否则无法寄送礼品,过期不填视为放弃领取机会")])]):t._e(),t._v(" "),t.starInfo.activity_result&&16==t.starInfo.activity_result.result?a("div",{staticClass:"result fal"},[a("div",{staticClass:"float"},[t._v("结果公示")]),t._v(" "),a("div",{staticClass:"fal_title"},[t._v("很抱歉两个阶段全勤挑战失败")]),t._v(" "),a("div",{staticClass:"fal_tip"},[t._v("学习没有终点,任何时候都是一个起点")])]):t._e()])},staticRenderFns:[]};var o=a("VU/8")(d,v,!1,function(t){a("SnZy"),a("CaET")},"data-v-1c1668d5",null);s.default=o.exports}});
\ No newline at end of file
webpackJsonp([55],{Zazt:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("3xxH"),a=t.n(n),s={name:"error",data:function(){return{errorImageUrl:a.a}}},i={render:function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"error-page"},[t("img",{attrs:{src:e.errorImageUrl}}),e._v(" "),t("div",{staticClass:"error-text"},[e._v("\n 404! 很抱歉,页面未找到\n "),t("br"),e._v(" "),t("div",{staticClass:"button",on:{click:function(r){e.$router.push({name:"index"})}}},[e._v("返回首页")])])])},staticRenderFns:[]};var c=t("VU/8")(s,i,!1,function(e){t("u+S4")},"data-v-b48ba3ee",null);r.default=c.exports},"u+S4":function(e,r){}});
\ No newline at end of file
webpackJsonp([57],{SnBc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},r={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"noWechat-page"})},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(t){n("hErb")},"data-v-741181e1",null);e.default=i.exports},hErb:function(t,e){}});
\ No newline at end of file
webpackJsonp([62],{Eg0l:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u={render:function(){var n=this.$createElement;return(this._self._c||n)("div")},staticRenderFns:[]};var a=t("VU/8")({name:"share",data:function(){return{num:0,pNum:0,watchLog:null,user:null}},mounted:function(){this.initPage()},methods:{}},u,!1,function(n){t("nfo5")},"data-v-29caaf48",null);e.default=a.exports},nfo5:function(n,e){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/*!
* vConsole v3.2.0 (https://github.com/Tencent/vConsole)
*
* Tencent is pleased to support the open source community by making vConsole available.
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/MIT
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VConsole=t():e.VConsole=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),o(1);var i=o(2),a=n(i),r=o(18),l=n(r);a["default"].VConsolePlugin=l["default"],t["default"]=a["default"],e.exports=t["default"]},function(e,t){"use strict";if("undefined"==typeof Symbol){window.Symbol=function(){};var o="__symbol_iterator_key";window.Symbol.iterator=o,Array.prototype[o]=function(){var e=this,t=0;return{next:function(){return{done:e.length===t,value:e.length===t?void 0:e[t++]}}}}}},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),l=o(3),c=i(l),s=o(4),d=n(s),u=o(5),v=i(u);o(7);var f=o(11),p=i(f),h=o(12),g=i(h),b=o(13),m=i(b),y=o(14),_=i(y),w=o(15),x=i(w),k=o(16),C=i(k),T=o(24),O=i(T),E=o(26),S=i(E),L=o(30),j=i(L),N=o(37),P=i(N),M="#__vconsole",A=function(){function e(t){if(a(this,e),v["default"].one(M))return void console.debug("vConsole is already exists.");var o=this;if(this.version=c["default"].version,this.$dom=null,this.isInited=!1,this.option={defaultPlugins:["system","network","element","storage"]},this.activedTab="",this.tabList=[],this.pluginList={},this.switchPos={x:10,y:10,startX:0,startY:0,endX:0,endY:0},this.tool=d,this.$=v["default"],d.isObject(t))for(var n in t)this.option[n]=t[n];this._addBuiltInPlugins();var i=function(){o.isInited||(o._render(),o._mockTap(),o._bindEvent(),o._autoRun())};void 0!==document?"complete"==document.readyState?i():v["default"].bind(window,"load",i):!function(){var e=void 0,t=function o(){document&&"complete"==document.readyState?(e&&clearTimeout(e),i()):e=setTimeout(o,1)};e=setTimeout(t,1)}()}return r(e,[{key:"_addBuiltInPlugins",value:function(){this.addPlugin(new C["default"]("default","Log"));var e=this.option.defaultPlugins,t={system:{proto:O["default"],name:"System"},network:{proto:S["default"],name:"Network"},element:{proto:j["default"],name:"Element"},storage:{proto:P["default"],name:"Storage"}};if(e&&d.isArray(e))for(var o=0;o<e.length;o++){var n=t[e[o]];n?this.addPlugin(new n.proto(e[o],n.name)):console.debug("Unrecognized default plugin ID:",e[o])}}},{key:"_render",value:function(){if(!v["default"].one(M)){var e=document.createElement("div");e.innerHTML=p["default"],document.documentElement.insertAdjacentElement("beforeend",e.children[0])}this.$dom=v["default"].one(M);var t=v["default"].one(".vc-switch",this.$dom),o=1*d.getStorage("switch_x"),n=1*d.getStorage("switch_y");(o||n)&&(o+t.offsetWidth>document.documentElement.offsetWidth&&(o=document.documentElement.offsetWidth-t.offsetWidth),n+t.offsetHeight>document.documentElement.offsetHeight&&(n=document.documentElement.offsetHeight-t.offsetHeight),0>o&&(o=0),0>n&&(n=0),this.switchPos.x=o,this.switchPos.y=n,v["default"].one(".vc-switch").style.right=o+"px",v["default"].one(".vc-switch").style.bottom=n+"px");var i=window.devicePixelRatio||1,a=document.querySelector('[name="viewport"]');if(a&&a.content){var r=a.content.match(/initial\-scale\=\d+(\.\d+)?/),l=r?parseFloat(r[0].split("=")[1]):1;1>l&&(this.$dom.style.fontSize=13*i+"px")}v["default"].one(".vc-mask",this.$dom).style.display="none"}},{key:"_mockTap",value:function(){var e=700,t=10,o=void 0,n=void 0,i=void 0,a=!1,r=null;this.$dom.addEventListener("touchstart",function(e){if(void 0===o){var t=e.targetTouches[0];n=t.pageX,i=t.pageY,o=e.timeStamp,r=e.target.nodeType===Node.TEXT_NODE?e.target.parentNode:e.target}},!1),this.$dom.addEventListener("touchmove",function(e){var o=e.changedTouches[0];(Math.abs(o.pageX-n)>t||Math.abs(o.pageY-i)>t)&&(a=!0)}),this.$dom.addEventListener("touchend",function(t){if(a===!1&&t.timeStamp-o<e&&null!=r){var n=r.tagName.toLowerCase(),i=!1;switch(n){case"textarea":i=!0;break;case"input":switch(r.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":i=!1;break;default:i=!r.disabled&&!r.readOnly}}i?r.focus():t.preventDefault();var l=t.changedTouches[0],c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,1,l.screenX,l.screenY,l.clientX,l.clientY,!1,!1,!1,!1,0,null),c.forwardedTouchEvent=!0,c.initEvent("click",!0,!0),r.dispatchEvent(c)}o=void 0,a=!1,r=null},!1)}},{key:"_bindEvent",value:function(){var e=this,t=v["default"].one(".vc-switch",e.$dom);v["default"].bind(t,"touchstart",function(t){e.switchPos.startX=t.touches[0].pageX,e.switchPos.startY=t.touches[0].pageY}),v["default"].bind(t,"touchend",function(t){e.switchPos.x=e.switchPos.endX,e.switchPos.y=e.switchPos.endY,e.switchPos.startX=0,e.switchPos.startY=0,e.switchPos.endX=0,e.switchPos.endY=0,d.setStorage("switch_x",e.switchPos.x),d.setStorage("switch_y",e.switchPos.y)}),v["default"].bind(t,"touchmove",function(o){if(o.touches.length>0){var n=o.touches[0].pageX-e.switchPos.startX,i=o.touches[0].pageY-e.switchPos.startY,a=e.switchPos.x-n,r=e.switchPos.y-i;a+t.offsetWidth>document.documentElement.offsetWidth&&(a=document.documentElement.offsetWidth-t.offsetWidth),r+t.offsetHeight>document.documentElement.offsetHeight&&(r=document.documentElement.offsetHeight-t.offsetHeight),0>a&&(a=0),0>r&&(r=0),t.style.right=a+"px",t.style.bottom=r+"px",e.switchPos.endX=a,e.switchPos.endY=r,o.preventDefault()}}),v["default"].bind(v["default"].one(".vc-switch",e.$dom),"click",function(){e.show()}),v["default"].bind(v["default"].one(".vc-hide",e.$dom),"click",function(){e.hide()}),v["default"].bind(v["default"].one(".vc-mask",e.$dom),"click",function(t){return t.target!=v["default"].one(".vc-mask")?!1:void e.hide()}),v["default"].delegate(v["default"].one(".vc-tabbar",e.$dom),"click",".vc-tab",function(t){var o=this.dataset.tab;o!=e.activedTab&&e.showTab(o)}),v["default"].bind(v["default"].one(".vc-panel",e.$dom),"transitionend webkitTransitionEnd oTransitionEnd otransitionend",function(t){return t.target!=v["default"].one(".vc-panel")?!1:void(v["default"].hasClass(e.$dom,"vc-toggle")||(t.target.style.display="none"))});var o=v["default"].one(".vc-content",e.$dom),n=!1;v["default"].bind(o,"touchstart",function(e){var t=o.scrollTop,i=o.scrollHeight,a=t+o.offsetHeight;0===t?(o.scrollTop=1,0===o.scrollTop&&(v["default"].hasClass(e.target,"vc-cmd-input")||(n=!0))):a===i&&(o.scrollTop=t-1,o.scrollTop===t&&(v["default"].hasClass(e.target,"vc-cmd-input")||(n=!0)))}),v["default"].bind(o,"touchmove",function(e){n&&e.preventDefault()}),v["default"].bind(o,"touchend",function(e){n=!1})}},{key:"_autoRun",value:function(){this.isInited=!0;for(var e in this.pluginList)this._initPlugin(this.pluginList[e]);this.tabList.length>0&&this.showTab(this.tabList[0]),this.triggerEvent("ready")}},{key:"triggerEvent",value:function(e,t){e="on"+e.charAt(0).toUpperCase()+e.slice(1),d.isFunction(this.option[e])&&this.option[e].apply(this,t)}},{key:"_initPlugin",value:function(e){var t=this;e.vConsole=this,e.trigger("init"),e.trigger("renderTab",function(o){t.tabList.push(e.id);var n=v["default"].render(g["default"],{id:e.id,name:e.name});v["default"].one(".vc-tabbar",t.$dom).insertAdjacentElement("beforeend",n);var i=v["default"].render(m["default"],{id:e.id});o&&(d.isString(o)?i.innerHTML+=o:d.isFunction(o.appendTo)?o.appendTo(i):d.isElement(o)&&i.insertAdjacentElement("beforeend",o)),v["default"].one(".vc-content",t.$dom).insertAdjacentElement("beforeend",i)}),e.trigger("addTopBar",function(o){if(o)for(var n=v["default"].one(".vc-topbar",t.$dom),i=function(t){var i=o[t],a=v["default"].render(_["default"],{name:i.name||"Undefined",className:i.className||"",pluginID:e.id});if(i.data)for(var r in i.data)a.dataset[r]=i.data[r];d.isFunction(i.onClick)&&v["default"].bind(a,"click",function(t){var o=i.onClick.call(a);o===!1||(v["default"].removeClass(v["default"].all(".vc-topbar-"+e.id),"vc-actived"),v["default"].addClass(a,"vc-actived"))}),n.insertAdjacentElement("beforeend",a)},a=0;a<o.length;a++)i(a)}),e.trigger("addTool",function(o){if(o)for(var n=v["default"].one(".vc-tool-last",t.$dom),i=function(t){var i=o[t],a=v["default"].render(x["default"],{name:i.name||"Undefined",pluginID:e.id});1==i.global&&v["default"].addClass(a,"vc-global-tool"),d.isFunction(i.onClick)&&v["default"].bind(a,"click",function(e){i.onClick.call(a)}),n.parentNode.insertBefore(a,n)},a=0;a<o.length;a++)i(a)}),e.isReady=!0,e.trigger("ready")}},{key:"_triggerPluginsEvent",value:function(e){for(var t in this.pluginList)this.pluginList[t].isReady&&this.pluginList[t].trigger(e)}},{key:"_triggerPluginEvent",value:function(e,t){var o=this.pluginList[e];o&&o.isReady&&o.trigger(t)}},{key:"addPlugin",value:function(e){return void 0!==this.pluginList[e.id]?(console.debug("Plugin "+e.id+" has already been added."),!1):(this.pluginList[e.id]=e,this.isInited&&(this._initPlugin(e),1==this.tabList.length&&this.showTab(this.tabList[0])),!0)}},{key:"removePlugin",value:function(e){e=(e+"").toLowerCase();var t=this.pluginList[e];if(void 0===t)return console.debug("Plugin "+e+" does not exist."),!1;if(t.trigger("remove"),this.isInited){var o=v["default"].one("#__vc_tab_"+e);o&&o.parentNode.removeChild(o);for(var n=v["default"].all(".vc-topbar-"+e,this.$dom),i=0;i<n.length;i++)n[i].parentNode.removeChild(n[i]);var a=v["default"].one("#__vc_log_"+e);a&&a.parentNode.removeChild(a);for(var r=v["default"].all(".vc-tool-"+e,this.$dom),l=0;l<r.length;l++)r[l].parentNode.removeChild(r[l])}var c=this.tabList.indexOf(e);c>-1&&this.tabList.splice(c,1);try{delete this.pluginList[e]}catch(s){this.pluginList[e]=void 0}return this.activedTab==e&&this.tabList.length>0&&this.showTab(this.tabList[0]),!0}},{key:"show",value:function(){if(this.isInited){var e=this,t=v["default"].one(".vc-panel",this.$dom);t.style.display="block",setTimeout(function(){v["default"].addClass(e.$dom,"vc-toggle"),e._triggerPluginsEvent("showConsole");var t=v["default"].one(".vc-mask",e.$dom);t.style.display="block"},10)}}},{key:"hide",value:function(){if(this.isInited){v["default"].removeClass(this.$dom,"vc-toggle"),this._triggerPluginsEvent("hideConsole");var e=v["default"].one(".vc-mask",this.$dom),t=v["default"].one(".vc-panel",this.$dom);v["default"].bind(e,"transitionend",function(o){e.style.display="none",t.style.display="none"})}}},{key:"showSwitch",value:function(){if(this.isInited){var e=v["default"].one(".vc-switch",this.$dom);e.style.display="block"}}},{key:"hideSwitch",value:function(){if(this.isInited){var e=v["default"].one(".vc-switch",this.$dom);e.style.display="none"}}},{key:"showTab",value:function(e){if(this.isInited){var t=v["default"].one("#__vc_log_"+e);v["default"].removeClass(v["default"].all(".vc-tab",this.$dom),"vc-actived"),v["default"].addClass(v["default"].one("#__vc_tab_"+e),"vc-actived"),v["default"].removeClass(v["default"].all(".vc-logbox",this.$dom),"vc-actived"),v["default"].addClass(t,"vc-actived");var o=v["default"].all(".vc-topbar-"+e,this.$dom);v["default"].removeClass(v["default"].all(".vc-toptab",this.$dom),"vc-toggle"),v["default"].addClass(o,"vc-toggle"),o.length>0?v["default"].addClass(v["default"].one(".vc-content",this.$dom),"vc-has-topbar"):v["default"].removeClass(v["default"].one(".vc-content",this.$dom),"vc-has-topbar"),v["default"].removeClass(v["default"].all(".vc-tool",this.$dom),"vc-toggle"),v["default"].addClass(v["default"].all(".vc-tool-"+e,this.$dom),"vc-toggle"),this.activedTab&&this._triggerPluginEvent(this.activedTab,"hide"),this.activedTab=e,this._triggerPluginEvent(this.activedTab,"show")}}},{key:"setOption",value:function(e,t){if(d.isString(e))this.option[e]=t,this._triggerPluginsEvent("updateOption");else if(d.isObject(e)){for(var o in e)this.option[o]=e[o];this._triggerPluginsEvent("updateOption")}else console.debug("The first parameter of vConsole.setOption() must be a string or an object.")}},{key:"destroy",value:function(){if(this.isInited){for(var e=Object.keys(this.pluginList),t=e.length-1;t>=0;t--)this.removePlugin(e[t]);this.$dom.parentNode.removeChild(this.$dom)}}}]),e}();t["default"]=A,e.exports=t["default"]},function(e,t){e.exports={name:"vconsole",version:"3.2.0",description:"A lightweight, extendable front-end developer tool for mobile web page.",homepage:"https://github.com/Tencent/vConsole",main:"dist/vconsole.min.js",scripts:{test:"mocha",dist:"webpack"},keywords:["console","debug","mobile"],repository:{type:"git",url:"git+https://github.com/Tencent/vConsole.git"},dependencies:{},devDependencies:{"babel-core":"^6.7.7","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.1.4","babel-preset-es2015":"^6.6.0","babel-preset-stage-3":"^6.5.0",chai:"^3.5.0","css-loader":"^0.23.1","extract-text-webpack-plugin":"^1.0.1","html-loader":"^0.4.3",jsdom:"^9.2.1","json-loader":"^0.5.4",less:"^2.5.3","less-loader":"^2.2.3",mocha:"^2.5.3","style-loader":"^0.13.1",webpack:"~1.12.11"},author:"Tencent",license:"MIT"}},function(e,t){"use strict";function o(e){var t=e>0?new Date(e):new Date,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=t.getMonth()<9?"0"+(t.getMonth()+1):t.getMonth()+1,i=t.getFullYear(),a=t.getHours()<10?"0"+t.getHours():t.getHours(),r=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),l=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),c=t.getMilliseconds()<10?"0"+t.getMilliseconds():t.getMilliseconds();return 100>c&&(c="0"+c),{time:+t,year:i,month:n,day:o,hour:a,minute:r,second:l,millisecond:c}}function n(e){return"[object Number]"==Object.prototype.toString.call(e)}function i(e){return"[object String]"==Object.prototype.toString.call(e)}function a(e){return"[object Array]"==Object.prototype.toString.call(e)}function r(e){return"[object Boolean]"==Object.prototype.toString.call(e)}function l(e){return"[object Undefined]"==Object.prototype.toString.call(e)}function c(e){return"[object Null]"==Object.prototype.toString.call(e)}function s(e){return"[object Symbol]"==Object.prototype.toString.call(e)}function d(e){return!("[object Object]"!=Object.prototype.toString.call(e)&&(n(e)||i(e)||r(e)||a(e)||c(e)||u(e)||l(e)||s(e)))}function u(e){return"[object Function]"==Object.prototype.toString.call(e)}function v(e){return"object"===("undefined"==typeof HTMLElement?"undefined":w(HTMLElement))?e instanceof HTMLElement:e&&"object"===("undefined"==typeof e?"undefined":w(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}function f(e){var t=Object.prototype.toString.call(e);return"[object global]"==t||"[object Window]"==t||"[object DOMWindow]"==t}function p(e){var t=Object.prototype.hasOwnProperty;if(!e||"object"!==("undefined"==typeof e?"undefined":w(e))||e.nodeType||f(e))return!1;try{if(e.constructor&&!t.call(e,"constructor")&&!t.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(o){return!1}var n=void 0;for(n in e);return void 0===n||t.call(e,n)}function h(e){return document.createElement("a").appendChild(document.createTextNode(e)).parentNode.innerHTML}function g(e){var t=arguments.length<=1||void 0===arguments[1]?" ":arguments[1],o=arguments.length<=2||void 0===arguments[2]?"CIRCULAR_DEPENDECY_OBJECT":arguments[2],n=[],i=JSON.stringify(e,function(e,t){if("object"===("undefined"==typeof t?"undefined":w(t))&&null!==t){if(~n.indexOf(t))return o;n.push(t)}return t},t);return n=null,i}function b(e){if(!d(e)&&!a(e))return[];var t=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],o=[];for(var n in e)t.indexOf(n)<0&&o.push(n);return o=o.sort()}function m(e){return Object.prototype.toString.call(e).replace("[object ","").replace("]","")}function y(e,t){window.localStorage&&(e="vConsole_"+e,localStorage.setItem(e,t))}function _(e){return window.localStorage?(e="vConsole_"+e,localStorage.getItem(e)):void 0}Object.defineProperty(t,"__esModule",{value:!0});var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.getDate=o,t.isNumber=n,t.isString=i,t.isArray=a,t.isBoolean=r,t.isUndefined=l,t.isNull=c,t.isSymbol=s,t.isObject=d,t.isFunction=u,t.isElement=v,t.isWindow=f,t.isPlainObject=p,t.htmlEncode=h,t.JSONStringify=g,t.getObjAllKeys=b,t.getObjName=m,t.setStorage=y,t.getStorage=_},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(4),a=o(6),r=n(a),l={};l.one=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l.all=function(e,t){var o=void 0,n=[];return o=t?t.querySelectorAll(e):document.querySelectorAll(e),o&&o.length>0&&(n=Array.prototype.slice.call(o)),n},l.addClass=function(e,t){if(e){(0,i.isArray)(e)||(e=[e]);for(var o=0;o<e.length;o++){var n=e[o].className||"",a=n.split(" ");a.indexOf(t)>-1||(a.push(t),e[o].className=a.join(" "))}}},l.removeClass=function(e,t){if(e){(0,i.isArray)(e)||(e=[e]);for(var o=0;o<e.length;o++){for(var n=e[o].className.split(" "),a=0;a<n.length;a++)n[a]==t&&(n[a]="");e[o].className=n.join(" ").trim()}}},l.hasClass=function(e,t){if(!e)return!1;for(var o=e.className.split(" "),n=0;n<o.length;n++)if(o[n]==t)return!0;return!1},l.bind=function(e,t,o,n){if(e){void 0===n&&(n=!1),(0,i.isArray)(e)||(e=[e]);for(var a=0;a<e.length;a++)e[a].addEventListener(t,o,n)}},l.delegate=function(e,t,o,n){e&&e.addEventListener(t,function(t){var i=l.all(o,e);if(i)e:for(var a=0;a<i.length;a++)for(var r=t.target;r;){if(r==i[a]){n.call(r,t);break e}if(r=r.parentNode,r==e)break}},!1)},l.render=r["default"],t["default"]=l,e.exports=t["default"]},function(e,t){"use strict";function o(e,t,o){var n=/\{\{([^\}]+)\}\}/g,i="",a="",r=0,l=[],c=function(e,t){""!==e&&(i+=t?e.match(/^ ?else/g)?"} "+e+" {\n":e.match(/\/(if|for|switch)/g)?"}\n":e.match(/^ ?if|for|switch/g)?e+" {\n":e.match(/^ ?(break|continue) ?$/g)?e+";\n":e.match(/^ ?(case|default)/g)?e+":\n":"arr.push("+e+");\n":'arr.push("'+e.replace(/"/g,'\\"')+'");\n')};for(window.__mito_data=t,window.__mito_code="",window.__mito_result="",e=e.replace(/(\{\{ ?switch(.+?)\}\})[\r\n\t ]+\{\{/g,"$1{{"),e=e.replace(/^[\r\n]/,"").replace(/\n/g,"\\\n").replace(/\r/g,"\\\r"),a="(function(){\n",i="var arr = [];\n";l=n.exec(e);)c(e.slice(r,l.index),!1),c(l[1],!0),r=l.index+l[0].length;c(e.substr(r,e.length-r),!1),i+='__mito_result = arr.join("");',i="with (__mito_data) {\n"+i+"\n}",a+=i,a+="})();";var s=document.getElementsByTagName("script"),d="";s.length>0&&(d=s[0].getAttribute("nonce")||"");var u=document.createElement("SCRIPT");u.innerHTML=a,u.setAttribute("nonce",d),document.documentElement.appendChild(u);var v=__mito_result;if(document.documentElement.removeChild(u),!o){var f=document.createElement("DIV");f.innerHTML=v,v=f.children[0]}return v}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o,e.exports=t["default"]},function(e,t,o){var n=o(8);"string"==typeof n&&(n=[[e.id,n,""]]);o(10)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(9)(),t.push([e.id,'#__vconsole{color:#000;font-size:13px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}#__vconsole .vc-max-height{max-height:19.23076923em}#__vconsole .vc-max-height-line{max-height:3.38461538em}#__vconsole .vc-min-height{min-height:3.07692308em}#__vconsole dd,#__vconsole dl,#__vconsole pre{margin:0}#__vconsole .vc-switch{display:block;position:fixed;right:.76923077em;bottom:.76923077em;color:#fff;background-color:#04be02;line-height:1;font-size:1.07692308em;padding:.61538462em 1.23076923em;z-index:10000;border-radius:.30769231em;box-shadow:0 0 .61538462em rgba(0,0,0,.4)}#__vconsole .vc-mask{top:0;background:transparent;z-index:10001;transition:background .3s;-webkit-tap-highlight-color:transparent;overflow-y:scroll}#__vconsole .vc-mask,#__vconsole .vc-panel{display:none;position:fixed;left:0;right:0;bottom:0}#__vconsole .vc-panel{min-height:85%;z-index:10002;background-color:#efeff4;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;-webkit-transform:translateY(100%);transform:translateY(100%)}#__vconsole .vc-tabbar{border-bottom:1px solid #d9d9d9;overflow-x:auto;height:3em;width:auto;white-space:nowrap}#__vconsole .vc-tabbar .vc-tab{display:inline-block;line-height:3em;padding:0 1.15384615em;border-right:1px solid #d9d9d9;text-decoration:none;color:#000;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}#__vconsole .vc-tabbar .vc-tab:active{background-color:rgba(0,0,0,.15)}#__vconsole .vc-tabbar .vc-tab.vc-actived{background-color:#fff}#__vconsole .vc-content{background-color:#fff;overflow-x:hidden;overflow-y:auto;position:absolute;top:3.07692308em;left:0;right:0;bottom:3.07692308em;-webkit-overflow-scrolling:touch}#__vconsole .vc-content.vc-has-topbar{top:5.46153846em}#__vconsole .vc-topbar{background-color:#fbf9fe;display:flex;display:-webkit-box;flex-direction:row;flex-wrap:wrap;-webkit-box-direction:row;-webkit-flex-wrap:wrap;width:100%}#__vconsole .vc-topbar .vc-toptab{display:none;flex:1;-webkit-box-flex:1;line-height:2.30769231em;padding:0 1.15384615em;border-bottom:1px solid #d9d9d9;text-decoration:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}#__vconsole .vc-topbar .vc-toptab.vc-toggle{display:block}#__vconsole .vc-topbar .vc-toptab:active{background-color:rgba(0,0,0,.15)}#__vconsole .vc-topbar .vc-toptab.vc-actived{border-bottom:1px solid #3e82f7}#__vconsole .vc-logbox{display:none;position:relative;min-height:100%}#__vconsole .vc-logbox i{font-style:normal}#__vconsole .vc-logbox .vc-log{padding-bottom:3em;-webkit-tap-highlight-color:transparent}#__vconsole .vc-logbox .vc-log:empty:before{content:"Empty";color:#999;position:absolute;top:45%;left:0;right:0;bottom:0;font-size:1.15384615em;text-align:center}#__vconsole .vc-logbox .vc-item{margin:0;padding:.46153846em .61538462em;overflow:hidden;line-height:1.3;border-bottom:1px solid #eee;word-break:break-word}#__vconsole .vc-logbox .vc-item-info{color:#6a5acd}#__vconsole .vc-logbox .vc-item-debug{color:#daa520}#__vconsole .vc-logbox .vc-item-warn{color:orange;border-color:#ffb930;background-color:#fffacd}#__vconsole .vc-logbox .vc-item-error{color:#dc143c;border-color:#f4a0ab;background-color:#ffe4e1}#__vconsole .vc-logbox .vc-log.vc-log-partly .vc-item{display:none}#__vconsole .vc-logbox .vc-log.vc-log-partly-error .vc-item-error,#__vconsole .vc-logbox .vc-log.vc-log-partly-info .vc-item-info,#__vconsole .vc-logbox .vc-log.vc-log-partly-log .vc-item-log,#__vconsole .vc-logbox .vc-log.vc-log-partly-warn .vc-item-warn{display:block}#__vconsole .vc-logbox .vc-item .vc-item-content{margin-right:4.61538462em;display:block}#__vconsole .vc-logbox .vc-item .vc-item-meta{color:#888;float:right;width:4.61538462em;text-align:right}#__vconsole .vc-logbox .vc-item.vc-item-nometa .vc-item-content{margin-right:0}#__vconsole .vc-logbox .vc-item.vc-item-nometa .vc-item-meta{display:none}#__vconsole .vc-logbox .vc-item .vc-item-code{display:block;white-space:pre-wrap;overflow:auto;position:relative}#__vconsole .vc-logbox .vc-item .vc-item-code.vc-item-code-input,#__vconsole .vc-logbox .vc-item .vc-item-code.vc-item-code-output{padding-left:.92307692em}#__vconsole .vc-logbox .vc-item .vc-item-code.vc-item-code-input:before,#__vconsole .vc-logbox .vc-item .vc-item-code.vc-item-code-output:before{content:"\\203A";position:absolute;top:-.23076923em;left:0;font-size:1.23076923em;color:#6a5acd}#__vconsole .vc-logbox .vc-item .vc-item-code.vc-item-code-output:before{content:"\\2039"}#__vconsole .vc-logbox .vc-item .vc-fold{display:block;overflow:auto;-webkit-overflow-scrolling:touch}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-outer{display:block;font-style:italic;padding-left:.76923077em;position:relative}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-outer:active{background-color:#e6e6e6}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-outer:before{content:"";position:absolute;top:.30769231em;left:.15384615em;width:0;height:0;border:.30769231em solid transparent;border-left-color:#000}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-outer.vc-toggle:before{top:.46153846em;left:0;border-top-color:#000;border-left-color:transparent}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-inner{display:none;margin-left:.76923077em}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-inner.vc-toggle{display:block}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-inner .vc-code-key{margin-left:.76923077em}#__vconsole .vc-logbox .vc-item .vc-fold .vc-fold-outer .vc-code-key{margin-left:0}#__vconsole .vc-logbox .vc-code-key{color:#905}#__vconsole .vc-logbox .vc-code-private-key{color:#d391b5}#__vconsole .vc-logbox .vc-code-function{color:#905;font-style:italic}#__vconsole .vc-logbox .vc-code-boolean,#__vconsole .vc-logbox .vc-code-number{color:#0086b3}#__vconsole .vc-logbox .vc-code-string{color:#183691}#__vconsole .vc-logbox .vc-code-null,#__vconsole .vc-logbox .vc-code-undefined{color:#666}#__vconsole .vc-logbox .vc-cmd{position:absolute;height:3.07692308em;left:0;right:0;bottom:0;border-top:1px solid #d9d9d9;display:block!important}#__vconsole .vc-logbox .vc-cmd .vc-cmd-input-wrap{display:block;height:2.15384615em;margin-right:3.07692308em;padding:.46153846em .61538462em}#__vconsole .vc-logbox .vc-cmd .vc-cmd-input{width:100%;border:none;resize:none;outline:none;padding:0;font-size:.92307692em}#__vconsole .vc-logbox .vc-cmd .vc-cmd-input::-webkit-input-placeholder{line-height:2.15384615em}#__vconsole .vc-logbox .vc-cmd .vc-cmd-btn{position:absolute;top:0;right:0;bottom:0;width:3.07692308em;border:none;background-color:#efeff4;outline:none;-webkit-touch-callout:none;font-size:1em}#__vconsole .vc-logbox .vc-cmd .vc-cmd-btn:active{background-color:rgba(0,0,0,.15)}#__vconsole .vc-logbox .vc-group .vc-group-preview{-webkit-touch-callout:none}#__vconsole .vc-logbox .vc-group .vc-group-preview:active{background-color:#e6e6e6}#__vconsole .vc-logbox .vc-group .vc-group-detail{display:none;padding:0 0 .76923077em 1.53846154em;border-bottom:1px solid #eee}#__vconsole .vc-logbox .vc-group.vc-actived .vc-group-detail{display:block;background-color:#fbf9fe}#__vconsole .vc-logbox .vc-group.vc-actived .vc-table-row{background-color:#fff}#__vconsole .vc-logbox .vc-group.vc-actived .vc-group-preview{background-color:#fbf9fe}#__vconsole .vc-logbox .vc-table .vc-table-row{display:flex;display:-webkit-flex;flex-direction:row;flex-wrap:wrap;-webkit-box-direction:row;-webkit-flex-wrap:wrap;overflow:hidden;border-bottom:1px solid #eee}#__vconsole .vc-logbox .vc-table .vc-table-row.vc-left-border{border-left:1px solid #eee}#__vconsole .vc-logbox .vc-table .vc-table-col{flex:1;-webkit-box-flex:1;padding:.23076923em .30769231em;border-left:1px solid #eee;overflow:auto;white-space:pre-wrap;word-break:break-word;-webkit-overflow-scrolling:touch}#__vconsole .vc-logbox .vc-table .vc-table-col:first-child{border:none}#__vconsole .vc-logbox .vc-table .vc-small .vc-table-col{padding:0 .30769231em;font-size:.92307692em}#__vconsole .vc-logbox .vc-table .vc-table-col-2{flex:2;-webkit-box-flex:2}#__vconsole .vc-logbox .vc-table .vc-table-col-3{flex:3;-webkit-box-flex:3}#__vconsole .vc-logbox .vc-table .vc-table-col-4{flex:4;-webkit-box-flex:4}#__vconsole .vc-logbox .vc-table .vc-table-col-5{flex:5;-webkit-box-flex:5}#__vconsole .vc-logbox .vc-table .vc-table-col-6{flex:6;-webkit-box-flex:6}#__vconsole .vc-logbox .vc-table .vc-table-row-error{border-color:#f4a0ab;background-color:#ffe4e1}#__vconsole .vc-logbox .vc-table .vc-table-row-error .vc-table-col{color:#dc143c;border-color:#f4a0ab}#__vconsole .vc-logbox .vc-table .vc-table-col-title{font-weight:700}#__vconsole .vc-logbox.vc-actived{display:block}#__vconsole .vc-toolbar{border-top:1px solid #d9d9d9;line-height:3em;position:absolute;left:0;right:0;bottom:0;display:flex;display:-webkit-box;flex-direction:row;-webkit-box-direction:row}#__vconsole .vc-toolbar .vc-tool{display:none;text-decoration:none;color:#000;width:50%;flex:1;-webkit-box-flex:1;text-align:center;position:relative;-webkit-touch-callout:none}#__vconsole .vc-toolbar .vc-tool.vc-global-tool,#__vconsole .vc-toolbar .vc-tool.vc-toggle{display:block}#__vconsole .vc-toolbar .vc-tool:active{background-color:rgba(0,0,0,.15)}#__vconsole .vc-toolbar .vc-tool:after{content:" ";position:absolute;top:.53846154em;bottom:.53846154em;right:0;border-left:1px solid #d9d9d9}#__vconsole .vc-toolbar .vc-tool-last:after{border:none}#__vconsole.vc-toggle .vc-switch{display:none}#__vconsole.vc-toggle .vc-mask{background:rgba(0,0,0,.6);display:block}#__vconsole.vc-toggle .vc-panel{-webkit-transform:translate(0);transform:translate(0)}',""])},function(e,t){"use strict";e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var o=this[t];o[2]?e.push("@media "+o[2]+"{"+o[1]+"}"):e.push(o[1])}return e.join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var a=this[i][0];"number"==typeof a&&(n[a]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"==typeof r[0]&&n[r[0]]||(o&&!r[2]?r[2]=o:o&&(r[2]="("+r[2]+") and ("+o+")"),e.push(r))}},e}},function(e,t,o){function n(e,t){for(var o=0;o<e.length;o++){var n=e[o],i=f[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(s(n.parts[a],t))}else{for(var r=[],a=0;a<n.parts.length;a++)r.push(s(n.parts[a],t));f[n.id]={id:n.id,refs:1,parts:r}}}}function i(e){for(var t=[],o={},n=0;n<e.length;n++){var i=e[n],a=i[0],r=i[1],l=i[2],c=i[3],s={css:r,media:l,sourceMap:c};o[a]?o[a].parts.push(s):t.push(o[a]={id:a,parts:[s]})}return t}function a(e,t){var o=g(),n=y[y.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),y.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");o.appendChild(t)}}function r(e){e.parentNode.removeChild(e);var t=y.indexOf(e);t>=0&&y.splice(t,1)}function l(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function c(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function s(e,t){var o,n,i;if(t.singleton){var a=m++;o=b||(b=l(t)),n=d.bind(null,o,a,!1),i=d.bind(null,o,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=c(t),n=v.bind(null,o),i=function(){r(o),o.href&&URL.revokeObjectURL(o.href)}):(o=l(t),n=u.bind(null,o),i=function(){r(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}function d(e,t,o,n){var i=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=_(t,i);else{var a=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(a,r[t]):e.appendChild(a)}}function u(e,t){var o=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function v(e,t){var o=t.css,n=t.sourceMap;n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([o],{type:"text/css"
}),a=e.href;e.href=URL.createObjectURL(i),a&&URL.revokeObjectURL(a)}var f={},p=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),g=p(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,m=0,y=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var o=i(e);return n(o,t),function(e){for(var a=[],r=0;r<o.length;r++){var l=o[r],c=f[l.id];c.refs--,a.push(c)}if(e){var s=i(e);n(s,t)}for(var r=0;r<a.length;r++){var c=a[r];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete f[c.id]}}}};var _=function(){var e=[];return function(t,o){return e[t]=o,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports='<div id="__vconsole" class="">\n <div class="vc-switch">vConsole</div>\n <div class="vc-mask">\n </div>\n <div class="vc-panel">\n <div class="vc-tabbar">\n </div>\n <div class="vc-topbar">\n </div>\n <div class="vc-content">\n </div>\n <div class="vc-toolbar">\n <a class="vc-tool vc-global-tool vc-tool-last vc-hide">Hide</a>\n </div>\n </div>\n</div>'},function(e,t){e.exports='<a class="vc-tab" data-tab="{{id}}" id="__vc_tab_{{id}}">{{name}}</a>'},function(e,t){e.exports='<div class="vc-logbox" id="__vc_log_{{id}}">\n \n</div>'},function(e,t){e.exports='<a class="vc-toptab vc-topbar-{{pluginID}}{{if (className)}} {{className}}{{/if}}">{{name}}</a>'},function(e,t){e.exports='<a class="vc-tool vc-tool-{{pluginID}}">{{name}}</a>'},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),s=function w(e,t,o){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0===n){var i=Object.getPrototypeOf(e);return null===i?void 0:w(i,t,o)}if("value"in n)return n.value;var a=n.get;if(void 0!==a)return a.call(o)},d=o(5),u=i(d),v=o(4),f=n(v),p=o(17),h=i(p),g=o(22),b=i(g),m=o(23),y=i(m),_=function(e){function t(){var e;a(this,t);for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];var l=r(this,(e=Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return l.tplTabbox=b["default"],l.windowOnError=null,l}return l(t,e),c(t,[{key:"onReady",value:function(){var e=this;s(Object.getPrototypeOf(t.prototype),"onReady",this).call(this),u["default"].bind(u["default"].one(".vc-cmd",this.$tabbox),"submit",function(t){t.preventDefault();var o=u["default"].one(".vc-cmd-input",t.target),n=o.value;o.value="",""!==n&&e.evalCommand(n)});var o="";o+="if (!!window) {",o+="window.__vConsole_cmd_result = undefined;",o+="window.__vConsole_cmd_error = false;",o+="}";var n=document.getElementsByTagName("script"),i="";n.length>0&&(i=n[0].getAttribute("nonce")||"");var a=document.createElement("SCRIPT");a.innerHTML=o,a.setAttribute("nonce",i),document.documentElement.appendChild(a),document.documentElement.removeChild(a)}},{key:"mockConsole",value:function(){s(Object.getPrototypeOf(t.prototype),"mockConsole",this).call(this);var e=this;f.isFunction(window.onerror)&&(this.windowOnError=window.onerror),window.onerror=function(t,o,n,i,a){var r=t;o&&(r+="\n"+o.replace(location.origin,"")),(n||i)&&(r+=":"+n+":"+i);var l=!!a&&!!a.stack,c=l&&a.stack.toString()||"";e.printLog({logType:"error",logs:[r,c],noOrigin:!0}),f.isFunction(e.windowOnError)&&e.windowOnError.call(window,t,o,n,i,a)}}},{key:"evalCommand",value:function(e){this.printLog({logType:"log",content:u["default"].render(y["default"],{content:e,type:"input"}),noMeta:!0,style:""});var t="";t+="try {\n",t+="window.__vConsole_cmd_result = (function() {\n",t+="return "+e+";\n",t+="})();\n",t+="window.__vConsole_cmd_error = false;\n",t+="} catch (e) {\n",t+="window.__vConsole_cmd_result = e.message;\n",t+="window.__vConsole_cmd_error = true;\n",t+="}";var o=document.getElementsByTagName("script"),n="";o.length>0&&(n=o[0].getAttribute("nonce")||"");var i=document.createElement("SCRIPT");i.innerHTML=t,i.setAttribute("nonce",n),document.documentElement.appendChild(i);var a=window.__vConsole_cmd_result,r=window.__vConsole_cmd_error;if(document.documentElement.removeChild(i),0==r){var l=void 0;f.isArray(a)||f.isObject(a)?l=this.getFoldedLine(a):(f.isNull(a)?a="null":f.isUndefined(a)?a="undefined":f.isFunction(a)?a="function()":f.isString(a)&&(a='"'+a+'"'),l=u["default"].render(y["default"],{content:a,type:"output"})),this.printLog({logType:"log",content:l,noMeta:!0,style:""})}else this.printLog({logType:"error",logs:[a],noMeta:!0,style:""})}}]),t}(h["default"]);t["default"]=_,e.exports=t["default"]},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},s=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),d=o(4),u=i(d),v=o(5),f=n(v),p=o(18),h=n(p),g=o(19),b=n(g),m=o(20),y=n(m),_=o(21),w=n(_),x=1e3,k=function(e){function t(){var e;a(this,t);for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];var l=r(this,(e=Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return l.tplTabbox="",l.allowUnformattedLog=!0,l.isReady=!1,l.isShow=!1,l.$tabbox=null,l.console={},l.logList=[],l.isInBottom=!0,l.maxLogNumber=x,l.logNumber=0,l.mockConsole(),l}return l(t,e),s(t,[{key:"onInit",value:function(){this.$tabbox=f["default"].render(this.tplTabbox,{}),this.updateMaxLogNumber()}},{key:"onRenderTab",value:function(e){e(this.$tabbox)}},{key:"onAddTopBar",value:function(e){for(var t=this,o=["All","Log","Info","Warn","Error"],n=[],i=0;i<o.length;i++)n.push({name:o[i],data:{type:o[i].toLowerCase()},className:"",onClick:function(){return f["default"].hasClass(this,"vc-actived")?!1:void t.showLogType(this.dataset.type||"all")}});n[0].className="vc-actived",e(n)}},{key:"onAddTool",value:function(e){var t=this,o=[{name:"Clear",global:!1,onClick:function(){t.clearLog(),t.vConsole.triggerEvent("clearLog")}}];e(o)}},{key:"onReady",value:function(){var e=this;e.isReady=!0;var t=f["default"].all(".vc-subtab",e.$tabbox);f["default"].bind(t,"click",function(o){if(o.preventDefault(),f["default"].hasClass(this,"vc-actived"))return!1;f["default"].removeClass(t,"vc-actived"),f["default"].addClass(this,"vc-actived");var n=this.dataset.type,i=f["default"].one(".vc-log",e.$tabbox);f["default"].removeClass(i,"vc-log-partly-log"),f["default"].removeClass(i,"vc-log-partly-info"),f["default"].removeClass(i,"vc-log-partly-warn"),f["default"].removeClass(i,"vc-log-partly-error"),"all"==n?f["default"].removeClass(i,"vc-log-partly"):(f["default"].addClass(i,"vc-log-partly"),f["default"].addClass(i,"vc-log-partly-"+n))});var o=f["default"].one(".vc-content");f["default"].bind(o,"scroll",function(t){e.isShow&&(o.scrollTop+o.offsetHeight>=o.scrollHeight?e.isInBottom=!0:e.isInBottom=!1)});for(var n=0;n<e.logList.length;n++)e.printLog(e.logList[n]);e.logList=[]}},{key:"onRemove",value:function(){window.console.log=this.console.log,window.console.info=this.console.info,window.console.warn=this.console.warn,window.console.debug=this.console.debug,window.console.error=this.console.error,window.console.time=this.console.time,window.console.timeEnd=this.console.timeEnd,window.console.clear=this.console.clear,this.console={}}},{key:"onShow",value:function(){this.isShow=!0,1==this.isInBottom&&this.autoScrollToBottom()}},{key:"onHide",value:function(){this.isShow=!1}},{key:"onShowConsole",value:function(){1==this.isInBottom&&this.autoScrollToBottom()}},{key:"onUpdateOption",value:function(){this.vConsole.option.maxLogNumber!=this.maxLogNumber&&(this.updateMaxLogNumber(),this.limitMaxLogs())}},{key:"updateMaxLogNumber",value:function(){this.maxLogNumber=this.vConsole.option.maxLogNumber||x,this.maxLogNumber=Math.max(1,this.maxLogNumber)}},{key:"limitMaxLogs",value:function(){if(this.isReady)for(;this.logNumber>this.maxLogNumber;){var e=f["default"].one(".vc-item",this.$tabbox);if(!e)break;e.parentNode.removeChild(e),this.logNumber--}}},{key:"showLogType",value:function(e){var t=f["default"].one(".vc-log",this.$tabbox);f["default"].removeClass(t,"vc-log-partly-log"),f["default"].removeClass(t,"vc-log-partly-info"),f["default"].removeClass(t,"vc-log-partly-warn"),f["default"].removeClass(t,"vc-log-partly-error"),"all"==e?f["default"].removeClass(t,"vc-log-partly"):(f["default"].addClass(t,"vc-log-partly"),f["default"].addClass(t,"vc-log-partly-"+e))}},{key:"autoScrollToBottom",value:function(){this.vConsole.option.disableLogScrolling||this.scrollToBottom()}},{key:"scrollToBottom",value:function(){var e=f["default"].one(".vc-content");e&&(e.scrollTop=e.scrollHeight-e.offsetHeight)}},{key:"mockConsole",value:function(){var e=this,t=this,o=["log","info","warn","debug","error"];window.console?(o.map(function(e){t.console[e]=window.console[e]}),t.console.time=window.console.time,t.console.timeEnd=window.console.timeEnd,t.console.clear=window.console.clear):window.console={},o.map(function(t){window.console[t]=function(){for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];e.printLog({logType:t,logs:n})}});var n={};window.console.time=function(e){n[e]=Date.now()},window.console.timeEnd=function(e){var t=n[e];t?(console.log(e+":",Date.now()-t+"ms"),delete n[e]):console.log(e+": 0ms")},window.console.clear=function(){for(var e=arguments.length,o=Array(e),n=0;e>n;n++)o[n]=arguments[n];t.clearLog(),t.console.clear.apply(window.console,o)}}},{key:"clearLog",value:function(){f["default"].one(".vc-log",this.$tabbox).innerHTML=""}},{key:"printOriginLog",value:function(e){"function"==typeof this.console[e.logType]&&this.console[e.logType].apply(window.console,e.logs)}},{key:"printLog",value:function(e){var t=e.logs||[];if(t.length||e.content){t=[].slice.call(t||[]);var o=!0,n=/^\[(\w+)\]$/i,i="";if(u.isString(t[0])){var a=t[0].match(n);null!==a&&a.length>0&&(i=a[1].toLowerCase())}if(i?o=i==this.id:0==this.allowUnformattedLog&&(o=!1),!o)return void(e.noOrigin||this.printOriginLog(e));if(e.date||(e.date=+new Date),!this.isReady)return void this.logList.push(e);if(u.isString(t[0])&&(t[0]=t[0].replace(n,""),""===t[0]&&t.shift()),!e.meta){var r=u.getDate(e.date);e.meta=r.hour+":"+r.minute+":"+r.second}for(var l=f["default"].render(b["default"],{logType:e.logType,noMeta:!!e.noMeta,meta:e.meta,style:e.style||""}),s=f["default"].one(".vc-item-content",l),d=0;d<t.length;d++){var v=void 0;try{if(""===t[d])continue;v=u.isFunction(t[d])?"<span> "+t[d].toString()+"</span>":u.isObject(t[d])||u.isArray(t[d])?this.getFoldedLine(t[d]):"<span> "+u.htmlEncode(t[d]).replace(/\n/g,"<br/>")+"</span>"}catch(p){v="<span> ["+c(t[d])+"]</span>"}v&&("string"==typeof v?s.insertAdjacentHTML("beforeend",v):s.insertAdjacentElement("beforeend",v))}u.isObject(e.content)&&s.insertAdjacentElement("beforeend",e.content),f["default"].one(".vc-log",this.$tabbox).insertAdjacentElement("beforeend",l),this.logNumber++,this.limitMaxLogs(),this.isInBottom&&this.autoScrollToBottom(),e.noOrigin||this.printOriginLog(e)}}},{key:"getFoldedLine",value:function(e,t){var o=this;if(!t){var n=u.JSONStringify(e),i=n.substr(0,26);t=u.getObjName(e),n.length>26&&(i+="..."),t+=" "+i}var a=f["default"].render(y["default"],{outer:t,lineType:"obj"});return f["default"].bind(f["default"].one(".vc-fold-outer",a),"click",function(t){t.preventDefault(),t.stopPropagation(),f["default"].hasClass(a,"vc-toggle")?(f["default"].removeClass(a,"vc-toggle"),f["default"].removeClass(f["default"].one(".vc-fold-inner",a),"vc-toggle"),f["default"].removeClass(f["default"].one(".vc-fold-outer",a),"vc-toggle")):(f["default"].addClass(a,"vc-toggle"),f["default"].addClass(f["default"].one(".vc-fold-inner",a),"vc-toggle"),f["default"].addClass(f["default"].one(".vc-fold-outer",a),"vc-toggle"));var n=f["default"].one(".vc-fold-inner",a);if(0==n.children.length&&e){for(var i=u.getObjAllKeys(e),r=0;r<i.length;r++){var l=e[i[r]],c="undefined",s="";u.isString(l)?(c="string",l='"'+l+'"'):u.isNumber(l)?c="number":u.isBoolean(l)?c="boolean":u.isNull(l)?(c="null",l="null"):u.isUndefined(l)?(c="undefined",l="undefined"):u.isFunction(l)?(c="function",l="function()"):u.isSymbol(l)&&(c="symbol");var d=void 0;if(u.isArray(l)){var v=u.getObjName(l)+"["+l.length+"]";d=o.getFoldedLine(l,f["default"].render(w["default"],{key:i[r],keyType:s,value:v,valueType:"array"},!0))}else if(u.isObject(l)){var p=u.getObjName(l);d=o.getFoldedLine(l,f["default"].render(w["default"],{key:u.htmlEncode(i[r]),keyType:s,value:p,valueType:"object"},!0))}else{e.hasOwnProperty&&!e.hasOwnProperty(i[r])&&(s="private");var h={lineType:"kv",key:u.htmlEncode(i[r]),keyType:s,value:u.htmlEncode(l),valueType:c};d=f["default"].render(y["default"],h)}n.insertAdjacentElement("beforeend",d)}if(u.isObject(e)){var g=e.__proto__,b=void 0;b=u.isObject(g)?o.getFoldedLine(g,f["default"].render(w["default"],{key:"__proto__",keyType:"private",value:u.getObjName(g),valueType:"object"},!0)):f["default"].render(w["default"],{key:"__proto__",keyType:"private",value:"null",valueType:"null"}),n.insertAdjacentElement("beforeend",b)}}return!1}),a}}]),t}(h["default"]);t["default"]=k,e.exports=t["default"]},function(e,t){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),i=function(){function e(t){var n=arguments.length<=1||void 0===arguments[1]?"newPlugin":arguments[1];o(this,e),this.id=t,this.name=n,this.isReady=!1,this.eventList={}}return n(e,[{key:"on",value:function(e,t){return this.eventList[e]=t,this}},{key:"trigger",value:function(e,t){if("function"==typeof this.eventList[e])this.eventList[e].call(this,t);else{var o="on"+e.charAt(0).toUpperCase()+e.slice(1);"function"==typeof this[o]&&this[o].call(this,t)}return this}},{key:"id",get:function(){return this._id},set:function(e){if(!e)throw"Plugin ID cannot be empty";this._id=e.toLowerCase()}},{key:"name",get:function(){return this._name},set:function(e){if(!e)throw"Plugin name cannot be empty";this._name=e}},{key:"vConsole",get:function(){return this._vConsole||void 0},set:function(e){if(!e)throw"vConsole cannot be empty";this._vConsole=e}}]),e}();t["default"]=i,e.exports=t["default"]},function(e,t){e.exports='<div class="vc-item vc-item-{{logType}} {{if (!noMeta)}}vc-item-nometa{{/if}} {{style}}">\n <span class="vc-item-meta">{{if (!noMeta)}}{{meta}}{{/if}}</span>\n <div class="vc-item-content"></div>\n</div>'},function(e,t){e.exports='<div class="vc-fold">\n {{if (lineType == \'obj\')}}\n <i class="vc-fold-outer">{{outer}}</i>\n <div class="vc-fold-inner"></div>\n {{else if (lineType == \'value\')}}\n <i class="vc-code-{{valueType}}">{{value}}</i>\n {{else if (lineType == \'kv\')}}\n <i class="vc-code-key{{if (keyType)}} vc-code-{{keyType}}-key{{/if}}">{{key}}</i>: <i class="vc-code-{{valueType}}">{{value}}</i>\n {{/if}}\n</div>'},function(e,t){e.exports='<span>\n <i class="vc-code-key{{if (keyType)}} vc-code-{{keyType}}-key{{/if}}">{{key}}</i>: <i class="vc-code-{{valueType}}">{{value}}</i>\n</span>'},function(e,t){e.exports='<div>\n <div class="vc-log"></div>\n <form class="vc-cmd">\n <button class="vc-cmd-btn" type="submit">OK</button>\n <div class="vc-cmd-input-wrap">\n <textarea class="vc-cmd-input" placeholder="command..."></textarea>\n </div>\n </form>\n</div>'},function(e,t){e.exports='<pre class="vc-item-code vc-item-code-{{type}}">{{content}}</pre>'},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),s=function g(e,t,o){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0===n){var i=Object.getPrototypeOf(e);return null===i?void 0:g(i,t,o)}if("value"in n)return n.value;var a=n.get;if(void 0!==a)return a.call(o)},d=o(4),u=(i(d),o(17)),v=n(u),f=o(25),p=n(f),h=function(e){function t(){var e;a(this,t);for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];var l=r(this,(e=Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return l.tplTabbox=p["default"],l.allowUnformattedLog=!1,l}return l(t,e),c(t,[{key:"onInit",value:function(){s(Object.getPrototypeOf(t.prototype),"onInit",this).call(this),this.printSystemInfo()}},{key:"printSystemInfo",value:function(){var e=navigator.userAgent,t="",o=e.match(/(ipod).*\s([\d_]+)/i),n=e.match(/(ipad).*\s([\d_]+)/i),i=e.match(/(iphone)\sos\s([\d_]+)/i),a=e.match(/(android)\s([\d\.]+)/i);t="Unknown",a?t="Android "+a[2]:i?t="iPhone, iOS "+i[2].replace(/_/g,"."):n?t="iPad, iOS "+n[2].replace(/_/g,"."):o&&(t="iPod, iOS "+o[2].replace(/_/g,"."));var r=t,l=e.match(/MicroMessenger\/([\d\.]+)/i);t="Unknown",l&&l[1]?(t=l[1],r+=", WeChat "+t,console.info("[system]","System:",r)):console.info("[system]","System:",r),t="Unknown",t="https:"==location.protocol?"HTTPS":"http:"==location.protocol?"HTTP":location.protocol.replace(":",""),r=t;var c=e.toLowerCase().match(/ nettype\/([^ ]+)/g);t="Unknown",c&&c[0]?(c=c[0].split("/"),t=c[1],r+=", "+t,console.info("[system]","Network:",r)):console.info("[system]","Protocol:",r),console.info("[system]","UA:",e),setTimeout(function(){var e=window.performance||window.msPerformance||window.webkitPerformance;if(e&&e.timing){var t=e.timing;t.navigationStart&&console.info("[system]","navigationStart:",t.navigationStart),t.navigationStart&&t.domainLookupStart&&console.info("[system]","navigation:",t.domainLookupStart-t.navigationStart+"ms"),t.domainLookupEnd&&t.domainLookupStart&&console.info("[system]","dns:",t.domainLookupEnd-t.domainLookupStart+"ms"),t.connectEnd&&t.connectStart&&(t.connectEnd&&t.secureConnectionStart?console.info("[system]","tcp (ssl):",t.connectEnd-t.connectStart+"ms ("+(t.connectEnd-t.secureConnectionStart)+"ms)"):console.info("[system]","tcp:",t.connectEnd-t.connectStart+"ms")),t.responseStart&&t.requestStart&&console.info("[system]","request:",t.responseStart-t.requestStart+"ms"),t.responseEnd&&t.responseStart&&console.info("[system]","response:",t.responseEnd-t.responseStart+"ms"),t.domComplete&&t.domLoading&&(t.domContentLoadedEventStart&&t.domLoading?console.info("[system]","domComplete (domLoaded):",t.domComplete-t.domLoading+"ms ("+(t.domContentLoadedEventStart-t.domLoading)+"ms)"):console.info("[system]","domComplete:",t.domComplete-t.domLoading+"ms")),t.loadEventEnd&&t.loadEventStart&&console.info("[system]","loadEvent:",t.loadEventEnd-t.loadEventStart+"ms"),t.navigationStart&&t.loadEventEnd&&console.info("[system]","total (DOM):",t.loadEventEnd-t.navigationStart+"ms ("+(t.domComplete-t.navigationStart)+"ms)")}},0)}}]),t}(v["default"]);t["default"]=h,e.exports=t["default"]},function(e,t){e.exports='<div>\n <div class="vc-log"></div>\n</div>'},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),s=o(5),d=i(s),u=o(4),v=n(u),f=o(18),p=i(f),h=o(27),g=i(h),b=o(28),m=i(b),y=o(29),_=i(y),w=function(e){function t(){var e;a(this,t);for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];var l=r(this,(e=Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return l.$tabbox=d["default"].render(g["default"],{}),l.$header=null,l.reqList={},l.domList={},l.isReady=!1,l.isShow=!1,l.isInBottom=!0,l._open=void 0,l._send=void 0,l.mockAjax(),l}return l(t,e),c(t,[{key:"onRenderTab",value:function(e){e(this.$tabbox)}},{key:"onAddTool",value:function(e){var t=this,o=[{name:"Clear",global:!1,onClick:function(e){t.clearLog()}}];e(o)}},{key:"onReady",value:function(){var e=this;e.isReady=!0,this.renderHeader(),d["default"].delegate(d["default"].one(".vc-log",this.$tabbox),"click",".vc-group-preview",function(t){var o=this.dataset.reqid,n=this.parentNode;d["default"].hasClass(n,"vc-actived")?(d["default"].removeClass(n,"vc-actived"),e.updateRequest(o,{actived:!1})):(d["default"].addClass(n,"vc-actived"),e.updateRequest(o,{actived:!0})),t.preventDefault()});var t=d["default"].one(".vc-content");d["default"].bind(t,"scroll",function(o){e.isShow&&(t.scrollTop+t.offsetHeight>=t.scrollHeight?e.isInBottom=!0:e.isInBottom=!1)});for(var o in e.reqList)e.updateRequest(o,{})}},{key:"onRemove",value:function(){window.XMLHttpRequest&&(window.XMLHttpRequest.prototype.open=this._open,window.XMLHttpRequest.prototype.send=this._send,this._open=void 0,this._send=void 0)}},{key:"onShow",value:function(){this.isShow=!0,1==this.isInBottom&&this.scrollToBottom()}},{key:"onHide",value:function(){this.isShow=!1}},{key:"onShowConsole",value:function(){1==this.isInBottom&&this.scrollToBottom()}},{key:"scrollToBottom",value:function(){var e=d["default"].one(".vc-content");e.scrollTop=e.scrollHeight-e.offsetHeight}},{key:"clearLog",value:function(){this.reqList={};for(var e in this.domList)this.domList[e].remove(),this.domList[e]=void 0;this.domList={},this.renderHeader()}},{key:"renderHeader",value:function(){var e=Object.keys(this.reqList).length,t=d["default"].render(m["default"],{count:e}),o=d["default"].one(".vc-log",this.$tabbox);this.$header?this.$header.parentNode.replaceChild(t,this.$header):o.parentNode.insertBefore(t,o),this.$header=t}},{key:"updateRequest",value:function(e,t){var o=Object.keys(this.reqList).length,n=this.reqList[e]||{};for(var i in t)n[i]=t[i];if(this.reqList[e]=n,this.isReady){var a={id:e,url:n.url,status:n.status,method:n.method||"-",costTime:n.costTime>0?n.costTime+"ms":"-",header:n.header||null,getData:n.getData||null,postData:n.postData||null,response:null,actived:!!n.actived};switch(n.responseType){case"":case"text":if(v.isString(n.response))try{a.response=JSON.parse(n.response),a.response=JSON.stringify(a.response,null,1),a.response=v.htmlEncode(a.response)}catch(r){a.response=v.htmlEncode(n.response)}else"undefined"!=typeof n.response&&(a.response=Object.prototype.toString.call(n.response));break;case"json":"undefined"!=typeof n.response&&(a.response=JSON.stringify(n.response,null,1));break;case"blob":case"document":case"arraybuffer":default:"undefined"!=typeof n.response&&(a.response=Object.prototype.toString.call(n.response))}0==n.readyState||1==n.readyState?a.status="Pending":2==n.readyState||3==n.readyState?a.status="Loading":4==n.readyState||(a.status="Unknown");var l=d["default"].render(_["default"],a),c=this.domList[e];n.status>=400&&d["default"].addClass(d["default"].one(".vc-group-preview",l),"vc-table-row-error"),c?c.parentNode.replaceChild(l,c):d["default"].one(".vc-log",this.$tabbox).insertAdjacentElement("beforeend",l),this.domList[e]=l;var s=Object.keys(this.reqList).length;s!=o&&this.renderHeader(),this.isInBottom&&this.scrollToBottom()}}},{key:"mockAjax",value:function(){var e=window.XMLHttpRequest;if(e){var t=this,o=window.XMLHttpRequest.prototype.open,n=window.XMLHttpRequest.prototype.send;t._open=o,t._send=n,window.XMLHttpRequest.prototype.open=function(){var e=this,n=[].slice.call(arguments),i=n[0],a=n[1],r=t.getUniqueID(),l=null;e._requestID=r,e._method=i,e._url=a;var c=e.onreadystatechange||function(){},s=function(){var o=t.reqList[r]||{};if(o.readyState=e.readyState,o.status=0,e.readyState>1&&(o.status=e.status),o.responseType=e.responseType,0==e.readyState)o.startTime||(o.startTime=+new Date);else if(1==e.readyState)o.startTime||(o.startTime=+new Date);else if(2==e.readyState){o.header={};for(var n=e.getAllResponseHeaders()||"",i=n.split("\n"),a=0;a<i.length;a++){var s=i[a];if(s){var d=s.split(": "),u=d[0],v=d.slice(1).join(": ");o.header[u]=v}}}else 3==e.readyState||(4==e.readyState?(clearInterval(l),o.endTime=+new Date,o.costTime=o.endTime-(o.startTime||o.endTime),o.response=e.response):clearInterval(l));return e._noVConsole||t.updateRequest(r,o),c.apply(e,arguments)};e.onreadystatechange=s;var d=-1;return l=setInterval(function(){d!=e.readyState&&(d=e.readyState,s.call(e))},10),o.apply(e,n)},window.XMLHttpRequest.prototype.send=function(){var e=this,o=[].slice.call(arguments),i=o[0],a=t.reqList[e._requestID]||{};a.method=e._method.toUpperCase();var r=e._url.split("?");if(a.url=r.shift(),r.length>0){a.getData={},r=r.join("?"),r=r.split("&");var l=!0,c=!1,s=void 0;try{for(var d,u=r[Symbol.iterator]();!(l=(d=u.next()).done);l=!0){var f=d.value;f=f.split("="),a.getData[f[0]]=f[1]}}catch(p){c=!0,s=p}finally{try{!l&&u["return"]&&u["return"]()}finally{if(c)throw s}}}if("POST"==a.method)if(v.isString(i)){var h=i.split("&");a.postData={};var g=!0,b=!1,m=void 0;try{for(var y,_=h[Symbol.iterator]();!(g=(y=_.next()).done);g=!0){var w=y.value;w=w.split("="),a.postData[w[0]]=w[1]}}catch(p){b=!0,m=p}finally{try{!g&&_["return"]&&_["return"]()}finally{if(b)throw m}}}else v.isPlainObject(i)&&(a.postData=i);return e._noVConsole||t.updateRequest(e._requestID,a),n.apply(e,o)}}}},{key:"getUniqueID",value:function(){var e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,o="x"==e?t:3&t|8;return o.toString(16)});return e}}]),t}(p["default"]);t["default"]=w,e.exports=t["default"]},function(e,t){e.exports='<div class="vc-table">\n <div class="vc-log"></div>\n</div>'},function(e,t){e.exports='<dl class="vc-table-row">\n <dd class="vc-table-col vc-table-col-4">Name {{if (count > 0)}}({{count}}){{/if}}</dd>\n <dd class="vc-table-col">Method</dd>\n <dd class="vc-table-col">Status</dd>\n <dd class="vc-table-col">Time</dd>\n</dl>'},function(e,t){e.exports='<div class="vc-group {{actived ? \'vc-actived\' : \'\'}}">\n <dl class="vc-table-row vc-group-preview" data-reqid="{{id}}">\n <dd class="vc-table-col vc-table-col-4">{{url}}</dd>\n <dd class="vc-table-col">{{method}}</dd>\n <dd class="vc-table-col">{{status}}</dd>\n <dd class="vc-table-col">{{costTime}}</dd>\n </dl>\n <div class="vc-group-detail">\n {{if (header !== null)}}\n <div>\n <dl class="vc-table-row vc-left-border">\n <dt class="vc-table-col vc-table-col-title">Headers</dt>\n </dl>\n {{for (var key in header)}}\n <div class="vc-table-row vc-left-border vc-small">\n <div class="vc-table-col vc-table-col-2">{{key}}</div>\n <div class="vc-table-col vc-table-col-4 vc-max-height-line">{{header[key]}}</div>\n </div>\n {{/for}}\n </div>\n {{/if}}\n {{if (getData !== null)}}\n <div>\n <dl class="vc-table-row vc-left-border">\n <dt class="vc-table-col vc-table-col-title">Query String Parameters</dt>\n </dl>\n {{for (var key in getData)}}\n <div class="vc-table-row vc-left-border vc-small">\n <div class="vc-table-col vc-table-col-2">{{key}}</div>\n <div class="vc-table-col vc-table-col-4 vc-max-height-line">{{getData[key]}}</div>\n </div>\n {{/for}}\n </div>\n {{/if}}\n {{if (postData !== null)}}\n <div>\n <dl class="vc-table-row vc-left-border">\n <dt class="vc-table-col vc-table-col-title">Form Data</dt>\n </dl>\n {{for (var key in postData)}}\n <div class="vc-table-row vc-left-border vc-small">\n <div class="vc-table-col vc-table-col-2">{{key}}</div>\n <div class="vc-table-col vc-table-col-4 vc-max-height-line">{{postData[key]}}</div>\n </div>\n {{/for}}\n </div>\n {{/if}}\n <div>\n <dl class="vc-table-row vc-left-border">\n <dt class="vc-table-col vc-table-col-title">Response</dt>\n </dl>\n <div class="vc-table-row vc-left-border vc-small">\n <pre class="vc-table-col vc-max-height vc-min-height">{{response || \'\'}}</pre>\n </div>\n </div>\n </div>\n</div>'},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");
}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}();o(31);var s=o(18),d=i(s),u=o(33),v=i(u),f=o(34),p=i(f),h=o(4),g=(n(h),o(5)),b=i(g),m=function(e){function t(){var e;a(this,t);for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];var l=r(this,(e=Object.getPrototypeOf(t)).call.apply(e,[this].concat(n))),c=l;c.isInited=!1,c.node={},c.$tabbox=b["default"].render(v["default"],{}),c.nodes=[],c.activedElem={};var s=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;return c.observer=new s(function(e){for(var t=0;t<e.length;t++){var o=e[t];c._isInVConsole(o.target)||c.onMutation(o)}}),l}return l(t,e),c(t,[{key:"onRenderTab",value:function(e){e(this.$tabbox)}},{key:"onAddTool",value:function(e){var t=this,o=[{name:"Expend",global:!1,onClick:function(e){if(t.activedElem)if(b["default"].hasClass(t.activedElem,"vc-toggle"))for(var o=0;o<t.activedElem.childNodes.length;o++){var n=t.activedElem.childNodes[o];if(b["default"].hasClass(n,"vcelm-l")&&!b["default"].hasClass(n,"vcelm-noc")&&!b["default"].hasClass(n,"vc-toggle")){b["default"].one(".vcelm-node",n).click();break}}else b["default"].one(".vcelm-node",t.activedElem).click()}},{name:"Collapse",global:!1,onClick:function(e){t.activedElem&&(b["default"].hasClass(t.activedElem,"vc-toggle")?b["default"].one(".vcelm-node",t.activedElem).click():t.activedElem.parentNode&&b["default"].hasClass(t.activedElem.parentNode,"vcelm-l")&&b["default"].one(".vcelm-node",t.activedElem.parentNode).click())}}];e(o)}},{key:"onShow",value:function(){if(!this.isInited){this.isInited=!0,this.node=this.getNode(document.documentElement);var e=this.renderView(this.node,b["default"].one(".vc-log",this.$tabbox)),t=b["default"].one(".vcelm-node",e);t&&t.click();var o={attributes:!0,childList:!0,characterData:!0,subtree:!0};this.observer.observe(document.documentElement,o)}}},{key:"onRemove",value:function(){this.observer.disconnect()}},{key:"onMutation",value:function(e){switch(e.type){case"childList":e.removedNodes.length>0&&this.onChildRemove(e),e.addedNodes.length>0&&this.onChildAdd(e);break;case"attributes":this.onAttributesChange(e);break;case"characterData":this.onCharacterDataChange(e)}}},{key:"onChildRemove",value:function(e){var t=e.target,o=t.__vconsole_node;if(o){for(var n=0;n<e.removedNodes.length;n++){var i=e.removedNodes[n],a=i.__vconsole_node;a&&a.view&&a.view.parentNode.removeChild(a.view)}this.getNode(t)}}},{key:"onChildAdd",value:function(e){var t=e.target,o=t.__vconsole_node;if(o){this.getNode(t),o.view&&b["default"].removeClass(o.view,"vcelm-noc");for(var n=0;n<e.addedNodes.length;n++){var i=e.addedNodes[n],a=i.__vconsole_node;if(a)if(null!==e.nextSibling){var r=e.nextSibling.__vconsole_node;r.view&&this.renderView(a,r.view,"insertBefore")}else o.view&&(o.view.lastChild?this.renderView(a,o.view.lastChild,"insertBefore"):this.renderView(a,o.view))}}}},{key:"onAttributesChange",value:function(e){var t=e.target.__vconsole_node;t&&(t=this.getNode(e.target),t.view&&this.renderView(t,t.view,!0))}},{key:"onCharacterDataChange",value:function(e){var t=e.target.__vconsole_node;t&&(t=this.getNode(e.target),t.view&&this.renderView(t,t.view,!0))}},{key:"renderView",value:function(e,t,o){var n=this,i=new p["default"](e).get();switch(e.view=i,b["default"].delegate(i,"click",".vcelm-node",function(t){t.stopPropagation();var o=this.parentNode;if(!b["default"].hasClass(o,"vcelm-noc")){n.activedElem=o,b["default"].hasClass(o,"vc-toggle")?b["default"].removeClass(o,"vc-toggle"):b["default"].addClass(o,"vc-toggle");for(var i=-1,a=0;a<o.children.length;a++){var r=o.children[a];b["default"].hasClass(r,"vcelm-l")&&(i++,r.children.length>0||(e.childNodes[i]?n.renderView(e.childNodes[i],r,"replace"):r.style.display="none"))}}}),o){case"replace":t.parentNode.replaceChild(i,t);break;case"insertBefore":t.parentNode.insertBefore(i,t);break;default:t.appendChild(i)}return i}},{key:"getNode",value:function(e){if(!this._isIgnoredElement(e)){var t=e.__vconsole_node||{};if(t.nodeType=e.nodeType,t.nodeName=e.nodeName,t.tagName=e.tagName||"",t.textContent="",t.nodeType!=e.TEXT_NODE&&t.nodeType!=e.DOCUMENT_TYPE_NODE||(t.textContent=e.textContent),t.id=e.id||"",t.className=e.className||"",t.attributes=[],e.hasAttributes&&e.hasAttributes())for(var o=0;o<e.attributes.length;o++)t.attributes.push({name:e.attributes[o].name,value:e.attributes[o].value||""});if(t.childNodes=[],e.childNodes.length>0)for(var n=0;n<e.childNodes.length;n++){var i=this.getNode(e.childNodes[n]);i&&t.childNodes.push(i)}return e.__vconsole_node=t,t}}},{key:"_isIgnoredElement",value:function(e){return e.nodeType==e.TEXT_NODE&&""==e.textContent.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$|\n+/g,"")}},{key:"_isInVConsole",value:function(e){for(var t=e;void 0!=t;){if("__vconsole"==t.id)return!0;t=t.parentNode||void 0}return!1}}]),t}(d["default"]);t["default"]=m,e.exports=t["default"]},function(e,t,o){var n=o(32);"string"==typeof n&&(n=[[e.id,n,""]]);o(10)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(9)(),t.push([e.id,'.vcelm-node{color:#183691}.vcelm-k{color:#0086b3}.vcelm-v{color:#905}.vcelm-l{padding-left:8px;position:relative;word-wrap:break-word;line-height:1}.vcelm-l.vc-toggle>.vcelm-node{display:block}.vcelm-l .vcelm-node:active{background-color:rgba(0,0,0,.15)}.vcelm-l.vcelm-noc .vcelm-node:active{background-color:transparent}.vcelm-t{white-space:pre-wrap;word-wrap:break-word}.vcelm-l .vcelm-l{display:none}.vcelm-l.vc-toggle>.vcelm-l{margin-left:4px;display:block}.vcelm-l:before{content:"";display:block;position:absolute;top:6px;left:3px;width:0;height:0;border:3px solid transparent;border-left-color:#000}.vcelm-l.vc-toggle:before{display:block;top:6px;left:0;border-top-color:#000;border-left-color:transparent}.vcelm-l.vcelm-noc:before{display:none}',""])},function(e,t){e.exports='<div>\n <div class="vc-log"></div>\n</div>'},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e){var t=["br","hr","img","input","link","meta"];return e=e?e.toLowerCase():"",t.indexOf(e)>-1}function l(e){return document.createTextNode(e)}function c(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),d=o(35),u=i(d),v=o(36),f=i(v),p=o(4),h=(n(p),o(5)),g=i(h),b=function(){function e(t){a(this,e),this.node=t,this.view=this._create(this.node)}return s(e,[{key:"get",value:function(){return this.view}},{key:"_create",value:function(e,t){var o=document.createElement("DIV");switch(g["default"].addClass(o,"vcelm-l"),e.nodeType){case o.ELEMENT_NODE:this._createElementNode(e,o);break;case o.TEXT_NODE:this._createTextNode(e,o);break;case o.COMMENT_NODE:case o.DOCUMENT_NODE:case o.DOCUMENT_TYPE_NODE:case o.DOCUMENT_FRAGMENT_NODE:}return o}},{key:"_createTextNode",value:function(e,t){g["default"].addClass(t,"vcelm-t vcelm-noc"),e.textContent&&t.appendChild(l(c(e.textContent)))}},{key:"_createElementNode",value:function(e,t){var o=r(e.tagName),n=o;0==e.childNodes.length&&(n=!0);var i=g["default"].render(u["default"],{node:e}),a=g["default"].render(f["default"],{node:e});if(n)g["default"].addClass(t,"vcelm-noc"),t.appendChild(i),o||t.appendChild(a);else{t.appendChild(i);for(var l=0;l<e.childNodes.length;l++){var c=document.createElement("DIV");g["default"].addClass(c,"vcelm-l"),t.appendChild(c)}o||t.appendChild(a)}}}]),e}();t["default"]=b,e.exports=t["default"]},function(e,t){e.exports='<span class="vcelm-node">&lt;{{node.tagName.toLowerCase()}}{{if (node.className || node.attributes.length)}}\n <i class="vcelm-k">\n {{for (var i = 0; i < node.attributes.length; i++)}}\n {{if (node.attributes[i].value !== \'\')}}\n {{node.attributes[i].name}}="<i class="vcelm-v">{{node.attributes[i].value}}</i>"{{else}}\n {{node.attributes[i].name}}{{/if}}{{/for}}</i>{{/if}}&gt;</span>'},function(e,t){e.exports='<span class="vcelm-node">&lt;/{{node.tagName.toLowerCase()}}&gt;</span>'},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),s=o(18),d=i(s),u=o(38),v=i(u),f=o(39),p=i(f),h=o(4),g=n(h),b=o(5),m=i(b),y=function(e){function t(){var e;a(this,t);for(var o=arguments.length,n=Array(o),i=0;o>i;i++)n[i]=arguments[i];var l=r(this,(e=Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return l.$tabbox=m["default"].render(v["default"],{}),l.currentType="",l.typeNameMap={cookies:"Cookies",localstorage:"LocalStorage"},l}return l(t,e),c(t,[{key:"onRenderTab",value:function(e){e(this.$tabbox)}},{key:"onAddTopBar",value:function(e){for(var t=this,o=["Cookies","LocalStorage"],n=[],i=0;i<o.length;i++)n.push({name:o[i],data:{type:o[i].toLowerCase()},className:"",onClick:function(){return m["default"].hasClass(this,"vc-actived")?!1:(t.currentType=this.dataset.type,void t.renderStorage())}});n[0].className="vc-actived",e(n)}},{key:"onAddTool",value:function(e){var t=this,o=[{name:"Refresh",global:!1,onClick:function(e){t.renderStorage()}},{name:"Clear",global:!1,onClick:function(e){t.clearLog()}}];e(o)}},{key:"onReady",value:function(){}},{key:"onShow",value:function(){""==this.currentType&&(this.currentType="cookies",this.renderStorage())}},{key:"clearLog",value:function(){if(this.currentType&&window.confirm){var e=window.confirm("Remove all "+this.typeNameMap[this.currentType]+"?");if(!e)return!1}switch(this.currentType){case"cookies":this.clearCookieList();break;case"localstorage":this.clearLocalStorageList();break;default:return!1}this.renderStorage()}},{key:"renderStorage",value:function(){var e=[];switch(this.currentType){case"cookies":e=this.getCookieList();break;case"localstorage":e=this.getLocalStorageList();break;default:return!1}var t=m["default"].one(".vc-log",this.$tabbox);if(0==e.length)t.innerHTML="";else{for(var o=0;o<e.length;o++)e[o].name=g.htmlEncode(e[o].name),e[o].value=g.htmlEncode(e[o].value);t.innerHTML=m["default"].render(p["default"],{list:e},!0)}}},{key:"getCookieList",value:function(){if(!document.cookie||!navigator.cookieEnabled)return[];for(var e=[],t=document.cookie.split(";"),o=0;o<t.length;o++){var n=t[o].split("="),i=n.shift().replace(/^ /,""),a=n.join("=");e.push({name:decodeURIComponent(i),value:decodeURIComponent(a)})}return e}},{key:"getLocalStorageList",value:function(){if(!window.localStorage)return[];try{for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t),n=localStorage.getItem(o);e.push({name:o,value:n})}return e}catch(i){return[]}}},{key:"clearCookieList",value:function(){if(document.cookie&&navigator.cookieEnabled){for(var e=this.getCookieList(),t=0;t<e.length;t++)document.cookie=e[t].name+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT";this.renderStorage()}}},{key:"clearLocalStorageList",value:function(){if(window.localStorage)try{localStorage.clear(),this.renderStorage()}catch(e){alert("localStorage.clear() fail.")}}}]),t}(d["default"]);t["default"]=y,e.exports=t["default"]},function(e,t){e.exports='<div class="vc-table">\n <div class="vc-log"></div>\n</div>'},function(e,t){e.exports='<div>\n <dl class="vc-table-row">\n <dd class="vc-table-col">Name</dd>\n <dd class="vc-table-col vc-table-col-2">Value</dd>\n </dl>\n {{for (var i = 0; i < list.length; i++)}}\n <dl class="vc-table-row">\n <dd class="vc-table-col">{{list[i].name}}</dd>\n <dd class="vc-table-col vc-table-col-2">{{list[i].value}}</dd>\n </dl>\n {{/for}}\n</div>'}])});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -11,6 +11,7 @@
"build-test": "node build/build-test.js"
},
"dependencies": {
"@elastic/apm-rum": "^4.4.4",
"axios": "^0.18.0",
"better-scroll": "^1.15.2",
"canvas2image": "^1.0.5",
......
......@@ -70,6 +70,20 @@
</div>
</div>
<!-- 支付方式选择 -->
<!--<div class="pay-list">
<div class="pay-choice">支付方式选择</div>
<ul class="pay">
<li v-for="item in payList" :key="item.value" @click="payListClick(item.value)">
<img :src="item.icon" alt="">
<span>{{ item.title }}</span>
<div class="icon-re">
<img :src="payIndex === item.value ? icon_re_acitve : iconRe" alt="">
</div>
</li>
</ul>
</div>-->
<footer>
<div class="sub-block">
<span v-if="groupDetail.goods_desc">{{priceTotal}}</span>
......@@ -78,6 +92,10 @@
v-if="groupDetail.goods_desc"
>{{groupDetail.goods_desc.tips?groupDetail.goods_desc.tips:''}}</span>
<div class="pay-btn" @click="payOrder(orderFlag)">提交订单</div>
<!--<div class="pay-btn" @click="payOrder(orderFlag)"
v-clipboard:copy="payIndex !== 0 ? payUrl : ''"
v-clipboard:success="copy"
v-clipboard:error="onError">提交订单</div>-->
</div>
</footer>
<transition name="slide-fade">
......@@ -120,7 +138,8 @@ import {
getwechatParam,
getStatusWechatApi,
getCouponListApi,
getCourseInfoApi
getCourseInfoApi,
postPayBillApi
} from "../../service/api";
import addAddress from "./address";
import loginPage from "./login";
......@@ -228,6 +247,22 @@ export default {
}
},
methods: {
copy(e) {
if(this.payIndex === 1) {
Toast("支付宝支付获取成功,请把粘贴到支付宝里");
}else if(this.payIndex === 2) {
Toast("信用卡支付获取成功");
}
},
onError() {
if(this.payIndex === 1) {
Toast("信用卡支付获取成功");
}
},
// 支付方式
payListClick(val) {
this.payIndex = val
},
recursion() {
getCourseInfoApi().then(res => {
if(res.status){
......@@ -343,8 +378,22 @@ export default {
json.group_order_id = this.$route.query.group_order_id;
}
this.orderFlag = false;
/*let payTypeArr = ['WX', 'ALI', 'KFQ']
let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id }
postPayBillApi(data).then(res => {
if(this.payIndex === 0) {
window.location.href = res.pay_url;
}else if(this.payIndex === 1){
this.payUrl = res.pay_url;
}else if(this.payIndex === 2) {
this.payUrl = res.pay_url;
}
})*/
payApi(json).then(res => {
this.orderNo = res.out_trade_no;
console.log(res)
if (res.out_trade_no && !res.appId) {
getCourseInfoApi().then(res => {
this.userCourse = res;
......
......@@ -341,7 +341,6 @@ export default {
// this.
},
goToBuyPage() {
if(this.groupDetail.is_real){
let query = { shopId: this.shopId, invite_code: this.invite_code };
let invite = this.invite_code;
......@@ -390,7 +389,21 @@ export default {
// console.log(comment.getUrlParam())
query.cct_user_id = comment.getParamhref().cct_user_id;
}
console.log(query);
console.log(comment.getParamhref(), 76);
this.$sa.track("buyCourse", {
buyType:
this.groupDetail.goods_type === 2 && this.buyType === 0
? "团购"
: "直购",
goodsID: this.shopId,
salesType: invite ? invite.split("-")[1] : "null",
salesID: invite ? Number(invite.split("-")[2]) : 0,
gdt_vid: query.gdt_vid,
cct_user_id: query.cct_user_id,
redeem_code: this.$route.query.redeem_code,
});
// debugger
this.$router.push({
name: "buy",
......@@ -764,7 +777,7 @@ export default {
tabTitle: "商品",
moduleTitle: "详情页",
buttonType: buttonType,
buttonName: buttonName
buttonName: buttonName,
});
},
groupPay(type, status) {
......@@ -917,7 +930,6 @@ video {
top: 70vw;
z-index: 6;
right: 10 * 100 /375vw;
/*border-radius: 100px;*/
}
.banner {
background: white;
......
......@@ -104,6 +104,11 @@ import {sendMobileCodeApi,getUserDetailApi,bindMobileApi,getGoodsDetailApi} from
bindMobileApi(json).then(data=>{
getUserDetailApi().then(res=>{
localStorage.setItem('userDesc',JSON.stringify(res));
this.$sa.track('buttonClick',{
tabTitle:'商品',
moduleTitle:'商品领取',
buttonName:'立即免费领取'
});
this.$router.push({
name: "buy",
query: query
......
......@@ -76,7 +76,7 @@
</div>
<div class="card-block" v-for="(data,index) in lessonList" >
<img :src="data[0].cover+'?imageslim'"/>
<div :class="'card-li cid'+item.id" v-for="(item,x) in data" @click="showDia(item,x+1)">
<div :class="'card-li cid'+item.id" v-for="(item,x) in data" @click="showDia(item,x+1)"> <!-- showDia(item,x+1) -->
<div class="text-block">
<div class="title">
{{item.name | substr10}}
......@@ -184,7 +184,7 @@
</template>
<script>
import {getCourseListApi,getLessonDetailApi,getLessonListApi,getCourseInfoApi} from "../../service/api";
import {getCourseListApi,getLessonDetailApi,getLessonListApi,getCourseInfoApi, getNotifyApi} from "../../service/api";
import star_act from '../../assets/newLesson/star_act.png'
import star_def from '../../assets/newLesson/star_def.png'
import diaBGI from '../../assets/newLesson/diaBG.png'
......@@ -197,6 +197,7 @@
import nextUnitUrl from '../../assets/newLesson/nextUnit.png'
import btn_kechegn from '../../assets/btn_kechegn.png'
import zhong from '../../assets/evaluate/timer.png'
import yinyin from '../../assets/evaluate/yinyin.png'
export default {
name: "mapDefault",
......@@ -209,7 +210,9 @@
data() {
let that = this;
return {
promp: false,
zhong: zhong,
yinyin: yinyin,
actions: [
],
secActions:{},
......@@ -746,9 +749,6 @@
this.getLessonList();
}
}
},
timerClick() {
alert(999)
}
}
}
......@@ -859,21 +859,7 @@
top: 0;
left: 0;
.course_title{
font-size: 20px;padding: 10*@toVw 20*@toVw; border-bottom: 1px solid #eeeeee;
position: relative;
.zhongbian-kuang {
width: 70 * @toVw;
height: 100%;
position: absolute;
top: 0;
right: 0;
.zhongbian {
width: 22 * @toVw;
height: 22 * @toVw;
margin-top: 24 * @toVw;
}
}
font-size: 20px;padding: 10*@toVw 20*@toVw;border-bottom: 1px solid #eeeeee;
}
.banner2{
display: none;
......
......@@ -14,14 +14,16 @@
</div>
</div>
<div class="preservation" @click="preservationClick">保存</div>
<div class="bottom-top">
<van-popup v-model="dateShow" position="bottom">
<van-datetime-picker @confirm="dateConfirm" @cancel="dateConfirmNo" v-model="currentTime" type="time"/>
<van-datetime-picker :min-hour="minHour" :max-hour="maxHour" @confirm="dateConfirm" @cancel="dateConfirmNo" v-model="currentTime" type="time"/>
</van-popup>
</div>
</div>
</template>
<script>
import { postNotifySettingApi } from "../../service/api";
import { postNotifySettingApi, getNotifyApi } from "../../service/api";
import { DatetimePicker, Popup, Toast } from 'vant';
import tishiTimer from '../../assets/evaluate/tishi_timer.png'
import youjiantou from '../../assets/evaluate/youjiantou.png'
......@@ -30,7 +32,9 @@
name: "promptTime",
data() {
return {
currentTime: '',
currentTime: '07:00',
minHour: 7,
maxHour: 22,
dateVal: '',
dateShow: false,
selectedValue: '',
......@@ -42,10 +46,18 @@
[DatetimePicker.name]: DatetimePicker,
[Popup.name]: Popup,
},
watch: {
dateShow(val) {
if(!val) {
this.contentFn()
}
}
},
methods: {
dateShowClick() {
this.dateShow = true;
this.$nextTick(() => {
document.querySelectorAll('.van-picker__confirm')[0].innerText = '完成'
document.querySelectorAll('.van-picker-column')[1].style.display = 'none';
let oLi = document.querySelectorAll('.van-picker-column')[0].querySelectorAll('li');
for (var i = 0; i < oLi.length; i++) {
......@@ -69,36 +81,62 @@
}
},
preservationClick() {
if(this.currentTime) {
let pushAtData = { time: this.currentTime }
let pushAtData = { time: this.currentTime, periods_id: this.$route.query.periods_id }
postNotifySettingApi(pushAtData).then(res => {
Toast("时间设定完成");
this.$router.go(-1);
})
}else {
Toast("请先设定时间");
this.$refs.timeSetting.style.borderBottom = '1px solid red'
}
}
},
mounted() {
getNotifyApi(this.$route.query.periods_id).then(res => {
console.log(res, 8787878)
if(res.time)
this.currentTime = res.time.split(':')[0] + ':' + res.time.split(':')[1]
})
}
}
</script>
<style lang="less">
@import "../../util/public";
.bottom-top {
.van-picker {
border-radius: 30 * @toVw 30 * @toVw 0 0;
}
.van-picker__toolbar::after {
content: '';
border: none;
}
.van-picker__confirm {
color: #333333;
font-size: 15 * @toVw;
margin: 0;
padding-right: 30 * @toVw;
}
.van-picker__frame, .van-picker__loading .van-loading {
height: 54px!important;
}
.van-picker__cancel {
color: #333333;
font-size: 15 * @toVw;
margin: 0;
padding-left: 30 * @toVw;
}
.van-picker-column__item {
color: #666666;
font-size: 20 * @toVw;
font-size: 17 * @toVw;
}
.van-picker-column__item--selected {
color: #40A9FF;
font-size: 26 * @toVw;
font-size: 21 * @toVw;
}
}
.prompt-time {
......
......@@ -217,10 +217,9 @@
};
},
mounted() {
if(this.$route.params.evaluate === 1)
this.finishStudy()
this.changeAge(this.contentData.age);
this.userCourse = JSON.parse(localStorage.getItem("userCourse"));
console.log(this.userCourse, 897896)
if (this.userCourse.periods_list) {
this.checkCollect();
}
......@@ -756,6 +755,8 @@
this.playFlag = false;
this.startTime = "00:00";
this.overTime = "00:00";
console.log(this.contentData)
console.log(this.showObj, 12345)
},
finishStudy() {
this.sendConsole("完成今日学习");
......@@ -1436,6 +1437,7 @@
border: 4px solid rgba(255, 255, 255, 1);
img {
width: 100%;
height: 100%;
border-radius: 999 * @toVw;
}
}
......
......@@ -28,7 +28,6 @@
</ul>
<!-- 输入框 -->
<div class="checkbox-put">
<!-- <div contenteditable="true" class="checkbox-put-contenteditable" v-text="myHtmlCode" @input="handleInput" placeholder="点击输入宝贝今天的学习表现、收获…"></div>-->
<textarea placeholder="点击输入宝贝今天的学习表现、收获…" class="checkbox-put-contenteditable" v-model="myHtmlCode" @change="handleInput"></textarea>
<div class="checkbox-text">*可输入15-100字</div>
</div>
......@@ -121,21 +120,19 @@
subUserLessonApi(elementId, category_id, periods_id, json).then((res) => {
this.totalStarNum = res.total_star_num
})
// const subUserLessonDatac = await subUserLessonApi(elementId, category_id, periods_id, json)
// this.totalStarNum = subUserLessonDatac.total_star_num
},
/**
* 提交成长记录
* @returns {Promise.<void>}
*/
async userCategoryClick() {
userCategoryClick() {
let classQuery = JSON.parse(sessionStorage.getItem("classQuery")); // 获取elementId,category_id,periods_id
let data = { interest: this.imageNum, concert: this.imageNum2, parent_child: this.imageNum3, growth_record: this.myHtmlCode }
// 字数限制
if(this.imageNum !== 0 && this.imageNum2 !== 0 && this.imageNum3 !== 0) {
if(this.myHtmlCode.length > 15 && this.myHtmlCode.length < 100) {
// 提交评价页面
const postUserGrowthAddData = await postUserGrowthAddApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id, data)
postUserGrowthAddApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id, data).then(res => {
this.subUserLessonFn(classQuery.elementId, classQuery.category_id, classQuery.periods_id, 7)
// 删除缓存
localStorage.removeItem("cache");
......@@ -149,10 +146,11 @@
buttonType:'点击',
buttonName:'提交成长记录加一颗星'
});
})
}else {
if(this.myHtmlCode.length > 100) {
Toast(`您多输入了${ this.myHtmlCode.length - 100 }个字`);
}else if(this.myHtmlCode.length < 15){
if(this.myHtmlCode.length >= 100) {
Toast(`您多输入了${ this.myHtmlCode.length - 99 }个字`);
}else if(this.myHtmlCode.length <= 15){
Toast("输入字数不满15个");
}
}
......@@ -176,6 +174,7 @@
});
},
audioFn(){
let _that= this
setTimeout(() => {
if (this.$store.state.lookStatus == 0) {
this.audioPoint = audioGood;
......@@ -185,8 +184,9 @@
this.audioPoint = audioPerfect;
}
this.$refs.audioDom.load();
setTimeout(() => {
this.$refs.audioDom.play();
this.$refs.audioDom.play()
}, 100);
}, 300);
},
......@@ -230,15 +230,18 @@
<style lang="less" type="text/less">
@import "../../util/public";
html, body, #app {
height: 100%;
}
.evaluate-page {
width: 100%;
height: 100%;
background: #EEEEEE;
padding: 10 * @toVw 20 * @toVw 0;
padding: 10 * @toVw 20 * @toVw;
box-sizing: border-box;
.evaluate-content {
width: 100%;
height: 100%;
margin: auto;
padding: 0 26 * @toVw 10 * @toVw;
background: #fff;
......@@ -246,7 +249,7 @@
box-sizing: border-box;
/* title */
.evaluate-content-title {
padding: 20 * @toVw 0;
padding: 15 * @toVw 0;
text-align: center;
letter-spacing: 1px;
font-size: 18 * @toVw;
......@@ -283,10 +286,10 @@
/* 输入框 */
.checkbox-put {
width: 100%;
padding-bottom: 29 * @toVw;
padding-bottom: 6.733333vw;
.checkbox-put-contenteditable {
width: 100%;
height: 170 * @toVw;
height: 43.333333vw;
padding: 10 * @toVw;
overflow: auto;
border: 1px solid #E2E2E2;
......
......@@ -17,7 +17,7 @@
</i>
<i :class="{headerHP:true, defaultFun:nowShow !== 3,funHP:nowShow===3}" @click="type=3">
<img :src="HP.listen1" alt />
</i>ƒ
</i>
<i class="headerHP home" @click="backList">
<img :src="HP.back" alt />
</i>
......@@ -41,7 +41,8 @@
subUserLessonApi,
getUserWatchApi,
getwechatParam,
getCountTimeApi
getCountTimeApi,
postErrorLogApi
} from "../../service/api";
import { Toast } from "vant";
import lookBlock from "./look";
......@@ -140,6 +141,7 @@
page_id: 6,
stay_time: 0
};
subUserLessonApi(
that.elementId,
that.category_id,
......@@ -174,6 +176,7 @@
page_id: 6,
stay_time: 0
};
subUserLessonApi(
that.elementId,
that.category_id,
......@@ -223,6 +226,7 @@
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
console.log(res, 'asdfasfsaf')
localStorage.setItem("lessonDetail", JSON.stringify(lessonDetail));
let query = {
......@@ -249,7 +253,7 @@
let json = {
page_type: 0,
page_id: this.page_id,
stay_time: lookTime
stay_time: nowTime/1000 - lessonDetail.nowTime/1000
};
subUserLessonApi(
this.elementId,
......@@ -473,6 +477,7 @@
json
).then(res => {
// console.log(493,res)
console.log(res)
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
......
......@@ -230,9 +230,9 @@
let query = JSON.parse(sessionStorage.getItem("classQuery"));
this.timeout = setTimeout(() => {
// minute
postErrorLogApi({'routes_url':new Date().toString(),'result_text':this.userDetail.user_id}).then((res)=>{
/*postErrorLogApi({'routes_url':new Date().toString(),'result_text':this.userDetail.user_id}).then((res)=>{
console.log(res)
})
})*/
this.$sa.track("watchClick", {
dayModule: JSON.parse(
localStorage.getItem("lessonDetail")
......
......@@ -235,6 +235,7 @@
// console.log(e.target.error,229)
let str='code:'+e.target.error.code+',msg:'+e.target.error.message+',url:'+
this.showObj.video[this.videoIndex].url+',UserAgent:'+navigator.userAgent+',currentTime:'+this.$refs.videoDom.currentTime
console.log(str)
postErrorLogApi({
'routes_url':'videoerror,'+'userid:'+this.userDetail.user_id,
'result_text':str
......
......@@ -37,6 +37,7 @@ export default {
// debugger
let userCourse2 = JSON.parse(localStorage.getItem("userCourse"));
this.ownDetail = JSON.parse(localStorage.getItem("userDesc"));
if(userCourse2){
this.userCourse2 = userCourse2
}
......
......@@ -12,6 +12,21 @@ import 'mint-ui/lib/style.css'
import scroll from "./base/scroll/scroll"
import { Popup, Lazyload, Button, Dialog, Toast } from 'vant';
import * as fundebug from 'fundebug-javascript';
import fundebugVue from 'fundebug-vue';
fundebug.apikey = '4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e';
fundebugVue(fundebug, Vue);
// import { init as initApm } from '@elastic/apm-rum'
// var apm = initApm({
// // 设置所需的服务名称(允许使用的字符:a-z、A-Z、0-9、-、_ 和空格)
// serviceName: 'ccqm',
// // 设置定制 APM Server URL(默认值:http://localhost:8200)
// serverUrl: 'http://apm.ops.changchangenglish.com/',
// // 设置服务版本(源地图功能要求)
// serviceVersion: ''
// })
Vue.config.productionTip = false;
//神策埋点
Vue.prototype.$sa = sa;
......
......@@ -619,7 +619,6 @@ router.beforeEach((to, from, next) => {
}
// extensionV1Shop
// extensionV1
//
if (to.name === 'spcShop' || to.name === 'mpShop' || to.name === 'extensionV1Shop' || to.name === 'extensionV1' || to.name === 'author' || to.name === 'bindMobile' || to.name === 'noWechat' || to.name === 'inspectorActivit' || to.name === 'buyDetail'|| to.name === 'passShop'|| to.name === 'ybIndex' ) {
// 无需登录的页面
console.log(488)
......
......@@ -396,3 +396,8 @@ export const postPayBillApi = function (json) {
return Vue.prototype.$post(`/api/client/bill/create`, json)
};
// 获取课程推送设置
const getNotifyUrl = `${_baseUrl}api/client/user/notify/`
export const getNotifyApi = function (periods_id) {
return Vue.prototype.$fetch(`${getNotifyUrl}${periods_id}`)
};
......@@ -91,6 +91,7 @@ axios.interceptors.request.use(
axios.interceptors.response.use(
response => {
if (response.data.code === 501) {
console.log(9898989898)
// 登录验证
router.push({
name: 'author',//从哪个页面跳转
......@@ -238,8 +239,10 @@ export function post(url, data = {}) {
reject(response.data);
} else {
reject(response.data);
if(response.data.code != 502) {
Toast(response.data.msg)
}
}
}, err => {
reject(err);
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment