1 changed files with 64 additions and 2 deletions
@ -1,7 +1,69 @@ |
|||
<template> |
|||
<div>da</div> |
|||
<div class="date_container"> |
|||
<div class="row_wrap"> |
|||
<p class="title">当前日期</p> |
|||
<p class="num">2023-8-23</p> |
|||
<div class="btn">设置</div> |
|||
</div> |
|||
<div class="row_wrap"> |
|||
<p class="title">当前时间</p> |
|||
<p class="num">11:40</p> |
|||
<div class="btn">设置</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup></script> |
|||
|
|||
<style lang="scss" scoped></style> |
|||
<style lang="scss" scoped> |
|||
.date_container { |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
height: 100%; |
|||
padding: 20px; |
|||
padding-bottom: 380px; |
|||
display: grid; |
|||
grid-template-rows: repeat(2, 1fr); |
|||
grid-template-columns: repeat(1, 1fr); |
|||
row-gap: 20px; |
|||
.row_wrap { |
|||
width: 726px; |
|||
height: 80px; |
|||
border-radius: 14px; |
|||
background: #f6f6f6; |
|||
box-sizing: border-box; |
|||
padding: 0 18px 0 40px; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
.title { |
|||
font-family: Zona Pro; |
|||
font-size: 20px; |
|||
font-weight: normal; |
|||
letter-spacing: 0.06em; |
|||
color: #000000; |
|||
} |
|||
.num { |
|||
font-family: Source Han Sans CN; |
|||
font-size: 14px; |
|||
font-weight: 500; |
|||
letter-spacing: 0.1em; |
|||
color: #000000; |
|||
} |
|||
.btn { |
|||
width: 87px; |
|||
height: 45px; |
|||
border-radius: 23px; |
|||
background: #06518b; |
|||
font-family: Source Han Sans CN; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
letter-spacing: 0.1em; |
|||
color: #ffffff; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue