2 files modified
6 files added
| New file |
| | |
| | | <template> |
| | | <div class="overview-title"> |
| | | <div class="left">{{ title }}</div> |
| | | <div class="right">详情 ></div> |
| | | </div> |
| | | </template> |
| | | <script setup> |
| | | const props = defineProps({ |
| | | title: { |
| | | type: String, |
| | | default: '机巢概况' |
| | | } |
| | | }) |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .overview-title { |
| | | height: hToV(42); |
| | | background-image: url(@/assets/images/title-bg.png); |
| | | background-repeat: no-repeat; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-bottom: 18px; |
| | | .left { |
| | | margin-left: 66px; |
| | | font-weight: 400; |
| | | font-size: 20px; |
| | | color: #FFFFFF; |
| | | line-height: 23px; |
| | | text-shadow: 0px 0px 7px rgba(75,180,229,0.69), 0px 2px 8px rgba(5,28,55,0.42); |
| | | text-align: left; |
| | | font-style: normal; |
| | | text-transform: none; |
| | | } |
| | | .right { |
| | | width: 42px; |
| | | font-weight: 500; |
| | | font-size: 14px; |
| | | color: #0BE7F6; |
| | | line-height: hToV(42); |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <div class="right-item">系统运维</div> |
| | | </div> |
| | | </div> |
| | | <div :style="{ background: '#2bc03f', height: hToV(50), width: wToR(50) }">test</div> |
| | | <!-- <div :style="{ background: '#2bc03f', height: hToV(50), width: wToR(50) }">test</div> --> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | <template> |
| | | <div class="home-left-index"> |
| | | <!--时间 天气--> |
| | | <div class="time-watch"> |
| | | <div class="time-weather"> |
| | | <div class="time">2025.03.04 15:30:00</div> |
| | | <div> |
| | | <img src="" alt=""> |
| | | <span>阴天</span> |
| | | <span>适合飞行</span> |
| | | <div class="line"></div> |
| | | <div class="weather"> |
| | | <img src="@/assets/images/tq.png" alt=""> |
| | | <span class="tq">阴天</span> |
| | | <span class="qk">适合飞行</span> |
| | | </div> |
| | | </div> |
| | | <!--机巢概况--> |
| | | <div class="overview-nest"> |
| | | <common-title></common-title> |
| | | <div class="overview-warp"> |
| | | <div></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script></script> |
| | | <script setup> |
| | | import { hToV, wToR } from '@/utils/pxConver'; |
| | | import CommonTitle from '@/components/CommonTitle.vue'; |
| | | |
| | | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | .home-left-index { |
| | | position: absolute; |
| | | |
| | | top: 88px; |
| | | left: 45px; |
| | | width: 360px; |
| | | // left: 45px; |
| | | // width: 390px; |
| | | color: #E7F5FF; |
| | | |
| | | .time-watch { |
| | | .time-weather { |
| | | margin-left: 45px; |
| | | width: 260px; |
| | | font-size: 14px; |
| | | height: hToV(36); |
| | | line-height: hToV(36); |
| | | display: flex; |
| | | .time { |
| | | font-weight: 400; |
| | | font-size: 14px; |
| | | line-height: hToV(16); |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .line { |
| | | border: 1px solid #FFFFFF; |
| | | height: hToV(10); |
| | | opacity: 0.5; |
| | | } |
| | | .weather { |
| | | img { |
| | | width: 20px; |
| | | height: hToV(20); |
| | | } |
| | | .tq { |
| | | margin: 0 5px; |
| | | color: #E7F5FF; |
| | | } |
| | | .qk { |
| | | margin-left: 5px; |
| | | color: #04F043; |
| | | } |
| | | } |
| | | } |
| | | .overview-nest { |
| | | // border: 1px solid red; |
| | | width: 404px; |
| | | |
| | | .overview-warp { |
| | | // border: 1px solid #04F043; |
| | | margin-left: 20px; |
| | | margin: 16px; |
| | | width: 390px; |
| | | height: hToV(415); |
| | | background: linear-gradient( 90deg, rgba(31,62,122,0) 0%, rgba(31,62,122,0.35) 21%, #1F3E7A 100%); |
| | | border-radius: 0px 0px 0px 0px; |
| | | opacity: 0.85; |
| | | } |
| | | } |
| | | } |
| | | </style> |