<template> <div class="air-drop-pool"> <div class="nav"> <van-icon name="arrow-left" size="20" class="nav-left" @click="$router.go(-1)" /> <span class="nav-title">空投池</span> </div> <div class="air-panel-box"> <div class="air-panel"> <div class="notice-bar"> <img src="@/assets/images/icon-notice.png" alt="" /> <div class="notice-bar-show"> <p class="dark">88888888888</p> <p>88888888888</p> <p class="dark">88888888888</p> <p>88888888888</p> <p>88888888888</p> <p>88888888888</p> </div> </div> </div> </div> <div class="air-panel-num"> <div class="air-panel-num-content"> <img src="@/assets/images/parachute.png" alt="" /> <p> 本月<span>{{ personNum }}</span> 人在池 </p> </div> </div> </div> </template> <script> export default { name: "leagueNums", data() { return { personNum: 108 }; }, mounted() {}, methods: {} }; </script> <style lang="scss" scoped> $white: #ffffff; .air-drop-pool { width: 100%; height: 100vh; background-image: url("../assets/images/空投池背景.png"); background-size: cover; .nav { position: relative; display: flex; align-items: center; width: 100%; height: 46px; color: #333333; .nav-left { position: absolute; top: 0; bottom: 0; width: 52px; height: 100%; line-height: 46px; text-align: center; } .nav-title { max-width: 60%; margin: 0 auto; font-weight: bold; font-size: 16px; } } .air-panel-box { padding: 25px 15px 0px 15px; box-sizing: border-box; .air-panel { height: 110px; background-color: #ffffff; box-shadow: 0px 2px 12px 0px rgba(6, 0, 1, 0.04); border-radius: 4px; } } .air-panel-num { padding: 10px 15px 15px 15px; box-sizing: border-box; height: calc(100vh - 220px); } .air-panel-num-content { padding: 20px 15px; height: 100%; box-shadow: 0px 2px 12px 0px rgba(6, 0, 1, 0.04); border-radius: 4px; background-size: cover; background-color: #ffffff; img { object-fit: contain; width: 100%; height: 100%; } p { font-size: 16px; font-weight: normal; font-stretch: normal; color: #333333; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; } span { font-size: 32px; font-weight: normal; font-stretch: normal; letter-spacing: -1px; color: #333333; margin: 0 20px; } } .notice-bar { height: 100%; overflow: hidden; display: flex; align-items: center; padding: 0 20px 0 50px; img { width: 16px; margin-right: 15px; } .notice-bar-show { height: 100%; p { font-size: 16px; color: #333333; height: 33.33%; margin: 0; padding: 0; display: flex; align-items: center; color: #333; } .dark { opacity: 0.4; } } } } </style>