Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
1155b26b
Commit
1155b26b
authored
May 12, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
4e91010b
d6c0b861
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
112 additions
and
1 deletion
+112
-1
permission.js
src/boot/permission.js
+1
-1
contractPay.vue
src/pages/contractPay.vue
+106
-0
routes.js
src/router/routes.js
+5
-0
No files found.
src/boot/permission.js
View file @
1155b26b
...
...
@@ -8,7 +8,7 @@ LoadingBar.setDefaults({
position
:
"bottom"
});
let
loadAsyncRouter
=
false
;
const
whiteList
=
[
"/login"
,
"/"
,
"/contractConfirm"
,
"contractView"
,
"noticeView"
];
// 不重定向白名单
const
whiteList
=
[
"/login"
,
"/"
,
"/contractConfirm"
,
"contractPay"
,
"contractView"
,
"noticeView"
];
// 不重定向白名单
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
localStorage
.
setItem
(
"routerBefore"
,
from
.
path
);
LoadingBar
.
start
();
...
...
src/pages/contractPay.vue
0 → 100644
View file @
1155b26b
<
style
>
.ContractPay
{
width
:
100%
;
margin
:
0
auto
;
background-color
:
#fff
;
height
:
100%
;
color
:
#000
;
padding
:
20px
;
}
.ContracPay_Title
{
position
:
relative
;
color
:
#111111
;
font-size
:
23px
;
text-align
:
center
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.ContracPay_Title
i
{
position
:
absolute
;
left
:
0
;
top
:
3px
;
font-size
:
20px
;
color
:
#111111
;
}
.Contract_TwoDiv
{
width
:
100%
;
height
:
28rem
;
margin-top
:
50px
;
background-color
:
#F3F9FC
;
text-align
:
center
;
color
:
#111111
;
font-weight
:
500
;
}
.contractTotal
{
font-size
:
20px
;
padding-top
:
50px
;
}
.contractMoney
{
font-size
:
30px
;
font-weight
:
bold
;
margin-top
:
10px
;
}
.contractTwoCode
{
width
:
180px
;
height
:
180px
;
border
:
1px
solid
#d1d1d1
;
margin
:
20px
auto
;
}
.TwoCodeRemind
{
color
:
#888888
;
font-size
:
20px
;
margin-top
:
20px
;
}
</
style
>
<
template
>
<div
class=
"ContractPay"
>
<div
class=
"ContracPay_Title"
>
<i
@
click=
"goContractConfirm"
class=
"iconfont icon-line-arrow-left"
></i>
合同签订成功
</div>
<div
class=
"Contract_TwoDiv"
>
<div
class=
"contractTotal"
>
合同总价
</div>
<div
class=
"contractMoney"
>
10000.00
</div>
<div
class=
"contractTwoCode"
>
</div>
<div
class=
"TwoCodeRemind"
>
长按识别上图收款码,完成支付
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
dataList
:
[],
};
},
created
()
{
},
methods
:
{
//获取数据
getList
()
{
// GetEducationContractInfo(this.gmsg).then(res => {
// if (res.Code == 1) {
// this.dataList = res.Data;
// }
// })
},
//跳转至合同详情
goContractConfirm
(){
this
.
$router
.
push
({
path
:
'contractConfirm'
,
query
:
{}
});
}
},
mounted
()
{}
};
</
script
>
src/router/routes.js
View file @
1155b26b
...
...
@@ -716,6 +716,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/contractConfirm.vue"
)
},
{
path
:
"/contractPay"
,
component
:
()
=>
import
(
"pages/contractPay.vue"
)
},
//公告预览
{
path
:
"/noticeView"
,
...
...
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