TipPanel_wev8.js
788 Bytes
define("TipPanel_html",function(){return'<div id="NMEC_${id}" class="wev-comp-${compType}"> <div class="wev-tip-wrapper wev-tip-${layoutType}"> <img class="wev-tip-icon" src="${iconPath}"></img> <div class="wev-tip-wrap"> {@if title}<div class="wev-tip-title {@if !subTitle}wev-tip-singletitle{@/if}">${title}</div>{@/if} {@if subTitle}<div class="wev-tip-subtitle {@if !title}wev-tip-singletitle{@/if}">${subTitle}</div>{@/if} </div> </div></div>'}),define(["mUtil","Component"],function(i,t){return t.init(function(i){t.super(this,i),this.type="TipPanel",this.tpl=this.type+"_html",this.css=this.type+"_css";this.viewModel={layoutType:"vertical",iconPath:"/mobilemode/piclibrary/03-E9_flat/success.png",title:"",subTitle:""}})});