Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
breast-feeding-ai-demo-web
Project
Project
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
朱国瑞
breast-feeding-ai-demo-web
Commits
b27a1a5c
Commit
b27a1a5c
authored
May 19, 2022
by
朱国瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
ff50ca93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
lightButton.vue
src/components/lightButton.vue
+7
-1
index.vue
src/views/index.vue
+1
-6
No files found.
src/components/lightButton.vue
View file @
b27a1a5c
<
template
>
<
template
>
<div
class=
"btn-container"
:class=
"
{'mobile':_isMobile,'pc':!_isMobile}">
<div
class=
"btn-container"
:class=
"
{'mobile':_isMobile,'pc':!_isMobile}">
<img
class=
"btn-img"
src=
"../assets/images/gesture/light-btn-bg.png"
/>
<img
class=
"btn-img"
src=
"../assets/images/gesture/light-btn-bg.png"
/>
<div
class=
"btn-text light-button-text"
>
{{
text
}}
</div>
<div
class=
"btn-text light-button-text"
:class=
"
{'len':text.length>10}"
>
{{
text
}}
</div>
<slot
name=
"body"
></slot>
<slot
name=
"body"
></slot>
</div>
</div>
</
template
>
</
template
>
...
@@ -63,6 +63,9 @@ export default {
...
@@ -63,6 +63,9 @@ export default {
font-size
:
44px
;
font-size
:
44px
;
letter-spacing
:
0
.2em
;
letter-spacing
:
0
.2em
;
font-weight
:
bold
;
font-weight
:
bold
;
&
.len
{
font-size
:
24px
;
}
}
}
.btn-img
{
.btn-img
{
width
:
100%
;
width
:
100%
;
...
@@ -80,6 +83,9 @@ export default {
...
@@ -80,6 +83,9 @@ export default {
font-size
:
0
.5867rem
;
font-size
:
0
.5867rem
;
letter-spacing
:
0
.2em
;
letter-spacing
:
0
.2em
;
font-weight
:
bold
;
font-weight
:
bold
;
&
.len
{
font-size
:
.32rem
;
}
}
}
.btn-img
{
.btn-img
{
width
:
100%
;
width
:
100%
;
...
...
src/views/index.vue
View file @
b27a1a5c
...
@@ -24,9 +24,6 @@
...
@@ -24,9 +24,6 @@
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<div
class=
"info"
:style=
"
{'marginTop':cT,'marginLeft':cL, 'marginRight':cL, 'marginBottom':cT}">
<div
class=
"info"
:style=
"
{'marginTop':cT,'marginLeft':cL, 'marginRight':cL, 'marginBottom':cT}">
<div
class=
"title"
:style=
"
{'margin-bottom':cTb}">
{{
$t
(
'strings.homeText4'
)
}}
</div>
<div
class=
"title"
:style=
"
{'margin-bottom':cTb}">
{{
$t
(
'strings.homeText4'
)
}}
</div>
<div
class=
"content"
v-if=
"_isMobile"
>
<div
class=
"item"
></div>
</div>
</div>
</div>
<div
class=
"bottomBtn"
>
<div
class=
"bottomBtn"
>
<light-button
@
click=
"clickAuthCamera"
:text=
"$t('strings.homeButtonText')"
></light-button>
<light-button
@
click=
"clickAuthCamera"
:text=
"$t('strings.homeButtonText')"
></light-button>
...
@@ -1090,9 +1087,6 @@ export default {
...
@@ -1090,9 +1087,6 @@ export default {
}
}
}
}
&
.small
{
&
.small
{
.page_title
{
top
:
0
.8rem
;
}
.page_bg2
{
.page_bg2
{
width
:
80%
;
width
:
80%
;
position
:
absolute
;
position
:
absolute
;
...
@@ -1130,6 +1124,7 @@ export default {
...
@@ -1130,6 +1124,7 @@ export default {
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
min-height
:
3
.8rem
;
.info
{
.info
{
align-self
:
flex-start
;
align-self
:
flex-start
;
color
:
#999
;
color
:
#999
;
...
...
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