From 887ce88fcd19089f702402675ee00df3b04116fd Mon Sep 17 00:00:00 2001 From: chenbiao Date: Tue, 21 Nov 2017 15:29:24 +0800 Subject: [PATCH] loginout --- css/login.css | 4 ++++ index.html | 4 +++- js/common.js | 8 ++++++++ js/index.js | 3 ++- js/pdalatform.js | 3 ++- js/thirdparty.js | 3 +++ js/wechatlatform.js | 3 ++- pdalatform.html | 5 ++++- thirdparty.html | 5 +++-- wechatlatform.html | 4 +++- 10 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 js/common.js create mode 100644 js/thirdparty.js diff --git a/css/login.css b/css/login.css index d24413a..2014708 100644 --- a/css/login.css +++ b/css/login.css @@ -182,3 +182,7 @@ body{ .display-hide{ display: none; } +.alert-danger{ + background-color: #fff !important; + border-color: #fff !important; +} \ No newline at end of file diff --git a/index.html b/index.html index 1891f80..5a61796 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ -
+
@@ -531,6 +531,8 @@ + + diff --git a/js/common.js b/js/common.js new file mode 100644 index 0000000..08279f4 --- /dev/null +++ b/js/common.js @@ -0,0 +1,8 @@ +/** + * Created by chenbiao on 2017/11/21. + */ +//用户退出登录 +$('#login_out_btn').on('click', function () { + // console.log("token:" + fn.getToken()); + fn.loginOut(); +}); \ No newline at end of file diff --git a/js/index.js b/js/index.js index c69d4ee..e785f49 100644 --- a/js/index.js +++ b/js/index.js @@ -117,4 +117,5 @@ $(document).delegate('#list-con-wrap li span','click',function () { alert(id); $('#list-main-wrap').addClass('display-none'); $('#list-detail-wrap').removeClass('display-none'); -}); \ No newline at end of file +}); + diff --git a/js/pdalatform.js b/js/pdalatform.js index ce6f6b9..7193f55 100644 --- a/js/pdalatform.js +++ b/js/pdalatform.js @@ -117,4 +117,5 @@ $(document).delegate('#list-con-wrap li span','click',function () { alert(id); $('#list-main-wrap').addClass('display-none'); $('#list-detail-wrap').removeClass('display-none'); -}); \ No newline at end of file +}); + diff --git a/js/thirdparty.js b/js/thirdparty.js new file mode 100644 index 0000000..b64c385 --- /dev/null +++ b/js/thirdparty.js @@ -0,0 +1,3 @@ +/** + * Created by chenbiao on 2017/11/21. + */ diff --git a/js/wechatlatform.js b/js/wechatlatform.js index ce6f6b9..7193f55 100644 --- a/js/wechatlatform.js +++ b/js/wechatlatform.js @@ -117,4 +117,5 @@ $(document).delegate('#list-con-wrap li span','click',function () { alert(id); $('#list-main-wrap').addClass('display-none'); $('#list-detail-wrap').removeClass('display-none'); -}); \ No newline at end of file +}); + diff --git a/pdalatform.html b/pdalatform.html index 154d39e..14b45a1 100644 --- a/pdalatform.html +++ b/pdalatform.html @@ -22,7 +22,7 @@
-
+
@@ -531,6 +531,9 @@ + + + diff --git a/thirdparty.html b/thirdparty.html index f2e7fae..e1d3ad5 100644 --- a/thirdparty.html +++ b/thirdparty.html @@ -22,7 +22,7 @@
-
+
@@ -83,6 +83,7 @@ - + + \ No newline at end of file diff --git a/wechatlatform.html b/wechatlatform.html index bce9a5b..1efd908 100644 --- a/wechatlatform.html +++ b/wechatlatform.html @@ -21,7 +21,7 @@
-
+
@@ -530,6 +530,8 @@ + + -- libgit2 0.21.4