<view class="container FlexColumn" style='height:{{Containnerheight}}rpx;'>
  <view class='panel1{{IsIPad}} FlexColumn'>
    <view class='text1 FlexRow'>第
      <text class="text11">{{DayNumber}}</text>天</view>
    <view class='text3' wx:if="{{CardType==0}}">日常模式</view>
    <view class='text3' wx:if="{{CardType==1}}">紧急模式</view>
    <view class='text3' wx:if="{{CardType==2}}">日常+紧急</view>
    <view class='panel11 FlexRow'>
      <view class='text2'>{{TodayTaskNumber}}</view>
    </view>
  </view>

  <image class="message_practise_index_01{{IsIPad}}" src='../images/message_practise_index_01.png' wx:if="{{IsShowSettingRemind}}" />
  <image wx:if="{{TodayTaskNumber>0 && IsStart==1}}" class="study_index_start{{IsIPad}}" src='../images/practise_index_start.png' bindtap="goto" data-url="./detail?CardType={{CardType}}" />
  <image wx:if="{{TodayTaskNumber>0 && IsStart==0}}" class="study_index_start{{IsIPad}}" src='../images/practise_index_goon.png' bindtap="goto" data-url="./detail?CardType={{CardType}}" />
  <image wx:if="{{TodayTaskNumber==0}}" class="study_index_start{{IsIPad}}" src='../images/practise_index_report.png' bindtap="goto" data-url="./detail?CardType={{CardType}}" />

  <view class="setting{{IsIPad}}" catchtap="goto" data-url="../plan/studyplan"></view>
  
  <view class='panelBottom FlexColumn' catchtap="">

    <image class="study_index_footer" src='../images/practise_index_footer.png' />

    <view class='panelBottom1 FlexRow'>
      <view class='panelBottom11 FlexColumn' catchtap="gotoReLaunch" data-url="../test/index">
        <view>检验</view>
      </view>
      <view class='panelBottom11 FlexColumn'>
        <view class='text5'>练习</view>
      </view>
      <view class='panelBottom11 FlexColumn' catchtap="goto" data-url="../main/add?type=add&id=0">
        <image class="tabbar_add_red_70x70" src='../images/tabbar_add_red_70x70.png' />
      </view>
      <view class='panelBottom11 FlexColumn' catchtap='gotoReLaunch' data-url="../main/cardmain">
        <view>题卡</view>
      </view>
      <view class='panelBottom11 FlexColumn' catchtap="goto" data-url="../other/userbook">
        <view>手册</view>
      </view>
    </view>
    <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
  </view>

  <view class="ChangeUser" bindtap="showUserID"></view>
</view>


<view wx:if="{{IsMaintain}}" class="TempCardNoSaved container FlexColumn" style='height:{{Containnerheight}}rpx;'>
  <image class="Avatar" src='../images/universalpic_logo_200x200.png' />
  <text class='RemindText'>数据正在排队维护\n联系天乐可为您加急做完</text>
  <text class='RemindText2'>您还可以尝试重启，没准快要结束了</text>
  <view class='btn1' catchtap="goto" data-url="../index/index">重启小程序</view>
</view>

<view wx:if="{{IsShowUserID}}" class="IsExitContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
    <view class="panel2 FlexRow">
    <input class='input2 input' type="number"  always-embed="true"  value="{{ChangeUserID}}" bindinput="onKeyInput" data-type="userid" />
    <button class="btn2" bindtap="setSelectUser">查看用户</button>
    </view>
    <view style="height:50rpx;"></view>
    <view class="panel2 FlexRow">
    <button class="btnShowUserID" bindtap="goto" data-url="../other/webview?PageID=9999">钥匙</button>
    <button class="btnShowUserID" bindtap="goto" data-url="../other/webviewInterior">访问统计网页</button>
    </view>
    <view style="height:50rpx;"></view>
    <button class="btnShowUserID" bindtap="goto" data-url="../other/paycustom">自定义开据</button>
    <view style="height:50rpx;"></view>
    <view class="panel2 FlexRow">
      <input class='input2 input' type="number"  always-embed="true"  placeholder="新用户ID" value="{{ChangeNewUserID}}" bindinput="onKeyInput" data-type="newuserid"/>
      <button class="btn2" bindtap="getUserInfoFunction" data-id="{{ChangeNewUserID}}" data-type="0">查看</button>
    </view>
    <view class="panel2 FlexRow" wx:if="{{NewUserAvatar}}">
      <image class="Avatar2" src='{{NewUserAvatar}}' />
      <view class="NickName2">{{NewUserNickName}}</view>
    </view>
    <view class="panel2 FlexRow">
      <input class='input2 input' type="number"  always-embed="true"  placeholder="介绍人ID" value="{{ChangeIntroducerUserID}}" bindinput="onKeyInput" data-type="introduceruserid"/>
      <button class="btn2" bindtap="getUserInfoFunction" data-id="{{ChangeIntroducerUserID}}" data-type="1">查看</button>
    </view>
    <view class="panel2 FlexRow" wx:if="{{IntroducerAvatar}}">
      <image class="Avatar2" src='{{IntroducerAvatar}}' />
      <view  class="NickName2">{{IntroducerNickName}}</view>
    </view>
    <button class="btnShowUserID" bindtap="setUserIntroducer">更改用户介绍人</button>
    <view style="height:50rpx;"></view>
    <view class="panel2 FlexRow">
      <input class='input2 input' type="number"  always-embed="true"  placeholder="版本号" value="{{VersionID}}" bindinput="onKeyInput" data-type="versionid"/>
      <button class="btn2" bindtap="setVersionStart" data-versionid="{{VersionID}}" data-flag="1">开通</button>
    </view>

    <view class="panel2 FlexRow">
     <button class="btn2" bindtap="goto" data-url="../other/webview?url=https://mp.weixin.qq.com/s/nBQA9X-PwkdlxKaIjLOf5w">跳转公众号</button>
    </view>
</view>

<view  wx:if="{{IsShowRemind}}" class="IsRemindContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
  <view class="IsRemindPanel FlexColumn">
    <text class="IsRemindText1">延长有效期\n的好办法</text>
    <text class="IsRemindText2">一口气增加120天\n上不封顶等您来拿</text>
    <view class="IsRemindLine"></view>
    <text class="IsRemindText3" wx:if="{{AwardDayNumber===0}}">目前您的奖励天数\noops…还没有</text>
    <text class="IsRemindText3" wx:if="{{AwardDayNumber>0}}">现在您的奖励还有\n{{AwardDayNumber}}天</text>
    <view class="IsRemindBtn" catchtap="goto" data-url="../marketing/index" >详情</view>

    <image class="practise_index_board_blackboard" src='../images/practise_index_board_blackboard.png' />
    <image class="practise_index_board_avater01" src='../images/practise_index_board_avater01.png' />
    <image class="practise_index_board_close" catchtap="closeRemind" src='../images/practise_index_board_close.png' />
  </view>
</view>
