<!--pages/community/add.wxml-->
<view>
  <view class="padding">

    <view></view>
    <view>
      <t-textarea t-class="external-class" placeholder="这一刻的想法" disableDefaultPadding="{{true}}" bind:change="input" />
    </view>
    <view>
      <t-upload  mediaType="{{['image']}}" max="{{9}}" files="{{fileList}}" bind:add="upload" bind:remove="remove">
      </t-upload>
    </view>

    <view class="mt-32 flex flex-center flex-justify-start flex-col full-width">
      <view class="flex flex-center flex-justify-between full-width">
        <view class="flex flex-center">
          <t-icon name="location"></t-icon>
          <view class="ml-5">位置</view>
        </view>
        <view class="flex flex-center flex-justify-end">
          <view>
            昆明市 五华区
          </view>
          <t-icon name="chevron-right"></t-icon>
        </view>
      </view>

      <view class="flex flex-center flex-justify-between full-width mt-32">
        <view class="flex flex-center">
          <t-icon name="artboard"></t-icon>
          <view class="ml-5">参与话题</view>
        </view>
      </view>
      <view class="flex flex-center flex-justify-start full-width mt-16" >
        <t-tag shape="round" theme="primary">#植物园的秋天</t-tag>
      </view>
    </view>

    <view class="full-width flex flex-center " style="margin-top: 96rpx;">
      <t-button theme="primary" style="width: 80%;" shape="round" bind:tap="submit">发布</t-button>
    </view>
  </view>
</view>