generated from maochaoying/dreamworks-frontend-template
2 changed files with 132 additions and 3 deletions
@ -0,0 +1,79 @@ |
|||||
|
<template> |
||||
|
<div class="warn_card_container"> |
||||
|
<svg |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
xmlns:xlink="http://www.w3.org/1999/xlink" |
||||
|
fill="none" |
||||
|
version="1.1" |
||||
|
width="42" |
||||
|
height="42" |
||||
|
viewBox="0 0 42 42" |
||||
|
> |
||||
|
<g> |
||||
|
<g> |
||||
|
<ellipse |
||||
|
cx="21" |
||||
|
cy="21" |
||||
|
rx="21" |
||||
|
ry="21" |
||||
|
fill="#FFFFFF" |
||||
|
fill-opacity="1" |
||||
|
/> |
||||
|
</g> |
||||
|
<g> |
||||
|
<path |
||||
|
d="M18.57422,25.2273L22.71094,25.2273L23.648400000000002,13.063189999999999L23.8594,7.33272L17.41406,7.33272L17.63672,13.063189999999999L18.57422,25.2273ZM20.625,35.446C22.85156,35.446,24.4336,33.688199999999995,24.4336,31.4499C24.4336,29.2233,22.85156,27.5007,20.625,27.5007C18.42188,27.5007,16.83984,29.2233,16.83984,31.4499C16.83984,33.688199999999995,18.42188,35.446,20.625,35.446Z" |
||||
|
fill="#48597A" |
||||
|
fill-opacity="1" |
||||
|
/> |
||||
|
</g> |
||||
|
</g> |
||||
|
</svg> |
||||
|
<div class="info_wrap"> |
||||
|
<div class="time"> |
||||
|
<p class="date">2023-06-01</p> |
||||
|
<p>12:20:02</p> |
||||
|
</div> |
||||
|
<p>正在使用电池1供电</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script setup></script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.warn_card_container { |
||||
|
margin-top: 10px; |
||||
|
background: rgba(216, 216, 216, 0.4); |
||||
|
width: 400px; |
||||
|
height: 66px; |
||||
|
border-radius: 12px; |
||||
|
box-sizing: border-box; |
||||
|
padding: 12px 13px; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
.info_wrap { |
||||
|
margin-left: 15px; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
justify-content: space-between; |
||||
|
font-size: 20px; |
||||
|
font-weight: 500; |
||||
|
line-height: 22px; |
||||
|
letter-spacing: 0.05em; |
||||
|
color: #ffffff; |
||||
|
.time { |
||||
|
font-size: 16px; |
||||
|
font-weight: normal; |
||||
|
line-height: 24px; |
||||
|
letter-spacing: 0em; |
||||
|
color: #ffffff; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
.date { |
||||
|
margin-right: 10px; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue