1
Showing
5 changed files
with
8 additions
and
10 deletions
1 | NODE_ENV = 'development' | 1 | NODE_ENV = 'development' |
2 | VUE_APP_TITLE = 'development' | 2 | VUE_APP_TITLE = 'development' |
3 | VUE_APP_BASE_URL= 'http://localhost:9101' | 3 | VUE_APP_BASE_URL= 'https://ow.go.qudone.com' |
4 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | 4 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' |
5 | VUE_APP_RSA_KEY_INDEX = '10001' | 5 | VUE_APP_RSA_KEY_INDEX = '10001' |
6 | VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html' | 6 | VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html' |
7 | VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4' | ||
8 | 7 | ||
9 | 8 | ||
10 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | 9 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' |
11 | VUE_APP_CONTENT_ENCRYPT_SWITCH = false | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
10 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -5,7 +5,6 @@ VUE_APP_BASE_URL= 'https://ow.go.qudone.com' | ... | @@ -5,7 +5,6 @@ VUE_APP_BASE_URL= 'https://ow.go.qudone.com' |
5 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | 5 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' |
6 | VUE_APP_RSA_KEY_INDEX = '10001' | 6 | VUE_APP_RSA_KEY_INDEX = '10001' |
7 | VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex' | 7 | VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex' |
8 | VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4' | ||
9 | 8 | ||
10 | 9 | ||
11 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | 10 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | ... | ... |
1 | NODE_ENV = 'sandbox' | 1 | NODE_ENV = 'sandbox' |
2 | VUE_APP_TITLE = 'sandbox' | 2 | VUE_APP_TITLE = 'sandbox' |
3 | VUE_APP_BASE_URL= 'https://ow.go.qudone.com' | 3 | VUE_APP_BASE_URL= 'https://30.76.147.155' |
4 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | 4 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' |
5 | VUE_APP_RSA_KEY_INDEX = '10001' | 5 | VUE_APP_RSA_KEY_INDEX = '10001' |
6 | VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html' | 6 | VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html' |
7 | VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4' | ||
8 | 7 | ||
9 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | 8 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' |
10 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true | 9 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -112,6 +112,7 @@ export default { | ... | @@ -112,6 +112,7 @@ export default { |
112 | }, | 112 | }, |
113 | refreshVideoPlayer() { | 113 | refreshVideoPlayer() { |
114 | let videoUrl = sessionStorage.getItem("_video_url"); | 114 | let videoUrl = sessionStorage.getItem("_video_url"); |
115 | let posterUrl = sessionStorage.getItem("_poster_url"); | ||
115 | let playerOptions = { | 116 | let playerOptions = { |
116 | width: 800, | 117 | width: 800, |
117 | height: 450, | 118 | height: 450, |
... | @@ -127,7 +128,7 @@ export default { | ... | @@ -127,7 +128,7 @@ export default { |
127 | // webm | 128 | // webm |
128 | // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm" | 129 | // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm" |
129 | }], | 130 | }], |
130 | poster: 'images/video-poster.png', | 131 | poster: posterUrl, |
131 | controlBar: { | 132 | controlBar: { |
132 | timeDivider: true, | 133 | timeDivider: true, |
133 | durationDisplay: true, | 134 | durationDisplay: true, |
... | @@ -164,7 +165,8 @@ export default { | ... | @@ -164,7 +165,8 @@ export default { |
164 | fetchIndexVideo() { | 165 | fetchIndexVideo() { |
165 | return new Promise((resolve, reject) => { | 166 | return new Promise((resolve, reject) => { |
166 | httpPost({ url: api.indexVideo }).then(res => { | 167 | httpPost({ url: api.indexVideo }).then(res => { |
167 | sessionStorage.setItem("_video_url", res); | 168 | sessionStorage.setItem("_video_url", res.videoUrl); |
169 | sessionStorage.setItem("_poster_url", res.posterUrl); | ||
168 | resolve(res); | 170 | resolve(res); |
169 | }); | 171 | }); |
170 | }); | 172 | }); | ... | ... |
... | @@ -49,8 +49,7 @@ export default { | ... | @@ -49,8 +49,7 @@ export default { |
49 | element.dateFormat = getDateYMD(element.createAt); | 49 | element.dateFormat = getDateYMD(element.createAt); |
50 | }); | 50 | }); |
51 | this.$set(this, 'news', newsList); | 51 | this.$set(this, 'news', newsList); |
52 | console.log(newsList); | 52 | this.total = Math.ceil(res.total / this.queryForm.size); |
53 | this.total = res.total; | ||
54 | }); | 53 | }); |
55 | } | 54 | } |
56 | }, | 55 | }, | ... | ... |
-
Please register or sign in to post a comment