store/mycomponent/yz_commentInput/yz_commentInput.wxml

33 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--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>