123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- {include file="header.htm" /}
- <body style="background-color: #FFF; overflow: auto;">
- <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
-
- <div class="page">
- {include file="bar.htm" /}
- <div class="flexigrid">
- <div class="mDiv" style="margin-left: 30px;">
- <p style="font-size: 15px;line-height: 2em;">【标签调用方法】</p>
- <ol style="font-size: 15px;line-height: 2em;">
<li>本插件只支持伪静态和全站静态使用 </li>
- <li>默认系统自动显示,如果关闭了自动调用 </li>
- <li>第①步:请手工复制以下代码到新闻或者相应提示收录模板文件底部: </li>
- <li>第一种默认:{literal}{:hookexec('Baidushoulu/Baidushoulu/show')}{/literal}</li>
- <li>第二种传参:{literal}{:hookexec('Baidushoulu/Baidushoulu/show', '这里传字符串,或数组形式')}{/literal}</li>
- <li>第②步:手工复制以下代码到新闻相应提示收录模板页面的位置当中。</li>
- <li><pre><span><</span>a <span>id=</span><span>"ae_bdcx"</span> <span>rel=</span><span>"external nofollow"</span> <span>target="_blank"</span><span>></span><span><</span>/a></pre></li>
- <li style="color: red;">注:该接口同样还带有js自动推送功能,可省去已被收录的文章进行反复推送的加载时间。</li>
- <li style="color: red;">注:如果页面错乱请关闭“调用JS”,如果页面正常,而不显示收录检测请开启!</li>
- </ol>
- </div>
- </div>
-
- <form class="form-horizontal" id="post_form" action="{:weapp_url('Baidushoulu/Baidushoulu/save')}" method="post">
- <div class="ncap-form-default">
- <dl class="row">
- <dt class="tit">
- <label>调用方式</label>
- </dt>
- <dd class="opt">
- <div class="onoff">
- <label for="tag_weapp1" class="cb-enable {if condition='!isset($baidushoulu.data.tag_weapp) || $baidushoulu.data.tag_weapp eq 1'}selected{/if}">系统自动</label>
- <label for="tag_weapp0" class="cb-disable {if condition='isset($baidushoulu.data.tag_weapp) && $baidushoulu.data.tag_weapp eq 2'}selected{/if}">手工调用</label>
- <input id="tag_weapp1" name="tag_weapp" value="1" type="radio" {if condition="!isset($baidushoulu.data.tag_weapp) || $baidushoulu.data.tag_weapp eq 1"} checked="checked"{/if}>
- <input id="tag_weapp0" name="tag_weapp" value="2" type="radio" {if condition="isset($baidushoulu.data.tag_weapp) && $baidushoulu.data.tag_weapp eq 2"} checked="checked"{/if}>
- </div>
- <p class="notic">自动调用会默认绑定weapp模板标签,手工调用请参考使用指南的调用方法。</p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label>调用JS</label>
- </dt>
- <dd class="opt">
- <div class="onoff">
- <label for="js_open1" class="cb-enable {if condition='isset($baidushoulu.data.js_open) && $baidushoulu.data.js_open eq 1'}selected{/if}">关闭</label>
- <label for="js_open0" class="cb-disable {if condition='!isset($baidushoulu.data.js_open) || $baidushoulu.data.js_open eq 0'}selected{/if}">开启</label>
- <input id="js_open1" name="js_open" value="1" type="radio" {if condition="isset($baidushoulu.data.js_open) && $baidushoulu.data.js_open eq 1"} checked="checked"{/if}>
- <input id="js_open0" name="js_open" value="0" type="radio" {if condition="!isset($baidushoulu.data.js_open) || $baidushoulu.data.js_open eq 0"} checked="checked"{/if}>
- </div>
- <p class="notic"></p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label>搜索方式</label>
- </dt>
- <dd class="opt">
- <div class="onoff">
- <label for="is_open1" class="cb-enable {if condition='isset($baidushoulu.data.is_open) && $baidushoulu.data.is_open eq 1'}selected{/if}">搜索地址</label>
- <label for="is_open0" class="cb-disable {if condition='!isset($baidushoulu.data.is_open) || $baidushoulu.data.is_open eq 0'}selected{/if}">搜索标题</label>
- <input id="is_open1" name="is_open" value="1" type="radio" {if condition="isset($baidushoulu.data.is_open) && $baidushoulu.data.is_open eq 1"} checked="checked"{/if}>
- <input id="is_open0" name="is_open" value="0" type="radio" {if condition="!isset($baidushoulu.data.is_open) || $baidushoulu.data.is_open eq 0"} checked="checked"{/if}>
- </div>
- <p class="notic"></p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label for="wei_shoulu">未收录显示</label>
- </dt>
- <dd class="opt">
- <input type="text" name="wei_shoulu" value="{$baidushoulu.data.wei_shoulu|default='立即提交'}" id="wei_shoulu" class="input-txt">
- <span class="err"></span>
- <p class=""></p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label for="yi_shoulu">收录显示</label>
- </dt>
- <dd class="opt">
- <input type="text" name="yi_shoulu" value="{$baidushoulu.data.yi_shoulu|default='已收录'}" id="yi_shoulu" class="input-txt">
- <span class="err"></span>
- <p class=""></p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label for="zt_shoulu">未收录字体颜色</label>
- </dt>
- <dd class="opt">
- <input type="text" name="zt_shoulu" value="{$baidushoulu.data.zt_shoulu|default='red'}" id="zt_shoulu" class="input-txt">
- <span class="err"></span>
- <p class=""></p>
- </dd>
- </dl>
- <div class="bot">
- <input type="hidden" name="code" value="{$baidushoulu.code|default=$weappInfo.code}" />
- <a href="JavaScript:void(0);" onclick="checkForm();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
- </div>
- </div>
- </form>
- </div>
- <script type="text/javascript">
- // 判断输入框是否为空
- function checkForm(){
- layer_loading('正在处理');
- $('#post_form').submit();
- }
- </script>
- {include file="footer.htm" /}
|