|
@@ -195,16 +195,30 @@ font-weight:normal;
|
|
|
<div class="newsdiv2 font-size-12">
|
|
|
<div style="float:left;">{{if eq (index $v "releasetime") ""}}{{index $v "l_createdate"}}{{else}}{{index $v "releasetime"}}{{end}}</div>
|
|
|
<div style="float:left;padding:0px 25px;"><i onClick='up({{index $v "_id"}},{{index $v "praise"}},{{$k}})' class="glyphicon zan" style="cursor:pointer;"></i> <span class="bds_dz{{$k}}">{{index $v "praise"}}</span></div>
|
|
|
- <div>{{index $v "s_source"}}</div>
|
|
|
- <div style="float:left;" class="a-twostage-toolbar text-muted hidden">
|
|
|
- <a class="pull-left" style="line-height: 25px;" onclick="$('#share').show('normal')"><span class="glyphicon fenxiang " style="font-size:12px;margin:0px 0px 0px 5px;color:#999;"></span><span style="color:#999;">分享</span></a>
|
|
|
- <div class="bdsharebuttonbox " style="margin:-1px 0 0 0px;" id="share">
|
|
|
+ <div class="hidden">{{index $v "s_source"}}</div>
|
|
|
+ <div style="float:left;" class="a-twostage-toolbar text-muted">
|
|
|
+ <a class="pull-left" style="line-height: 25px;" onclick="shareid({{$k}})"><span class="glyphicon fenxiang " style="font-size:12px;margin:0px 0px 0px 5px;color:#999;"></span><span style="color:#999;" >分享</span></a>
|
|
|
+ <div class="share{{$k}} bdsharebuttonbox " style="margin:-1px 0 0 0px;" id="share">
|
|
|
<a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
|
|
|
<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
|
|
|
<a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
|
|
|
<a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
|
|
|
<a href="#" class="bds_renren" data-cmd="renren" title="分享到人人"></a>
|
|
|
</div>
|
|
|
+ <script>
|
|
|
+ window._bd_share_config={
|
|
|
+ "common":{
|
|
|
+ "bdSnsKey":{},
|
|
|
+ "bdText":"{{index $v "s_title"}}",
|
|
|
+ "bdUrl":"/front/webcontent/{{index $v "_id"}}.html",
|
|
|
+ "bdMini":"2",
|
|
|
+ "bdPic":"",
|
|
|
+ "bdStyle":"0",
|
|
|
+ "bdSize":"16"
|
|
|
+ },
|
|
|
+ "share":{}
|
|
|
+ };
|
|
|
+ with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
|
|
|
</div>
|
|
|
<div style="clear:both;"></div>
|
|
|
|
|
@@ -246,6 +260,9 @@ font-weight:normal;
|
|
|
{{include "/common/bottom.html"}}
|
|
|
<script src="/js/qfwtable.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
+function shareid(i){
|
|
|
+ $(".share"+i).css("display","block");
|
|
|
+}
|
|
|
|
|
|
var ctp = {{.T.querymap.contentType}};
|
|
|
if (ctp == "qykb"){
|