diff --git a/src/components/MyRank.vue b/src/components/MyRank.vue index 088018f..4af2c34 100644 --- a/src/components/MyRank.vue +++ b/src/components/MyRank.vue @@ -1,19 +1,41 @@ @@ -520,192 +394,4 @@ onShareTimeline(() => { height: 40rpx; margin-right: 15rpx; } -/* .feature-grid { - width: 100%; - display: flex; - margin-bottom: 5px; -} - -.feature-grid > view { - position: relative; - display: flex; - flex-direction: column; -} - -.bow-card { - width: 50%; - border-radius: 25rpx; - overflow: hidden; -} - -.feature-grid > view > image { - width: 100%; -} - -.bow-card > text { - position: absolute; - top: 66%; - left: 50%; - transform: translate(-50%, -50%); - white-space: nowrap; - font-size: 13px; - color: #b3b3b3; -} - -.bow-card > image:nth-child(3) { - transform: translateY(-1px); -} - -.play-card { - width: 48%; - margin-left: 2%; -} - -.play-card > view > image { - width: 100%; -} - -.ranking-section { - border-radius: 15px; - padding: 15px; - position: relative; -} - -.ranking-section > image { - position: absolute; - top: 0; - left: 0; - width: 100%; - z-index: -1; -} - -.into-btn { - position: absolute; - top: 40px; - left: calc(50% - 100px); - width: 200px; - height: 100px; -} - -.ranking-players { - display: flex; - align-items: center; - padding-bottom: 20px; - margin-top: 42%; - border-bottom: 1rpx solid rgba(255, 255, 255, 0.2); -} - -.ranking-players > image:first-child { - width: 28%; - transform: translateX(-10px) translateY(-8px); -} - -.player-avatars { - display: flex; - align-items: center; -} - -.divide-line { - width: 1px; - height: 35px; - background-color: #80808033; - margin-right: 8px; -} - -.player-avatar, -.more-players { - width: 82rpx; - height: 82rpx; - border-radius: 50%; - margin-right: -20rpx; - border: 1rpx solid #312f35; - position: relative; - box-sizing: border-box; -} - -.player-avatar > image:first-child, -.player-avatar > view:first-child { - position: absolute; - top: -24rpx; - left: 22rpx; - width: 32rpx; - height: 32rpx; -} -.player-avatar > view:first-child { - border-radius: 50%; - background: #777777; - text-align: center; - font-size: 10px; - line-height: 18px; - width: 18px; - height: 18px; - color: #fff; -} -.player-avatar > image:last-child { - width: 100%; - height: 100%; - border-radius: 50%; -} - -.more-players { - background: #3c445a; - font-size: 9px; - line-height: 80rpx; - text-align: center; - z-index: 1; -} - -.more-players > text { - margin-left: 2px; - color: #fff; -} -.my-data { - display: flex; - margin-top: 20px; - justify-content: space-between; -} -.my-data > view:first-child { - width: 28%; -} -.my-data > view:first-child > image { - width: 100%; - transform: translateX(-8px); -} -.my-data > view:nth-child(2) { - width: 68%; - font-size: 12px; - color: #fff6; - display: flex; - justify-content: space-between; -} -.my-data > view:nth-child(2) > view:nth-child(2) { - width: 38%; -} -.my-data > view:nth-child(2) > view { - width: 28%; - border-radius: 10px; - background: linear-gradient(180deg, #303b4c 30%, #2c384a 100%); - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; -} -.my-data > view:nth-child(2) > view > text:last-child { - color: #fff; - line-height: 25px; - font-weight: 500; -} -.top-theme { - position: absolute; - display: flex; - align-items: center; - justify-content: center; - width: 100%; - height: 60px; - z-index: -1; -} -.top-theme > image { - width: 300rpx; - transform: translate(-4%, -14%); -} */