<!--pages/add/edit.wxml-->
<view>
  <view>
    <t-input placeholder="请输入植物名称" borderless t-class="t-input" />

    <view class="mt-16 ml-32 " wx:for="{{tmpList}}">
      <view class="font-12 grey">什么时候{{item.Name}}（可选）</view>
      <view class="mt-16">
        <t-radio-group default-value="0" borderless t-class="box">
          <t-radio class="padding" block="{{false}}" label="每30天" value="0" />
          <t-radio  class="padding" block="{{false}}" label="每40天" value="1" />
          <t-radio class="padding" block="{{false}}" label="每50天" value="2" />
          <t-radio class="padding" block="{{false}}" label="每60天" value="3" />
        </t-radio-group>
      </view>
    </view>
    
    <view class="mt-16 ml-32 ">
      <view class="font-12 grey">上传花的照片（必填）</view>
      <view class="mt-16">
        <t-upload  mediaType="{{['image']}}" max="{{9}}" files="{{fileList}}" bind:add="upload" bind:remove="handleRemove">
        </t-upload>
      </view>
    </view>
  </view>

  <view class="flex flex-center" style="margin-top: 64rpx;">
    <t-button theme="primary" shape="round" style="width: 80%;">确定并保存</t-button>
  </view>

</view>