修改adv组件无法显示内容的问题
This commit is contained in:
@ -81,34 +81,18 @@
|
|||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
detail: {
|
|
||||||
"list": [{
|
|
||||||
"image": "https:\/\/wx.yixiang.co\/static\/images\/index001.png",
|
|
||||||
"name": "",
|
|
||||||
"path": "/pages/user/coupon/GetCoupon/index",
|
|
||||||
"path_name": "优惠券",
|
|
||||||
"path_type": 1
|
|
||||||
}, {
|
|
||||||
"image": "https:\/\/wx.yixiang.co\/static\/images\/index002.png",
|
|
||||||
"name": "",
|
|
||||||
"path": "/pages/shop/GoodsList/index",
|
|
||||||
"path_name": "商品",
|
|
||||||
"path_type": 1
|
|
||||||
}, {
|
|
||||||
"image": "https:\/\/wx.yixiang.co\/static\/images\/index003.png",
|
|
||||||
"name": "",
|
|
||||||
"path": "/pages/user/signIn/Integral/index",
|
|
||||||
"path_name": "积分",
|
|
||||||
"path_type": 1
|
|
||||||
}],
|
|
||||||
"name": "",
|
|
||||||
"style": 3
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {},
|
props: {
|
||||||
|
detail:Object
|
||||||
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
created() {},
|
created() {
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
console.log(this)
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 路由跳转
|
// 路由跳转
|
||||||
jump(path) {
|
jump(path) {
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
getCanvas().then(res => {
|
getCanvas().then(res => {
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.homeData = JSON.parse(error.data.json)
|
this.homeData = JSON.parse(error.data.json)
|
||||||
|
console.log(this.homeData[4])
|
||||||
})
|
})
|
||||||
getHomeData().then((res) => {
|
getHomeData().then((res) => {
|
||||||
that.logoUrl = res.data.logoUrl;
|
that.logoUrl = res.data.logoUrl;
|
||||||
|
Reference in New Issue
Block a user