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