From 1793d8f1a4fbb58c1dfabee30074af3c79970a9f Mon Sep 17 00:00:00 2001 From: shuxiaoquan <853623962@qq.com> Date: Wed, 13 Mar 2024 09:12:31 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/newsshop.vue | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pages/activity/newsshop.vue b/pages/activity/newsshop.vue index aa62938..5c442d8 100644 --- a/pages/activity/newsshop.vue +++ b/pages/activity/newsshop.vue @@ -2,7 +2,10 @@ + :background="{ + background: 'url('+shopItem.index_icon+') center top no-repeat', + backgroundSize: '100% auto', + }"> @@ -31,7 +34,7 @@ - + @@ -44,6 +47,10 @@ shopItem: '', shopList: [], type: 2, + isShow: false, + background: { + + }, } }, onLoad(op) { @@ -97,6 +104,7 @@ } else { this.shopList = [] } + this.isShow = this.shopList.length == 0?true:false }) .finally() }, @@ -105,9 +113,9 @@