style:政务公开
Showing
4 changed files
with
8 additions
and
0 deletions
| ... | @@ -2,8 +2,10 @@ $(function () { | ... | @@ -2,8 +2,10 @@ $(function () { |
| 2 | // newsDetail() | 2 | // newsDetail() |
| 3 | if (decodeURI(GetQueryString('title')) == '首页') { | 3 | if (decodeURI(GetQueryString('title')) == '首页') { |
| 4 | $('.law-second-label').hide(); | 4 | $('.law-second-label').hide(); |
| 5 | $('.law-second-label').next().hide(); | ||
| 5 | }else { | 6 | }else { |
| 6 | $('.law-second-label').show(); | 7 | $('.law-second-label').show(); |
| 8 | $('.law-second-label').next().show(); | ||
| 7 | $('.law-second-label').attr('href',GetQueryString('href')); | 9 | $('.law-second-label').attr('href',GetQueryString('href')); |
| 8 | $('.law-second-label').attr('title', decodeURI(GetQueryString('title'))); | 10 | $('.law-second-label').attr('title', decodeURI(GetQueryString('title'))); |
| 9 | $('.law-second-label').text(decodeURI(GetQueryString('title'))); | 11 | $('.law-second-label').text(decodeURI(GetQueryString('title'))); | ... | ... |
| ... | @@ -2,8 +2,10 @@ $(function () { | ... | @@ -2,8 +2,10 @@ $(function () { |
| 2 | // newsDetail() | 2 | // newsDetail() |
| 3 | if (decodeURI(GetQueryString('title')) == '首页') { | 3 | if (decodeURI(GetQueryString('title')) == '首页') { |
| 4 | $('.notice-second-label').hide(); | 4 | $('.notice-second-label').hide(); |
| 5 | $('.notice-second-label').next().hide(); | ||
| 5 | }else { | 6 | }else { |
| 6 | $('.notice-second-label').show(); | 7 | $('.notice-second-label').show(); |
| 8 | $('.notice-second-label').next().show(); | ||
| 7 | $('.notice-second-label').attr('href',GetQueryString('href')); | 9 | $('.notice-second-label').attr('href',GetQueryString('href')); |
| 8 | $('.notice-second-label').attr('title', decodeURI(GetQueryString('title'))); | 10 | $('.notice-second-label').attr('title', decodeURI(GetQueryString('title'))); |
| 9 | $('.notice-second-label').text(decodeURI(GetQueryString('title'))); | 11 | $('.notice-second-label').text(decodeURI(GetQueryString('title'))); | ... | ... |
| ... | @@ -2,8 +2,10 @@ $(function () { | ... | @@ -2,8 +2,10 @@ $(function () { |
| 2 | // LawsData() | 2 | // LawsData() |
| 3 | if (decodeURI(GetQueryString('title')) == '首页') { | 3 | if (decodeURI(GetQueryString('title')) == '首页') { |
| 4 | $('.layui-breadcrumb a').eq(1).hide(); | 4 | $('.layui-breadcrumb a').eq(1).hide(); |
| 5 | $('.layui-breadcrumb a').eq(1).next().hide(); | ||
| 5 | }else { | 6 | }else { |
| 6 | $('.layui-breadcrumb a').eq(1).show(); | 7 | $('.layui-breadcrumb a').eq(1).show(); |
| 8 | $('.layui-breadcrumb a').eq(1).next().show(); | ||
| 7 | $('.layui-breadcrumb a').eq(1).attr('href',GetQueryString('href')); | 9 | $('.layui-breadcrumb a').eq(1).attr('href',GetQueryString('href')); |
| 8 | $('.layui-breadcrumb a').eq(1).attr('title', decodeURI(GetQueryString('title'))); | 10 | $('.layui-breadcrumb a').eq(1).attr('title', decodeURI(GetQueryString('title'))); |
| 9 | $('.layui-breadcrumb a').eq(1).text(decodeURI(GetQueryString('title'))); | 11 | $('.layui-breadcrumb a').eq(1).text(decodeURI(GetQueryString('title'))); | ... | ... |
| 1 | $(function () { | 1 | $(function () { |
| 2 | if (decodeURI(GetQueryString('title')) == '首页') { | 2 | if (decodeURI(GetQueryString('title')) == '首页') { |
| 3 | $('.second-label').hide(); | 3 | $('.second-label').hide(); |
| 4 | $('.second-label').next().hide(); | ||
| 4 | }else { | 5 | }else { |
| 5 | $('.second-label').show(); | 6 | $('.second-label').show(); |
| 7 | $('.second-label').next().show(); | ||
| 6 | $('.second-label').attr('href',GetQueryString('href')); | 8 | $('.second-label').attr('href',GetQueryString('href')); |
| 7 | $('.second-label').attr('title', decodeURI(GetQueryString('title'))); | 9 | $('.second-label').attr('title', decodeURI(GetQueryString('title'))); |
| 8 | $('.second-label').text(decodeURI(GetQueryString('title'))); | 10 | $('.second-label').text(decodeURI(GetQueryString('title'))); | ... | ... |
-
Please register or sign in to post a comment