33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
<!--mycomponent/yz_commentInput/yz_commentInput.wxml-->
|
||
<view class="yz_commentInput">
|
||
<van-popup show="{{showCommentInput}}" position="bottom" class="yz_commentInput-main" bind:close="closedPopup">
|
||
<slot></slot>
|
||
<view class="commentInput-slot-style"
|
||
wx:if="{{options.type && (options.type == 'reply' || options.type == 'childReply')}}">
|
||
回复<view class="selcolor">@{{ options.replyName || "---" }}:</view>{{ options.content || "" }}
|
||
</view>
|
||
<view class="replyMainComment">
|
||
<view class="left">
|
||
<van-field value="{{maincomment}}" bind:change="onChange" rows="1" autosize type="textarea"
|
||
placeholder="{{prop_placeholder}}" custom-style="background-color:transparent;padding:0;" />
|
||
<view class="comment-imgs" wx:if="{{openImg}}">
|
||
<view class="qitaimgbox">
|
||
<view class="qitaimage" wx:for="{{fileList1}}" wx:key="index">
|
||
<image class="qitaMax" catchtap="preview" data-src="{{index}}" src="{{item}}"></image>
|
||
<view class="icon-cel">
|
||
<van-icon name='close' color="red" catchtap="delIntu_1" id="{{index}}"></van-icon>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view catchtap="subMainBtn" class="right {{maincomment=='' && fileList1.length==0 ? 'blank-color' : ''}}">发送
|
||
</view>
|
||
</view>
|
||
<view class="operate-boxs" wx:if="{{openImg}}">
|
||
<view class="operate-btn" catchtap="onRead_1">
|
||
<icon class="iconfont icon-ht_basis_singlepic"></icon>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
</view> |