<form bindtap="blur">
    <view class="label" >持仓日期 {{stock_date}}<text class="note">交作业时间:15:00-15:30</text></view>
    
    <navigator wx:if="{{role == 2}}" class="change" url="../change/change">今日有银证转帐？先在此申报，再来交作业</navigator>
    <view class="label">账户截图<text class="note">必须包括:总资产-股票名-持股金额，<text style='color:#E90001;font-size: 22rpx'>禁止打码</text>，买卖点截图也欢迎提交</text></view>
    <view wx:for='{{today_stock_img}}' class="stock_imgs">
        <image  src="{{item}}" bindtap="prview" data-src="{{item}}" bindload="imageLoad" data-index="{{ index }}"></image>
        <view class="edit">
            <!-- <text>识别</text> -->
            <text data-index="{{index}}" bind:tap="startOcr">识别</text>
        </view>
        <!-- <icon bindtap="del1" data-id='{{index}}' class="icon-small" type="cancel" size="25" style="margin-top: 0rpx;"></icon> -->
        <view class="delete">
          <image mode="aspectFit" style="display:inline-block;margin-top: 10rpx;width: 50rpx;height: 50rpx;" src="../../images/shanchu.png" bind:tap="del1"></image>
        </view>
        
    </view>
    <view  class="upload" bindtap="upload">
          <image mode="widthFix" src="../../images/img.png"></image>
            上传图片
    </view>
    <view>
    <text style="color:rgb(88, 88, 88);font-size:24rpx">注意:识别有误请手动修改，用手机同花顺或券商app截图，可提高准确率，默认识别第一张图</text>
    </view>
    <view class="label">今日总资产<text class="note">融资账户填净资产</text>  </view>
    <view class="info">
    <input type='digit' value="{{today_fund}}" bindinput="fundChange1" placeholder="请输入总资产"></input>
    <text style="color:#E90001;font-size: 34rpx;">万</text>
    <icon bindtap="delToday" style="margin-top:25rpx; margin-left: 10rpx;" class="icon-small" type="cancel" size="20"></icon>
    </view>

    <!-- <block wx:if='{{!is_markt}}'> -->
    <view class="label">今日持股<text class="note">空仓不填即可</text></view>
    <view class="totay_title">
        <text>持仓(万)</text><text>盈亏(万)</text>
    </view>
    <view class="info" wx:for='{{stock}}' >
      <input bindinput='stockSearch'   data-id='{{index}}'  value="{{item.name}}" placeholder="股票名称"></input>
      <input type='digit' bindinput="fundChange" data-id='{{index}}' value="{{item.fund}}" placeholder="持仓"></input>
      <input class="{{item.money[0]=='-' ?'down':'up'}}" type='digit' bindinput="moneyChange" data-id='{{index}}' value="{{item.money}}" placeholder="盈亏"></input>
      <!-- <text style="color:#E90001;font-size: 34rpx;">万</text>     -->
      <view  style="width:17%;">
        <icon bindtap="del" data-id='{{index}}' style="margin-top:25rpx; margin-left: 10rpx;" class="icon-small" type="cancel" size="20"></icon>
      </view>
      
      <view class="stock_list" wx:if='{{stockList.length>0 && cur==index}}'>
        <view wx:for='{{stockList}}' catchtap="bindPickerChange" wx:for-item='s' wx:for-index='i'  data-name='{{s.name}}' data-id="{{s.code}}" wx:key='{{index+""+i}}'>{{s.label}}</view>
      </view>
    </view>
    <view bindtap="add" class="add"> + 添加持股</view>
    <!-- </block> -->
    
    <view class="label">交易日记<text class="note">记录成长点滴</text></view>
    <textarea value="{{experience}}" bindinput="expChange" placeholder='记录...'></textarea>
    <view class="tips">

        <text>交作业须知：</text>
        <text>1、比赛期间银证转帐不能超过五次，每次须在系统申报。</text>
        <text>2、被观众反应成绩异常的选手，比赛将提前验证帐户。</text>
        <text>3、连续3天未交作业，无特殊原因将被视为退赛。</text>
        <text>4、重新归赛请联系我们，提交请假期间的银证转账记录。</text>
        <text>5、数据提交有误可直接修改，再点击上传。</text>
    </view>
    
    <button wx:if="{{role == 2}}" disabled='{{disable}}'  bindtap="post">提交</button>
    <!-- <button wx:else disabled>上传</button> -->
    
    <!-- <button wx:if='{{!change}}' disable='{{disable}}' bindtap="post">上传</button>
    <button wx:else  bindtap="post" disable='{{disable}}'>修改</button> -->
</form>