generated from maochaoying/dreamworks-frontend-template
2 changed files with 260 additions and 11 deletions
@ -0,0 +1,94 @@ |
|||
<template> |
|||
<div class="upper_temperature_container"> |
|||
<div class="title_wrap"> |
|||
<svg |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:xlink="http://www.w3.org/1999/xlink" |
|||
fill="none" |
|||
version="1.1" |
|||
width="30" |
|||
height="30" |
|||
viewBox="0 0 30 30" |
|||
> |
|||
<g> |
|||
<g> |
|||
<ellipse |
|||
cx="15" |
|||
cy="15" |
|||
rx="15" |
|||
ry="15" |
|||
fill="#FFFFFF" |
|||
fill-opacity="1" |
|||
/> |
|||
</g> |
|||
<g> |
|||
<path |
|||
d="M15.155750000000001,16.849040000000002L15.155750000000001,12.557269999999999C15.155750000000001,12.29636,14.94327,12.08388,14.68236,12.08388L14.644860000000001,12.08388C14.3902,12.08388,14.18553,12.29011,14.18553,12.54321L14.18553,16.849040000000002C13.47935,17.0537,12.962209999999999,17.6849,12.962209999999999,18.4379C12.962209999999999,19.3582,13.7262,20.1034,14.671420000000001,20.1034C15.615079999999999,20.1034,16.37906,19.3566,16.37906,18.4379C16.3775,17.6849,15.86036,17.055300000000003,15.155750000000001,16.849040000000002ZM17.66956,14.947659999999999C17.56332,14.86017,17.50083,14.741430000000001,17.50083,14.61957L17.50083,9.766919999999999C17.50083,8.2405,16.23064,7,14.66986,7C13.10907,7,11.83888,8.2405,11.83888,9.766919999999999L11.83888,14.48208C11.83888,14.68675,11.75452,14.87579,11.60922,14.999220000000001C10.58588,15.8632,10,17.117800000000003,10,18.439500000000002C10,20.9533,12.09511,23,14.671420000000001,23C17.24773,23,19.342840000000002,20.954900000000002,19.342840000000002,18.439500000000002C19.341279999999998,17.0865,18.73196,15.8132,17.66956,14.947659999999999ZM14.66986,21.5517C12.904399999999999,21.5517,11.47017,20.155,11.47017,18.4379C11.47017,17.3677,12.02949,16.38346,12.96534,15.80695L13.19188,15.6679C13.26531,15.6226,13.31061,15.54136,13.31061,15.45543L13.31061,9.766919999999999C13.31061,9.03886,13.92149,8.44673,14.671420000000001,8.44673C15.42135,8.44673,16.03222,9.03886,16.03222,9.766919999999999L16.03222,15.45542C16.03222,15.54135,16.07753,15.6226,16.15096,15.6679L16.3775,15.80695C17.31335,16.38346,17.87111,17.3662,17.87111,18.4379C17.86954,20.155,16.43375,21.5517,14.66986,21.5517Z" |
|||
fill="#565EE4" |
|||
fill-opacity="1" |
|||
/> |
|||
</g> |
|||
</g> |
|||
</svg> |
|||
<p class="title">上仓制冷温度</p> |
|||
</div> |
|||
<div class="temp_wrap"> |
|||
<p class="num">-30</p> |
|||
<p class="unit">℃</p> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup></script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.upper_temperature_container { |
|||
width: 350px; |
|||
height: 240px; |
|||
border-radius: 16px; |
|||
background: #565ee4; |
|||
box-sizing: border-box; |
|||
padding: 10px; |
|||
.title_wrap { |
|||
padding: 7px 0 20px 7px; |
|||
box-sizing: border-box; |
|||
display: flex; |
|||
align-items: center; |
|||
.title { |
|||
font-family: Source Han Sans CN; |
|||
font-size: 24px; |
|||
font-weight: 500; |
|||
line-height: normal; |
|||
letter-spacing: 0.04em; |
|||
margin-left: 6px; |
|||
color: #ffffff; |
|||
} |
|||
} |
|||
.temp_wrap { |
|||
width: 330px; |
|||
height: 160px; |
|||
border-radius: 14px; |
|||
background: #4d54d0; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
.num { |
|||
font-family: Poppins; |
|||
font-size: 90px; |
|||
font-weight: bold; |
|||
line-height: normal; |
|||
letter-spacing: 0.02em; |
|||
color: #ffffff; |
|||
margin-right: 10px; |
|||
} |
|||
.unit { |
|||
font-family: Source Han Sans CN; |
|||
font-size: 88px; |
|||
font-weight: bold; |
|||
line-height: normal; |
|||
letter-spacing: 0.02em; |
|||
color: #ffffff; |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue