修改组件样式

This commit is contained in:
浅念
2025-03-18 13:32:37 +08:00
parent 2f861263bd
commit 42af0b8930
+3 -5
View File
@@ -4,9 +4,8 @@
<view class="top">
<view class="">{{item.created_at}}</view>
<view class="right">
<!-- <text class="medal" :style="color:(item.magnitude == 0 ?'#F5AB00' : item.magnitude == 1 ?'#8495B8': '#9B7200')}">{{item.magnitude_txt}}</text> -->
<text class="medal" >{{item.magnitude_txt}}</text>
<text class="tag">{{$t('followup')}}</text>
<text class="medal" :style="{color:(item.magnitude == 0 ?'#F5AB00' : item.magnitude == 1 ?'#8495B8': '#9B7200')}">{{item.magnitude_txt}}</text>
<text class="tag" :style="{background:(item.follow == 0 ?'#3471FF' : item.follow == 1 ?'#27C89C': '#FF4040')}">{{$t('followup')}}</text>
</view>
</view>
<u-line margin="20rpx 0px"></u-line>
@@ -61,9 +60,8 @@
align-items: center;
justify-content: space-between;
.tag{
background: #3471FF;
color: white;
border-radius: 10px 0px 0px 10px;
border-radius: 20px 0px 0px 20px;
padding: 3px 10px;
margin-right: -15px;
}