first add files
This commit is contained in:
15
ProjectLiaisonForm/pages/icon/base/index.js
Normal file
15
ProjectLiaisonForm/pages/icon/base/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import icons from '../data';
|
||||
|
||||
Component({
|
||||
data: {
|
||||
icons,
|
||||
},
|
||||
|
||||
methods: {
|
||||
onIconTap(event) {
|
||||
const { name, type } = event.currentTarget.dataset;
|
||||
if (type === 'prefix') return;
|
||||
wx.showToast({ title: name, icon: 'none', duration: 1000 });
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user