2019-12-09 13:57:07 +08:00

17 lines
258 B
JavaScript

import icons from '../../dist/@vant/icons/src/config';
import Page from '../../common/page';
Page({
data: {
icons,
active: 0,
demoIcon: 'location-o'
},
onSwitch(event) {
this.setData({
active: event.detail.index
});
}
});