v3.0.6
This commit is contained in:
15
source/wx/xzs-student/component/iView/slide/index.js
Normal file
15
source/wx/xzs-student/component/iView/slide/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
Component({
|
||||
externalClasses: ['i-class'],
|
||||
options: {
|
||||
// 在组件定义时的选项中启用多slot支持
|
||||
multipleSlots: true
|
||||
},
|
||||
methods : {
|
||||
handleTap2(){
|
||||
console.log(event,1111111)
|
||||
},
|
||||
handleTap3(){
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
8
source/wx/xzs-student/component/iView/slide/index.json
Normal file
8
source/wx/xzs-student/component/iView/slide/index.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents":
|
||||
{
|
||||
"i-button": "../button/index",
|
||||
"i-icon": "../icon/index"
|
||||
}
|
||||
}
|
||||
4
source/wx/xzs-student/component/iView/slide/index.wxml
Normal file
4
source/wx/xzs-student/component/iView/slide/index.wxml
Normal file
@@ -0,0 +1,4 @@
|
||||
<view class="i-class i-slide" capture-catch:touchstart="handleTap2" capture-catch:touchmove="handleTap3">
|
||||
1111
|
||||
|
||||
</view>
|
||||
Reference in New Issue
Block a user