diff --git a/pages/my/cardRoll.vue b/pages/my/cardRoll.vue index 6c0b2b6..4345bc3 100644 --- a/pages/my/cardRoll.vue +++ b/pages/my/cardRoll.vue @@ -13,7 +13,11 @@ - + + + 车辆保养卡 + + 车辆保养卡 2024-09-20 @@ -98,6 +102,28 @@ width: 136rpx; height: 100rpx; background-color: #efefef; + + display: flex; + align-items: center; + justify-content: center; + + position: relative; + + .cardImgText { + color: #fff; + font-size: 24rpx; + position: relative; + z-index: 2; + } + + .cardImgBg { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + z-index: 1; + } } .cardInfo { diff --git a/static/images/cardRollBg.png b/static/images/cardRollBg.png new file mode 100644 index 0000000..cbc0746 Binary files /dev/null and b/static/images/cardRollBg.png differ