Skip to content

Commit

Permalink
优化TAB选项卡点击事件
Browse files Browse the repository at this point in the history
  • Loading branch information
amujie committed Jul 17, 2020
1 parent bcbdbdd commit 8bd319f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion about/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"修复视频集数列表的问题",
"修复采集优化标签问题",
"修复生成静态权限错误问题",
"优化SEO设置页面功能"
"优化SEO设置页面功能",
"修复视频搜索报错的问题"
],
"1.0.8": [
"详情页面排版优化",
Expand Down
2 changes: 1 addition & 1 deletion asset/js/social.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ layui.define(['jquery', 'layer', 'common'], function(exports) {
});
html += '</div><div class="mo-face-foot mo-part-btsd mo-bord-muted mo-back-muted">';
$.each(mojia.symbol, function(list, name) {
html += '<a class="mo-face-btns mo-cols-cell mo-coxs-center' + (list == 'qq' ? ' mo-text-mojia' : '') + '" href="javascript:;">' + name.name + '</a>';
html += '<a class="mo-face-btns mo-cols-cell mo-coxs-center' + (list == 'qq' ? ' mo-text-mojia mo-part-bans' : '') + '" href="javascript:;">' + name.name + '</a>';
});
html += '</div></div>';
$(this).next().html(html).show();
Expand Down
6 changes: 3 additions & 3 deletions html/topic/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<div class="mo-cols-rows mo-paxs-5px mo-pamd-10px">
<h2 class="mo-fsxs-14px mo-fsss-16px mo-fsmd-18px mo-part-slip mo-cols-xs10">
{if$obj.vod_list|count}
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px mo-text-mojia" href="javascript:;">关联视频</a>
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px mo-text-mojia mo-part-bans" href="javascript:;">关联视频</a>
{/if}{if$obj.art_list|count}
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px{if!$obj.art_list|count} mo-text-mojia{/if}" href="javascript:;">关联文章</a>
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px{if!$obj.art_list|count} mo-text-mojia mo-part-bans{/if}" href="javascript:;">关联文章</a>
{/if}
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px{if!$obj.art_list|count&&!$obj.vod_list|count} mo-text-mojia{/if}" href="javascript:;">专题简介</a>
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px{if!$obj.art_list|count&&!$obj.vod_list|count} mo-text-mojia mo-part-bans{/if}" href="javascript:;">专题简介</a>
{if$GLOBALS['config']['comment']['status']}
<a class="mo-tabs-btns mo-mrxs-5px mo-mrmd-10px" href="javascript:;">发表评论</a>
{/if}
Expand Down

0 comments on commit 8bd319f

Please sign in to comment.