b688769d by joe

1

1 parent 35af58f3
NODE_ENV = 'development'
VUE_APP_TITLE = 'development'
VUE_APP_BASE_URL= 'http://localhost:9101'
VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
VUE_APP_RSA_KEY_INDEX = '10001'
VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html'
VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = false
\ No newline at end of file
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
\ No newline at end of file
......
......@@ -5,7 +5,6 @@ VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
VUE_APP_RSA_KEY_INDEX = '10001'
VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex'
VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
......
NODE_ENV = 'sandbox'
VUE_APP_TITLE = 'sandbox'
VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
VUE_APP_BASE_URL= 'https://30.76.147.155'
VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
VUE_APP_RSA_KEY_INDEX = '10001'
VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html'
VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
\ No newline at end of file
......
......@@ -112,6 +112,7 @@ export default {
},
refreshVideoPlayer() {
let videoUrl = sessionStorage.getItem("_video_url");
let posterUrl = sessionStorage.getItem("_poster_url");
let playerOptions = {
width: 800,
height: 450,
......@@ -127,7 +128,7 @@ export default {
// webm
// src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
}],
poster: 'images/video-poster.png',
poster: posterUrl,
controlBar: {
timeDivider: true,
durationDisplay: true,
......@@ -164,7 +165,8 @@ export default {
fetchIndexVideo() {
return new Promise((resolve, reject) => {
httpPost({ url: api.indexVideo }).then(res => {
sessionStorage.setItem("_video_url", res);
sessionStorage.setItem("_video_url", res.videoUrl);
sessionStorage.setItem("_poster_url", res.posterUrl);
resolve(res);
});
});
......
......@@ -49,8 +49,7 @@ export default {
element.dateFormat = getDateYMD(element.createAt);
});
this.$set(this, 'news', newsList);
console.log(newsList);
this.total = res.total;
this.total = Math.ceil(res.total / this.queryForm.size);
});
}
},
......