From 57b31c8612d69fc6c65fedddae80a94dcc09d5ff Mon Sep 17 00:00:00 2001 From: chaideqing Date: Thu, 2 Dec 2021 14:56:05 +0800 Subject: [PATCH] * modify card style when in xuanxuan notice --- module/bug/js/x.view.js | 8 ++++++-- module/bug/view/view.html.php | 3 +++ module/story/js/x.view.js | 8 ++++++-- module/story/view/view.html.php | 2 ++ module/task/js/x.view.js | 8 ++++++-- module/task/view/view.html.php | 2 ++ 6 files changed, 25 insertions(+), 6 deletions(-) diff --git a/module/bug/js/x.view.js b/module/bug/js/x.view.js index 7d372d2ede..73015cc539 100644 --- a/module/bug/js/x.view.js +++ b/module/bug/js/x.view.js @@ -30,8 +30,12 @@ $(function() if(xuanAction != "
") { - xuanAction += '
'; - $('body').append(xuanAction); + var params = window.location.search; + if(params.indexOf('displayNotice=card') == -1) + { + xuanAction += ''; + $('body').append(xuanAction); + } } else { diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 4639ccf99f..131a90580f 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -14,6 +14,8 @@ session->bugList ? $app->session->bugList : inlink('browse', "productID=$bug->product");?> +console.log('".json_encode($_SERVER["QUERY_STRING"])."');");?> +