sitem.aspx 加上 Session.Add("ismobile", "1");
string mobile = HttpContext.Current.Session["ismobile"] != null ? HttpContext.Current.Session["ismobile"].ToString() : "0";
if (mobile == "1")
SiteDomain = SiteDomain.Replace("www", "m");
str_temppath = SiteDomain + str_temppath.Replace("//", "/").Replace("//", "/");
string SiteDomain = getNewsDomain(NewsID);
string mobile = HttpContext.Current.Session["ismobile"] != null ? HttpContext.Current.Session["ismobile"].ToString() : "0";
if (mobile == "1")
SiteDomain = SiteDomain.Replace("www", "m");