小程序源码

This commit is contained in:
mindskip
2020-09-02 08:44:41 +08:00
parent 30b54a23ff
commit 593017f562
277 changed files with 5497 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Component({
externalClasses: ['i-class'],
options: {
// 在组件定义时的选项中启用多slot支持
multipleSlots: true
},
methods : {
handleTap2(){
console.log(event,1111111)
},
handleTap3(){
}
}
});

View File

@@ -0,0 +1,8 @@
{
"component": true,
"usingComponents":
{
"i-button": "../button/index",
"i-icon": "../icon/index"
}
}

View File

@@ -0,0 +1,4 @@
<view class="i-class i-slide" capture-catch:touchstart="handleTap2" capture-catch:touchmove="handleTap3">
1111
</view>