diff --git a/index.html b/index.html index 98bb2e0..2bae153 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@
- +

diff --git a/static/css/index.css b/static/css/index.css index 1abced8..e2c25b9 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -2,10 +2,16 @@ :root{ --color:''; --icon:''; + --logo:''; /*--color:#e8041f;*/ } - +.logo{ + width: 72px; + height: 72px; + float: left; + background: var(--logo) 0px no-repeat; +} /*顶部标题*/ .topTit { color: #adadad; diff --git a/static/images/logo_red.png b/static/images/logo_red.png new file mode 100644 index 0000000..da77ce3 Binary files /dev/null and b/static/images/logo_red.png differ diff --git a/static/js/common/tools.js b/static/js/common/tools.js index 3624290..7a58e05 100644 --- a/static/js/common/tools.js +++ b/static/js/common/tools.js @@ -1,6 +1,7 @@ var serverApi = ''; var friendsLinksList = []; var themeColor = ''; +var logo = ''; define(['jquery', 'dialog'], function ($, dialog) { // 工具类 function Tool() { @@ -440,15 +441,20 @@ define(['jquery', 'dialog'], function ($, dialog) { if (data.code == 200) { var content = data.data; console.log(content) + content[13].configValue = 'red'; if (content[13].configValue == 'red'){ themeColor = 'red'; document.documentElement.style.setProperty('--color', '#e8041f'); document.documentElement.style.setProperty('--icon', "url('../images/icon3_red.png')"); + document.documentElement.style.setProperty('--logo', "url('../images/logo_red.png')"); + logo = '../images/logo_red.png'; } if (content[13].configValue == 'green'){ themeColor = 'green'; document.documentElement.style.setProperty('--color', '#007b76'); document.documentElement.style.setProperty('--icon', "url('../images/icon3.png')"); + document.documentElement.style.setProperty('--logo', "url('../images/logo.png')"); + logo = '../images/logo.png'; } $("#webConfigName").html(content[0].configValue); $("#webConfigRecord").html(content[1].configValue + '' + content[2].configValue); diff --git a/view/announcement/announcement.html b/view/announcement/announcement.html index 900ca2e..761bef6 100644 --- a/view/announcement/announcement.html +++ b/view/announcement/announcement.html @@ -59,7 +59,7 @@
- 左云县农村产权交易网 +

diff --git a/view/announcement/announcementDetail.html b/view/announcement/announcementDetail.html index c02f3b0..6e8b1d1 100644 --- a/view/announcement/announcementDetail.html +++ b/view/announcement/announcementDetail.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/announcement/attestation.html b/view/announcement/attestation.html index 7956dc8..e295582 100644 --- a/view/announcement/attestation.html +++ b/view/announcement/attestation.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/announcement/warrantDetail.html b/view/announcement/warrantDetail.html index a11d493..daec4cc 100644 --- a/view/announcement/warrantDetail.html +++ b/view/announcement/warrantDetail.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html index 063f8d1..d574b82 100644 --- a/view/bidding/biddingList.html +++ b/view/bidding/biddingList.html @@ -59,7 +59,7 @@
- 左云县农村产权交易网 +

diff --git a/view/demand/demand.html b/view/demand/demand.html index c78eef6..64cf143 100644 --- a/view/demand/demand.html +++ b/view/demand/demand.html @@ -57,7 +57,7 @@
- 左云县农村产权交易网 +

diff --git a/view/demand/demandDetail.html b/view/demand/demandDetail.html index c8d76b0..1a6c4d9 100644 --- a/view/demand/demandDetail.html +++ b/view/demand/demandDetail.html @@ -57,7 +57,7 @@
- 左云县农村产权交易网 +

diff --git a/view/interact/interactList.html b/view/interact/interactList.html index 34fd77b..02c2157 100644 --- a/view/interact/interactList.html +++ b/view/interact/interactList.html @@ -57,7 +57,7 @@
- 左云县农村产权交易网 +

diff --git a/view/listingItems/bond.html b/view/listingItems/bond.html index 823b3e7..999c4fb 100644 --- a/view/listingItems/bond.html +++ b/view/listingItems/bond.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/listingItems/itemsDetail.html b/view/listingItems/itemsDetail.html index 4c48025..41b2bc6 100644 --- a/view/listingItems/itemsDetail.html +++ b/view/listingItems/itemsDetail.html @@ -62,7 +62,7 @@
- 左云县农村产权交易网 +

diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index e333aaa..289ddb4 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -59,7 +59,7 @@
- 左云县农村产权交易网 +

diff --git a/view/login/login.html b/view/login/login.html index a543bda..ec026a5 100644 --- a/view/login/login.html +++ b/view/login/login.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/login/register.html b/view/login/register.html index a5d37a8..012ab21 100644 --- a/view/login/register.html +++ b/view/login/register.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/login/registerExplain.html b/view/login/registerExplain.html index f43d6f8..4b0b12a 100644 --- a/view/login/registerExplain.html +++ b/view/login/registerExplain.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/login/registerFrom.html b/view/login/registerFrom.html index fd3d4c9..0df0152 100644 --- a/view/login/registerFrom.html +++ b/view/login/registerFrom.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/new/newDetail.html b/view/new/newDetail.html index c389cef..b540c24 100644 --- a/view/new/newDetail.html +++ b/view/new/newDetail.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/new/newList.html b/view/new/newList.html index 5b983fe..b6e6f1c 100644 --- a/view/new/newList.html +++ b/view/new/newList.html @@ -57,7 +57,7 @@
- 左云县农村产权交易网 +

diff --git a/view/policy/policy.html b/view/policy/policy.html index d49fd2c..da2549f 100644 --- a/view/policy/policy.html +++ b/view/policy/policy.html @@ -59,7 +59,7 @@
- 左云县农村产权交易网 +

diff --git a/view/policy/policyDetail.html b/view/policy/policyDetail.html index 6dc2c5f..7d0d654 100644 --- a/view/policy/policyDetail.html +++ b/view/policy/policyDetail.html @@ -56,7 +56,7 @@
- 左云县农村产权交易网 +

diff --git a/view/user/user.html b/view/user/user.html index 518eee1..2c6dadb 100644 --- a/view/user/user.html +++ b/view/user/user.html @@ -59,7 +59,7 @@
- 左云县农村产权交易网 +