<html>
<head>
    <meta charset="utf-8">
    <title>微小宝客户端</title>
    <link rel="stylesheet" type="text/css" href="assest/css/amazeui.css">
    <link rel="stylesheet" id="baseCss" type="text/css" href="assest/css/base.css">
    <link rel="stylesheet" type="text/css" href="assest/plugins/font-awesome/css/font-awesome.min.css">
    <script>
        var CONFIG={
            CLIENT_BASE_DIR:'./',
            CLOUD_PAGE:'./pages/material/cloud.html'
        };
    </script>
</head>
<body>
<header class="am-g">
    <div class="drag-bar"></div>
    <div class="am-u-lg-2 logo-wrap">
        <a id="logo" href="index.html#home">
            <img src="assest/img/logo_03.jpg">
        </a>

        <div class="web-controler">
            <i data-action="back" class="fa fa-arrow-left"></i>
            <i data-action="forward" class="fa fa-arrow-right"></i>
            <i data-action="refresh" class="fa fa-repeat"></i>
        </div>
    </div>
    <div class="am-u-lg-10 am-padding-xs" style="width: auto;">
        <ul class="am-nav am-nav-pills">
            <li class="js-home-tab-btn">
                <a href="#home">
                    <div class="nav-icon home-icon"></div>
                    <span>首页</span>
                </a>
            </li>
            <li class="js-account-tab-btn">
                <a href="#account">
                    <div class="nav-icon account-icon"></div>
                    <span>微信公众号</span>
                </a>
            </li>
            <li class="js-material-tab-btn">
                <a href="#material">
                    <div class="nav-icon material-icon"></div>
                    <span>素材管理</span>
                </a>
                <span class="am-badge am-badge-danger am-round am-hide">new</span>
            </li>
            <li class="js-editor-tab-btn" style="display: none;">
                <a href="#editor">
                    <div class="nav-icon editor-icon"></div>
                    <span>素材编辑</span>
                </a>
            </li>
            <li class="js-wx_article-tab-btn">
                <a href="#wx_article">
                    <div class="nav-icon wx_article-icon"></div>
                    <span>文章排行榜</span>
                </a>
            </li>
            <li class="js-wx_article-tab-btn">
                <a href="#custom_follow">
                    <div class="nav-icon custom_follow-icon"></div>
                    <span>关注的公众号</span>
                </a>
                <span class="am-badge am-badge-danger am-round">new</span>
            </li>
            <li class="js-wx_article_best-tab-btn">
                <a href="#wx_article_best">
                    <div class="nav-icon wx_article_best-icon"></div>
                    <span>精品爆文</span>
                </a>
            </li>
            <li class="js-paiHangBang-tab-btn">
                <a class="open-by-outer" href="javascript:void(0);" data-href="http://top.wxb.com/account">
                    <div class="nav-icon paiHangBang-icon"></div>
                    账号排行榜
                </a>
            </li>

            <li class="js-huoDongDingDan-tab-btn">
                <a class="open-by-outer" href="javascript:void(0);" data-href="http://www.weituibao.com/index/cps">
                    <div class="nav-icon cpsTask-icon"></div>
                    分成盈利 </a>
            </li>
        </ul>

    </div>
    <div class="head-tool">
        <span class="login-user-name">请登录</span>
        <a class="wxb-win-dev"></a>
        <a class="wxb-win-min"></a>
        <a class="wxb-win-max"></a>
        <a class="wxb-win-close"></a>
    </div>
    <ul class="setting-menu am-hide">
        <li class="mustLogin am-hide" data-action="set-profile">个人信息设置</li>
        <li class="mustLogin am-hide line"></li>
        <li data-action="weiTuiBao">广告位售卖</li>
        <li data-action="cps">分成盈利</li>
        <li class="line"></li>
        <li data-action="help">帮助</li>
        <li data-action="fallback">反馈</li>
        <li data-action="about">关于</li>
        <li data-action="updateToThis">手动更新</li>
        <li class="mustLogin am-hide line"></li>
        <li class="mustLogin am-hide" data-action="logout">退出登录</li>
    </ul>
</header>
<div class="am-g main" id="main">
    <div id="homeWrap"></div>
    <div id="accountWrap"></div>
    <div id="materialWrap"></div>
    <div id="editorWrap"></div>
    <div id="wx_articleWrap"></div>
    <div id="custom_followWrap"></div>
    <div id="wx_article_bestWrap"></div>
    <div id="paiHangBangWrap"></div>
    <div id="elseWrap"></div>
    <div id="articleCart"></div>
</div>
<footer class="am-g">
    <div class="am-u-md-2"></div>
    <div class="am-u-md-10 am-text-right js-app-version">
        当前版本:
        <span class="app-version">V0.0.0</span>
        <span class="js-upload-tips tips-dot" style="display: none;" title="有新版本">&nbsp;</span>
    </div>
</footer>

<div id="materialConfig" class="wxbalert mod-alert shadow-box material-config-modal">
    <div class="alert-head">
        设置常用模板（<span class="js-nowAccountName"></span>）
        <i class="fa fa-times cancel"></i>
    </div>
    <div class="alert-content">
        <div data-am-widget="tabs" class="am-tabs am-tabs-default js-material-config-tab">
            <ul class="am-tabs-nav am-cf">
                <li class="am-active" data-type="guide">
                    <a href="javascript:void(0);">关注引导模板</a>
                </li>
                <li class="" data-type="sign">
                    <a href="javascript:void(0);">签名模板</a>
                </li>
                <li class="" data-type="link">
                    <a href="javascript:void(0);">阅读原文引导模板</a>
                </li>
            </ul>
            <div class="am-tabs-bd">
                <div class="am-tab-panel am-active material-wrap">
                    <script id="materialConfigTextarea" style="width: 100%;height: 243px;"></script>
                </div>
            </div>
        </div>
    </div>
    <div class="alert-foot">
        <span class="am-fl open-by-outer" href="javascript:void(0);" data-href="http://www.weituibao.com/detail?id=107">什么是模板？</span>
        <a class="ok">保存</a>
        <a class="cancel">关闭</a>
    </div>
</div>


<!-- template list start -->

<script id="accountListTpl" type="text/template">
    <li class="more"><span><i class="fa fa-plus"></i> 添加</span></li>
    <%
    _.each(wxb.accounts,function(account){
    %>
    <li data-wxid="<%- account.wxid %>">
        <img onerror="reLogin('<%- account.account %>').then( function(){return saveAvator('<%- account.account %>')} ).then(function(){this.src=wxb.materialDir+'/'+account.wxid+'-avatar.jpg'});this.src='assest/img/default-avatar.jpg';"
             class="account-avatar" src="<%- wxb.materialDir+'/'+account.wxid+'-avatar.jpg' %>">
        <%- account.nickName %>
    </li>
    <%  }) %>
</script>
<script id="localaccountLiTpl" type="text/template">
    <li data-wxid="<%- wxid %>"><%- nickname %></li>
</script>

<script id="fullIframeTpl" type="text/template">
    <iframe nwfaketop class="fullIframe" src="<%- url %>"></iframe>
</script>


<script id="accountTpl" type="text/template">
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_account">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div>
        </div>
    </div>
    <div class="right_account" style="float: left;">
        <iframe nwfaketop class="fullIframe" id="wechatIframe" src="<%- url %>"></iframe>
    </div>
</script>

<script id="materialTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">账号为空，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_material" >
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain material right_material" >
        <div class="material-list am-padding-xs"></div>
    </div>
    <% } %>
</script>

<script id="wx_articleTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">账号为空，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div  style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain wx_article right_wx_article" style="padding-left: 0;padding-right: 0;">
        <div>
            <div>
                <div class="times"></div>
                <div class="catalogs"></div>
                <div style="margin: 10px;">
                    <table class="am-table am-table-striped table-wxb news"></table>
                </div>
                <div class="newsPager" class="wx_article_pager"></div>
            </div>

        </div>
    </div>
    <% } %>

</script>

<script id="custom_followTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">账号为空，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div id="customFollowWrap" class="contentMain custom_follow" style="padding-left: 0;padding-right: 0;">
        <iframe src="pages/material/custom_follow.html" style="height: 100%;width: 100%" frameborder="0"></iframe>
    </div>
    <% } %>

</script>

<script id="timesTpl" type="text/template">
    <div class="am-fl">
        <div class="timePrefix">日期 :</div>
        <ul class="date am-fl">
            <li style="display: none;" class="js-for-datePicker"></li>
            <%
            var i = 0;
            for(var k in wxb.wx_article_times){ %>
            <li <%= i == 0 ? 'class="am-active"' : '' %> data-key="<%- wxb.wx_article_times[k].ret %>" data-date="<%- wxb.wx_article_times[k].date %>">
            <%- wxb.wx_article_times[k].seeRet %>
            </li>
            <% i++; } %>
        </ul>
    </div>
    <div class="am-fl times-date-picker">
        <strong>历史回顾</strong> <i class="fa fa-calendar"></i>
    </div>
    <div class="am-fr article-search-area">
        <input type="search" placeholder="搜索文章">
        <span class="search-button"><i class="fa fa-search"></i></span>
    </div>
</script>
<script id="articleCartTpl" type="text/template">
    <div class="am-panel am-panel-default cart-wrap">
        <div class="am-panel-hd">
            <% var account = _.find(wxb.accounts,function(account){return wxb.currentAccount==account.wxid})%>
            <strong><%- account.nickName %></strong>
            的素材合成器 <span class="js-material-now-num" style="color: red;"> ：
            <%- wxb.materialObj.data.length>0?wxb.materialObj.data.length+"条图文":"空"%>
        </span><span class="am-fr switch"><%- wxb.materialPanShow==1?'收起':'展开' %></span>
        </div>
        <div class="am-list-static <%- wxb.materialPanShow==1?'':'am-hide' %>">
            <ul class="material-list-single for-cart">
                <% var _tempData=wxb.materialObj.data; %>
                <% if(_tempData.length>0){ %>
                <li class="material-time"> <%- new Date().toLocaleString() %> </li>
                <% } %>
                <% for(var i=0,max=_tempData.length;i<max;i++){ %>
                <li class="material-item js-material-item">
                    <div class="material-list-single-thumb">
                        <img class="material-list-single-img" src="<%- _tempData[i].fileid %>">
                    </div>
                    <span class="material-list-single-title js-article-title"><%= _tempData[i].title %></span>
                    <span title="删除" class="article-del"><i class="fa fa-times"></i></span>
                </li>
                <% } %>
            </ul>
            <% if(_tempData.length>0){ %>
            <div class="cart-bottom">
                <a href="javascript:;" class="save-material" title="合成为图文">合成为图文</a>
                <a href="javascript:;" class="clear-material" title="清空合成器">清空合成器</a>
            </div>
            <% } %>
        </div>

    </div>
</script>
<script id="catalogsTpl" type="text/template">
    <div class="catalogsPrefix">分类</div>
    <li class="am-active" data-key=0>综合</li>
    <% for(var key in wxb.wx_article_catalogs){ %>
    <li data-key="<%- key %>">
        <%- wxb.wx_article_catalogs[key] %>
    </li>
    <% } %>
</script>
<script id="newsTheadTpl" type="text/template">
    <tr>
        <th>标题</th>
        <th width="200">微信名称</th>
        <th width="100">阅读数</th>
        <th width="100">点赞数</th>
        <th width="<%- wxb.accounts.length==1?'180':'80' %>">操作</th>
    </tr>
</script>
<script id="newsTbodyTpl" type="text/template">
    <tr>
        <td class="article" data-id="<%- id %>" data-url="<%- url %>">
            <%= is_original=="0"?'':'<span class="article-original" title="这是一篇原创文章">原创</span>'%>
            <%= title.length>0?title:"无题" %>
        </td>
        <td><%- account %></td>
        <td><%- read %></td>
        <td><%- like %></td>
        <td>
            <% if(wxb.accounts.length==1){ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i> 加入素材合成器</span>
            </a>
            <% }else{ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i></span>
            </a>
            |
            <a class="add2others" href="javascript:;">
                <span><i class="fa fa-external-link-square"></i></span>
            </a>
            <% } %>
        </td>
    </tr>
</script>

<script type="text/template" id="addMaterialAccountList">
    <ul id="wx_article_account_list" style="list-style: none;padding-left: 0;text-align: left;">
        <% _.each(wxb.accounts,function(account){ if(wxb.currentAccount!=account.wxid){%>
        <li>
            <% var m=localStorage.getItem("material4"+account.wxid),num=0;
            try{
            num=JSON.parse(m).data.length;
            }catch(e){}
            %>
            <input id="<%- account.wxid %>"
                   data-key="<%- account.wxid %>"
                   type="checkbox"
            <%- num==8?"disabled":""%>
            >
            <label for="<%- account.wxid %>">
                <%- account.nickName %>
            </label>
            <span style="float:right;">已加
            <span style="color:<%- num==8?"red":"#428bca"%>;">
                <%- num %>
            </span> 篇</span>
        </li>
        <% }}) %>
    </ul>
</script>

<script type="text/template" id="addMaterialAccountListWx">
    <ul id="wx_article_account_list" style="list-style: none;padding-left: 0;text-align: left;">
        <% _.each(wxb.accounts,function(account){ %>
        <li><input id="<%- account.wxid %>"
                   data-key="<%- account.wxid  %>"
                   type="checkbox">
            <label for="<%- account.wxid  %>">
                <%- account.nickName  %>
            </label>
        </li>
        <% }) %>
    </ul>
    <label style="position: absolute; bottom: 0px; left:20px;"><input id="wx_article_check_all" type="checkbox"/> 全选</label>
</script>

<script id="materialListTpl" type="text/template">
    <% var _temp=Material.config[wxb.currentAccount]; %>
    <div style="margin-bottom: 10px;">
        <button id="createMaterial" class="am-btn am-btn-primary am-btn-sm">创建新素材</button>
        <button title="使用此功能需登录" id="getMaterial" class="am-btn am-btn-success am-btn-sm mustLogin">从云端拉取(请先登录)</button>
        <button id="setAccountMaterial" class="am-btn am-btn-warning am-fr am-btn-sm">设置常用模板<%= _temp?'':'（未设置）' %></button>
    </div>

    <% wxb.materials=_.compact(wxb.materials);if(JSON.stringify(wxb.materials)=="{}" || JSON.stringify(wxb.materials)=="[]" ){ %>
    素材为空
    <% } %>
    <div class="js-materials-list materials-page-list">
        <% _.each(wxb.materials.reverse(),function(v,k){if(v!=null){ %>
        <ul class="material-list-single" data-key="<%- wxb.materials.length-1-k %>" data-id="<%- v.id %>">
            <li class="title">
                <% var t= new Date(parseInt(v.time)) %>
                创建时间：<%- t.toLocaleString() %>
                <% if(v.cloudId){ %>
                <br>云端ID：<%- v.cloudId %>
                <% } %>
            </li>
            <% _.each(v.data,function(vv,kk){ %>
            <li class="material-item">
                <div class="material-list-single-thumb">
                    <img class="material-list-single-img" src="<%- vv.fileid %>">
                </div>
                <span class="material-list-single-title"><%= vv.title %></span>
            </li>
            <% }) %>
            <li class="material-operate">
                <a data-href="#editor" class="operate-btn material-list-single-edit" title="编辑"><i class="fa fa-pencil"></i> 编辑</a>
                <a href="javascript:;" class="operate-btn material-list-single-del" title="删除"><i class="fa fa-trash-o"></i> 删除</a>
                <a href="javascript:;" class="operate-btn material-list-single-send" title="同步到微信"><i class="fa fa-send-o"></i> 同步</a>
            </li>
        </ul>
        <% }});wxb.materials.reverse(); %>
    </div>
</script>
<script id="editorTpl" type="text/template">
    <iframe id="editorIframe" class="fullIframe" style="width: 100%;" src="pages/editor_new/index.html"></iframe>
</script>

<script id="sr_articleTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">账号为空，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div class="am-u-md-2 am-padding-xs">
        <ul class="account-list"></ul>
    </div>
    <div class="contentMain am-u-md-10">
        <table class="sr-table am-table am-table-striped am-table-hover"></table>
        <button id="sr-next">next</button>
    </div>
    <% } %>
</script>
<script id="sr_newsTpl" type="text/template">
    <thead>
    <tr>
        <th>标题</th>
        <th width="100">阅读数</th>
        <th width="100">操作</th>
    </tr>
    </thead>
    <tbody>
    <% for(var i=0,l=wxb.srnews.length;i<l;i++){ %>
    <tr>
        <td class="article" data-id="<%- wxb.srnews[i].id %>"
            data-url="<%- wxb.srnews[i].url %>">
            <%- wxb.srnews[i].title %>
        </td>
        <td><%- wxb.srnews[i].hit %></td>
        <td><a class="add2material" href="javascript:;">加入备选</a></td>
    </tr>
    <% } %>
    </tbody>

</script>
<!--alertTpl-->
<script type="text/template" id="wxbalert-notice">
    <div class="js-modal wxbalert mod-notice shadow-box">
        <% if(state===1){%>
        <i class="fa fa-check-circle"></i>
        <%}else if(state===-1){%>
        <i class="fa fa-times-circle"></i>
        <%}else if(state===0){%>
        <i class="fa fa-info-circle"></i>
        <% } %>
        <div class="wxbalert-notice-text"><%= text %></div>
    </div>
</script>
<script type="text/template" id="wxbalert-message">
    <div class="js-modal wxbalert mod-message shadow-box">
        <div class="message-head">
            <%- title %>
            <i class="fa fa-times"></i>
        </div>
        <div class="message-content">
            <%= html %>
        </div>

    </div>
</script>
<script type="text/template" id="wxbalert-alert">
    <div class="js-modal-mask modal-mask"></div>
    <div class="js-modal wxbalert mod-alert shadow-box">
        <div class="alert-head">
            <%- title %>
            <i class="fa fa-times cancel"></i>
        </div>
        <div class="alert-content">
            <% if(hasIcon==1){%><i class="fa fa-info-circle"></i><%}%>
            <%= html %>
        </div>
        <div class="alert-foot">
            <a class="ok">确定</a>
        </div>
    </div>
</script>
<!--/confirmTpl-->
<script type="text/template" id="wxbalert-confirm">
    <div class="js-modal-mask modal-mask"></div>
    <div class="js-modal wxbalert mod-alert shadow-box">
        <div class="alert-head">
            <%- title %>
            <i class="fa fa-times cancel"></i>
        </div>
        <div class="alert-content">
            <% if(hasIcon==1){%><i class="fa fa-question-circle"></i><%}%>
            <%= html %>
        </div>
        <div class="alert-foot">
            <a class="ok"><%= yesText%></a>
            <a class="cancel"><%= noText%></a>
        </div>
    </div>
</script>
<!--/alertTpl-->

<script type="text/template" id="loading">
    <div class="loading-warp">
        <div class="loading">
            <div class="spinner">
                <div class="rect1"></div>
                <div class="rect2"></div>
                <div class="rect3"></div>
                <div class="rect4"></div>
                <div class="rect5"></div>
            </div>
            <p><%= text %></p>
        </div>
    </div>
</script>


<script type="text/template" id="offLineText">
    <style>
        body{background-color: #f7f7f7; color: #585858;font-family: "Segoe UI", Arial, "Microsoft Yahei", Simsun, sans-serif;}
        h3{color: #696969;}
    </style>
    <div id="errorInfo" style="width: 600px; height: 160px;;position: absolute; top: 80px;left: 50%;margin-left: -300px;">
        <h3>请检查您的互联网连接是否正常</h3>
        <P>请检查您的网线是否插好，并重新启动您在使用的任何路由器、调制解调器或其他网络设备。</P>
        <h3>对防火墙或防病毒软件进行设置，以允许 微小宝 访问该网络。</h3>
        <P>如果它已被列为允许访问网络的程序，请尝试将其从列表中删除，然后再重新添加。</P>
    </div>
</script>

<script type="text/template" id="wx_article_bestTpl">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">账号为空，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article_best">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain wx_article right_wx_article_best" style="padding-left: 0;padding-right: 0;">
        <div class="wx_article_best_wrap">
            <div class="times"></div>
            <div class="catalogs"></div>
            <div style="margin: 10px;">
                <table class="am-table am-table-striped table-wxb news"></table>
            </div>
            <div class="newsPager" class="wx_article_pager"></div>
        </div>
    </div>
    <% } %>
</script>

<script id="bestTheadTpl" type="text/template">
    <tr>
        <th>标题</th>
        <th width="200">微信名称</th>
        <th width="100">火爆度</th>
        <th width="100">点赞数</th>
        <th width="<%- wxb.accounts.length==1?'180':'80' %>">操作</th>
    </tr>
</script>
<script id="bestTbodyTpl" type="text/template">
    <tr>
        <td class="article" data-id="<%- id %>" data-url="<%- article_url %>">
            <%= is_original=="0"?'':'<span class="article-original">原创</span>'%>
            <%= title.length>0?title:"无题" %>
        </td>
        <td><%- weixin_name %></td>
        <td><%- (read_percent*100).toFixed(2)+"%" %></td>
        <td><%- like_num %></td>
        <td>
            <% if(wxb.accounts.length==1){ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i> 加入素材合成器</span>
            </a>
            <% }else{ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i></span>
            </a>
            |
            <a class="add2others" href="javascript:;">
                <span><i class="fa fa-external-link-square"></i></span>
            </a>
            <% } %>
        </td>
    </tr>
</script>

<!-- template list end -->
<script type="text/javascript" src="assest/plugins/jquery.min.js"></script>
<script type="text/javascript" src="assest/plugins/underscore-min.js"></script>
<script type="text/javascript" src="assest/plugins/backbone-min.js"></script>
<script type="text/javascript" src="assest/plugins/amazeui.js"></script>
<script type="text/javascript" src="assest/plugins/jquery.wookmark.min.js"></script>
<script type="text/javascript" src="assest/plugins/jquery.cbpFWSlider.min.js"></script>
<script type="text/javascript" src="assest/plugins/jquery-ui.js"></script>
<script type="text/javascript" src="assest/plugins/farbtastic/farbtastic.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/plus/upload.js"></script>

<script>
    require('nw.gui').Window.get().evalNWBin(null, './wxb_files/v1.4.1/core.bin');
</script>
</body>
</html>