<form bindtap="blur">
    <view class="label" >持仓日期   {{stock_date}}</view>
    <view class="note">交作业时间:15:00-15:30</view>
    <navigator wx:if="{{role == 2}}" class="change" url="../change/change">今日有出入金？必须先点此处申报</navigator>
    <view class="label">今日总资产<text class="note">(单位：万)</text>  </view>
    <input type='digit' value="{{today_fund}}" bindinput="fundChange1" placeholder="请输入总资产"></input>
    <text style="color:red;font-weight:500">万</text>
    <text style="color:rgb(128, 128, 128);font-size:24rpx">注意:1.融资账户填净资产 2.今日若有银证转账，请先去上面一栏进行申报除权，再来这里填资金进出后的总资产</text>
    <!-- <block wx:if='{{!is_markt}}'> -->
    <view class="label">今日持股<text class="note">(空仓请留空不填)</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>
      <text style="color:red;font-weight:500">万</text>    
      <view  style="width:17%;">
        <icon bindtap="del" data-id='{{index}}' style="margin-top:20rpx;" class="icon-small" type="cancel" size="25"></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="openmarket">  
        开超市<text class="note">(持股超5支可选)</text>  
        <switch color='#D94B24' checked="{{is_markt}}" bindchange="switch1Change" />
    </view>
    <view class="label">账户截图<text class="note">(需包括:净资产-股票名-持股金额，<text style='color:red;font-size: 22rpx'>请屏蔽</text>账户-开户名-股东代码等个人信息，分时买卖点截图也可选填)</text></view>
    <view wx:for='{{today_stock_img}}' class="stock_imgs">
        <image  src="{{item}}" bindtap="prview" data-src="{{item}}"></image>
        <view class="edit">
            <!-- <text>识别</text> -->
            <text bindtap="del1" data-id='{{index}}'>删除</text>
        </view>
        <!-- <icon bindtap="del1" data-id='{{index}}' class="icon-small" type="cancel" size="25"></icon> -->
    </view>
    <view  class="upload" bindtap="uploadImg">
          <image mode="widthFix" src="../../images/img.png"></image>
            上传图片
    </view>
    <view class="label">今日反思</view>
    <textarea value="{{experience}}" bindinput="expChange" placeholder='请填写'></textarea>
    <view class="tips">

        <text>交作业须知：</text>
        <text>1、今日有银证转账请先申报除权再交作业，单位是万！</text>
        <text>2、为方便学习交流，选手每日持仓图系统内公开可见。</text>
        <text>3、持仓图需包含总资产-持股名称-持股金额。</text>
        <text>4、有特殊情况可不公布持股金额，但持股名称必须有。</text>
        <text>5、连续3天未交作业，无特殊原因将被视为退赛。</text>
        <text>6、重新归赛请联系顽主，并提交请假期间的银证转账记录。</text>
        <text>7、数据提交有误可直接修改，再点击上传。</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>


<view class="modal" wx:if='{{show}}'>
  <view class="fund_modal">
    <view>请先输入初始资金</view>
    <input type='digit' bindinput="fundchange"></input>
    <text>W</text>
    <button bindtap="save">确定</button>
  </view>
</view>