<!--pages/ageChange/ageChange.wxml-->
<view class='ageChange'>
  <image src='../../img/2.jpg'></image>
  <text>请选择您的孩子的年龄段</text>
  <view style="background:{{age==1?'#3AAB69':'#fff'}}" bindtap='selectAge' data-index="1">3~6岁</view>
  <view style="background:{{age==2?'#3AAB69':'#fff'}}" bindtap='selectAge' data-index="2">7岁以上</view>
  <view class='button' style='border:none'>
  <van-button type="default" style="margin:0 auto" bindtap="updateAge">提交</van-button>
  </view>
</view>
