<!--myComponents/myInput/myInput.wxml-->
<view class="myInput">
  <view class="left">
    <view class="input_type">
      <slot></slot>
    </view>
      <input class="default" type="text" placeholder="{{placeholder}}" placeholder-class="placeholder" value="{{value}}" bindinput="changeInput" bindblur="inputBlur"/>
    <view class="inner_icon" bind:tap="clickInnerIcon">
      <view class="btn_icon">
        <slot name="inner_icon"></slot>
      </view>
      <view class="default iconfont myIconzhaoxiangji"></view>
    </view>
  </view>
  <view class="right">
  <button class="btn" bind:tap="buttonClick">
    <view class="btn_icon">
      <slot name="btn_icon"> </slot>
    </view>
      <view class="default iconfont myIconsousuo"></view>
    
  </button>
  </view>

</view>

<view wx:if="{{showEdit && show}}" class="editBox">
    <view class="upload">
      <wux-upload
      max='1'
      listType="picture-card"
      fileList="{{ fileList }}"
      controlled
      uploaded="false"
      bind:before="beforeUpload"
      bind:change="onChange"
      bind:success="onSuccess"
      bind:fail="onFail"
      bind:complete="onComplete"
      bind:preview="onPreview"
      bind:remove="onRemove"
    >
      <text>+</text>
    </wux-upload>
    </view>
    <view class="form">
      <my-form-item label="产品名称">
        <input type="text"/>
      </my-form-item>
      <my-form-item label="关键词">
        <!-- <textarea style="width:100%" auto-height="true"/> -->
        <wux-textarea clear autoHeight/>
      </my-form-item>
    </view>
  </view>