<!--pages/application/index.wxml-->
<scroll-view class="scrollarea" scroll-y type="list">
  <view class="index_main">
    <Container style="margin-top: -100rpx;">
      <view style="margin: 0 44rpx;font-size: 28rpx;">
        <view class="top_label">作者姓名*</view>
        <input class="top_input" placeholder="请输入姓名" />
        <view class="top_label">联系电话*</view>
        <input class="top_input" placeholder="请输入联系电话" />
        <view class="top_label">学校班级*</view>
        <input class="top_input" placeholder="请输入学校班级" />
        <view class="top_label">指导老师*</view>
        <input class="top_input" placeholder="请输入指导老师" />
        <view class="top_label" style="margin-bottom: 17rpx;">联系地址*</view>
        <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
          <view class="picker">
            <view class="picker_item">{{multiArray[0][multiIndex[0]]}}</view>
            <view class="picker_item">{{multiArray[1][multiIndex[1]]}}</view>
            <view wx:if="{{multiArray[2][multiIndex[2]]}}" class="picker_item">{{multiArray[2][multiIndex[2]]}}</view>
          </view>
        </picker>
        <textarea class="top_input" style="height: 5em;" bindblur="bindTextAreaBlur" placeholder="请输入地址" />
        <view class="top_label">组别*</view>
        <view class="top_input" style="background-color: #ffffff00;height: auto;">
          <van-radio-group value="{{ radio }}" bind:change="onChange">
            <van-radio name="1" checked-color="#91725D">幼儿组(6岁以下)</van-radio>
            <van-radio name="2" checked-color="#91725D">儿童组(7-10岁)</van-radio>
            <van-radio name="3" checked-color="#91725D">少儿组(11-14岁)</van-radio>
            <van-radio name="4" checked-color="#91725D">少年组(15-18岁)</van-radio>
          </van-radio-group>
        </view>
        <view class="top_label">作品类别*</view>
        <view class="top_input" style="background-color: #ffffff00;height: auto;">
          <van-radio-group value="{{ radio }}" bind:change="onChange">
            <van-radio name="1" checked-color="#91725D">国画组</van-radio>
            <van-radio name="2" checked-color="#91725D">西洋画组</van-radio>
            <van-radio name="3" checked-color="#91725D">书法组</van-radio>
          </van-radio-group>
        </view>

        <image wx:if="{{!local_image_url}}" bind:tap="upload" src="https://cxzx.smcic.net/topic/tool/img/%E5%B0%91%E5%84%BF%E4%B9%A6%E7%94%BB%E5%A4%A7%E8%B5%9B/upload.png" style="{{'height:' + uploadheight + 'px;width:600rpx;margin-top: 66rpx'}}" bindload="uploadimg" />
        <view wx:if="{{local_image_url}}" class="imgP" bind:tap="delimg">
          <image src="{{local_image_url}}" style="width: 100px; height: 100px;" />
          <image class="del" src="../../images/del.png" style="width: 30px;height: 30px" />
        </view>
      </view>
    </Container>
  </view>
</scroll-view>