• This project
    • Loading...
  • Sign in

xt / xt-ac · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • xt-ac
  • components
  • toptab
  • toptab.js
  • no message
    65866081
    by zhangyan
    2018-10-30 18:12:10 +0800  
    Browse Files
toptab.js 689 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Component({
    data:{
        list:[
            {
                id:1,
                title:'宠物寄养',
                isactive:true
            },
            {
                id:2,
                title:'宠物医院',
                isactive:false
            },
            {
                id:3,
                title:'美容洗澡',
                isactive:false
            }
        ]
    },
    methods:{
        show:function(info){
            this.setData({
                alertHidden:false,
                info:info
            })
        },
        close:function(){
            this.setData({
                alertHidden:true
            })
        }
    }
})