Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
76d0b87d
Commit
76d0b87d
authored
May 25, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整首页样式
parent
b2047a44
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
8 deletions
+34
-8
index.vue
src/pages/index/index.vue
+34
-8
No files found.
src/pages/index/index.vue
View file @
76d0b87d
<
template
>
<view
class=
"indexpage"
>
<navbar
class=
"navbarSticky"
bg=
"
#F6F6F6
"
>
<navbar
class=
"navbarSticky"
bg=
"
unset
"
>
<view
class=
"index-header-box"
>
<view
class=
"index-header-img"
>
<van-image
width=
"
54rpx"
height=
"50rpx
"
fit=
"cover"
class=
"img"
<van-image
width=
"
100%"
height=
"100%
"
fit=
"cover"
class=
"img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
</view>
<view
class=
"index-header-tetx"
>
...
...
@@ -14,10 +14,18 @@
</view>
</view>
</navbar>
<view
style=
"margin: 40rpx 0 10rpx 0;"
>
<view
style=
"padding:0 50rpx;font-weight: 800;color: #282828;"
>
<view
style=
"font-size: 36rpx;"
>
Hello,
</view>
<view
style=
"font-size: 50rpx;"
>
您的学情反馈已准备好
</view>
</view>
</view>
<course-card></course-card>
</view>
</
template
>
<
script
>
import
courseCard
from
'../../components/index/course-card'
import
vue
,
{
ref
,
reactive
,
...
...
@@ -52,7 +60,8 @@
components
:
{
indexassembly
,
navbar
,
bottom
bottom
,
courseCard
},
setup
(
props
)
{
let
{
...
...
@@ -296,30 +305,47 @@
}
.index-header-img
.img
{
display
:
block
;
border
:
1
rpx
solid
#E3E3E3
;
border
:
2
rpx
solid
rgba
(
164
,
164
,
164
,
0.32
)
;
border-radius
:
50%
;
overflow
:
hidden
;
}
.index-header-img
{
width
:
60
rpx
;
height
:
60
rpx
;
box-sizing
:
border-box
;
margin
:
4
rpx
;
}
.index-header-img
{
width
:
68
rpx
;
height
:
68
rpx
;
border-radius
:
50%
;
overflow
:
hidden
;
text-align
:
center
;
margin-right
:
20
rpx
;
background
:
#FFFFFF
;
padding
:
4
rpx
;
}
.indexpage
{
min-height
:
100vh
;
background-color
:
#F5F5F5
;
box-sizing
:
border-box
;
background-image
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_398.png')
;
background-position
:
0
200
rpx
;
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
}
.index-header-box
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
padding
:
29
rpx
42
rpx
;
padding
:
0
rpx
42
rpx
;
}
.index-header-box
.index-header-title
{
font-size
:
24
rpx
;
font-weight
:
400
;
color
:
#B8B8B8
;
}
.index-header-box
.index-header-name
{
font-size
:
30
rpx
;
font-weight
:
800
;
color
:
#282828
;
}
.navbarSticky
{
display
:
sticky
;
...
...
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