feat: 优化p2pPlayer组件的样式,调整按钮背景和布局,提升用户界面体验

This commit is contained in:
fanpeng 2025-07-11 11:45:48 +08:00
parent 2b17f261d4
commit 1651c5e5b9

View File

@ -66,12 +66,17 @@
:style="{ :style="{
top: isApp ? '60px' : buttonInfo.bottom + 15 + 'px' top: isApp ? '60px' : buttonInfo.bottom + 15 + 'px'
}" }"
class="bg-[rgba(0,0,0,0.35)] rounded-full px-4 py-1.5 fixed right-32" class="fixed right-32"
>
<cover-view
class="bg-[rgba(0,0,0,0.35)] rounded-full px-4 py-1.5"
style="background-color: rgba(0, 0, 0, 0.35)"
> >
<cover-view class="text-white text-xs" @click="showQualitySelector"> <cover-view class="text-white text-xs" @click="showQualitySelector">
{{ range[index].name }} {{ range[index].name }}
</cover-view> </cover-view>
</cover-view> </cover-view>
</cover-view>
<cover-view <cover-view
class="fixed bottom-[calc(32rpx+env(safe-area-inset-bottom))] left-1/2 -translate-x-1/2 w-622" class="fixed bottom-[calc(32rpx+env(safe-area-inset-bottom))] left-1/2 -translate-x-1/2 w-622"
> >