xiuli.gao 6 years ago
parent
commit
943f34d713
4 changed files with 66 additions and 3 deletions
  1. 31 1
      details.html
  2. 1 1
      js/app.js
  3. 3 0
      js/details.js
  4. 31 1
      zixun.html

File diff suppressed because it is too large
+ 31 - 1
details.html


+ 1 - 1
js/app.js

@@ -94,7 +94,7 @@ timer = setInterval( function(){
94 94
 },100);
95 95
 
96 96
 /* 判断登录状态 */
97
-$$.post('http://d1.henhaojie.com/user/personalCenter', function (res) {
97
+$$.post('http://d1.henhaojie.com/user/user/personalCenter', function (res) {
98 98
   res = JSON.parse(res);
99 99
   if (res.errno == '0' ) {
100 100
     $$('.toolbar .JS_login').attr('href', '/mine.html');

+ 3 - 0
js/details.js

@@ -44,6 +44,9 @@ $$.post('http://d1.henhaojie.com/user/information/getinformationcontentbyid', {
44 44
   // console.log(res);
45 45
     document.title = res.rst.title;
46 46
     $$('#content .title').html(res.rst.title);
47
+    if(res.rst.content.indexOf("bwadmin.quyaqu.comhttp:") != -1){
48
+						res.rst.content = res.rst.content.replace(/bwadmin.quyaqu.comhttp:/g, '');
49
+		}
47 50
     $$('#content .container').html(res.rst.content)
48 51
   }
49 52
 });

File diff suppressed because it is too large
+ 31 - 1
zixun.html