<view class="box">
<!-- title -->
<view class="con">
<p>ToDoList</p>
<input placeholder="添加ToDo" bindblur="ent"></input>
<!-- <button bindtap="add">提交</button> -->
</view>
<!-- 显示内容 -->
<view class="cont">
<!-- 正在进行区域 -->
<view class="zheng">
<view class="zzz">
<text>正在进行</text>
<text class="num"> {
{
ss}} </text>
</view>
<!-- 进行事件 -->
<view class="txt" wx:for="{
{arr}}" wx:key="key" wx:if="{
{item.flag}}">
<checkbox-group bindchange="upda" data-i="{
{index}}">
<checkbox></checkbox>
</checkbox-group>
<text wx:if="{
{item.flags}}" bindtap="kabuda" data-k="{
{index}}"> {
{
item.val}} </text>
<input wx:if="{
{!item.flags}}" class="kk" bindblur="sakula" data-h="{
{index}}"> </input>
<text class="ddd" bindtap="del" data-q="{
{index}}">X</text>
</view>
</view>
<!-- 已经完成区域 -->
<view class="yijing">
<view class="zzz">
<text>已经完成