Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hyqd-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
hyqd-ui
Commits
5f30332a
Commit
5f30332a
authored
Nov 21, 2024
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
828e4992
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
85 additions
and
2 deletions
+85
-2
src/assets/images/qdcg.png
+0
-0
src/permission.js
+1
-1
src/router/index.js
+5
-0
src/views/hy/hycg/index.vue
+74
-0
src/views/hy/hycg/签到成功.svg
+3
-0
src/views/hy/hyjl/index.vue
+2
-1
No files found.
src/assets/images/qdcg.png
0 → 100644
View file @
5f30332a
2.26 KB
src/permission.js
View file @
5f30332a
...
...
@@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress
.
configure
({
showSpinner
:
false
})
const
whiteList
=
[
'/login'
,
'/register'
,
'/hyjl'
]
const
whiteList
=
[
'/login'
,
'/register'
,
'/hyjl'
,
'/hycg'
]
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
NProgress
.
start
()
...
...
src/router/index.js
View file @
5f30332a
...
...
@@ -57,6 +57,11 @@ export const constantRoutes = [
hidden
:
true
},
{
path
:
'/hycg'
,
component
:
()
=>
import
(
'@/views/hy/hycg/index'
),
hidden
:
true
},
{
path
:
'/404'
,
component
:
()
=>
import
(
'@/views/error/404'
),
hidden
:
true
...
...
src/views/hy/hycg/index.vue
0 → 100644
View file @
5f30332a
<
template
>
<div
class=
"app-container"
style=
"padding: 0px;width: 100%"
>
<el-container>
<!--
<el-header>
Header
</el-header>
-->
<el-main>
<div
style=
"margin-top: 100px"
>
<img
src=
"@/assets/images/qdcg.png"
>
<div
style=
"margin-top: 15px; font-weight: bold;font-size: 22px"
>
签到成功
</div>
</div>
</el-main>
</el-container>
</div>
</
template
>
<
script
>
import
Vue
from
'vue'
;
import
{
listHyjl
,
getHyjl
,
delHyjl
,
addHyjl
,
updateHyjl
}
from
"@/api/hy/hyjl"
;
import
{
listDwxx
}
from
"@/api/hy/dwxx"
;
import
{
listRyxx
}
from
"@/api/hy/ryxx"
;
import
{
listHydd
}
from
"@/api/hy/hydd"
;
import
{
Toast
}
from
'vant'
;
Vue
.
use
(
Toast
);
export
default
{
name
:
"Hyjl"
,
data
()
{
return
{
};
},
created
()
{
},
methods
:
{
}
};
</
script
>
<
style
>
.el-header
,
.el-footer
{
background-color
:
#B3C0D1
;
color
:
#333
;
text-align
:
center
;
line-height
:
60px
;
}
.el-aside
{
background-color
:
#D3DCE6
;
color
:
#333
;
text-align
:
center
;
line-height
:
200px
;
}
.el-main
{
/*background-color: #E9EEF3;*/
color
:
#333
;
text-align
:
center
;
/*lineheight: 200px;*/
}
body
>
.el-container
{
margin-bottom
:
40px
;
}
.el-container
:nth-child
(
5
)
.el-aside
,
.el-container
:nth-child
(
6
)
.el-aside
{
line-height
:
260px
;
}
.el-container
:nth-child
(
7
)
.el-aside
{
line-height
:
320px
;
}
</
style
>
src/views/hy/hycg/签到成功.svg
0 → 100644
View file @
5f30332a
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1732158174950"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"4396"
width=
"256"
height=
"256"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><path
d=
"M414.72 592.213333m-414.72 0a414.72 414.72 0 1 0 829.44 0 414.72 414.72 0 1 0-829.44 0Z"
fill=
"#3BCB84"
p-id=
"4397"
></path><path
d=
"M145.408 321.4336h539.306667v539.306667H145.408z"
fill-opacity=
"0"
p-id=
"4398"
></path><path
d=
"M343.381333 669.5936l257.706667-259.413333 49.493333 51.2-308.906666 310.613333-162.133334-162.133333 47.786667-56.32z"
fill=
"#FFFFFF"
p-id=
"4399"
></path><path
d=
"M762.129067 62.327467l-13.021867 123.904-40.738133-4.283734 13.021866-123.904zM914.090667 160.221867l-96.836267 78.404266-25.770667-31.829333 96.8192-78.404267zM968.123733 307.6608l-123.050666 19.490133-6.4-40.448 123.050666-19.490133z"
fill=
"#3BCB84"
p-id=
"4400"
></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1732158174950"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"4396"
width=
"256"
height=
"256"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><path
d=
"M414.72 592.213333m-414.72 0a414.72 414.72 0 1 0 829.44 0 414.72 414.72 0 1 0-829.44 0Z"
fill=
"#3BCB84"
p-id=
"4397"
></path><path
d=
"M145.408 321.4336h539.306667v539.306667H145.408z"
fill-opacity=
"0"
p-id=
"4398"
></path><path
d=
"M343.381333 669.5936l257.706667-259.413333 49.493333 51.2-308.906666 310.613333-162.133334-162.133333 47.786667-56.32z"
fill=
"#FFFFFF"
p-id=
"4399"
></path><path
d=
"M762.129067 62.327467l-13.021867 123.904-40.738133-4.283734 13.021866-123.904zM914.090667 160.221867l-96.836267 78.404266-25.770667-31.829333 96.8192-78.404267zM968.123733 307.6608l-123.050666 19.490133-6.4-40.448 123.050666-19.490133z"
fill=
"#3BCB84"
p-id=
"4400"
></path></svg>
\ No newline at end of file
src/views/hy/hyjl/index.vue
View file @
5f30332a
...
...
@@ -222,7 +222,8 @@ export default {
}
}
addHyjl
(
this
.
form
).
then
(
response
=>
{
Toast
.
success
(
'签到成功'
);
// Toast.success('签到成功');
this
.
$router
.
push
(
"/hycg"
)
});
}
}
...
...
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