<view><view class="mask" style="{{'opacity:'+(show?'1':'0')+';'+('visibility:'+(show?'visible':'hidden')+';')}}"></view><view class="modal-box" style="{{'display:'+(show?'block':'none')+';'+('width:'+(modalWidth)+';')}}"><view class="modal-title" style="{{'padding:'+(titlePadding)+';'+('font-size:'+(titleSize)+';')+('color:'+(titleColor)+';')}}">{{''+titleText+''}}</view><block wx:if="{{contentType==1}}"><view class="modal-content" style="{{'font-size:'+(contentSize)+';'+('padding:'+(contentPadding)+';')+('color:'+(contentColor)+';')}}">{{''+contentText+''}}</view></block><block wx:if="{{contentType==2}}"><view class="modal-content" style="{{'padding:'+(contentPadding)+';'}}"><input class="input-area" style="{{'border-color:'+(inputBorderColor)+';'+('font-size:'+(contentSize)+';')+('color:'+(contentColor)+';')}}" placeholder="{{placeholderText}}" maxlength="{{maxLength}}" placeholder-style="{{placeholderStyleString}}" data-event-opts="{{[['input',[['__set_model',['','inputText','$event',[]]]]]]}}" value="{{inputText}}" bindinput="__e"/></view></block><block wx:if="{{contentType==3}}"><view class="modal-content" style="{{'padding:'+(contentPadding)+';'}}"><textarea style="{{'border-color:'+(inputBorderColor)+';'+('font-size:'+(contentSize)+';')+('color:'+(contentColor)+';')}}" placeholder="{{placeholderText}}" maxlength="{{maxLength}}" placeholder-style="{{placeholderStyleString}}" data-event-opts="{{[['input',[['__set_model',['','textareaText','$event',[]]]]]]}}" value="{{textareaText}}" bindinput="__e"></textarea></view></block><view class="model-bottom" style="{{'padding:'+(bottomPadding)+';'+('justify-content:'+(btnLength>1?'space-between':'center')+';')}}"><block wx:for="{{btnGroup}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['btnClick',[index]]]]]}}" class="modal-btn" style="{{'width:'+(item.width)+';'+('height:'+(item.height)+';')+('color:'+(item.color)+';')+('background-color:'+(item.bgColor)+';')+('font-size:'+(bottomFontSize)+';')+('border-radius:'+(shapeObj[item.shape])+';')}}" bindtap="__e">{{''+item.text+''}}</view></block></block></view></view></view>