Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yanyanhong
traceSourceMb
Commits
5561f836
Commit
5561f836
authored
Dec 21, 2020
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 调整所有弹出框的样式。
统一调整弹出框。除了首页弹出框外圆角为6,其他弹框圆角为10
parent
61701490
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
36 deletions
+46
-36
App.vue
src/App.vue
+44
-8
Index-sy.vue
src/views/index/Index-sy.vue
+2
-28
No files found.
src/App.vue
View file @
5561f836
<
template
>
<
template
>
<div
id=
"app"
>
<div
id=
"app"
>
<!--
<keep-alive
:exclude=
"/^[a-zA-Z]*Detail$/"
>
-->
<!--
<keep-alive
:exclude=
"/^[a-zA-Z]*Detail$/"
>
-->
<router-view></router-view>
<router-view></router-view>
<!--
</keep-alive>
-->
<!--
</keep-alive>
-->
</div>
</div>
</
template
>
</
template
>
...
@@ -10,16 +10,20 @@
...
@@ -10,16 +10,20 @@
import
{
Component
,
Vue
,
Provide
}
from
'vue-property-decorator'
;
import
{
Component
,
Vue
,
Provide
}
from
'vue-property-decorator'
;
import
{
Getter
,
Action
}
from
'vuex-class'
;
import
{
Getter
,
Action
}
from
'vuex-class'
;
@
Component
({
@
Component
({})
})
export
default
class
App
extends
Vue
{
export
default
class
App
extends
Vue
{
@
Provide
(
'isSy'
)
private
isSy
:
boolean
=
process
.
env
.
VUE_APP_CATEGORY
!==
'cs'
;
@
Provide
(
'isSy'
)
private
isSy
:
boolean
=
process
.
env
.
VUE_APP_CATEGORY
!==
'cs'
;
@
Provide
(
'APP-NAME'
)
private
APP_NAME
:
string
=
process
.
env
.
VUE_APP_NAME
;
@
Provide
(
'APP-NAME'
)
private
APP_NAME
:
string
=
process
.
env
.
VUE_APP_NAME
;
@
Action
(
'getUserInfo'
)
private
getUserInfo
!
:
()
=>
void
;
@
Action
(
'getUserInfo'
)
private
getUserInfo
!
:
()
=>
void
;
@
Provide
(
'getProofViewingWebSite'
)
private
getProofViewingWebSite
=
(
proof
:
any
):
string
=>
process
.
env
.
VUE_APP_BROWSER
+
`/product?hash=
${
proof
.
hash
}
`
@
Provide
(
'getProofViewingWebSite'
)
private
getProofViewingWebSite
=
(
@
Provide
(
'goToBrowser'
)
private
goToBrowser
:
(
proof
:
any
)
=>
void
=
(
proof
:
any
)
=>
{
proof
:
any
):
string
=>
process
.
env
.
VUE_APP_BROWSER
+
`/product?hash=
${
proof
.
hash
}
`
;
@
Provide
(
'goToBrowser'
)
private
goToBrowser
:
(
proof
:
any
)
=>
void
=
(
proof
:
any
)
=>
{
location
.
href
=
process
.
env
.
VUE_APP_BROWSER
+
`/product?hash=
${
proof
.
hash
}
`
;
location
.
href
=
process
.
env
.
VUE_APP_BROWSER
+
`/product?hash=
${
proof
.
hash
}
`
;
}
}
;
private
mounted
()
{
private
mounted
()
{
this
.
getUserInfo
();
this
.
getUserInfo
();
}
}
...
@@ -33,8 +37,40 @@ export default class App extends Vue {
...
@@ -33,8 +37,40 @@ export default class App extends Vue {
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
text-align
:
center
;
text-align
:
center
;
color
:
#2c3e50
;
color
:
#2c3e50
;
.van-dialog
{
border-radius
:
10px
;
.van-dialog__header
{
padding-left
:
16px
;
text-align
:
left
;
color
:
#353535
;
font-weight
:
500
;
}
.van-field__body
{
border-bottom
:
1px
solid
#f0f1f5
;
.van-field__control
{
line-height
:
40px
;
}
}
.van-dialog__footer--buttons
{
justify-content
:
space-evenly
;
margin
:
10px
0
20px
;
.van-button
{
border
:
1px
solid
#d7d7d7
;
width
:
140px
;
height
:
45px
;
flex
:
none
;
border-radius
:
4px
;
}
.van-dialog__confirm
{
background
:
linear-gradient
(
180deg
,
#6c7afe
0%
,
#5d7bf6
100%
);
color
:
#ffffff
;
}
}
}
}
}
html
{
html
{
// background: #F9FBFF;
// background: #F9FBFF;
// background: #f9f9f9;
// background: #f9f9f9;
}
}
...
...
src/views/index/Index-sy.vue
View file @
5561f836
...
@@ -223,34 +223,8 @@ export default class IndexSy extends Mixins(IndexMixin) {
...
@@ -223,34 +223,8 @@ export default class IndexSy extends Mixins(IndexMixin) {
}
}
}
}
.van-dialog
{
.van-dialog
{
border-radius
:
6px
;
border-radius
:
6px
!
important
;
::v-deep
.van-dialog__header
{
padding-left
:
16px
;
text-align
:
left
;
color
:
#353535
;
font-weight
:
500
;
}
::v-deep
.van-field__body
{
border-bottom
:
1px
solid
#f0f1f5
;
.van-field__control
{
line-height
:
40px
;
}
}
::v-deep
.van-dialog__footer--buttons
{
justify-content
:
space-evenly
;
margin
:
10px
0
20px
;
.van-button
{
border
:
1px
solid
#d7d7d7
;
width
:
140px
;
height
:
45px
;
flex
:
none
;
border-radius
:
4px
;
}
.van-dialog__confirm
{
background
:
linear-gradient
(
180deg
,
#6c7afe
0%
,
#5d7bf6
100%
);
color
:
#ffffff
;
}
}
}
}
}
}
</
style
>
</
style
>
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