Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
ef7bc723
Commit
ef7bc723
authored
Apr 21, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
七牛地址全局定义修改
parent
63e6d077
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
136 additions
and
136 deletions
+136
-136
.env.dev.js
.env.dev.js
+2
-1
.env.prod.js
.env.prod.js
+2
-1
.env.test.js
.env.test.js
+2
-1
global.js
src/common/global.js
+0
-2
index.vue
src/components/settle/index.vue
+1
-1
main.js
src/main.js
+0
-1
index.vue
src/pages/exam/index.vue
+12
-12
course-detail.vue
src/pages/learn/course-detail.vue
+2
-2
exam.vue
src/pages/learn/exam.vue
+18
-18
base.vue
src/pages/settle/base.vue
+6
-6
file.vue
src/pages/settle/file.vue
+38
-38
pay-ensure.vue
src/pages/settle/pay-ensure.vue
+4
-4
prompt.vue
src/pages/settle/prompt.vue
+29
-29
sign-contract.vue
src/pages/settle/sign-contract.vue
+20
-20
No files found.
.env.dev.js
View file @
ef7bc723
...
@@ -6,6 +6,7 @@ const UNI_APP = {
...
@@ -6,6 +6,7 @@ const UNI_APP = {
},
},
systemUrl
:
{
systemUrl
:
{
apiUrl
:
'http://192.168.1.22'
,
//java端域名请求头
apiUrl
:
'http://192.168.1.22'
,
//java端域名请求头
}
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
}
}
module
.
exports
=
UNI_APP
;
module
.
exports
=
UNI_APP
;
.env.prod.js
View file @
ef7bc723
...
@@ -6,7 +6,8 @@ const UNI_APP = {
...
@@ -6,7 +6,8 @@ const UNI_APP = {
},
},
systemUrl
:
{
systemUrl
:
{
apiUrl
:
'https://system.banshouhui.com'
,
//java端域名请求头
apiUrl
:
'https://system.banshouhui.com'
,
//java端域名请求头
}
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
}
}
module
.
exports
=
UNI_APP
;
module
.
exports
=
UNI_APP
;
.env.test.js
View file @
ef7bc723
...
@@ -6,6 +6,7 @@ const UNI_APP = {
...
@@ -6,6 +6,7 @@ const UNI_APP = {
},
},
systemUrl
:
{
systemUrl
:
{
apiUrl
:
'https://system.dev.banshouhui.com'
,
//java端域名请求头
apiUrl
:
'https://system.dev.banshouhui.com'
,
//java端域名请求头
}
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
}
}
module
.
exports
=
UNI_APP
;
module
.
exports
=
UNI_APP
;
src/common/global.js
deleted
100644 → 0
View file @
63e6d077
qn_base_url
=
'https://qn-static.banshouhui.com/self-support/'
\ No newline at end of file
src/components/settle/index.vue
View file @
ef7bc723
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
},
},
computed
:
{
computed
:
{
url
()
{
url
()
{
return
qn_base_url
+
'topback'
+
this
.
index
+
'.png'
return
process
.
uniEnv
.
qn_base_url
+
'topback'
+
this
.
index
+
'.png'
}
}
}
}
}
}
...
...
src/main.js
View file @
ef7bc723
...
@@ -4,7 +4,6 @@ import uView from "uview-ui";
...
@@ -4,7 +4,6 @@ import uView from "uview-ui";
import
vuexStore
from
"@/store/$u.mixin.js"
;
import
vuexStore
from
"@/store/$u.mixin.js"
;
import
store
from
'@/store/index'
import
store
from
'@/store/index'
import
{
router
,
RouterMount
}
from
'@/router/index.js'
//路径换成自己的
import
{
router
,
RouterMount
}
from
'@/router/index.js'
//路径换成自己的
import
'./common/global.js'
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
Vue
.
mixin
(
vuexStore
)
Vue
.
mixin
(
vuexStore
)
...
...
src/pages/exam/index.vue
View file @
ef7bc723
...
@@ -107,13 +107,13 @@
...
@@ -107,13 +107,13 @@
return
[
'单选'
,
'多选'
,
'问答'
]
return
[
'单选'
,
'多选'
,
'问答'
]
},
},
time1Image
()
{
time1Image
()
{
return
qn_base_url
+
'time1.png'
return
process
.
uniEnv
.
qn_base_url
+
'time1.png'
},
},
chenggongImage
()
{
chenggongImage
()
{
return
qn_base_url
+
'chenggong.png'
return
process
.
uniEnv
.
qn_base_url
+
'chenggong.png'
},
},
timuImage
()
{
timuImage
()
{
return
qn_base_url
+
'timu.png'
return
process
.
uniEnv
.
qn_base_url
+
'timu.png'
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
...
...
src/pages/learn/course-detail.vue
View file @
ef7bc723
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
};
};
},
},
kcImage
()
{
kcImage
()
{
return
qn_base_url
+
"kc.png"
;
return
process
.
uniEnv
.
qn_base_url
+
"kc.png"
;
},
},
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
...
...
src/pages/learn/exam.vue
View file @
ef7bc723
...
@@ -148,10 +148,10 @@
...
@@ -148,10 +148,10 @@
}
}
},
},
tips1Image
()
{
tips1Image
()
{
return
qn_base_url
+
'tips1.png'
return
process
.
uniEnv
.
qn_base_url
+
'tips1.png'
},
},
kcImage
()
{
kcImage
()
{
return
qn_base_url
+
'kc.png'
return
process
.
uniEnv
.
qn_base_url
+
'kc.png'
}
}
},
},
onLoad
()
{
onLoad
()
{
...
...
src/pages/settle/base.vue
View file @
ef7bc723
...
@@ -126,13 +126,13 @@
...
@@ -126,13 +126,13 @@
return
this
.
areaTxts
.
join
(
'、'
)
return
this
.
areaTxts
.
join
(
'、'
)
},
},
anquanImage
()
{
anquanImage
()
{
return
qn_base_url
+
'anquan.png'
return
process
.
uniEnv
.
qn_base_url
+
'anquan.png'
},
},
mixingImage
()
{
mixingImage
()
{
return
qn_base_url
+
'mixing.png'
return
process
.
uniEnv
.
qn_base_url
+
'mixing.png'
},
},
dizhiImage
()
{
dizhiImage
()
{
return
qn_base_url
+
'dizhi.png'
return
process
.
uniEnv
.
qn_base_url
+
'dizhi.png'
},
},
buttonStyle
()
{
buttonStyle
()
{
return
this
.
submitStatus
?
{
return
this
.
submitStatus
?
{
...
...
src/pages/settle/file.vue
View file @
ef7bc723
...
@@ -145,7 +145,7 @@ export default {
...
@@ -145,7 +145,7 @@ export default {
label
:
"实名认证"
,
label
:
"实名认证"
,
tips
:
"上传二代身份证照片,图片大小不大于3M"
,
tips
:
"上传二代身份证照片,图片大小不大于3M"
,
imgs
:
[],
imgs
:
[],
placeholderImages
:
[
qn_base_url
+
'renxiang.png'
,
qn_base_url
+
'guohui.png'
]
placeholderImages
:
[
process
.
uniEnv
.
qn_base_url
+
'renxiang.png'
,
process
.
uniEnv
.
qn_base_url
+
'guohui.png'
]
},
},
// {
// {
// filedName: "id_card_back",
// filedName: "id_card_back",
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
maxImgs
:
1
,
maxImgs
:
1
,
tips
:
"上传电工证证照片,图片大小不大于3M"
,
tips
:
"上传电工证证照片,图片大小不大于3M"
,
imgs
:
[],
imgs
:
[],
placeholderImages
:
[
qn_base_url
+
'diangong.png'
]
placeholderImages
:
[
process
.
uniEnv
.
qn_base_url
+
'diangong.png'
]
},
},
{
{
filedName
:
"driver_license"
,
filedName
:
"driver_license"
,
...
@@ -170,7 +170,7 @@ export default {
...
@@ -170,7 +170,7 @@ export default {
imgs
:
[],
imgs
:
[],
maxImgs
:
999
,
maxImgs
:
999
,
tips
:
"两证单张照片需包含两页内容,每种证件只上传一张照片"
,
tips
:
"两证单张照片需包含两页内容,每种证件只上传一张照片"
,
placeholderImages
:
[
qn_base_url
+
'jiashi.png'
,
qn_base_url
+
'jiashi.png'
]
placeholderImages
:
[
process
.
uniEnv
.
qn_base_url
+
'jiashi.png'
,
process
.
uniEnv
.
qn_base_url
+
'jiashi.png'
]
},
},
{
{
filedName
:
"vehicle_front"
,
filedName
:
"vehicle_front"
,
...
@@ -178,8 +178,8 @@ export default {
...
@@ -178,8 +178,8 @@ export default {
maxImgs
:
1
,
maxImgs
:
1
,
tips
:
"上传车辆照片"
,
tips
:
"上传车辆照片"
,
imgs
:
[],
imgs
:
[],
placeholderImages
:
[
qn_base_url
+
'zhengmian.png'
,
placeholderImages
:
[
process
.
uniEnv
.
qn_base_url
+
'zhengmian.png'
,
qn_base_url
+
'cemian.png'
]
process
.
uniEnv
.
qn_base_url
+
'cemian.png'
]
},
},
],
],
...
@@ -226,13 +226,13 @@ export default {
...
@@ -226,13 +226,13 @@ export default {
}
}
},
},
anquanImage
()
{
anquanImage
()
{
return
qn_base_url
+
'anquan.png'
return
process
.
uniEnv
.
qn_base_url
+
'anquan.png'
},
},
mixingImage
()
{
mixingImage
()
{
return
qn_base_url
+
'mixing.png'
return
process
.
uniEnv
.
qn_base_url
+
'mixing.png'
},
},
tishiImage
()
{
tishiImage
()
{
return
qn_base_url
+
'tishi.png'
return
process
.
uniEnv
.
qn_base_url
+
'tishi.png'
},
},
buttonStyle
()
{
buttonStyle
()
{
return
this
.
submitBtnStatus
?
{
return
this
.
submitBtnStatus
?
{
...
...
src/pages/settle/pay-ensure.vue
View file @
ef7bc723
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
},
},
computed
:
{
computed
:
{
weixinImage
()
{
weixinImage
()
{
return
qn_base_url
+
'weixin.png'
return
process
.
uniEnv
.
qn_base_url
+
'weixin.png'
}
}
},
},
watch
:
{
watch
:
{
...
...
src/pages/settle/prompt.vue
View file @
ef7bc723
...
@@ -97,10 +97,10 @@
...
@@ -97,10 +97,10 @@
},
},
computed
:
{
computed
:
{
imageUrl
()
{
imageUrl
()
{
return
this
.
status
==
1
?
qn_base_url
+
'chenggong.png'
:
qn_base_url
+
'icon-prompt.png'
return
this
.
status
==
1
?
process
.
uniEnv
.
qn_base_url
+
'chenggong.png'
:
process
.
uniEnv
.
qn_base_url
+
'icon-prompt.png'
},
},
erweimaImage
()
{
erweimaImage
()
{
return
qn_base_url
+
'erweima-bg.png'
return
process
.
uniEnv
.
qn_base_url
+
'erweima-bg.png'
},
},
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
...
...
src/pages/settle/sign-contract.vue
View file @
ef7bc723
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
return
'color:#999999;font-size:28rpx'
return
'color:#999999;font-size:28rpx'
},
},
tips3Image
()
{
tips3Image
()
{
return
qn_base_url
+
'tips3.png'
return
process
.
uniEnv
.
qn_base_url
+
'tips3.png'
},
},
buttonStyle
()
{
buttonStyle
()
{
return
this
.
submitStatus
?
{
return
this
.
submitStatus
?
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment