<view class="page">
  <view class="page__hd">
    <view class="weui-cells__title">答题偏好</view>
    <view class="weui-cells weui-cells_after-title">
      <view class="weui-cell weui-cell_switch">
        <view class="weui-cell__bd">自动跳转下一题</view>
        <view class="weui-cell__ft">
          <switch color="#4b8ef9" data-id="examAutoNext" bindchange="setting" checked="{{examAutoNext}}" />
        </view>
      </view>
    </view>
  </view>

  <view class="page__hd">
    <view class="weui-cells__title">通知</view>
    <view class="weui-cells weui-cells_after-title">
      <view class="weui-cell weui-cell_switch">
        <view class="weui-cell__bd">题库更新</view>
        <view class="weui-cell__ft">
          <switch color="#4b8ef9" data-id="tipsSubjectUpdate" bindchange="setting" checked="{{tipsSubjectUpdate}}" />
        </view>
      </view>
      <view class="weui-cell weui-cell_switch">
        <view class="weui-cell__bd">答题提醒</view>
        <view class="weui-cell__ft">
          <switch color="#4b8ef9" data-id="tipsStudy" bindchange="setting" checked="{{tipsStudy}}" />
        </view>
      </view>
    </view>
  </view>

  <view class="page__hd">
    <view class="weui-cells__title">数据</view>
    <view class="weui-cells weui-cells_after-title">
      <view class="weui-cell weui-cell_access" hover-class="weui-cell_active" bindtap="cleanCache">
        <view class="weui-cell__bd">清空缓存</view>
        <view class="weui-cell__ft">{{cacheSize || ''}}</view>
      </view>
      <view class="weui-cell weui-cell_access weui-cell_warn" hover-class="weui-cell_active" bindtap="cleanExam">
        <view class="weui-cell__bd">重置答题数据</view>
        <view class="weui-cell__ft"></view>
      </view>
    </view>
  </view>

  <view class="page__hd">
    <view class="weui-cells__title">其他</view>
    <view class="weui-cells weui-cells_after-title rktk">
      <navigator url="vip-snactive" class="weui-cell weui-cell_access" hover-class="weui-cell_active">
        <view class="weui-cell__hd">
          <image src="../../images/ic_vip-active.png"></image>
        </view>
        <view class="weui-cell__bd">激活VIP会员</view>
        <view class="weui-cell__ft weui-cell__ft_in-access"></view>
      </navigator>
    </view>
  </view>
</view>