diff --git a/pages/card/card.vue b/pages/card/card.vue index 3fa06db..a86334a 100644 --- a/pages/card/card.vue +++ b/pages/card/card.vue @@ -28,10 +28,10 @@ + style="width: 100%;text-align: center;padding-top: 20px;border-bottom-left-radius: 20rpx;border-bottom-right-radius: 20rpx;background-color: #fdf0ee;"> {{item.pname}} - + {{item.state}} @@ -105,6 +105,13 @@ transition: filter 0.2s; } + .bottom { + /* 加载背景图 */ + background-image: url(../../static/card_bg1.png); + /* 让背景图基于容器大小伸缩 */ + background-size: cover; + } + .oragin {} uni-page-body,