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
1dd52b20
authored
2019-12-13 19:31:38 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
部分参数抽离代码
1 parent
a7acbf78
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
2 deletions
.env.development
.env.production
.env.sandbox
src/pages/index/index.js
src/utils/biz.js
.env.development
View file @
1dd52b2
...
...
@@ -3,3 +3,5 @@ VUE_APP_TITLE = 'development'
VUE_APP_BASE_URL= 'http://localhost:9101'
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'
\ No newline at end of file
...
...
.env.production
View file @
1dd52b2
...
...
@@ -4,3 +4,5 @@ VUE_APP_TITLE = 'dist'
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'
\ No newline at end of file
...
...
.env.sandbox
View file @
1dd52b2
...
...
@@ -3,3 +3,5 @@ VUE_APP_TITLE = 'sandbox'
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'
\ No newline at end of file
...
...
src/pages/index/index.js
View file @
1dd52b2
...
...
@@ -122,7 +122,7 @@ export default {
sources
:
[{
type
:
"video/mp4"
,
// mp4
src
:
"https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4"
,
src
:
process
.
env
.
VUE_APP_INDEX_VIDEO
,
// webm
// src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
}],
...
...
src/utils/biz.js
View file @
1dd52b2
...
...
@@ -3,7 +3,7 @@
* @param {string} lan 语言
*/
export
function
gotoVHIS
(
lan
)
{
let
url
=
"https://icpois.pingan.com/vhis/insurIndex"
;
let
url
=
process
.
env
.
VUE_APP_VHIS_INDEX
;
switch
(
lan
)
{
case
'zh'
:
url
+=
"?language=zh-cn"
;
...
...
Please
register
or
sign in
to post a comment