<view class="container">
<input class='title' name='title' placeholder='{{titlePlaceholder}}' value='{{title}}' ></input>
<textarea class='content' name='content' placeholder='{{contentPlaceholder}}' value='{{content}}'></textarea>
<view class='images' wx:for='{{images}}' wx:key="{{index}}" >
<view wx:if="{{item.index == -1}}">
<image class='image' src='{{item.url}}' bindtap='chooseImage' data-index="{{item.index}}"></image>
</view>
<view wx:else>
<image class='image' src='{{item.url}}' bindtap='delImagePlaceholder' data-index="{{index}}"></image>
</view>
</view>
</view>
这是我的自定义组件,如何在原生的form中获得,title和content的值?