123456789101112131415161718192021222324252627282930313233343536 |
- // components/roomitem/index.ts
- Component({
- options: {
- styleIsolation: 'apply-shared'
- },
-
- /**
- * 组件的属性列表
- */
- properties: {
- g_cdn:String,
- type:Number,
- info:Object
- },
- /**
- * 组件的初始数据
- */
- data: {
- },
- /**
- * 组件的方法列表
- */
- methods: {
- tapItem(){
- // if (this.data.info.statusVo == 1) {
- // return
- // }
- this.triggerEvent('tapItem',{item:this.data.info})
- // { bubbles: true, composed: true }
- // this.triggerEvent('tapItem',{})
- }
- }
- })
|