import ad from '../index/ad'

ad({
    data: {
        items: [{
            id: '001',
            text: '房间',
            value: 1,
        },
        {
            id: '002',
            text: '成人',
            value: 2,
        }],
        value: 1,
    },
    onChange(e) {
        console.log(e)
        this.setData({
            value: e.detail.value,
        })
    },
})
