<view class="new-friend-circle">
  <view class="text">
    <textarea placeholder="请输入内容"></textarea>
  </view>
  <view class="select">
    <view class="photo" wx:for="{{selectedList}}" wx:key="index" wx:if="{{selectedList.length > 0}}">
      <view class="type-box" wx:if="{{selectedType == 'image'}}">
        <image src="{{item.tempFilePath}}"></image>
        <image src="../../images/delete-photo.png" class="delete" bindtap="deletePhoto" data-idx="{{index}}"></image>
      </view>
      <view class="type-box" wx:else>
        <video src="{{item.tempFilePath}}"></video>
        <image src="../../images/delete-photo.png" class="delete" bindtap="deletePhoto" data-idx="{{index}}"></image>
      </view>
    </view>
    <view class="add" bindtap="selectContent" wx:if="{{showAdd}}">
      <image src="../../images/new.png"></image>
    </view>
  </view>
  <view class="is-public">
    是否公开：
    <radio-group bindchange="changepublic">
      <radio value="true" color="#9F1512">公开</radio>
      <radio value="false" color="#9F1512">不公开</radio>
    </radio-group>
  </view>
</view>
<view class="submit">
  发布
</view>