upload.wxml 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <form bindtap="blur">
  2. <view class="label" >持仓日期 {{stock_date}}<text class="note">交作业时间:15:00-15:30</text></view>
  3. <navigator wx:if="{{role == 2}}" class="change" url="../change/change">今日有银证转帐?先在此申报,再来交作业</navigator>
  4. <view class="label">账户截图<text class="note">必须包括:总资产-股票名-持股金额,<text style='color:#E90001;font-size: 22rpx'>禁止打码</text>,买卖点截图也欢迎提交</text></view>
  5. <view wx:for='{{today_stock_img}}' class="stock_imgs">
  6. <image src="{{item}}" bindtap="prview" data-src="{{item}}" bindload="imageLoad" data-index="{{ index }}"></image>
  7. <view class="edit">
  8. <!-- <text>识别</text> -->
  9. <text data-index="{{index}}" bind:tap="startOcr">识别</text>
  10. </view>
  11. <!-- <icon bindtap="del1" data-id='{{index}}' class="icon-small" type="cancel" size="25" style="margin-top: 0rpx;"></icon> -->
  12. <view class="delete">
  13. <image mode="aspectFit" style="display:inline-block;margin-top: 10rpx;width: 50rpx;height: 50rpx;" src="../../images/shanchu.png" bind:tap="del1"></image>
  14. </view>
  15. </view>
  16. <view class="upload" bindtap="upload">
  17. <image mode="widthFix" src="../../images/img.png"></image>
  18. 上传图片
  19. </view>
  20. <view>
  21. <text style="color:rgb(88, 88, 88);font-size:24rpx">注意:识别有误请手动修改,用手机同花顺或券商app截图,可提高准确率,默认识别第一张图</text>
  22. </view>
  23. <view class="label">今日总资产<text class="note">融资账户填净资产</text> </view>
  24. <view class="info">
  25. <input type='digit' value="{{today_fund}}" bindinput="fundChange1" placeholder="请输入总资产"></input>
  26. <text style="color:#E90001;font-size: 34rpx;">万</text>
  27. <icon bindtap="delToday" style="margin-top:25rpx; margin-left: 10rpx;" class="icon-small" type="cancel" size="20"></icon>
  28. </view>
  29. <!-- <block wx:if='{{!is_markt}}'> -->
  30. <view class="label">今日持股<text class="note">空仓不填即可</text></view>
  31. <view class="totay_title">
  32. <text>持仓(万)</text><text>盈亏(万)</text>
  33. </view>
  34. <view class="info" wx:for='{{stock}}' >
  35. <input bindinput='stockSearch' data-id='{{index}}' value="{{item.name}}" placeholder="股票名称"></input>
  36. <input type='digit' bindinput="fundChange" data-id='{{index}}' value="{{item.fund}}" placeholder="持仓"></input>
  37. <input class="{{item.money[0]=='-' ?'down':'up'}}" type='digit' bindinput="moneyChange" data-id='{{index}}' value="{{item.money}}" placeholder="盈亏"></input>
  38. <!-- <text style="color:#E90001;font-size: 34rpx;">万</text> -->
  39. <view style="width:17%;">
  40. <icon bindtap="del" data-id='{{index}}' style="margin-top:25rpx; margin-left: 10rpx;" class="icon-small" type="cancel" size="20"></icon>
  41. </view>
  42. <view class="stock_list" wx:if='{{stockList.length>0 && cur==index}}'>
  43. <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>
  44. </view>
  45. </view>
  46. <view bindtap="add" class="add"> + 添加持股</view>
  47. <!-- </block> -->
  48. <view class="label">交易日记<text class="note">记录成长点滴</text></view>
  49. <textarea value="{{experience}}" bindinput="expChange" placeholder='记录...'></textarea>
  50. <view class="tips">
  51. <text>交作业须知:</text>
  52. <text>1、比赛期间银证转帐不能超过五次,每次须在系统申报。</text>
  53. <text>2、被观众反应成绩异常的选手,比赛将提前验证帐户。</text>
  54. <text>3、连续3天未交作业,无特殊原因将被视为退赛。</text>
  55. <text>4、重新归赛请联系我们,提交请假期间的银证转账记录。</text>
  56. <text>5、数据提交有误可直接修改,再点击上传。</text>
  57. </view>
  58. <button wx:if="{{role == 2}}" disabled='{{disable}}' bindtap="post">提交</button>
  59. <!-- <button wx:else disabled>上传</button> -->
  60. <!-- <button wx:if='{{!change}}' disable='{{disable}}' bindtap="post">上传</button>
  61. <button wx:else bindtap="post" disable='{{disable}}'>修改</button> -->
  62. </form>