sae DZX2.0 css加载失败,后台页面正常操作,而前页面变成直向排列,怎么解决?请教请教。

html-css010

sae DZX2.0 css加载失败,后台页面正常操作,而前页面变成直向排列,怎么解决?请教请教。,第1张

呵呵,新浪SAE下的discuz,呵呵,其实我也是新手,我留下QQ,没事可以交流交流,494187604

首先,确定几件事

1,你打开了数据库、MC、创建名为discuzx的storage(注意是discuzx,且是公有域,反盗链取消掉)

2确定你有修改config.yaml文件,改写他的rewrite规则

没有的,我给你贴出来, 就在原文件最后重起一行粘贴

handle:

-rewrite: if ( path ~ "^topic-(.+)\.html") goto "portal.php?mod=topic&topic=$1&%{QUERY_STRING}"

-rewrite: if ( path ~ "^article-([0-9]+)-([0-9]+)\.html") goto "portal.php?mod=view&aid=$1&page=$2&%{QUERY_STRING}"

-rewrite: if ( path ~ "^forum-(\w+)-([0-9]+)\.html") goto "forum.php?mod=forumdisplay&fid=$1&page=$2&%{QUERY_STRING}"

-rewrite: if ( path ~ "^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html") goto "forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%{QUERY_STRING}"

-rewrite: if ( path ~ "^group-([0-9]+)-([0-9]+)\.html") goto "forum.php?mod=group&fid=$1&page=$2&%{QUERY_STRING}"

-rewrite: if ( path ~ "^space-(username|uid)-(.+)\.html") goto "home.php?mod=space&$1=$2&%{QUERY_STRING}"

-rewrite: if ( path ~ "^archiver/(.+)\.html") goto "archiver/index.php?$1&%{QUERY_STRING}"

-rewrite: if ( path ~ "^([a-z]+)-(.+)\.html") goto "$1.php?rewrite=$2&%{QUERY_STRING}"

-rewrite: if ( path ~ "^data/cache/(.+)\.css") goto "cssjs.php?file=$1&type=css"

-rewrite: if ( path ~ "^data/cache/(.+)\.js") goto "cssjs.php?file=$1&type=js"

.

如果不是保存在论坛原路径的,注意修改路径

在你网站的公共css中写上这一句:

div[style*="position:fixed_position:absolutetop:0left:0right:0padding:12pxbackground-color:rgba(0,0,0,0.5)filter:

progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7F000000,endcolorstr=#7F000000)color:#ffftext-align:centerfont-size:16pxfont-family:simsun,serifcursor:defaultz-index:2147483647"]

{display:none !important}

这样可以隐藏sae的未认证提示了