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 @@