EP-WachatApp/eaterplanet_ecommerce/components/vipModal/index.js

33 lines
512 B
JavaScript
Raw Normal View History

2023-03-24 11:24:28 +08:00
// eaterplanet_ecommerce/components/vipModal/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
visible: {
type: Boolean,
value: false
},
imgUrl: {
type: String,
value: ''
}
},
/**
* 组件的方法列表
*/
methods: {
goUrl: function(){
wx.navigateTo({
url: '/eaterplanet_ecommerce/moduleA/vip/upgrade',
})
},
closeModal: function() {
this.setData({
visible: false
})
}
}
})