<view class="boxTop">
<view style="font-size: 40rpx;font-weight: 700;margin-top: 15rpx;margin-left: 20rpx;">{{item.station}}
</view>
<view :style="{'color':(item.textcolor==true?'#00ff7f':'#ffaa00'),'font-size': 40+'rpx','font-weight':700 ,'margin-top': 15 + 'rpx','margin-right': 20+'rpx'}">{{item.status}}</view>
</view>
vue动态style样式设置
最新推荐文章于 2023-10-09 16:25:07 发布