mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
27 lines
385 B
JavaScript
27 lines
385 B
JavaScript
import Page from '../../common/page';
|
|
|
|
Page({
|
|
data: {
|
|
show: false,
|
|
showEmbedded: false
|
|
},
|
|
|
|
onClickShow() {
|
|
this.setData({ show: true });
|
|
},
|
|
|
|
onClickHide() {
|
|
this.setData({ show: false });
|
|
},
|
|
|
|
onClickShowEmbedded() {
|
|
this.setData({ showEmbedded: true });
|
|
},
|
|
|
|
onClickHideEmbedded() {
|
|
this.setData({ showEmbedded: false });
|
|
},
|
|
|
|
noop() {}
|
|
});
|