优化页面

This commit is contained in:
pengxiaolong
2025-06-16 22:09:12 +08:00
parent 0f2a48b450
commit 8ec7365e7c
131 changed files with 1358 additions and 690 deletions

View File

@@ -31,7 +31,7 @@
<view class="AnchorATime">{{ formatDate(item.pkTime) }}</view>
<view class="AnchorAICon">
<view class="AnchorAIContext">实际打金币:</view>
<view class="AnchorAIConNum">{{ item.userAcoin }}K</view>
<view class="AnchorAIConNum">{{ item.userACoins }}K</view>
</view>
</view>
</view>
@@ -47,7 +47,7 @@
<view class="AnchorATime"> {{ formatDate(item.pkTime) }} </view>
<view class="AnchorAICon">
<view class="AnchorAIContext">实际打金币:</view>
<view class="AnchorAIConNum">{{ item.userBcoin }}K</view>
<view class="AnchorAIConNum">{{ item.userBCoins }}K</view>
</view>
</view>
<view class="AnchorAImg">
@@ -65,6 +65,7 @@
</view>
<view class="pkrecords-content">
<scroll-view
show-scrollbar="false"
scroll-y="true"
class="scroll"
refresher-enabled="true"
@@ -74,13 +75,13 @@
>
<uni-card v-for="(items,index) in coinNumlist" :key="index">
<view class="contentcard">
<view class="contentcard-titleA":style="{'background-color': items.anchorIdA == items.winnerAnchorId ? '#00fbff5d' : '#ff000049'}">
<view>金币数量</view>
<view>{{items.anchorCoinA}}K</view>
<view class="contentcard-titleA":style="{'background-color': items.anchorIdA == items.winnerAnchorId ? '#00fbff21' : '#ff000011'}">
<view class="ciontext">金币数量</view>
<view class="cion">{{items.anchorCoinA}}K</view>
</view>
<view class="contentcard-titleB" :style="{'background-color': items.anchorIdB == items.winnerAnchorId ? '#00fbff5d' : '#ff000049'}">
<view>金币数量</view>
<view>{{items.anchorCoinB}}K</view>
<view class="contentcard-titleB" :style="{'background-color': items.anchorIdB == items.winnerAnchorId ? '#00fbff21' : '#ff000011'}">
<view class="ciontext">金币数量</view>
<view class="cion">{{items.anchorCoinB}}K</view>
</view>
</view>
</uni-card>
@@ -197,7 +198,7 @@ export default {
justify-content: center;
align-items: center;
margin-left: 28.55rpx;
margin-top: 12rpx;
margin-top: 20rpx;
}
.AnchorA {
display: flex;
@@ -230,16 +231,20 @@ export default {
font-weight: 500;
font-size: 31rpx;
color: #161616;
text-align: center;
}
.AnchorATime {
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
margin-top: 12rpx;
text-align: center;
}
.AnchorAICon {
display: flex;
flex-direction: column;
margin-top: 12rpx;
align-items: center;
}
.AnchorAIContext {
font-weight: 400;
@@ -312,7 +317,8 @@ export default {
background-color: #ffffff;
display: flex;
margin-left:28.55rpx;
margin-top: 13rpx;
margin-top: 25rpx;
border: #5ed8db solid 1rpx;
}
.contentcard-titleA{
width: 50%;
@@ -321,7 +327,7 @@ export default {
flex-direction: column;
justify-content: center;
align-items: center;
border-right: #100e0f solid 1rpx;
border-right: #58d8db solid 3rpx;
border-top-left-radius: 15rpx;
border-bottom-left-radius: 15rpx;
}
@@ -335,4 +341,13 @@ export default {
border-top-right-radius: 15rpx;
border-bottom-right-radius: 15rpx;
}
.ciontext{
font-size: 28rpx;
color: #a2a2a2;
}
.cion{
font-size: 36rpx;
color: #100e0f;
font-weight: bold;
}
</style>