textFileEditDialog.wxml 1.2 KB

1
  1. <view class="data-v-55d0010e"><block wx:if="{{isShow}}"><view class="dialogMask data-v-55d0010e" style="{{'height:'+(height+'px')+';'}}"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="dialogContent data-v-55d0010e" catchtap="__e"><view data-event-opts="{{[['tap',[['hide',['$event']]]]]}}" class="dialogHead data-v-55d0010e" bindtap="__e"><view class="data-v-55d0010e"><text class="title data-v-55d0010e">{{title}}</text></view><view class="data-v-55d0010e"><image class="fold data-v-55d0010e" src="/devTools/page/static/unfold.png"></image></view></view><scroll-view class="scrollList data-v-55d0010e" style="{{'height:'+(dialogHeight+'px')+';'}}" scroll-y="{{true}}"><textarea class="fileEditInput data-v-55d0010e" style="{{'height:'+(dialogHeight-(canSave?90:40)+'px')+';'}}" type="text" placeholder="请输入..." maxlength="-1" data-event-opts="{{[['input',[['__set_model',['','value','$event',[]]]]]]}}" value="{{value}}" bindinput="__e"></textarea><block wx:if="{{canSave}}"><view data-event-opts="{{[['tap',[['saveFile',['$event']]]]]}}" class="saveBtn data-v-55d0010e" bindtap="__e"><text class="saveBtnText data-v-55d0010e">保存</text></view></block></scroll-view></view></view></block></view>