This commit is contained in:
alvis
2020-07-16 14:12:31 +08:00
parent 1c159a7bad
commit f746aef851
2140 changed files with 7218 additions and 4689 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>