618

parent 7ebfc23c
......@@ -19,7 +19,6 @@ const devWebpackConfig = merge(baseWebpackConfig, {
},
// cheap-module-eval-source-map is faster for development
devtool: config.dev.devtool,
// these devServer options should be customized in /config/index.js
devServer: {
clientLogLevel: 'warning',
......
......@@ -6,4 +6,4 @@
overflow: hidden;
position: fixed;
background: #f4f4f4;
}</style><link href=static/css/app.3c0ad5f24e07150c06bc3b21fbd29d4b.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script src=static/vconsole/vconsole.min.js></script><script></script><script type=text/javascript src=static/js/manifest.0ba7808d8f50addf60ab.js></script><script type=text/javascript src=static/js/vendor.67557998227df7e95200.js></script><script type=text/javascript src=static/js/app.b5e6ad71aa49c13f29d5.js></script></body></html>
\ No newline at end of file
}</style><link href=static/css/app.3c0ad5f24e07150c06bc3b21fbd29d4b.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script src=static/vconsole/vconsole.min.js></script><script></script><script type=text/javascript src=static/js/manifest.11b42a70d1ee0c3f53ee.js></script><script type=text/javascript src=static/js/vendor.67557998227df7e95200.js></script><script type=text/javascript src=static/js/app.77a04f4db1e3f186e631.js></script></body></html>
\ No newline at end of file
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.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,r,t){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],f[d]&&u.push(f[d][0]),f[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(c,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var c={},f={42:0};function n(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,n){a=f[e]=[c,n]});a[2]=c;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"7a0a0d088fa3293773e4",1:"f17ae3475da69e33ed3c",2:"3480e89e177929e0e092",3:"48f0de846e6ce52fda5a",4:"e0e2f883f76d78f28122",5:"e0a6a403e3ada07926b2",6:"c6ea61099a4a2c21e41e",7:"071f9895c1ca3f5b22a5",8:"17b5dee9411a58b64eb8",9:"6b21b01facf38dc18532",10:"aa09fd3470e0fed86271",11:"b414f8bc70807458330b",12:"fc3a3caaa06755878f03",13:"aec72b0e84b7db4b75a5",14:"036eda0e4a575ecd0635",15:"8c526c387c28b957dc7f",16:"fdf8eca9e1a2110a4ef1",17:"c8bfd07f0deb24c8006c",18:"1c4bde4aae9444be9316",19:"5637cca2c4438812cf5b",20:"b4839fec18e0d551b1fb",21:"e70aae60c5b399d61104",22:"16a3985393de88e09f52",23:"79d64d46f87a7594223c",24:"7157073eeccbe0f0be6e",25:"c5752e7d8cca9ae7fae3",26:"4984774ab189eee97f72",27:"2c58791802148decb397",28:"3ea3a2c328b729e948f7",29:"4bf51e792924c3a5130c",30:"a05692f1b7030b7c6dd9",31:"a9765e0b6fdcd95aa498",32:"3cbcf038785e803249d0",33:"6455804c94a9c2e46fd3",34:"31345ac77a963ca8a8ae",35:"0268526fb4af5fd83634",36:"0dfcfa91821b40ca7f36",37:"d9fb4c81ec56e9663dd8",38:"9c4d5093f285b54f6078",39:"2fb56e4a184c3d60b1a9"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),c},n.m=e,n.c=c,n.d=function(e,a,c){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,r,t){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],f[d]&&u.push(f[d][0]),f[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(c,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var c={},f={42:0};function n(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,n){a=f[e]=[c,n]});a[2]=c;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"7a0a0d088fa3293773e4",1:"b1cfe5d0d99fc11efd21",2:"3480e89e177929e0e092",3:"48f0de846e6ce52fda5a",4:"e0e2f883f76d78f28122",5:"e0a6a403e3ada07926b2",6:"c6ea61099a4a2c21e41e",7:"071f9895c1ca3f5b22a5",8:"17b5dee9411a58b64eb8",9:"6b21b01facf38dc18532",10:"aa09fd3470e0fed86271",11:"b414f8bc70807458330b",12:"fc3a3caaa06755878f03",13:"aec72b0e84b7db4b75a5",14:"a3dd74598cca9210c87b",15:"8c526c387c28b957dc7f",16:"fdf8eca9e1a2110a4ef1",17:"c8bfd07f0deb24c8006c",18:"1c4bde4aae9444be9316",19:"5637cca2c4438812cf5b",20:"b4839fec18e0d551b1fb",21:"e70aae60c5b399d61104",22:"16a3985393de88e09f52",23:"79d64d46f87a7594223c",24:"7157073eeccbe0f0be6e",25:"c5752e7d8cca9ae7fae3",26:"4984774ab189eee97f72",27:"53caf949cc72899deb1e",28:"3ea3a2c328b729e948f7",29:"4bf51e792924c3a5130c",30:"a05692f1b7030b7c6dd9",31:"a9765e0b6fdcd95aa498",32:"3cbcf038785e803249d0",33:"6455804c94a9c2e46fd3",34:"31345ac77a963ca8a8ae",35:"0268526fb4af5fd83634",36:"0dfcfa91821b40ca7f36",37:"d9fb4c81ec56e9663dd8",38:"9c4d5093f285b54f6078",39:"2fb56e4a184c3d60b1a9"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),c},n.m=e,n.c=c,n.d=function(e,a,c){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -43,11 +43,11 @@ export default {
padding: auto;
}
.child-view {
/* position: relative; */
/* position: absolute; */
min-height: 100vh;
width: 100%;
transition: all .5s;
color: #333333;
color: #333333;
}
.fade-enter-active, .fade-leave-active {
transition: opacity .5s;
......
......@@ -1295,7 +1295,6 @@ export default {
.canvas{width: 716 * @toVw;z-index: 2;}
}
}
.contentBox{
padding: 20 * @toVw 42 * @toVw 20 * @toVw;
background: white;
......
......@@ -68,6 +68,14 @@
// }
this.getPhone = 0
})
window.onresize=()=>{
// console.log(document.body.clientHeight,'body')
if(originClientHeight>document.documentElement.clientHeight){
}else{
document.documentElement.scrollTop = 0
document.body.scrollTop = 0
}
}
},
data(){
return {
......
......@@ -26,18 +26,18 @@
<video :src="showObj.video[videoIndex].url" @ended="videoEnd" @play="videoPlay()" controls :poster="showObj.video[videoIndex].url+'?vframe/jpg/offset/3'"></video>
</div>
<div v-if="showObj.video.length > 1&&!orientationchange" class="age-block video" @click="videoShow = !videoShow">
<div>视频({{videoIndex+1}})<i class="playImage _154722344142123489"></i></div>
</div>
<div class="age-change-block video" v-if="showObj.video.length > 1 && videoShow&&!orientationchange">
<div @click="videoIndex= index;videoShow=false;sendConsole('多视频选择视频')" v-for="(item,index) in showObj.video">视频({{index+1}})<i :class="{'playImage _282918034425091245':index === videoIndex}" v-if="contentData.age === 1"></i></div>
</div>
<scroll class="scroll" :data="showObj.video" ref="scrollDom" :scrollX="true" :bounce="true" >
<div class="itemBox" ref="itembox">
<div class="item" v-for="(i,index) in testCount" @click="scrollFn(index)" >
{{index}}
</div>
<div>视频({{videoIndex+1}})<i class="playImage _154722344142123489"></i></div>
</div>
<div class="age-change-block video" v-if="showObj.video.length > 1 && videoShow&&!orientationchange">
<div @click="videoIndex= index;videoShow=false;sendConsole('多视频选择视频')" v-for="(item,index) in showObj.video">视频({{index+1}})<i :class="{'playImage _282918034425091245':index === videoIndex}" v-if="contentData.age === 1"></i></div>
</div>
<scroll class="scroll" v-if="0" :data="showObj.video" ref="scrollDom" :scrollX="true" :bounce="true" >
<div class="itemBox" ref="itembox">
<div class="item" v-for="(i,index) in testCount" @click="scrollFn(index)" >
{{index}}
</div>
</scroll>
</div>
</scroll>
<div class="age-change-block ageclass" v-if="contentData.content.age ">
<p>年龄段选择</p>
<div :class="{activity:contentData.age == 1}" @click="contentData.age = 1;sendConsole('选择分龄')">0-3岁</div>
......@@ -238,7 +238,9 @@
change:this.contentData.content.change
}
}
this.$refs.itembox.style.width = this.testCount*100+'px'
if(this.$refs.itembox){
this.$refs.itembox.style.width = this.testCount*100+'px'
}
}
},
watch:{
......
This diff is collapsed.
......@@ -41,19 +41,19 @@ Vue.component('scroll', scroll);
/* eslint-disable no-new */
if(process.env.NODE_ENV != 'production'){
var vConsole = new VConsole();
}
// if(process.env.NODE_ENV != 'production'){
// var vConsole = new VConsole();
// }
router.beforeEach((to, from, next) => {
next()
// chrome
console.log(document.body.hasOwnProperty('scrollTop'))
if (document.body.scrollTop!==null){
console.log(document.body.hasOwnProperty('scrollTop'))
if (document.body.scrollTop!==null){
document.body.scrollTop = 0
}
// firefox
if (document.documentElement!==null){
if (document.documentElement!==null){
document.documentElement.scrollTop = 0
}
// // safari
......
......@@ -14,7 +14,7 @@ axios.interceptors.request.use(
config => {
// 获取token
// process.env.versionTime
let versiontime = '06131639'
let versiontime = '06181200'
const token = localStorage.getItem('cc_token');
// 设置参数格式
if(!config.headers['Content-Type']){
......
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