Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
5ba78711
Commit
5ba78711
authored
Oct 02, 2021
by
Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 使用scope样式错乱的问题
parent
048b7219
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
24 deletions
+26
-24
main.js
src/main.js
+1
-1
index.js
src/router/index.js
+13
-13
entry-card.vue
src/views/User/entry-card.vue
+2
-1
index.vue
src/views/User/index.vue
+4
-3
login.vue
src/views/User/login.vue
+2
-2
register.vue
src/views/User/register.vue
+2
-2
reset-pass.vue
src/views/User/reset-pass.vue
+2
-2
No files found.
src/main.js
View file @
5ba78711
...
...
@@ -9,7 +9,7 @@ import './plugins/element.js'
import
'./plugins/qrcode.js'
import
"./assets/css/main.scss"
import
"./assets/css/layout.scss"
//
import "./assets/css/element-variables.scss"
import
"./assets/css/element-variables.scss"
// 公共样式、布局样式
// 主题色调修改在assets/_style.scss 修改里面的变量即可
...
...
src/router/index.js
View file @
5ba78711
...
...
@@ -12,6 +12,10 @@ VueRouter.prototype.push = function push(to) {
const
routes
=
[
{
path
:
"/"
,
redirect
:
"/login"
},
{
path
:
"/Home"
,
name
:
"Home"
,
component
:
main
,
...
...
@@ -77,19 +81,6 @@ const routes = [
}
]
},
// {
// path: "/",
// redirect: "/login"
// },
{
path
:
"*"
,
redirect
:
"/404"
},
{
path
:
"/404"
,
name
:
"404"
,
component
:
()
=>
import
(
"@/views/User/404"
)
},
{
path
:
"/login"
,
name
:
"login"
,
...
...
@@ -105,6 +96,15 @@ const routes = [
name
:
"reset-pass"
,
component
:
()
=>
import
(
"@/views/User/index"
),
},
{
path
:
"/404"
,
name
:
"404"
,
component
:
()
=>
import
(
"@/views/User/404"
)
},
{
path
:
"*"
,
redirect
:
"/404"
},
]
const
router
=
new
VueRouter
({
...
...
src/views/User/entry-card.vue
View file @
5ba78711
...
...
@@ -18,7 +18,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.entry-card
{
display
:
inline-block
;
background
:
#FFFFFF
;
...
...
@@ -32,6 +32,7 @@ export default {
font-size
:
22px
;
font-weight
:
500
;
color
:
$
theme-color1
;
padding
:
0
;
line-height
:
24px
;
text-align
:
center
;
margin-bottom
:
50px
;
...
...
src/views/User/index.vue
View file @
5ba78711
...
...
@@ -49,7 +49,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.gs-entry
{
display
:
flex
;
min-height
:
100%
;
...
...
@@ -100,9 +100,9 @@ export default {
}
}
}
}
::v-deep
.el-tabs
{
.el-tabs
{
.el-tabs__item
{
color
:
rgba
(
0
,
0
,
0
,
0.4
);
...
...
@@ -115,6 +115,7 @@ export default {
.el-tabs__content
{
padding-top
:
19px
;
}
}
}
@media
(
max-width
:
767px
)
{
...
...
src/views/User/login.vue
View file @
5ba78711
...
...
@@ -121,11 +121,11 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.login
{
width
:
360px
;
::v-deep
.el-form
{
.el-form
{
.validate-append
.el-input-group__append
{
padding
:
0
;
...
...
src/views/User/register.vue
View file @
5ba78711
...
...
@@ -176,13 +176,13 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.register
{
width
:
520px
;
margin-right
:
60px
;
margin-left
:
40px
;
::v-deep
.el-form
{
.el-form
{
.el-input-group__append
{
border-color
:
transparent
;
border
:
none
;
...
...
src/views/User/reset-pass.vue
View file @
5ba78711
...
...
@@ -158,11 +158,11 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.reset-pass
{
width
:
360px
;
::v-deep
.el-form
{
.el-form
{
.el-input-group__append
{
border-color
:
transparent
;
...
...
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