diff --git a/pages/home/newZone.vue b/pages/home/newZone.vue
index daad550..b41d657 100644
--- a/pages/home/newZone.vue
+++ b/pages/home/newZone.vue
@@ -4,13 +4,14 @@
-
+
+
+
-
+
@@ -50,7 +51,7 @@ export default{
data() {
return {
details: {},
- current: 0
+ current: 0,
}
},
onLoad() {
@@ -58,6 +59,12 @@ export default{
this.details = res.data
})
},
+ computed: {
+ bannerImage() {
+ return this.details.newProducts && this.details.newProducts[this.current] && this.details.newProducts[this.current].bannerImage
+ }
+
+ },
methods: {
handleChange(e) {
this.current = e.detail.current