asp.net(C#)数据采集类

2016-12-30 09:57:38来源:oschina作者:深圳大道人点击

第七城市
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Web;
using MSXML2; //添加引用 COM - Microsoft XML V3.0-V6.0
using System.Text.RegularExpressions;
namespace EC
{
///
/// 远程文件抓取类
///

public class GetRemoteObj
{
#region 构造与析构函数
public GetRemoteObj()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
~GetRemoteObj()
{
Dispose();
}
#endregion
#region IDisposable 成员
public void Dispose()
{
GC.SuppressFinalize(this);
}
#endregion
#region 取得文件后缀
///
/// 取得文件后缀
///

/// 文件名称
///
public string GetFileExtends(string filename)
{
string ext = null;
if (filename.IndexOf('.') > 0)
{
string[] fs = filename.Split('.');
ext = fs[fs.Length - 1];
}
return ext;
}
#endregion
#region 获取远程文件源代码
/**********************************
* 函数名称:GetRemoteHtmlCode
* 功能说明:获取远程文件源代码
* 参数:Url:远程url
* 调用示例:
* GetRemoteObj o = new GetRemoteObj();
* string url = @"http://www.baidu.com";
* string s = o.GetRemoteHtmlCode(url);
* Response.Write(s);
* o.Dispose();
* ********************************/
///
/// 获取远程文件源代码
///

/// 远程url
///
public string GetRemoteHtmlCode(string Url)
{
string s = "";
MSXML2.XMLHTTP _xmlhttp = new MSXML2.XMLHTTP();
_xmlhttp.open("GET", Url, false, null, null);
_xmlhttp.send("");
if (_xmlhttp.readyState == 4)
{
s = System.Text.Encoding.Default.GetString((byte[])_xmlhttp.responseBody);
}
return s;
}
#endregion
#region 保存远程文件
/**********************************
* 函数名称:RemoteSave
* 功能说明:保存远程文件
* 参数:Url:远程url;Path:保存到的路径
* 调用示例:
* GetRemoteObj o = new GetRemoteObj();
* string s = "";
* string url = @"/2014th7cj/d/file/p/20161230/z2zs21ctyup.gif";
* string path =Server.MapPath("Html/");
* s = o.RemoteSave(url,path);
* Response.Write(s);
* o.Dispose();
* ******************************/
///
/// 保存远程文件
///

/// 远程url
/// 保存到的路径
///
public string RemoteSave(string Url, string Path)
{
Random ra = new Random();
string StringFileName = DateTime.Now.ToString("yyyyMMddHHmmssffff") + "." + GetFileExtends(Url);
string StringFilePath = Path + StringFileName;
MSXML2.XMLHTTP _xmlhttp = new MSXML2.XMLHTTP();
_xmlhttp.open("GET", Url, false, null, null);
_xmlhttp.send("");
if (_xmlhttp.readyState == 4)
{
if (System.IO.File.Exists(StringFilePath))
System.IO.File.Delete(StringFilePath);
System.IO.FileStream fs = new System.IO.FileStream(StringFilePath, System.IO.FileMode.CreateNew);
System.IO.BinaryWriter w = new System.IO.BinaryWriter(fs);
w.Write((byte[])_xmlhttp.responseBody);
w.Close();
fs.Close();
}
else
throw new Exception(_xmlhttp.statusText);
return StringFileName;
}
#endregion
#region 替换网页中的换行和引号
///
/// 替换网页中的换行和引号
///

/// HTML源代码
///
public string ReplaceEnter(string HtmlCode)
{
string s = "";
if (HtmlCode == null || HtmlCode == "")
s = "";
else
s = HtmlCode.Replace("/"", "");
s = s.Replace("/r/n", "");
return s;
}
#endregion
#region 替换HTML标签
///
/// 替换HTML标签
///

/// html源代码
///
public string RemoveHTML(string HtmlCode)
{
string MatchVale = HtmlCode;
foreach (Match s in Regex.Matches(HtmlCode, "<.+?>"))
{
MatchVale = MatchVale.Replace(s.Value, "");
}
return MatchVale;
}
#endregion
#region 匹配页面的链接
///
/// 获取页面的链接正则
///

///
///
public List GetHref(string HtmlCode)
{
List list = new List();
string Reg = @"(h|H)(r|R)(e|E)(f|F) *= *('|"")?((/w|//|//|/.|:|-|_)+)('|""| *|>)?";
foreach (Match m in Regex.Matches(HtmlCode, Reg))
{
list.Add((m.Value).ToLower().Replace("href=", "").Trim());
}
return list;
}
#endregion
#region 匹配页面的图片地址
///
/// 匹配页面的图片地址
///

///
/// 要补充的http://路径信息
///
public string GetImgSrc(string HtmlCode, string imgHttp)
{
string MatchVale = "";
string Reg = @"";
foreach (Match m in Regex.Matches(HtmlCode, Reg))
{
MatchVale += GetImg((m.Value).ToLower().Trim(), imgHttp) + "||";
}
return MatchVale;
}
///
/// 匹配中的图片路径实际链接
///

/// 字符串
///
public string GetImg(string ImgString, string imgHttp)
{
string MatchVale = "";
string Reg = @"src=.+/.(bmp|jpg|gif|png|)";
foreach (Match m in Regex.Matches(ImgString.ToLower(), Reg))
{
MatchVale += (m.Value).ToLower().Trim().Replace("src=", "");
}
return (imgHttp + MatchVale);
}
#endregion
#region 获得指定Html代码中所有超级连接的标题和连接地址
///
/// 获得指定Html代码中所有超级连接的标题和连接地址:测试有效 反回Dictionary key-标题value-地址
///

/// 需要匹配出超级连接的HTML代码
///
public Dictionary GetCodeHref(string HtmlCode)
{
Dictionary dic = new Dictionary();
//匹配指定HTML代码中所有的超级连接中的href 和超连接文字内容的正则 有时候需要根据实际情况做小调整如果标题中间有文字的话
string regex = @"/[^""]*)""|'(?[^']*)'|(?[^/>^/s]+)).*/>(?[^/<^/>]*)/<[^/</a/>]*/a/>";<br> Regex reg1 = new Regex(regex, RegexOptions.IgnoreCase);//创建正则表达式对象 <br> MatchCollection ms1 = reg1.Matches(HtmlCode);//根据正则表达式匹配出所有匹配项返匹配集合 <br> foreach (Match m1 in ms1)//迭代集合获得每个匹配项 <br> {<br>dic.Add(m1.Groups["title"].Value, m1.Groups["url"].Value);<br> }<br> return dic;<br> }<br> #endregion<br> #region 正则获得字符串中开始和结束字符串之间的值<br> /// <summary><br> /// 正则获得字符串中开始和结束字符串之间的值<br> /// </summary><br> /// <param name="str">字符串</param><br> /// <param name="s">开始</param><br> /// <param name="e">结束</param><br> /// <returns></returns> <br> public string GetRegValue(string str, string s, string e)<br> {<br> Regex rg = new Regex("(?<=(" + s + "))[.//s//S]*?(?=(" + e + "))", RegexOptions.Multiline | RegexOptions.Singleline);<br> return rg.Match(str).Value;<br> }<br> /// <summary><br> /// 正则获得字符串中开始和结束字符串之间的值<br> /// </summary><br> /// <param name="str">字符串</param><br> /// <param name="s">开始</param><br> /// <param name="e">结束</param><br> /// <returns></returns><br> public List<string> GetRegValueArr(string str, string s, string e)<br> {<br> Match m;<br> List<string> list = new List<string>();<br> Regex rg = new Regex("(?<=(" + s + "))[.//s//S]*?(?=(" + e + "))", RegexOptions.Multiline | RegexOptions.Singleline);<br> for (m = rg.Match(str); m.Success; m = m.NextMatch())<br> {<br>list.Add(m.Groups[0].Value);<br> }<br> return list;<br> }<br> #endregion<br> #region 替换通过正则获取字符串所带的正则首尾匹配字符串<br> public string RegReplace(string RegValue, string regStart, string regEnd)<br> {<br> string s = RegValue;<br> if (RegValue != "" && RegValue != null)<br> {<br>if (regStart != "" && regStart != null)<br>{<br>s = s.Replace(regStart, "");<br>}<br>if (regEnd != "" && regEnd != null)<br>{<br>s = s.Replace(regEnd, "");<br>}<br> }<br> return s;<br> }<br> #endregion<br>}<br>}<div style="display:none">第七城市</div> </div> <div class="pagebreak pageBar tc mtb20"></div> <div class="mtb20 bgf"> <script> (function() { var s = "_" + Math.random().toString(36).slice(2); document.write('<div id="' + s + '"></div>'); (window.slotbydup=window.slotbydup || []).push({ id: '1119915', container: s, size: '668,100', display: 'inlay-fix' }); })(); </script></div> <div class="mb20 newsBarLayout bgf"> <ul class="post-taglist clearfix mb5"><li class="tagh">热点聚合:<a href="http://www.th7.cn/e/tags/?tagname=C%23" target="_blank">C#</a> <a href="http://www.th7.cn/e/tags/?tagname=%E6%95%B0%E6%8D%AE%E9%87%87%E9%9B%86" target="_blank">数据采集</a> <a href="http://www.th7.cn/e/tags/?tagname=net" target="_blank">net</a> <a href="http://www.th7.cn/e/tags/?tagname=asp" target="_blank">asp</a></li></ul> </div> <div class="mb20 newsBarLayout bgf" id="xgxw"> <h3>相关文章</h3> <ul class="xgxwlist"> <li><a href="http://www.th7.cn/Program/net/201612/1061579.shtml" title="C# 用SoapUI调试WCF服务接口(WCF中包含用户名密码的验证)">C# 用SoapUI调试WCF服务接口(WCF中包含用户名密码的验</a></li><li><a href="http://www.th7.cn/Program/net/201612/1061578.shtml" title="C#发送邮箱">C#发送邮箱</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060975.shtml" title="用"hosting.json"配置ASP.NET Core站点的Hosting环境">用"hosting.json"配置ASP.NET Core站点的Hosting环境</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060973.shtml" title="用C#开发一个WinForm版的批量图片压缩工具">用C#开发一个WinForm版的批量图片压缩工具</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060967.shtml" title="asp.net读取Xml文件到DataSet,以及DataSet保存为Xml,利用自带的强大功能">asp.net读取Xml文件到DataSet,以及DataSet保存为Xml,利</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060963.shtml" title="asp.net上传execl文件后,在页面上加载显示。">asp.net上传execl文件后,在页面上加载显示。</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060960.shtml" title="asp.net 实现进度条 用来显示加载进度或程序处理进度">asp.net 实现进度条 用来显示加载进度或程序处理进度</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060958.shtml" title="Asp.net页面生存周期">Asp.net页面生存周期</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060955.shtml" title="asp.net导出数据到execl并保存到本地 不需要调用Office组件">asp.net导出数据到execl并保存到本地 不需要调用Offic</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060953.shtml" title="利用asp.net自带邮件组件 发送邮件,支持126,163,gmail,qq等邮箱">利用asp.net自带邮件组件 发送邮件,支持126,163,gmail,</a></li></ul> </div> </div> <div class="mt20 bgf"> <div id="hm_t_70118"></div> </div> <div class="newsBarLayout mt20 bgf"><div id="cloud-tie-wrapper" class="cloud-tie-wrapper"></div></div> </div> <div class="newsBarLayout mt20 bgf"> <h3>最新文章</h3> <div class="slideImgList"> <div class="numberState"><span class="current">1</span><span>2</span><span>3</span> </div> <div class="imgListLayout"> <ul class="imgList clearfix"> <li> <p><a title="Perfect-Swift Mac环境下的常用指令" href="http://www.th7.cn/Program/IOS/201704/1157142.shtml" target="_blank">Perfect-Swift Mac环境下的</a></p> <p><a title="如何让 Xcode 在读写上提速100倍?" href="http://www.th7.cn/Program/IOS/201704/1157140.shtml" target="_blank">如何让 Xcode 在读写上提速1</a></p> <p><a title="iOS 性能调试Instruments ->Time Profiler" href="http://www.th7.cn/Program/IOS/201704/1157139.shtml" target="_blank">iOS 性能调试Instruments -></a></p> <p><a title="React-Native 工程添加推送功能 (iOS 篇)" href="http://www.th7.cn/Program/IOS/201704/1157138.shtml" target="_blank">React-Native 工程添加推送</a></p> <p><a title="运行的时候报 variables may not be available." href="http://www.th7.cn/Program/IOS/201704/1157137.shtml" target="_blank">运行的时候报 variables may</a></p> <p><a title="ios phonegap入门,可以帮你省掉不少麻烦" href="http://www.th7.cn/Program/IOS/201704/1157136.shtml" target="_blank">ios phonegap入门,可以帮你省</a></p> <p><a title="iOS汉语转拼音以及按照拼音排序" href="http://www.th7.cn/Program/IOS/201704/1157135.shtml" target="_blank">iOS汉语转拼音以及按照拼音</a></p> </li> <li> <p><a title="Photoshop制作超酷的雨天玻璃后特效场景" href="http://www.th7.cn/pm/Photoshop/201704/84978.shtml" target="_blank">Photoshop制作超酷的雨天玻</a></p> <p><a title="Photoshop详细解析人物磨皮的三大神技" href="http://www.th7.cn/pm/Photoshop/201704/84977.shtml" target="_blank">Photoshop详细解析人物磨皮</a></p> <p><a title="Photoshop调出外景风景照片唯美红外线效果" href="http://www.th7.cn/pm/Photoshop/201704/84976.shtml" target="_blank">Photoshop调出外景风景照片</a></p> <p><a title="Photoshop制作超酷的冬季冰冻艺术字" href="http://www.th7.cn/pm/Photoshop/201704/84975.shtml" target="_blank">Photoshop制作超酷的冬季冰</a></p> <p><a title="Photoshop制作抽象主题风格全景海报教程" href="http://www.th7.cn/pm/Photoshop/201704/84974.shtml" target="_blank">Photoshop制作抽象主题风格</a></p> <p><a title="Photoshop巧用通道方法抠出冬季外景人像" href="http://www.th7.cn/pm/Photoshop/201704/84973.shtml" target="_blank">Photoshop巧用通道方法抠出</a></p> <p><a title="Photoshop人像照片唯美的中国风工笔画效果" href="http://www.th7.cn/pm/Photoshop/201704/84972.shtml" target="_blank">Photoshop人像照片唯美的中</a></p> </li> <li> <p><a title="网页播放视频JW Player" href="http://www.th7.cn/web/html-css/201704/224390.shtml" target="_blank">网页播放视频JW Player</a></p> <p><a title="常用转义字符(摘自W3School )" href="http://www.th7.cn/web/html-css/201704/224389.shtml" target="_blank">常用转义字符(摘自W3School )</a></p> <p><a title="一个简单的爬虫框架" href="http://www.th7.cn/web/html-css/201704/224388.shtml" target="_blank">一个简单的爬虫框架</a></p> <p><a title="html布局要注意" href="http://www.th7.cn/web/html-css/201704/224386.shtml" target="_blank">html布局要注意</a></p> <p><a title="【HTML网页编程】(2)表单提交 及其 服务器客户端的交互方式" href="http://www.th7.cn/web/html-css/201704/224385.shtml" target="_blank">【HTML网页编程】(2)表单提交 </a></p> <p><a title="html编程思想" href="http://www.th7.cn/web/html-css/201704/224383.shtml" target="_blank">html编程思想</a></p> <p><a title="上线项目更新版本后如何避免客户端js和css缓存" href="http://www.th7.cn/web/html-css/201704/224382.shtml" target="_blank">上线项目更新版本后如何避免</a></p> </li> <li> <p><a title="物流公司ODW办公室空间设计" href="http://www.th7.cn/Design/room/201704/861974.shtml" target="_blank">物流公司ODW办公室空间设计</a></p> <p><a title="纽约仓库改造为时尚loft公寓" href="http://www.th7.cn/Design/room/201704/861973.shtml" target="_blank">纽约仓库改造为时尚loft公寓</a></p> <p><a title="俄罗斯Roman Sinitsa现代室内设计作品" href="http://www.th7.cn/Design/room/201704/861972.shtml" target="_blank">俄罗斯Roman Sinitsa现代室</a></p> <p><a title="荷兰Elissa Lacoste概念创意凳子设计" href="http://www.th7.cn/Design/room/201704/861971.shtml" target="_blank">荷兰Elissa Lacoste概念创意</a></p> <p><a title="Pedras天然矿泉水系列创意广告欣赏" href="http://www.th7.cn/Design/pm/201704/861970.shtml" target="_blank">Pedras天然矿泉水系列创意广</a></p> <p><a title="美国jingna zhang唯美摄影作品欣赏(二)" href="http://www.th7.cn/Design/photography/201704/861969.shtml" target="_blank">美国jingna zhang唯美摄影作</a></p> <p><a title="PARACHUTE香薰油唯美设计欣赏" href="http://www.th7.cn/Design/pm/201704/861968.shtml" target="_blank">PARACHUTE香薰油唯美设计欣</a></p> </li> <li> <p><a title="ubuntu16.04配置ssh免密码登陆" href="http://www.th7.cn/system/lin/201704/212350.shtml" target="_blank">ubuntu16.04配置ssh免密码登</a></p> <p><a title="Ubuntu 14.04,只显示墙纸和鼠标光标" href="http://www.th7.cn/system/lin/201704/212349.shtml" target="_blank">Ubuntu 14.04,只显示墙纸和鼠</a></p> <p><a title="Could not get lock /var/lib/dpkg/lock -open (11 Resource temporarily unavailable)" href="http://www.th7.cn/system/lin/201704/212347.shtml" target="_blank">Could not get lock /var/li</a></p> <p><a title="如何在Ubuntu 14.04上利用HAProxy作为WordPress应用服务器的4层负载均衡器" href="http://www.th7.cn/system/lin/201704/212346.shtml" target="_blank">如何在Ubuntu 14.04上利用HA</a></p> <p><a title="ubuntu14.04安装TensorFlow" href="http://www.th7.cn/system/lin/201704/212345.shtml" target="_blank">ubuntu14.04安装TensorFlow</a></p> <p><a title="ubuntu 常用小知识" href="http://www.th7.cn/system/lin/201704/212344.shtml" target="_blank">ubuntu 常用小知识</a></p> <p><a title="Ubuntu 安装 Electron" href="http://www.th7.cn/system/lin/201704/212343.shtml" target="_blank">Ubuntu 安装 Electron</a></p> </li> <li> <p><a title="Excel怎么跨表格查找匹配数据" href="http://www.th7.cn/office/excel/201704/58373.shtml" target="_blank">Excel怎么跨表格查找匹配数</a></p> <p><a title="Excel如何制作多级分组显示的图表" href="http://www.th7.cn/office/excel/201704/58372.shtml" target="_blank">Excel如何制作多级分组显示</a></p> <p><a title="excel如何设置只能输入本月日期" href="http://www.th7.cn/office/excel/201704/58371.shtml" target="_blank">excel如何设置只能输入本月</a></p> <p><a title="excel时间格式如何换成小时数字格式" href="http://www.th7.cn/office/excel/201704/58370.shtml" target="_blank">excel时间格式如何换成小时</a></p> <p><a title="Excel怎么制作复杂组合图表" href="http://www.th7.cn/office/excel/201704/58369.shtml" target="_blank">Excel怎么制作复杂组合图表</a></p> <p><a title="excel如何制作流程图" href="http://www.th7.cn/office/excel/201704/58368.shtml" target="_blank">excel如何制作流程图</a></p> <p><a title="excel表格如何设置标题" href="http://www.th7.cn/office/excel/201704/58367.shtml" target="_blank">excel表格如何设置标题</a></p> </li> <li> <p><a title="Linux下Redis配置远程访问注意事项" href="http://www.th7.cn/db/nosql/201704/235598.shtml" target="_blank">Linux下Redis配置远程访问注</a></p> <p><a title="spring结合redis如何实现数据的缓存" href="http://www.th7.cn/db/nosql/201704/235597.shtml" target="_blank">spring结合redis如何实现数</a></p> <p><a title="mongodb [三]查询条件大全" href="http://www.th7.cn/db/nosql/201704/235596.shtml" target="_blank">mongodb [三]查询条件大全</a></p> <p><a title="mongodb 基本语句" href="http://www.th7.cn/db/nosql/201704/235595.shtml" target="_blank">mongodb 基本语句</a></p> <p><a title="用JAVA连接Hbase的DBHelp类" href="http://www.th7.cn/db/nosql/201704/235591.shtml" target="_blank">用JAVA连接Hbase的DBHelp类</a></p> <p><a title="Oracle AWR特性描述" href="http://www.th7.cn/db/Oracle/201704/235590.shtml" target="_blank">Oracle AWR特性描述</a></p> <p><a title="MYSQL5.7配置问题" href="http://www.th7.cn/db/mysql/201704/235589.shtml" target="_blank">MYSQL5.7配置问题</a></p> </li> <li> <p><a title="以后要长大了 不能跌在爱情里了" href="http://www.th7.cn/fzl/pic/201704/140554.shtml" target="_blank">以后要长大了 不能跌在爱情</a></p> <p><a title="见面少没关系 你别忘记我就好" href="http://www.th7.cn/fzl/pic/201704/140553.shtml" target="_blank">见面少没关系 你别忘记我就</a></p> <p><a title="你主动我们会必定会有故事" href="http://www.th7.cn/fzl/pic/201704/140552.shtml" target="_blank">你主动我们会必定会有故事</a></p> <p><a title="哪有什么突然想起 其实一直放在心里    " href="http://www.th7.cn/fzl/pic/201704/140551.shtml" target="_blank">哪有什么突然想起 其实一直</a></p> <p><a title="我知道我痴情 但你没资格伤我心" href="http://www.th7.cn/fzl/pic/201704/140550.shtml" target="_blank">我知道我痴情 但你没资格伤</a></p> <p><a title="世间所有的相遇 都是久别重逢 ​​​" href="http://www.th7.cn/fzl/pic/201704/140549.shtml" target="_blank">世间所有的相遇 都是久别重</a></p> <p><a title="感情死了可生活还在" href="http://www.th7.cn/fzl/pic/201704/140548.shtml" target="_blank">感情死了可生活还在</a></p> </li> <li> <p><a title="《光明大陆》精力怎么恢复 精力消耗及获取方式介绍" href="http://www.th7.cn/game/ios/201704/346327.shtml" target="_blank">《光明大陆》精力怎么恢复 </a></p> <p><a title="《FateGo》美丽如我!FateGo最美国服礼装卡面排行" href="http://www.th7.cn/game/ios/201704/346326.shtml" target="_blank">《FateGo》美丽如我!FateGo最</a></p> <p><a title="《王者荣耀》武道大会热门英雄推荐,玩法解析" href="http://www.th7.cn/game/ios/201704/346325.shtml" target="_blank">《王者荣耀》武道大会热门英</a></p> <p><a title="艺人图鉴《元气偶像季》全明星人物资料图鉴" href="http://www.th7.cn/game/ios/201704/346324.shtml" target="_blank">艺人图鉴《元气偶像季》全明</a></p> <p><a title="《阴阳师》新式神以津真天和姑获鸟的对比分析" href="http://www.th7.cn/game/ios/201704/346323.shtml" target="_blank">《阴阳师》新式神以津真天和</a></p> <p><a title="《元气偶像季》精美图鉴,游戏人设一览" href="http://www.th7.cn/game/ios/201704/346322.shtml" target="_blank">《元气偶像季》精美图鉴,游戏</a></p> <p><a title="《阴阳师》新式神以津真天的御魂及阵容推荐" href="http://www.th7.cn/game/ios/201704/346321.shtml" target="_blank">《阴阳师》新式神以津真天的</a></p> </li> </ul> </div> </div> </div> <script type="text/javascript"> var cpro_id = "u2861938"; </script> <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/i.js"></script> <div class="newsBarLayout mt20 bgf" style="border:0px;"></div> </div> <div class="w300 fr"> <div> <script type="text/javascript">var cpro_id = "u654799";</script><script src="https://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script> </div> <div class="tabTitleBar mt20 bgf borderTred"> <div class="borderTnonee pb10"> <h3 class="titleMain2 titleMain-b red"><span class="txt pl10">本站导航</span></h3> <h2><a href="/pm/">平面设计</a></h2> <div> <a href="/pm/Photoshop/">Photoshop</a> <a href="/pm/ai/">Illustrator</a> <a href="/pm/Fireworks/">Fireworks</a> <a href="/pm/Coreldraw/">Coreldraw</a> <a href="/pm/max/">3DS MAX</a> <a href="/pm/cad/">AutoCAD</a> <a href="/pm/Maya/">Maya</a> </div> <h2><a href="/web/">网页设计</a></h2> <div> <a href="/web/dw/">Dreamweaver</a> <a href="/web/html-css/">HTML/CSS</a> <a href="/web/js/">JavaScript</a> <a href="/web/ajax/">Ajax</a> </div> <h2><a href="/Design/">设计赏析</a></h2> <div> <a href="/Design/pm/">平面设计作品</a> <a href="/Design/web/">网页设计欣赏</a> <a href="/Design/3d/">三维动画赏析</a> <a href="/Design/logo/">标志设计欣赏</a> <a href="/Design/pic/">插画设计作品</a> <a href="/Design/room/">建筑设计欣赏</a> <a href="/Design/vi/">VI设计欣赏</a><br/> <a href="/Design/ui/">UI设计欣赏</a> <a href="/design/photography/">摄影艺术</a> <a href="/design/idea/">设计理念</a> </div> <h2><a href="/Program/">网络编程</a></h2> <div> <a href="/Program/php/">PHP教程</a> <a href="/Program/java/">Java</a> <a href="/Program/net/">ASP.NET</a> <a href="/Program/SilverLight/">SilverLight</a> <a href="/Program/delphi/">Delphi</a> <a href="/Program/c/">C语言</a> <a href="/Program/cp/">C++</a> <a href="/Program/Python/">Python</a> <a href="/Program/Perl/">Perl</a> <a href="/Program/Ruby/">Ruby</a> <a href="/Program/WPF/">WPF</a> <a href="/Program/Android/">Android</a> <a href="/Program/wp7/">Windows Phone</a> <a href="/Program/IOS/">IOS</a> <a href="/Program/go/">Go语言</a> </div> <h2><a href="/system/">操作系统</a></h2> <div> <a href="/system/win/">Windows</a> <a href="/system/lin/">Linux</a> <a href="/system/mac/">macOS</a> </div> <h2><a href="/office/">办公软件</a></h2> <div> <a href="/office/word/">Word教程</a> <a href="/office/excel/">Excel教程</a> <a href="/office/ppt/">PowerPoint教程</a> <a href="/office/wps/">WPS Office</a> </div> <h2><a href="/db/">数据库</a></h2> <div> <a href="/db/mysql/">MySQL</a> <a href="/db/mssql/">SQL Server</a> <a href="/db/Oracle/">Oracle</a> <a href="/db/nosql/">NoSQL</a> </div> <h2><a href="/fzl/">非主流</a></h2> <div> <a href="/fzl/girl/">非主流美女</a> <a href="/fzl/boy/">非主流男生</a> <a href="/fzl/pic/">非主流图片</a> <a href="/fzl/clothes/">非主流服饰</a><br/> <a href="/fzl/sp/">非主流饰品</a> <a href="/fzl/st/">非主流闪图</a> </div> <h2><a href="/qq/">QQ专区</a></h2> <div> <a href="/qq/zone/">QQ空间</a> <a href="/qq/fz/">QQ分组</a> <a href="/qq/sc/">QQ素材</a> <a href="/qq/blog/">QQ日志</a> <a href="/qq/name/">QQ网名</a> <a href="/qq/sign/">QQ签名</a> </div> <h2><a href="/game/">游戏频道</a></h2> <div> <a href="/game/dj/">单机游戏</a> <a href="/game/wl/">网络游戏</a> <a href="/game/ios/">iOS游戏</a> </div> </div> </div> <div class="tabTitleBar imgTxtBar-c clearfix mt10"> <h3 class="titleMain clearfix"><span class="txt red">最新摄影</span></h3> <div class="imgTxtBar clearfix imgTxtBar-c mt10"> <a href="http://www.th7.cn/Design/photography/201704/861969.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small5175f6bc34358c0edf0816e2f66f0da41493033499.jpg" alt="美国jingna zhang唯美摄影作品欣赏(二)" title="美国jingna zhang唯美摄影作品欣赏(二)" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861934.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/smalla53a980cb30ab2ff56216bba20dcedcf1493003388.jpg" alt="Jean-Daniel Lorieux的早期彩色时尚摄影" title="Jean-Daniel Lorieux的早期彩色时尚摄影" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861839.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small1354bd95a9911b61b3296c2979fb59a21492998096.jpg" alt="15个创作构图建议,让你的风景摄影变成艺术作品!" title="15个创作构图建议,让你的风景摄影变成艺术作品!" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861838.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small895ea6b51ed59ba4d9a830ad96b973bc1492998084.jpg" alt="土星光环间的地球 卡西尼号太空船的最后杰作" title="土星光环间的地球 卡西尼号太空船的最后杰作" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861837.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small5acf97c7de52d37477df5019fb22498f1492998077.jpg" alt="『图集』上帝视角俯瞰美国国家公园" title="『图集』上帝视角俯瞰美国国家公园" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861836.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small71f223d09dd03bd2d23b89c6d9beaaf11492998073.jpg" alt="突破障碍 如何利用前景创造出有深度的照片" title="突破障碍 如何利用前景创造出有深度的照片" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861835.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small07ebed58a801a32e517ce0776f1967a81492998060.jpg" alt="想靠摄影赚钱吗 来看看贫、富摄影师的态度" title="想靠摄影赚钱吗 来看看贫、富摄影师的态度" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201704/861834.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/04/24/small03d42557d10d7aaf0c1400df6c35fad01492998052.jpg" alt="简单6招拍好家中萌宠" title="简单6招拍好家中萌宠" width="140" height="90"/></div></a> </div> </div> <div class="tabTitleBar tabSlideBar mb10 mt10"> <div class="tabState"></div> <h3 class="titleMain clearfix tabred"><span class="txt cur">最新教程</span><span class="txt">周点击榜</span></h3> <div class="newsRankBar clearfix"> <ul class="newsRankList current"> <li><em class="no1">1</em><a href="http://www.th7.cn/pm/Photoshop/201704/84978.shtml" target="_blank" title="Photoshop制作超酷的雨天玻璃后特效场景">Photoshop制作超酷的雨天玻璃后特效场景</a></li> <li><em class="no2">2</em><a href="http://www.th7.cn/pm/Photoshop/201704/84977.shtml" target="_blank" title="Photoshop详细解析人物磨皮的三大神技">Photoshop详细解析人物磨皮的三大神技</a></li> <li><em class="no3">3</em><a href="http://www.th7.cn/pm/Photoshop/201704/84976.shtml" target="_blank" title="Photoshop调出外景风景照片唯美红外线效果">Photoshop调出外景风景照片唯美红外线效果</a></li> <li><em class="no4">4</em><a href="http://www.th7.cn/Program/IOS/201704/1157142.shtml" target="_blank" title="Perfect-Swift Mac环境下的常用指令">Perfect-Swift Mac环境下的常用指令</a></li> <li><em class="no5">5</em><a href="http://www.th7.cn/Program/IOS/201704/1157140.shtml" target="_blank" title="如何让 Xcode 在读写上提速100倍?">如何让 Xcode 在读写上提速100倍?</a></li> <li><em class="no6">6</em><a href="http://www.th7.cn/Program/IOS/201704/1157139.shtml" target="_blank" title="iOS 性能调试Instruments ->Time Profiler">iOS 性能调试Instruments ->Time Profiler</a></li> <li><em class="no7">7</em><a href="http://www.th7.cn/pm/Photoshop/201704/84975.shtml" target="_blank" title="Photoshop制作超酷的冬季冰冻艺术字">Photoshop制作超酷的冬季冰冻艺术字</a></li> <li><em class="no8">8</em><a href="http://www.th7.cn/db/nosql/201704/235598.shtml" target="_blank" title="Linux下Redis配置远程访问注意事项">Linux下Redis配置远程访问注意事项</a></li> <li><em class="no9">9</em><a href="http://www.th7.cn/db/nosql/201704/235597.shtml" target="_blank" title="spring结合redis如何实现数据的缓存">spring结合redis如何实现数据的缓存</a></li> <li><em class="no10">10</em><a href="http://www.th7.cn/db/nosql/201704/235596.shtml" target="_blank" title="mongodb [三]查询条件大全">mongodb [三]查询条件大全</a></li> </ul> <ul class="newsRankList"> <li><em class="no1">1</em><a href="http://www.th7.cn/pm/Photoshop/201704/84900.shtml" target="_blank" title="Photoshop简单的制作绚丽的星空头像教程">Photoshop简单的制作绚丽的星空头像教程</a></li> <li><em class="no2">2</em><a href="http://www.th7.cn/pm/Photoshop/201704/84907.shtml" target="_blank" title="Photoshop详细解析蝙蝠侠汽车合成教程">Photoshop详细解析蝙蝠侠汽车合成教程</a></li> <li><em class="no3">3</em><a href="http://www.th7.cn/pm/Photoshop/201704/84896.shtml" target="_blank" title="Photoshop调出人像外景小清新光效艺术效果">Photoshop调出人像外景小清新光效艺术效果</a></li> <li><em class="no4">4</em><a href="http://www.th7.cn/pm/Photoshop/201704/84905.shtml" target="_blank" title="Photoshop制作创意的拍立得照片散落效果">Photoshop制作创意的拍立得照片散落效果</a></li> <li><em class="no5">5</em><a href="http://www.th7.cn/pm/Photoshop/201704/84899.shtml" target="_blank" title="Photoshop制作怀旧主题风格的撕纸照片效果">Photoshop制作怀旧主题风格的撕纸照片效果</a></li> <li><em class="no6">6</em><a href="http://www.th7.cn/pm/Photoshop/201704/84895.shtml" target="_blank" title="Photoshop给人像服装添加个性的花朵图案">Photoshop给人像服装添加个性的花朵图案</a></li> <li><em class="no7">7</em><a href="http://www.th7.cn/pm/Photoshop/201704/84903.shtml" target="_blank" title="Photoshop详细解析后期图像处理五个好习惯">Photoshop详细解析后期图像处理五个好习惯</a></li> <li><em class="no8">8</em><a href="http://www.th7.cn/pm/Photoshop/201704/84897.shtml" target="_blank" title="Photoshop调出外景人像复古老照片艺术效果">Photoshop调出外景人像复古老照片艺术效果</a></li> <li><em class="no9">9</em><a href="http://www.th7.cn/pm/ai/201704/84910.shtml" target="_blank" title="Illustrator绘制扁平化风格的狮子头像">Illustrator绘制扁平化风格的狮子头像</a></li> <li><em class="no10">10</em><a href="http://www.th7.cn/pm/ai/201704/84909.shtml" target="_blank" title="Illustrator绘制扁平化风格的喝咖啡女孩">Illustrator绘制扁平化风格的喝咖啡女孩</a></li> </ul> </div> </div> <div class="borderTred mt20"> <div id="hm_t_75055"></div> </div> <div class="mt20 newFixedBox"> <script type="text/javascript">var cpro_id = "u1065261";</script><script type="text/javascript" src="https://cpro.baidustatic.com/cpro/ui/c.js"></script> <script type="text/javascript">var jd_union_unid="34692",jd_ad_ids="513:6",jd_union_pid="CNerzbOOKxCEjwIaACDtmsGSAioA";var jd_width=300;var jd_height=250;var jd_union_euid="";var p="BhQDUhJSFAcXNwpfBkgyTUMIRmtKRk9aZV8ETVxNNwpfBkgyZA8Hfj5rS2pkCHksVksIUBRuJE1kcgtZK1wQBBIGUhNZJQAXAF0YayVdVloIKxB7AyJYEUYGJQIXDlUZWREDFQ5VGFwlAyI3ZQ%3D%3D";</script><script type="text/javascript" charset="utf-8" src="//u.x.jd.com/static/js/auto.js"></script> <script language="javascript" src="http://u493025.nr1234.com/mediashowFix.php?id=228371"></script> </div> </div> </div> </div> <div id="footer"> <div class="main"> <p> <a target="_blank" href="http://www.7-inc.com/about/" rel="nofollow">关于第七城市</a> - <a target="_blank" href="http://www.7-inc.com/contact/" rel="nofollow">联系我们</a> - <a target="_blank" href="http://www.th7.cn/e/tool/feedback/?bid=3" rel="nofollow">版权声明</a> - <a target="_blank" href="https://m.th7.cn/show/5/201612/1060970.html">手机版</a> </p> <p><a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33030202000166" rel="nofollow"><img src="/images/beian-ga.png"> 浙公网安备 33030202000166号</a></p> <p>工信部备案号:<a target="_blank" href="http://www.miitbeian.gov.cn" rel="nofollow">浙ICP备09062716号-2</a></p> <p>©2005-2017 <a target="_blank" href="http://www.7-inc.com">温州第七城市信息科技有限公司</a> Inc. All Rights Reserved</p> </div> </div> <div class="gotop hide" id="gotop"><a href="javascript:;" class="th7-weixin"></a> <div class="th7-weixin-con hide"> <p class="th7-weixin-title">微信扫一扫</p> <div class="th7-weixin-pic"> <img src="http://th7.7-wx.com/sanda2015/img/weixin.jpg" alt="第七城市微信公众平台" width="100" height="100"></div> </div> <a href="/e/tool/feedback/?bid=1" target="_blank" class="feedback" rel="nofollow"></a><a href="javascript:;" class="go"></a> </div> <span id="tmpAreaLmtDiv"> <div style="z-index:1000;right:0px;bottom:0px;overflow-x: hidden;overflow-y:hidden;position:fixed;width:350px;height:238px;" id="PcPoPmarket"> <div id="popTop" style="z-index:1000;POSITION:absolute;right:0;height:30px;overflow:hidden;"> <span class="popBtn popClose" onclick="closeDiv()"></span> <span class="popBtn popShow" onclick="showDiv()" id="showvod" style="display: none;"></span> <span class="popBtn popHide" onclick="hideDiv()" id="hidevod" style="display: block;"></span></div> <iframe id="popFrame" scrolling="no" frameborder="0" width="350" allowtransparency="true" height="238" src="/poppage.html" target="_blank">-</iframe> </div> </span> <script> (function() { var s = "_" + Math.random().toString(36).slice(2); document.write('<div id="' + s + '"></div>'); (window.slotbydup=window.slotbydup || []).push({ id: '1112087', container: s, size: '120,270', display: 'inlay-fix' }); })(); </script> </div> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"1","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script> <script src="http://th7.7-wx.com/sanda2015/css/common.js" type="text/javascript"></script> <script src="http://th7.7-wx.com/sanda2015/css/ads.js"></script> <script> var isAdEnabled = isAdEnabled || !1; if( !isAdEnabled ){ $("body").prepend('<link rel="stylesheet" href="http://th7.7-wx.com/sanda2015/assistance/message.css" type="text/css" media="screen"/><div class="error message"><h3>帮助 第七城市 更好的生产内容,请将我们加入广告屏蔽插件的白名单,非常感谢。<a href="/sanda2015/assistance/Ask_for_your_assistance.html" target="_blank">具体方法</a></h3></div>'); $('.error').animate({top:"0"},500); $('.error').css('top',-500); var t1=setTimeout("$('.error').css('top',-500)",15000); $(document).ready(function(){ $('.message').click(function(){ $(this).animate({top: -$(this).outerHeight()},500); }); }); } $.get("http://www.th7.cn/e/public/ViewClick/?classid=5&id=1060970&addclick=1", function(result){ var arrtemp = result.split("'"); $("#click").append(arrtemp[1]); }); var cloudTieConfig = { url: document.location.href, sourceId: "51060970", productKey: "5ab8970ac6454c8584848b2244d1e241", target: "cloud-tie-wrapper" }; </script> <script src="https://img1.ws.126.net/f2e/tie/yun/sdk/loader.js"></script> </body> </html>