This commit is contained in:
lixuan
2022-10-20 11:52:22 +08:00
parent f7f86e9b55
commit c15c690285
3 changed files with 14 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view >
<view class="bg-img boxsingForCard flex align-center"
<view class="bg-img boxsingForCard flex align-center swi-bg"
:style="'background-image: url('+imgURL+ (card.oilCardType==2?'card-zs.png':'card-other.png')+');'">
<view class="padding-xl text-white">
<view class="padding-xs text-bold">
@@ -14,6 +14,7 @@
个人油卡
</text>
<text style="margin-left: 15rpx;padding: 10rpx 15rpx;border-radius: 15rpx;color: #FF6700;background-color: #FFFFFF;font-size: 20rpx;">{{card.companyType|companyType}}</text>
<text v-show="card.plateNumberCompany" style="margin-left: 15rpx;padding: 10rpx 15rpx;border-radius: 15rpx;color: #FF6700;background-color: #FFFFFF;font-size: 20rpx;">{{card.plateNumberCompany?card.plateNumberCompany:''}}</text>
</view>
<view class="padding-xs padding-top-lg padding-bottom text-xxl">
{{card.accountCardCode|cardNoFormat}}
@@ -125,4 +126,7 @@
.hidden-2{
opacity: 0;
}
.swi-bg{
background-size: 770rpx;
}
</style>