33 lines
512 B
JavaScript
33 lines
512 B
JavaScript
|
// 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
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
})
|