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
Hide 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 = {
},
systemUrl
:
{
apiUrl
:
'http://192.168.1.22'
,
//java端域名请求头
}
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
}
module
.
exports
=
UNI_APP
;
.env.prod.js
View file @
ef7bc723
...
...
@@ -6,7 +6,8 @@ const UNI_APP = {
},
systemUrl
:
{
apiUrl
:
'https://system.banshouhui.com'
,
//java端域名请求头
}
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
}
module
.
exports
=
UNI_APP
;
.env.test.js
View file @
ef7bc723
...
...
@@ -6,6 +6,7 @@ const UNI_APP = {
},
systemUrl
:
{
apiUrl
:
'https://system.dev.banshouhui.com'
,
//java端域名请求头
}
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
}
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 @@
},
computed
:
{
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";
import
vuexStore
from
"@/store/$u.mixin.js"
;
import
store
from
'@/store/index'
import
{
router
,
RouterMount
}
from
'@/router/index.js'
//路径换成自己的
import
'./common/global.js'
Vue
.
config
.
productionTip
=
false
Vue
.
mixin
(
vuexStore
)
...
...
src/pages/exam/index.vue
View file @
ef7bc723
...
...
@@ -105,15 +105,15 @@
computed
:
{
titleText
()
{
return
[
'单选'
,
'多选'
,
'问答'
]
},
time1Image
()
{
return
qn_base_url
+
'time1.png'
},
chenggongImage
()
{
return
qn_base_url
+
'chenggong.png'
},
timuImage
()
{
return
qn_base_url
+
'timu.png'
},
time1Image
()
{
return
process
.
uniEnv
.
qn_base_url
+
'time1.png'
},
chenggongImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'chenggong.png'
},
timuImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'timu.png'
}
},
onLoad
(
e
)
{
...
...
@@ -737,9 +737,9 @@
height
:
40rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
&
.radio
{
background-color
:
#2272FF
;
justify-content
:
center
;
&
.radio
{
background-color
:
#2272FF
;
}
}
...
...
src/pages/learn/course-detail.vue
View file @
ef7bc723
...
...
@@ -82,7 +82,7 @@ export default {
};
},
kcImage
()
{
return
qn_base_url
+
"kc.png"
;
return
process
.
uniEnv
.
qn_base_url
+
"kc.png"
;
},
},
onLoad
(
e
)
{
...
...
@@ -244,7 +244,7 @@ export default {
.learn-list-item
{
font-size
:
28rpx
;
margin-top
:
30rpx
;
margin-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
color
:
#333333
;
}
...
...
src/pages/learn/exam.vue
View file @
ef7bc723
...
...
@@ -9,10 +9,10 @@
<view
class=
"learn-view-title"
>
接单操作须知
</view>
<view
class=
"learn-list"
v-for=
"(item, key) in tutorials"
:key=
"key"
>
<view
class=
"learn-list-item"
>
<view
class=
"item-content"
>
<view
class=
"item-content"
>
<view
class=
"item-st"
>
<image
style=
"width: 80rpx;height: 36rpx;"
:src=
"kcImage"
></image>
<text
class=
"item-st-text"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
0
]
:
''
}}
</text>
<image
style=
"width: 80rpx;height: 36rpx;"
:src=
"kcImage"
></image>
<text
class=
"item-st-text"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
0
]
:
''
}}
</text>
</view>
<view
class=
"item-title"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
1
]
:
''
}}
</view>
</view>
...
...
@@ -146,12 +146,12 @@
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
},
tips1Image
()
{
return
qn_base_url
+
'tips1.png'
},
kcImage
()
{
return
qn_base_url
+
'kc.png'
},
tips1Image
()
{
return
process
.
uniEnv
.
qn_base_url
+
'tips1.png'
},
kcImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'kc.png'
}
},
onLoad
()
{
...
...
@@ -252,8 +252,8 @@
}
.tip-image
{
width
:
26rpx
;
height
:
32rpx
;
width
:
26rpx
;
height
:
32rpx
;
flex-shrink
:
0
;
margin-right
:
10rpx
;
margin-top
:
2rpx
;
...
...
@@ -307,15 +307,15 @@
height
:
36rpx
;
padding-right
:
2rpx
;
text-align
:
center
;
margin-right
:
20rpx
;
line-height
:
24rpx
;
margin-right
:
20rpx
;
line-height
:
24rpx
;
position
:
relative
;
.item-st-text
{
color
:
#FFFFFF
;
position
:
absolute
;
font-size
:
16rpx
;
left
:
20rpx
;
top
:
8rpx
;
color
:
#FFFFFF
;
position
:
absolute
;
font-size
:
16rpx
;
left
:
20rpx
;
top
:
8rpx
;
line-height
:
28rpx
;
}
}
...
...
src/pages/settle/base.vue
View file @
ef7bc723
...
...
@@ -126,13 +126,13 @@
return
this
.
areaTxts
.
join
(
'、'
)
},
anquanImage
()
{
return
qn_base_url
+
'anquan.png'
return
process
.
uniEnv
.
qn_base_url
+
'anquan.png'
},
mixingImage
()
{
return
qn_base_url
+
'mixing.png'
return
process
.
uniEnv
.
qn_base_url
+
'mixing.png'
},
dizhiImage
()
{
return
qn_base_url
+
'dizhi.png'
return
process
.
uniEnv
.
qn_base_url
+
'dizhi.png'
},
buttonStyle
()
{
return
this
.
submitStatus
?
{
...
...
@@ -701,10 +701,10 @@
}
.tip-image
{
width
:
30rpx
;
height
:
32rpx
;
width
:
30rpx
;
height
:
32rpx
;
flex-shrink
:
0
;
margin-right
:
8rpx
;
margin-top
:
2rpx
;
}
</
style
>
</
style
>
src/pages/settle/file.vue
View file @
ef7bc723
...
...
@@ -34,10 +34,10 @@
&& ((cardkey == 'id_card_name' || cardkey == 'id_card_number') && frontErrorMsg)"
>
{{
frontErrorMsg
}}
</view>
<view
class=
"card-item-error"
v-if=
"(cardkey == 'id_card_date' && backErrorMsg)"
>
{{
backErrorMsg
}}
</view>
</view>
</view>
<view
v-if=
"index == 0"
class=
"bottom-tip-view"
>
<image
class=
"bottom-tip-image"
mode=
"widthFix"
:src=
"tishiImage"
></image>
<text>
所上传的身份证信息必须与银行卡开户绑定身份证信息一致,否则将导致订单报酬无法交付
</text>
</view>
<view
v-if=
"index == 0"
class=
"bottom-tip-view"
>
<image
class=
"bottom-tip-image"
mode=
"widthFix"
:src=
"tishiImage"
></image>
<text>
所上传的身份证信息必须与银行卡开户绑定身份证信息一致,否则将导致订单报酬无法交付
</text>
</view>
</view>
</view>
...
...
@@ -145,7 +145,7 @@ export default {
label
:
"实名认证"
,
tips
:
"上传二代身份证照片,图片大小不大于3M"
,
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",
...
...
@@ -162,7 +162,7 @@ export default {
maxImgs
:
1
,
tips
:
"上传电工证证照片,图片大小不大于3M"
,
imgs
:
[],
placeholderImages
:
[
qn_base_url
+
'diangong.png'
]
placeholderImages
:
[
process
.
uniEnv
.
qn_base_url
+
'diangong.png'
]
},
{
filedName
:
"driver_license"
,
...
...
@@ -170,7 +170,7 @@ export default {
imgs
:
[],
maxImgs
:
999
,
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"
,
...
...
@@ -178,8 +178,8 @@ export default {
maxImgs
:
1
,
tips
:
"上传车辆照片"
,
imgs
:
[],
placeholderImages
:
[
qn_base_url
+
'zhengmian.png'
,
qn_base_url
+
'cemian.png'
]
placeholderImages
:
[
process
.
uniEnv
.
qn_base_url
+
'zhengmian.png'
,
process
.
uniEnv
.
qn_base_url
+
'cemian.png'
]
},
],
...
...
@@ -224,32 +224,32 @@ export default {
'id_card_number'
:
'身份证号'
,
'id_card_date'
:
'有效期'
}
},
anquanImage
()
{
return
qn_base_url
+
'anquan.png'
},
mixingImage
()
{
return
qn_base_url
+
'mixing.png'
},
tishiImage
()
{
return
qn_base_url
+
'tishi.png'
},
buttonStyle
()
{
return
this
.
submitBtnStatus
?
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#2272FF;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
:
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#D1D4D4;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
},
anquanImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'anquan.png'
},
mixingImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'mixing.png'
},
tishiImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'tishi.png'
},
buttonStyle
()
{
return
this
.
submitBtnStatus
?
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#2272FF;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
:
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#D1D4D4;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
}
},
components
:
{
...
...
@@ -673,10 +673,10 @@ export default {
}
.tip-image
{
width
:
30rpx
;
width
:
30rpx
;
height
:
32rpx
;
margin-right
:
8rpx
;
margin-top
:
2rpx
;
margin-top
:
2rpx
;
flex-shrink
:
0
;
}
...
...
@@ -692,7 +692,7 @@ export default {
width
:
22rpx
;
height
:
22rpx
;
margin-right
:
8rpx
;
margin-top
:
4rpx
;
margin-top
:
4rpx
;
flex-shrink
:
0
;
}
...
...
src/pages/settle/pay-ensure.vue
View file @
ef7bc723
...
...
@@ -63,10 +63,10 @@
this
.
getBaseInfo
()
}
},
computed
:
{
weixinImage
()
{
return
qn_base_url
+
'weixin.png'
}
computed
:
{
weixinImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'weixin.png'
}
},
watch
:
{
isRefresh
(
val
)
{
...
...
src/pages/settle/prompt.vue
View file @
ef7bc723
<
template
>
<view
class=
"container u-row-between"
v-if=
"info"
>
<Settle
:index=
"pageIndex"
>
<view
class=
"content-view"
>
<view
class=
"content-view"
>
<view
style=
"min-height: 120rpx;"
v-if=
"status == 8"
></view>
<view
class=
"u-flex u-row-center"
>
<image
:class=
"['icon',
{active: status != 1}]"
...
...
@@ -15,14 +15,14 @@
<text
:class=
"['tips',info.tipsArr.length>1 && index===0 ? 'red' : '']"
v-for=
"(txt,index) in info.tipsArr"
:key=
"index"
>
{{
txt
}}
</text>
</view>
<view
class=
"services-view"
>
<view
class=
"services-view"
>
<view
v-if=
"status != 8"
>
<image
class=
"service-info-image"
:src=
"erweimaImage"
></image>
<view
class=
"content-info-tip"
>
长按二维码添加官方客服微信
</view>
<view
class=
"content-info-tip"
>
及时了解审核进度
</view>
</view>
<image
class=
"service-info-image"
:src=
"erweimaImage"
></image>
<view
class=
"content-info-tip"
>
长按二维码添加官方客服微信
</view>
<view
class=
"content-info-tip"
>
及时了解审核进度
</view>
</view>
</view>
<button
class=
"btn-submit"
@
click=
"$u.debounce(goPage, 500)"
>
{{
info
.
btnTxt
}}
</button>
<button
class=
"btn-submit"
@
click=
"$u.debounce(goPage, 500)"
>
{{
info
.
btnTxt
}}
</button>
</view>
</Settle>
</view>
...
...
@@ -95,12 +95,12 @@
}
},
computed
:
{
imageUrl
()
{
return
this
.
status
==
1
?
qn_base_url
+
'chenggong.png'
:
qn_base_url
+
'icon-prompt.png'
},
erweimaImage
()
{
return
qn_base_url
+
'erweima-bg.png'
computed
:
{
imageUrl
()
{
return
this
.
status
==
1
?
process
.
uniEnv
.
qn_base_url
+
'chenggong.png'
:
process
.
uniEnv
.
qn_base_url
+
'icon-prompt.png'
},
erweimaImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'erweima-bg.png'
},
},
onLoad
(
e
)
{
...
...
@@ -130,7 +130,7 @@
vm
.
status
=
result
.
record
.
status
}
let
settledInfo
=
await
app
.
getBaseInfo
(
this
,
callBack
)
this
.
settledInfo
=
settledInfo
this
.
settledInfo
=
settledInfo
this
.
status
=
settledInfo
.
record
.
status
uni
.
hideLoading
()
this
.
initInfo
(
settledInfo
.
record
)
...
...
@@ -196,7 +196,7 @@
width
:
224rpx
;
height
:
224rpx
;
&
.active
{
&
.active
{
margin-top
:
38rpx
;
width
:
234rpx
;
height
:
222rpx
;
...
...
@@ -244,14 +244,14 @@
}
.btn-submit
{
margin-top
:
50rpx
;
margin-bottom
:
30rpx
;
margin-top
:
50rpx
;
margin-bottom
:
30rpx
;
width
:
600rpx
;
height
:
104rpx
;
line-height
:
104rpx
;
border-radius
:
52rpx
;
background
:
#2272ff
;
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
color
:
#fff
;
...
...
@@ -262,17 +262,17 @@
}
}
.services-view
{
padding-top
:
50rpx
;
text-align
:
center
;
min-height
:
120rpx
;
.service-info-image
{
margin-bottom
:
30rpx
;
width
:
220rpx
;
height
:
220rpx
;
}
.content-info-tip
{
font-size
:
22rpx
;
color
:
#666666
;
padding-top
:
50rpx
;
text-align
:
center
;
min-height
:
120rpx
;
.service-info-image
{
margin-bottom
:
30rpx
;
width
:
220rpx
;
height
:
220rpx
;
}
.content-info-tip
{
font-size
:
22rpx
;
color
:
#666666
;
}
}
}
...
...
src/pages/settle/sign-contract.vue
View file @
ef7bc723
...
...
@@ -131,26 +131,26 @@
},
placeholderStyle
()
{
return
'color:#999999;font-size:28rpx'
},
tips3Image
()
{
return
qn_base_url
+
'tips3.png'
},
buttonStyle
()
{
return
this
.
submitStatus
?
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#2272FF;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
:
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#D1D4D4;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
},
tips3Image
()
{
return
process
.
uniEnv
.
qn_base_url
+
'tips3.png'
},
buttonStyle
()
{
return
this
.
submitStatus
?
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#2272FF;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
:
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#D1D4D4;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
}
}
},
components
:
{
...
...
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