修改组件样式
This commit is contained in:
@@ -4,9 +4,8 @@
|
|||||||
<view class="top">
|
<view class="top">
|
||||||
<view class="">{{item.created_at}}</view>
|
<view class="">{{item.created_at}}</view>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<!-- <text class="medal" :style="color:(item.magnitude == 0 ?'#F5AB00' : item.magnitude == 1 ?'#8495B8': '#9B7200')}">{{item.magnitude_txt}}</text> -->
|
<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" :style="{background:(item.follow == 0 ?'#3471FF' : item.follow == 1 ?'#27C89C': '#FF4040')}">{{$t('followup')}}</text>
|
||||||
<text class="tag">{{$t('followup')}}</text>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-line margin="20rpx 0px"></u-line>
|
<u-line margin="20rpx 0px"></u-line>
|
||||||
@@ -61,9 +60,8 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.tag{
|
.tag{
|
||||||
background: #3471FF;
|
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 10px 0px 0px 10px;
|
border-radius: 20px 0px 0px 20px;
|
||||||
padding: 3px 10px;
|
padding: 3px 10px;
|
||||||
margin-right: -15px;
|
margin-right: -15px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user