Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b688769d
authored
2019-12-15 20:35:09 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
35af58f3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
10 deletions
.env.development
.env.production
.env.sandbox
src/pages/index/index.js
src/pages/news-list/news-list.js
.env.development
View file @
b688769
NODE_ENV = 'development'
VUE_APP_TITLE = 'development'
VUE_APP_BASE_URL= 'http
://localhost:9101
'
VUE_APP_BASE_URL= 'http
s://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
...
...
.env.production
View file @
b688769
...
...
@@ -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'
...
...
.env.sandbox
View file @
b688769
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
...
...
src/pages/index/index.js
View file @
b688769
...
...
@@ -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
);
});
});
...
...
src/pages/news-list/news-list.js
View file @
b688769
...
...
@@ -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
);
});
}
},
...
...
Please
register
or
sign in
to post a comment