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>}<!--www.th7.cn 2014 第七城市--> </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> <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="iOS框架集合:" href="http://www.th7.cn/Program/IOS/201707/1212615.shtml" target="_blank">iOS框架集合:</a></p> <p><a title="iOS UIGestureRecognizer(手势操作)" href="http://www.th7.cn/Program/IOS/201707/1212614.shtml" target="_blank">iOS UIGestureRecognizer(手</a></p> <p><a title="最新 macOS Sierra 10.12.6 安装CocoaPods及使用详" href="http://www.th7.cn/Program/IOS/201707/1212613.shtml" target="_blank">最新 macOS Sierra 10.12.6 </a></p> <p><a title="消除Xcode iOS项目的警告" href="http://www.th7.cn/Program/IOS/201707/1212612.shtml" target="_blank">消除Xcode iOS项目的警告</a></p> <p><a title="iOS内联函数小记" href="http://www.th7.cn/Program/IOS/201707/1212611.shtml" target="_blank">iOS内联函数小记</a></p> <p><a title="iOS程序猿之Framework 的创建与使用" href="http://www.th7.cn/Program/IOS/201707/1212610.shtml" target="_blank">iOS程序猿之Framework 的创</a></p> <p><a title="【代码笔记】iOS-json文件的使用" href="http://www.th7.cn/Program/IOS/201707/1212607.shtml" target="_blank">【代码笔记】iOS-json文件的</a></p> </li> <li> <p><a title="Photoshop快速的抠出透明的玻璃瓶效果" href="http://www.th7.cn/pm/Photoshop/201707/85489.shtml" target="_blank">Photoshop快速的抠出透明的</a></p> <p><a title="Photoshop创意合成从墙砖中幻化出的美女" href="http://www.th7.cn/pm/Photoshop/201707/85488.shtml" target="_blank">Photoshop创意合成从墙砖中</a></p> <p><a title="Photoshop合成站在手机中踢足球的手机海报" href="http://www.th7.cn/pm/Photoshop/201707/85487.shtml" target="_blank">Photoshop合成站在手机中踢</a></p> <p><a title="Photoshop巧用通道抠出小溪瀑布教程" href="http://www.th7.cn/pm/Photoshop/201707/85486.shtml" target="_blank">Photoshop巧用通道抠出小溪</a></p> <p><a title="Photoshop保留质感给欧美女性照片磨皮" href="http://www.th7.cn/pm/Photoshop/201707/85485.shtml" target="_blank">Photoshop保留质感给欧美女</a></p> <p><a title="Photoshop调出复古风格的街道外景照片" href="http://www.th7.cn/pm/Photoshop/201707/85484.shtml" target="_blank">Photoshop调出复古风格的街</a></p> <p><a title="Photoshop制作创意的钟表GIF动画效果图" href="http://www.th7.cn/pm/Photoshop/201707/85483.shtml" target="_blank">Photoshop制作创意的钟表GIF</a></p> </li> <li> <p><a title="页面中的点击下拉框中获取数据" href="http://www.th7.cn/web/html-css/201707/236115.shtml" target="_blank">页面中的点击下拉框中获取数</a></p> <p><a title="CSS3更多属性 浏览器私有前缀" href="http://www.th7.cn/web/html-css/201707/236114.shtml" target="_blank">CSS3更多属性 浏览器私有前</a></p> <p><a title="用calc()绘制手机图案解锁的九宫格样式" href="http://www.th7.cn/web/html-css/201707/236113.shtml" target="_blank">用calc()绘制手机图案解锁的</a></p> <p><a title="处理移动端自适应布局的方法- calc()与vw" href="http://www.th7.cn/web/html-css/201707/236111.shtml" target="_blank">处理移动端自适应布局的方法</a></p> <p><a title="动态rem与1px边框问题的理解" href="http://www.th7.cn/web/html-css/201707/236109.shtml" target="_blank">动态rem与1px边框问题的理解</a></p> <p><a title="错误与调试" href="http://www.th7.cn/web/js/201707/236107.shtml" target="_blank">错误与调试</a></p> <p><a title="JS实现点击按钮,复制文本框中的的内容" href="http://www.th7.cn/web/js/201707/236106.shtml" target="_blank">JS实现点击按钮,复制文本框中</a></p> </li> <li> <p><a title="非森新材——真木饰面板" href="http://www.th7.cn/Design/room/201707/871072.shtml" target="_blank">非森新材——真木饰面板</a></p> <p><a title="八德 H House" href="http://www.th7.cn/Design/room/201707/871071.shtml" target="_blank">八德 H House</a></p> <p><a title="佛山依云天汇林宅" href="http://www.th7.cn/Design/room/201707/871067.shtml" target="_blank">佛山依云天汇林宅</a></p> <p><a title="台北 Z House" href="http://www.th7.cn/Design/room/201707/871066.shtml" target="_blank">台北 Z House</a></p> <p><a title="清远高德酒店夜景灯光设计方案" href="http://www.th7.cn/Design/room/201707/871065.shtml" target="_blank">清远高德酒店夜景灯光设计方</a></p> <p><a title="龙潭新村 清新日作" href="http://www.th7.cn/Design/room/201707/871064.shtml" target="_blank">龙潭新村 清新日作</a></p> <p><a title="鼎盛世家四期 北欧三居" href="http://www.th7.cn/Design/room/201707/871063.shtml" target="_blank">鼎盛世家四期 北欧三居</a></p> </li> <li> <p><a title="Ubuntu17.04 安装搜狗中文输入法" href="http://www.th7.cn/system/lin/201707/221693.shtml" target="_blank">Ubuntu17.04 安装搜狗中文输</a></p> <p><a title="修改Ubuntu14.04虚拟机MTU值" href="http://www.th7.cn/system/lin/201707/221692.shtml" target="_blank">修改Ubuntu14.04虚拟机MTU值</a></p> <p><a title="CentOS7 LVM添加硬盘及扩容" href="http://www.th7.cn/system/lin/201707/221691.shtml" target="_blank">CentOS7 LVM添加硬盘及扩容</a></p> <p><a title="Linux下C++编程(二)----vim简单使用" href="http://www.th7.cn/system/lin/201707/221689.shtml" target="_blank">Linux下C++编程(二)----vim</a></p> <p><a title="Centos系统中彻底删除Mysql数据库" href="http://www.th7.cn/system/lin/201707/221682.shtml" target="_blank">Centos系统中彻底删除Mysql</a></p> <p><a title="短小精致的SSH后门" href="http://www.th7.cn/system/lin/201707/221681.shtml" target="_blank">短小精致的SSH后门</a></p> <p><a title="linux shell脚本" href="http://www.th7.cn/system/lin/201707/221679.shtml" target="_blank">linux shell脚本</a></p> </li> <li> <p><a title="word2010如何插入分节符制作不同的页眉页脚?" href="http://www.th7.cn/office/word/201706/58551.shtml" target="_blank">word2010如何插入分节符制作</a></p> <p><a title="Word怎么使用指定的图表?" href="http://www.th7.cn/office/word/201706/58550.shtml" target="_blank">Word怎么使用指定的图表?</a></p> <p><a title="Word怎么设计一款招生海报?" href="http://www.th7.cn/office/word/201706/58549.shtml" target="_blank">Word怎么设计一款招生海报?</a></p> <p><a title="word2016怎么加粗表格边框?" href="http://www.th7.cn/office/word/201706/58548.shtml" target="_blank">word2016怎么加粗表格边框?</a></p> <p><a title="Word如何插入GIF图片?Word插入动态图片教程" href="http://www.th7.cn/office/word/201706/58547.shtml" target="_blank">Word如何插入GIF图片?Word插</a></p> <p><a title="word怎么设置双击表格图标打开表格?" href="http://www.th7.cn/office/word/201706/58546.shtml" target="_blank">word怎么设置双击表格图标打</a></p> <p><a title="excel表格中怎么绘制标准曲线图表?" href="http://www.th7.cn/office/word/201706/58545.shtml" target="_blank">excel表格中怎么绘制标准曲</a></p> </li> <li> <p><a title="scrapy-redis集成scrapy-splash使用教程" href="http://www.th7.cn/db/nosql/201707/246818.shtml" target="_blank">scrapy-redis集成scrapy-spl</a></p> <p><a title="【Mysql之跨节点查询数据】" href="http://www.th7.cn/db/mysql/201707/246812.shtml" target="_blank">【Mysql之跨节点查询数据】</a></p> <p><a title="MySQL-填充、更新、读取、删除数据" href="http://www.th7.cn/db/mysql/201707/246810.shtml" target="_blank">MySQL-填充、更新、读取、删</a></p> <p><a title="oracle SQL笔记" href="http://www.th7.cn/db/Oracle/201707/246809.shtml" target="_blank">oracle SQL笔记</a></p> <p><a title="oracle 利用 ROW_NUMBER() OVER实现重复数据只取一条并且循环取直到满足所需的条数" href="http://www.th7.cn/db/Oracle/201707/246808.shtml" target="_blank">oracle 利用 ROW_NUMBER() O</a></p> <p><a title="mac mysql没法启动 Waring:The /usr/local/mysql/data directory is not owned by the mysql/_mysql" href="http://www.th7.cn/db/mysql/201707/246807.shtml" target="_blank">mac mysql没法启动 Waring:T</a></p> <p><a title="修改(python) mysql 数据库 使其可以支持插入中文" href="http://www.th7.cn/db/mysql/201707/246806.shtml" target="_blank">修改(python) mysql 数据库</a></p> </li> <li> <p><a title="喵星人可爱猫猫图片" href="http://www.th7.cn/fzl/pic/201707/142201.shtml" target="_blank">喵星人可爱猫猫图片</a></p> <p><a title="感觉他不爱我了" href="http://www.th7.cn/fzl/pic/201707/142200.shtml" target="_blank">感觉他不爱我了</a></p> <p><a title="可惜我是你的故人不是你故事你的人." href="http://www.th7.cn/fzl/pic/201707/142199.shtml" target="_blank">可惜我是你的故人不是你故事</a></p> <p><a title="一句对不起让我输了全部." href="http://www.th7.cn/fzl/pic/201707/142198.shtml" target="_blank">一句对不起让我输了全部.</a></p> <p><a title="败在你手里,认栽" href="http://www.th7.cn/fzl/pic/201707/142197.shtml" target="_blank">败在你手里,认栽</a></p> <p><a title="你说南方有我 后来你往北方走." href="http://www.th7.cn/fzl/pic/201707/142196.shtml" target="_blank">你说南方有我 后来你往北方</a></p> <p><a title="想带你环游世界" href="http://www.th7.cn/fzl/pic/201707/142195.shtml" target="_blank">想带你环游世界</a></p> </li> <li> <p><a title="《王者荣耀》各分段英雄胜率介绍 S8胜率最高的英雄是谁" href="http://www.th7.cn/game/ios/201707/376176.shtml" target="_blank">《王者荣耀》各分段英雄胜率</a></p> <p><a title="《梦间集》七花怎么合 五花开七花方法" href="http://www.th7.cn/game/ios/201707/376175.shtml" target="_blank">《梦间集》七花怎么合 五花</a></p> <p><a title="《梦间集》什么是开花 花开小技巧分享" href="http://www.th7.cn/game/ios/201707/376174.shtml" target="_blank">《梦间集》什么是开花 花开</a></p> <p><a title="《梦间集》怎么开花 梦间集花开教程" href="http://www.th7.cn/game/ios/201707/376173.shtml" target="_blank">《梦间集》怎么开花 梦间集</a></p> <p><a title="《梦间集》玉萧灵犀带什么 玉萧灵犀搭配推荐" href="http://www.th7.cn/game/ios/201707/376172.shtml" target="_blank">《梦间集》玉萧灵犀带什么 </a></p> <p><a title="《神无月》7.26内测活动一览 7.26内测全活动奖励介绍" href="http://www.th7.cn/game/ios/201707/376171.shtml" target="_blank">《神无月》7.26内测活动一览</a></p> <p><a title="《梦间集》玉萧怎么样 玉萧属性效果介绍" href="http://www.th7.cn/game/ios/201707/376170.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/201707/871035.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/smalla5f950630f32d95e1285e2ee82be0b861501156481.jpg" alt="英国NATLYF时尚人像摄影欣赏" title="英国NATLYF时尚人像摄影欣赏" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870652.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/small80ab2345b4a63bda1e2c28d1b5ababdc1501125109.jpg" alt="欧洲街头的色彩 | Roza Vulf摄影作品" title="欧洲街头的色彩 | Roza Vulf摄影作品" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870651.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/smallc729386b532b1196ed6984f7150c61ce1501120732.jpg" alt="这些问题没弄懂,别说你会用减光镜!" title="这些问题没弄懂,别说你会用减光镜!" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870650.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/small31fe76458b0ddeedb13310021c27b98c1501120727.jpg" alt="未经 PS,可能是最有想象力的月亮摄影" title="未经 PS,可能是最有想象力的月亮摄影" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870649.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/smallf9faeb474b30df6fcfd4522a17a15ea61501120722.jpg" alt="除了比基尼,原来泳池还能美得如此清凉梦幻" title="除了比基尼,原来泳池还能美得如此清凉梦幻" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870647.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/smalle1737f4a653e100ba96b8e5340966f5e1501120709.jpg" alt="Ps带你走进古典世界的工笔画圈" title="Ps带你走进古典世界的工笔画圈" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870645.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/small58e0599d7b2b03b3b5c66632624983c71501120695.jpg" alt="复古质感的人像照片怎么修 黑白命令轻松GET" title="复古质感的人像照片怎么修 黑白命令轻松GET" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201707/870644.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="/d/file/p/2017/07/27/smallf577754bef0150de1931bf096e8d1cbb1501120689.png" alt="如何欣赏一张照片的构图?会欣赏才会拍" title="如何欣赏一张照片的构图?会欣赏才会拍" 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/db/nosql/201707/246818.shtml" target="_blank" title="scrapy-redis集成scrapy-splash使用教程">scrapy-redis集成scrapy-splash使用教程</a></li> <li><em class="no2">2</em><a href="http://www.th7.cn/Program/IOS/201707/1212615.shtml" target="_blank" title="iOS框架集合:">iOS框架集合:</a></li> <li><em class="no3">3</em><a href="http://www.th7.cn/Program/IOS/201707/1212614.shtml" target="_blank" title="iOS UIGestureRecognizer(手势操作)">iOS UIGestureRecognizer(手势操作)</a></li> <li><em class="no4">4</em><a href="http://www.th7.cn/Program/IOS/201707/1212613.shtml" target="_blank" title="最新 macOS Sierra 10.12.6 安装CocoaPods及使用详">最新 macOS Sierra 10.12.6 安装CocoaPods及</a></li> <li><em class="no5">5</em><a href="http://www.th7.cn/Program/IOS/201707/1212612.shtml" target="_blank" title="消除Xcode iOS项目的警告">消除Xcode iOS项目的警告</a></li> <li><em class="no6">6</em><a href="http://www.th7.cn/Program/IOS/201707/1212611.shtml" target="_blank" title="iOS内联函数小记">iOS内联函数小记</a></li> <li><em class="no7">7</em><a href="http://www.th7.cn/Program/IOS/201707/1212610.shtml" target="_blank" title="iOS程序猿之Framework 的创建与使用">iOS程序猿之Framework 的创建与使用</a></li> <li><em class="no8">8</em><a href="http://www.th7.cn/system/lin/201707/221693.shtml" target="_blank" title="Ubuntu17.04 安装搜狗中文输入法">Ubuntu17.04 安装搜狗中文输入法</a></li> <li><em class="no9">9</em><a href="http://www.th7.cn/system/lin/201707/221692.shtml" target="_blank" title="修改Ubuntu14.04虚拟机MTU值">修改Ubuntu14.04虚拟机MTU值</a></li> <li><em class="no10">10</em><a href="http://www.th7.cn/system/lin/201707/221691.shtml" target="_blank" title="CentOS7 LVM添加硬盘及扩容">CentOS7 LVM添加硬盘及扩容</a></li> </ul> <ul class="newsRankList"> <li><em class="no1">1</em><a href="http://www.th7.cn/pm/Photoshop/201707/85472.shtml" target="_blank" title="Photoshop合成玻璃漂流瓶中的航海冒险场景图">Photoshop合成玻璃漂流瓶中的航海冒险场景图</a></li> <li><em class="no2">2</em><a href="http://www.th7.cn/pm/Photoshop/201707/85480.shtml" target="_blank" title="Photoshop制作旋转的八卦图动画教程">Photoshop制作旋转的八卦图动画教程</a></li> <li><em class="no3">3</em><a href="http://www.th7.cn/pm/Photoshop/201707/85481.shtml" target="_blank" title="Photoshop创意合成3D折纸特效的海洋世界">Photoshop创意合成3D折纸特效的海洋世界</a></li> <li><em class="no4">4</em><a href="http://www.th7.cn/pm/Photoshop/201707/85471.shtml" target="_blank" title="Photoshop合成云层中漂移的孤岛">Photoshop合成云层中漂移的孤岛</a></li> <li><em class="no5">5</em><a href="http://www.th7.cn/pm/Photoshop/201707/85469.shtml" target="_blank" title="Photoshop抠出外景岩石上的美女人像">Photoshop抠出外景岩石上的美女人像</a></li> <li><em class="no6">6</em><a href="http://www.th7.cn/pm/Photoshop/201707/85465.shtml" target="_blank" title="Photoshop合成创意的白狼和小红帽场景图">Photoshop合成创意的白狼和小红帽场景图</a></li> <li><em class="no7">7</em><a href="http://www.th7.cn/pm/Photoshop/201707/85464.shtml" target="_blank" title="Photoshop结合C4D制作3D海星和冰块图标">Photoshop结合C4D制作3D海星和冰块图标</a></li> <li><em class="no8">8</em><a href="http://www.th7.cn/pm/Photoshop/201707/85468.shtml" target="_blank" title="Photoshop创意合成在空中飘浮的小岛">Photoshop创意合成在空中飘浮的小岛</a></li> <li><em class="no9">9</em><a href="http://www.th7.cn/pm/Photoshop/201707/85470.shtml" target="_blank" title="Photoshop合成时尚大气的汇源果汁宣传海报">Photoshop合成时尚大气的汇源果汁宣传海报</a></li> <li><em class="no10">10</em><a href="http://www.th7.cn/pm/Photoshop/201707/85488.shtml" target="_blank" title="Photoshop创意合成从墙砖中幻化出的美女">Photoshop创意合成从墙砖中幻化出的美女</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> <div style="display:none;"><script language="javascript" type="text/javascript" src="https://js.users.51.la/1273053.js"></script></div> </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://www.th7.cn/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://www.th7.cn/sanda2015/css/common.js" type="text/javascript"></script> <script src="http://www.th7.cn/sanda2015/css/ads.js"></script> <script> var isAdEnabled = isAdEnabled || !1; if( !isAdEnabled ){ $("body").prepend('<link rel="stylesheet" href="http://www.th7.cn/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]); }); (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https'){ bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else{ bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>