123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <div style="background-color: #FFF; overflow: hidden">
- <div title="{{$.lp.base}}" class="MWFTab">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.id}}:</td>
- <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.name}}:</td>
- <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.text}}:</td>
- <td class="editTableValue"><input type="text" name="text" value="text{$.text}" class="editTableInput"/></td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <!-- <tr>-->
- <!-- <td class="editTableTitle">{{$.lp.disabled}}:</td>-->
- <!-- <td class="editTableValue">-->
- <!-- <input type="radio" name="disabled" value="true" text{($.disabled)?'checked':''}/>{{$.lp.yes}}-->
- <!-- <input type="radio" name="disabled" value="false" text{(!$.disabled)?'checked':''}/>{{$.lp.no}}-->
- <!-- </td>-->
- <!-- </tr>-->
- <tr>
- <td class="editTableTitle">{{$.lp.el_placement}}:</td>
- <td class="editTableValue">
- <input type="radio" name="placement" value="top" text{($.placement==='top')?'checked':''}/>{{$.lp.placementValue[0]}}
- <input type="radio" name="placement" value="top-start" text{($.placement==='top-start')?'checked':''}/>{{$.lp.placementValue[1]}}
- <input type="radio" name="placement" value="top-end" text{($.placement==='top-end')?'checked':''}/>{{$.lp.placementValue[2]}}
- <input type="radio" name="placement" value="bottom" text{($.placement==='bottom')?'checked':''}/>{{$.lp.placementValue[3]}}
- <input type="radio" name="placement" value="bottom-start" text{($.placement==='bottom-start')?'checked':''}/>{{$.lp.placementValue[4]}}
- <input type="radio" name="placement" value="bottom-end" text{(!$.placement || $.placement==='bottom-end')?'checked':''}/>{{$.lp.placementValue[5]}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.trigger}}:</td>
- <td class="editTableValue">
- <input type="radio" name="trigger" value="hover" text{(!$.trigger || $.trigger==='hover')?'checked':''}
- onclick="if (this.checked){ $('text{$.pid}hoverTable').setStyle('display', '');}"
- />{{$.lp.triggerValue[0]}}
- <input type="radio" name="trigger" value="click" text{($.trigger==='click')?'checked':''}
- onclick="if (this.checked){ $('text{$.pid}hoverTable').setStyle('display', 'none');}"
- />{{$.lp.triggerValue[1]}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.hideOnClick}}:</td>
- <td class="editTableValue">
- <input type="radio" name="hideOnClick" value="true" text{($.hideOnClick)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="hideOnClick" value="false" text{(!$.hideOnClick)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.size}}:</td>
- <td class="editTableValue">
- <input type="radio" name="size" value="default" text{(!$.size || $.size==='default')?'checked':''}/>default
- <input type="radio" name="size" value="large" text{($.size==='large')?'checked':''}/>large
- <input type="radio" name="size" value="small" text{($.size==='small')?'checked':''}/>small
- <input type="radio" name="size" value="mini" text{($.size==='mini')?'checked':''}/>mini
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.showButton}}:</td>
- <td class="editTableValue">
- <input type="radio" name="showButton" value="true" text{($.showButton)?'checked':''}
- onclick="if (this.checked){ $('text{$.pid}showButtonTable').setStyle('display', '');}"
- />{{$.lp.yes}}
- <input type="radio" name="showButton" value="false" text{(!$.showButton)?'checked':''}
- onclick="if (this.checked){ $('text{$.pid}showButtonTable').setStyle('display', 'none');}"
- />{{$.lp.no}}
- </td>
- </tr>
- </table>
- <table id="text{$.pid}hoverTable" border="0" cellpadding="5" cellspacing="0" class="editTable" style="display: text{($.trigger==='click')?'none':''};">
- <tr>
- <td class="editTableTitle">{{$.lp.showTimeout}}:</td>
- <td class="editTableValue"><input type="number" name="showTimeout" value="text{$.showTimeout}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.hideTimeout}}:</td>
- <td class="editTableValue"><input type="number" name="hideTimeout" value="text{$.hideTimeout}" class="editTableInput"/></td>
- </tr>
- </table>
- <table id="text{$.pid}showButtonTable" border="0" cellpadding="5" cellspacing="0" class="editTable" style="display: text{($.showButton)?'':'none'};">
- <tr>
- <td class="editTableTitle">{{$.lp.splitButton}}:</td>
- <td class="editTableValue">
- <input type="radio" name="splitButton" value="true" text{($.splitButton)?'checked':''} />{{$.lp.yes}}
- <input type="radio" name="splitButton" value="false" text{(!$.splitButton)?'checked':''} />{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.splitButtonType}}:</td>
- <td class="editTableValue">
- <input type="radio" name="buttonType" value="primary" text{(!$.buttonType || $.buttonType==='primary')?'checked':''}/>primary
- <input type="radio" name="buttonType" value="success" text{($.buttonType==='success')?'checked':''}/>success
- <input type="radio" name="buttonType" value="warning" text{($.buttonType==='warning')?'checked':''}/>warning
- <input type="radio" name="buttonType" value="danger" text{($.buttonType==='danger')?'checked':''}/>danger
- <input type="radio" name="buttonType" value="info" text{($.buttonType==='info')?'checked':''}/>info
- <input type="radio" name="buttonType" value="text" text{($.buttonType==='text')?'checked':''}/>text
- </td>
- </tr>
- </table>
- <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;">{{$.lp.prefixIcon}}</div>-->
- <!-- <div style="display: text{($.prefixIcon)?'block':'none'}" class="MWFElIcon" name="prefixIcon"></div>-->
- <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;">{{$.lp.suffixIcon}}</div>-->
- <!-- <div style="display: text{($.suffixIcon)?'block':'none'}" class="MWFElIcon" name="suffixIcon"></div>-->
- <div class="MWFMaplist" name="elStyles" title="{{$.lp.style}}"></div>
- <div class="MWFMaplist" name="elProperties" title="{{$.lp.attribute}}"></div>
- <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
- <!-- <tr>-->
- <!-- <td class="editTableTitle">{{$.lp.compute}}:</td>-->
- <!-- <td class="editTableValue">-->
- <!-- <input type="radio" name="compute" value="create" text{(!$.compute || $.compute=='create')?'checked':''}/>{{$.lp.create}}-->
- <!-- <input type="radio" name="compute" value="save" text{($.compute=='save')?'checked':''}/>{{$.lp.save}}-->
- <!-- <input type="radio" name="compute" value="show" text{($.compute=='show')?'checked':''}/>{{$.lp.show}}-->
- <!-- </td>-->
- <!-- </tr>-->
- <!-- </table>-->
- <!-- <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>-->
- <!-- <div class="MWFValidation" name="validationConfig"></div>-->
- <!-- <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>-->
-
- </div>
- <div title="{{$.lp.menuItem}}" class="MWFTab">
- <table>
- <tr>
- <td class="editTableTitle"></td>
- <td class="editTableValue">
- <input type="radio" name="dataType" value="json" text{($.dataType!=='script')?'checked':''}
- onclick="if (this.checked){
- $('text{$.pid}dataJson').setStyle('display', '');
- $('text{$.pid}dataScript').setStyle('display', 'none');
- }"
- />{{$.lp.data}}
- <input type="radio" name="dataType" value="script" text{($.dataType==='script')?'checked':''}
- onclick="if (this.checked){
- $('text{$.pid}dataJson').setStyle('display', 'none');
- $('text{$.pid}dataScript').setStyle('display', '');
- }"
- />{{$.lp.script}}
- </td>
- </tr>
- </table>
- <div id="text{$.pid}dataJson" class="MWFElTDropdownData" name="dataJson" style="display: text{($.dataType=='script')?'none':''}"></div>
- <div id="text{$.pid}dataScript" style="display: text{($.dataType=='script')?'':'none'}">
- <div style="padding: 5px;">脚本返回选项数组,格式如下:<br/>return [{ <br/>
- "label" : "", //显示的文本, string<br/>
- "command" : "", //指令,菜单项的点击事件(command)可以接收到,string/number/object <br/>
- "disabled" : false, //是否禁用, boolean<br/>
- "divided" : false, //是否显示分割线,boolean<br/>
- "icon" : "" // 图标类名, string<br/>
- }, ...]; </div>
- <div class="MWFScriptArea" name="dataScript"></div>
- </div>
- </div>
- <div title="Vue" class="MWFTab">
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Data</div>
- <div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Method</div>
- <div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue CSS</div>
- <div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Slots</div>
- <div style="display: text{($.vueSlot) ? 'block' : 'none'}">
- <div class="MWFHtmlEditorArea" name="vueSlot" title="Input Slot (HTML)"></div>
- </div>
- </div>
- <div title="{{$.lp.event}}" class="MWFTab">
- <div class="MWFEventsArea" name="events"></div>
- </div>
- <div title="HTML" class="MWFTab">
- <div class="MWFHTMLArea" style="width:100%; height:400px; border:0px;font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- <div title="JSON" class="MWFTab">
- <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- </div>
|