
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WEB开发分享</title>
	<atom:link href="http://www.kuaipao8.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.kuaipao8.com</link>
	<description>专注web开发,专注web开发分享</description>
	<lastBuildDate>Wed, 13 May 2026 02:31:00 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>GPT-image-2,AI图片生成利器</title>
		<link>http://www.kuaipao8.com/?p=2047</link>
		<comments>http://www.kuaipao8.com/?p=2047#comments</comments>
		<pubDate>Wed, 13 May 2026 02:23:37 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[人工智能]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2047</guid>
		<description><![CDATA[试用了下GPT-image2，还是不错的。 生成日签： 图片风格为日签，芒种节气，日期为2026年6月5日，农 [...]]]></description>
				<content:encoded><![CDATA[<p>试用了下GPT-image2，还是不错的。</p>
<p><strong>生成日签：</strong></p>
<p>图片风格为日签，芒种节气，日期为2026年6月5日，农历为四月二十，星期五，显示“ 梅雨季，亦是美好季。”</p>
<p>图片风格为日签，夏至节气，日期为2026年6月21日，农历为五月初七，星期日，显示“夏至，万物欣荣，静养清心。”，背景为蝉鸣</p>
<p>图片风格为日签，儿童节，日期为2026年6月1日，农历为四月十六，星期一，显示“不必急着长大，因为世界很大，但童年很短。”，背景为儿童操场奔跑</p>
<p>图片风格为日签，端午节，日期为2026年6月19日，农历为五月初五，星期四，显示“龙舟竞渡，百舸争流。”，背景为龙舟赛</p>
<p><strong>生成美女：</strong></p>
<p>图片风格为赛璐璐，女孩，20岁左右，高清晰度，弥散风，阳光，正在玩轮滑</p>
<p>图片风格为赛璐璐，女孩，20岁左右，高清晰度，弥散风，阳光，正在玩滑板</p>
<p>图片风格为赛璐璐，女孩，18岁左右，高清晰度，弥散风，暖色调，浴室剪影</p>
<p>图片风格为赛璐璐，带项链的金发女孩，高清晰度，侧脸，弥散风，带项链 </p>
<p><strong>生成海报：</strong></p>
<p>极简文艺风，浅米色背景，中央大字中文“今日推荐”，下方小字“生活灵感 · 每日更新”，左下角水墨梅花枝，留白，干净，国风，平静，高质感</p>
<p>竖版手机海报，顶部中文标题“一句话打动你”，中部大面积留白可插入主体，底部箭头加中文“扫码立即参与”，现代简约，温和配色</p>
<p>极简知识卡片风格，淡奶油色纸张纹理，上方中文标题“高效成长的一页”，中间预留文字区域，下方留白，干净排版，柔和光线，温暖，ins风</p>
<p><strong>生成侠客：</strong></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">{<br />
&nbsp; &quot;subject&quot;: {<br />
&nbsp; &nbsp; &quot;type&quot;: &quot;character&quot;,<br />
&nbsp; &nbsp; &quot;identity&quot;: &quot;young Chinese swordsman&quot;,<br />
&nbsp; &nbsp; &quot;gender&quot;: &quot;female&quot;,<br />
&nbsp; &nbsp; &quot;age&quot;: &quot;20-25&quot;,<br />
&nbsp; &nbsp; &quot;appearance&quot;: {<br />
&nbsp; &nbsp; &nbsp; &quot;face&quot;: &quot;handsome, sharp features, natural smile&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;expression&quot;: &quot;calm, confident, slightly heroic&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;hair&quot;: &quot;long black hair, messy, wind-blown, dynamic strands&quot;<br />
&nbsp; &nbsp; },<br />
&nbsp; &nbsp; &quot;clothing&quot;: {<br />
&nbsp; &nbsp; &nbsp; &quot;type&quot;: &quot;ancient Chinese robe&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;color&quot;: &quot;white&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;condition&quot;: &quot;slightly worn, textured fabric&quot;<br />
&nbsp; &nbsp; },<br />
&nbsp; &nbsp; &quot;pose&quot;: &quot;half-body portrait, holding a sword diagonally&quot;,<br />
&nbsp; &nbsp; &quot;focus_priority&quot;: &quot;face&quot;<br />
&nbsp; },<br />
<br />
&nbsp; &quot;style&quot;: {<br />
&nbsp; &nbsp; &quot;genre&quot;: [&quot;wuxia&quot;, &quot;fantasy&quot;, &quot;cinematic poster&quot;],<br />
&nbsp; &nbsp; &quot;rendering&quot;: &quot;photorealistic&quot;,<br />
&nbsp; &nbsp; &quot;fusion_style&quot;: &quot;ink wash overlay (low intensity)&quot;,<br />
&nbsp; &nbsp; &quot;detail_level&quot;: &quot;ultra high&quot;,<br />
&nbsp; &nbsp; &quot;consistency_lock&quot;: true<br />
&nbsp; },<br />
<br />
&nbsp; &quot;composition&quot;: {<br />
&nbsp; &nbsp; &quot;type&quot;: &quot;double exposure&quot;,<br />
&nbsp; &nbsp; &quot;primary&quot;: &quot;character portrait&quot;,<br />
&nbsp; &nbsp; &quot;secondary&quot;: &quot;mountain landscape inside silhouette&quot;,<br />
&nbsp; &nbsp; &quot;depth_layers&quot;: [&quot;foreground character&quot;, &quot;mid mountains&quot;, &quot;background clouds&quot;],<br />
&nbsp; &nbsp; &quot;visual_flow&quot;: &quot;bottom-left to top-right&quot;,<br />
&nbsp; &nbsp; &quot;aspect_ratio&quot;: &quot;2:3&quot;<br />
&nbsp; },<br />
<br />
&nbsp; &quot;environment&quot;: {<br />
&nbsp; &nbsp; &quot;scene&quot;: &quot;epic Chinese mountains, misty peaks&quot;,<br />
&nbsp; &nbsp; &quot;elements&quot;: [&quot;clouds&quot;, &quot;fog&quot;, &quot;distant lone swordsman&quot;],<br />
&nbsp; &nbsp; &quot;weather&quot;: &quot;foggy, windy&quot;,<br />
&nbsp; &nbsp; &quot;lighting&quot;: {<br />
&nbsp; &nbsp; &nbsp; &quot;type&quot;: &quot;cinematic volumetric lighting&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;direction&quot;: &quot;side lighting&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;intensity&quot;: &quot;high contrast&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;rim_light&quot;: true<br />
&nbsp; &nbsp; }<br />
&nbsp; },<br />
<br />
&nbsp; &quot;weapon&quot;: {<br />
&nbsp; &nbsp; &quot;type&quot;: &quot;ancient Chinese sword&quot;,<br />
&nbsp; &nbsp; &quot;material&quot;: &quot;steel&quot;,<br />
&nbsp; &nbsp; &quot;effect&quot;: &quot;subtle golden glow&quot;,<br />
&nbsp; &nbsp; &quot;detail&quot;: &quot;engraved patterns&quot;<br />
&nbsp; },<br />
<br />
&nbsp; &quot;color_grading&quot;: {<br />
&nbsp; &nbsp; &quot;base&quot;: &quot;cool gray, ink wash tones&quot;,<br />
&nbsp; &nbsp; &quot;accent&quot;: &quot;gold highlights&quot;,<br />
&nbsp; &nbsp; &quot;contrast&quot;: &quot;high&quot;,<br />
&nbsp; &nbsp; &quot;saturation&quot;: &quot;medium-low&quot;<br />
&nbsp; },<br />
<br />
&nbsp; &quot;camera&quot;: {<br />
&nbsp; &nbsp; &quot;angle&quot;: &quot;slightly low angle&quot;,<br />
&nbsp; &nbsp; &quot;lens&quot;: &quot;85mm portrait&quot;,<br />
&nbsp; &nbsp; &quot;focus&quot;: &quot;sharp on face&quot;,<br />
&nbsp; &nbsp; &quot;depth_of_field&quot;: &quot;shallow&quot;<br />
&nbsp; },<br />
<br />
&nbsp; &quot;post_processing&quot;: {<br />
&nbsp; &nbsp; &quot;effects&quot;: [<br />
&nbsp; &nbsp; &nbsp; &quot;film grain subtle&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;light bloom&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;mist overlay&quot;,<br />
&nbsp; &nbsp; &nbsp; &quot;sharpness enhancement&quot;<br />
&nbsp; &nbsp; ]<br />
&nbsp; },<br />
<br />
&nbsp; &quot;output&quot;: {<br />
&nbsp; &nbsp; &quot;resolution&quot;: &quot;8k&quot;,<br />
&nbsp; &nbsp; &quot;quality&quot;: &quot;ultra&quot;,<br />
&nbsp; &nbsp; &quot;format&quot;: &quot;cinematic poster&quot;<br />
&nbsp; }<br />
}</div></td></tr></tbody></table></div>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="GPT-image-2,AI图片生成利器" href="http://www.kuaipao8.com/?p=2047">GPT-image-2,AI图片生成利器</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2047</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>antdui a-table滚动加载</title>
		<link>http://www.kuaipao8.com/?p=2041</link>
		<comments>http://www.kuaipao8.com/?p=2041#comments</comments>
		<pubDate>Wed, 24 Sep 2025 09:03:42 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2041</guid>
		<description><![CDATA[mounted 12345678&#160; &#160; //滚动监听事件 &#160; &#160; th [...]]]></description>
				<content:encoded><![CDATA[<p>mounted</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; //滚动监听事件<br />
&nbsp; &nbsp; this.$nextTick(() =&gt; {<br />
&nbsp; &nbsp; &nbsp; const tableComponent = this.$refs.myTable;<br />
&nbsp; &nbsp; &nbsp; if (tableComponent) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; const tableContainer = tableComponent.$el.querySelector('.ant-table-body');<br />
&nbsp; &nbsp; &nbsp; &nbsp; tableContainer.addEventListener('scroll', this.handleScroll);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; })</div></td></tr></tbody></table></div>
<p>beforeUnmount</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;this.$nextTick(() =&gt; {<br />
&nbsp; &nbsp; &nbsp; const tableComponent = this.$refs.myTable;<br />
&nbsp; &nbsp; &nbsp; if (tableComponent) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; const tableContainer = tableComponent.$el.querySelector('.ant-table-body');<br />
&nbsp; &nbsp; &nbsp; &nbsp; tableContainer.removeEventListener('scroll', this.handleScroll);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;})</div></td></tr></tbody></table></div>
<p>method</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">handleScroll(){<br />
&nbsp; &nbsp; &nbsp;const tableComponent = this.$refs.myTable;<br />
&nbsp; &nbsp; &nbsp;const tableContainer = tableComponent.$el.querySelector('.ant-table-body');<br />
&nbsp; &nbsp; &nbsp;const scrollPosition = tableContainer.scrollTop;<br />
&nbsp; &nbsp; &nbsp;const isAtTop = scrollPosition === 0;<br />
&nbsp; &nbsp; &nbsp;if (isAtTop) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; //已滚动到顶部，执行相应操作<br />
&nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp;const isAtBottom = Math.abs(tableContainer.scrollHeight - scrollPosition - tableContainer.clientHeight)&lt;1;<br />
&nbsp; &nbsp; &nbsp;if (isAtBottom) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;// 已滚动到底部，执行相应操作<br />
&nbsp; &nbsp; &nbsp; &nbsp;this.fetchData({<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...this.searchFormValues,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page: ++this.currentPage<br />
&nbsp; &nbsp; &nbsp; &nbsp;});<br />
&nbsp; &nbsp; &nbsp;}<br />
}</div></td></tr></tbody></table></div>
<p>fetchData</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">fetchData(params) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;// 模拟异步获取数据，实际应用中应替换为API调用<br />
&nbsp; &nbsp; &nbsp; this.loading = true;<br />
&nbsp; &nbsp; &nbsp; params.size=20;<br />
&nbsp; &nbsp; &nbsp; params.bimId =this.modelId;<br />
&nbsp; &nbsp; &nbsp; params.bimVersion=this.versionId;<br />
&nbsp; &nbsp; &nbsp; if(this.currentPage &gt; this.totalPage) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// this.$message.warn('已经到底了...')<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.tips=&quot;已经到底了...&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.isShowTips=true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; let that=this;<br />
&nbsp; &nbsp; &nbsp; &nbsp; setTimeout(function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; that.isShowTips=false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; },500)<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.loading = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; return;<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; API.bimBillQuotaItemPage(params).then(data =&gt; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (data.code === 0) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.totalPage = data.data.totalPage;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; let newData = data.data.rows;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.data = [...this.data, ...newData];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.loading = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.$message.error(data.msg);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.loading = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; // setTimeout(() =&gt; {<br />
&nbsp; &nbsp; &nbsp; // &nbsp; const newData = Array.from({ length: this.pageSize }, (_, index) =&gt; ({<br />
&nbsp; &nbsp; &nbsp; // &nbsp; &nbsp; key: this.data.length + index, // 生成唯一key值<br />
&nbsp; &nbsp; &nbsp; // &nbsp; &nbsp; name: `Item ${this.data.length + index + 1}`, // 示例数据生成逻辑<br />
&nbsp; &nbsp; &nbsp; // &nbsp; &nbsp; code: Math.floor(Math.random() * 100), // 示例数据生成逻辑<br />
&nbsp; &nbsp; &nbsp; // &nbsp; }));<br />
&nbsp; &nbsp; &nbsp; // &nbsp; this.data = [...this.data, ...newData]; // 追加新数据到数组中<br />
&nbsp; &nbsp; &nbsp; // }, 1000); // 模拟延迟，实际应用中应为网络请求时间<br />
&nbsp; &nbsp; },</div></td></tr></tbody></table></div>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="antdui a-table滚动加载" href="http://www.kuaipao8.com/?p=2041">antdui a-table滚动加载</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2041</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vue项目打包慢怎么解决</title>
		<link>http://www.kuaipao8.com/?p=2029</link>
		<comments>http://www.kuaipao8.com/?p=2029#comments</comments>
		<pubDate>Tue, 14 Jan 2025 06:51:25 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[win8应用]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2029</guid>
		<description><![CDATA[让我们来看一下为什么Vue项目会打包慢。Vue项目打包慢可能有以下几个原因： 1. 项目结构复杂：如果您的项目 [...]]]></description>
				<content:encoded><![CDATA[<p>让我们来看一下为什么Vue项目会打包慢。Vue项目打包慢可能有以下几个原因：</p>
<p>1. 项目结构复杂：如果您的项目结构过于复杂，包含了大量的组件和依赖，那么打包的过程会变得很慢。</p>
<p>2. 依赖包过多：如果您的项目使用了大量的第三方依赖包，那么打包的过程会变得很慢。这是因为每个依赖包都需要被打包成最终的输出文件。</p>
<p>3. 代码未优化：如果您的代码存在冗余、重复或低效的部分，那么打包的过程会变得很慢。</p>
<p>现在，让我们来看一些解决Vue项目打包慢的方法：</p>
<p>1. 优化项目结构：尽量简化项目结构，减少不必要的组件和依赖。将项目拆分为更小的模块，只加载需要的部分。</p>
<p>2. 减少依赖包：检查项目中使用的第三方依赖包，删除不必要的或重复的依赖。使用CDN引入一些常用的库，减少打包体积。</p>
<p>3. 代码优化：优化代码结构和逻辑，减少冗余和重复的代码。使用Vue的异步组件和按需加载功能，只在需要时才加载组件。</p>
<p>4. 使用Webpack优化：使用Webpack的优化配置，如代码分割、压缩、缓存等。合理配置Webpack的Loader和Plugin，减少打包时间。</p>
<p>5. 使用多线程编译：使用工具如HappyPack或thread-loader将打包过程中的一些耗时操作转交给多个线程来处理，提高打包速度。</p>
<p>6. 使用CDN加速：将一些公共的静态资源如Vue、React等库文件使用CDN引入，减少打包时间。</p>
<p>总结一下，要解决Vue项目打包慢的问题，您可以优化项目结构，减少依赖包，优化代码，使用Webpack优化配置，使用多线程编译，以及使用CDN加速等方法。通过这些方法，您可以显著提高Vue项目的打包速度，提升开发效率。</p>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="vue项目打包慢怎么解决" href="http://www.kuaipao8.com/?p=2029">vue项目打包慢怎么解决</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2029</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>路径分享，记得带上encodeURIComponent</title>
		<link>http://www.kuaipao8.com/?p=2021</link>
		<comments>http://www.kuaipao8.com/?p=2021#comments</comments>
		<pubDate>Fri, 29 Nov 2024 07:53:57 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[win8应用]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2021</guid>
		<description><![CDATA[路径分享 123&#160;let record={} &#160;let strRecord=encodeU [...]]]></description>
				<content:encoded><![CDATA[<p>路径分享</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;let record={}<br />
&nbsp;let strRecord=encodeURIComponent(JSON.stringify(record));<br />
&nbsp;this.linkValue=location.origin + location.pathname + `#/modelShareView?shareCode=${code}&amp;pid=${Vue.ls.get('pid')}&amp;record=${strRecord}`;</div></td></tr></tbody></table></div>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="路径分享，记得带上encodeURIComponent" href="http://www.kuaipao8.com/?p=2021">路径分享，记得带上encodeURIComponent</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2021</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vue vue-clipboard2(vue复制功能)</title>
		<link>http://www.kuaipao8.com/?p=2020</link>
		<comments>http://www.kuaipao8.com/?p=2020#comments</comments>
		<pubDate>Thu, 28 Nov 2024 02:56:13 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2020</guid>
		<description><![CDATA[1、安装 1npm install --save vue-clipboard2 2、main.js引入 12i [...]]]></description>
				<content:encoded><![CDATA[<p>1、安装</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">npm install --save vue-clipboard2</div></td></tr></tbody></table></div>
<p>2、main.js引入</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">import VueClipboard from 'vue-clipboard2';<br />
Vue.use(VueClipboard);</div></td></tr></tbody></table></div>
<p>3、用法：</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;&lt;button class=&quot;but&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type=&quot;primary&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; size=&quot;small&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; v-clipboard:copy=&quot;key&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; v-clipboard:success=&quot;onCopy&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; v-clipboard:error=&quot;onError&quot;&gt;复制&lt;/button&gt;</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp;onCopy(){ <br />
&nbsp; &nbsp; &nbsp; let that=this;<br />
&nbsp; &nbsp; &nbsp; that.$copyText(this.linkValue).then(function (e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; that.$message.success('链接复制成功');<br />
&nbsp; &nbsp; &nbsp; &nbsp; }, function (e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; that.$message.error('链接复制失败');<br />
&nbsp; &nbsp; &nbsp; })<br />
&nbsp; &nbsp; },</div></td></tr></tbody></table></div>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="vue vue-clipboard2(vue复制功能)" href="http://www.kuaipao8.com/?p=2020">vue vue-clipboard2(vue复制功能)</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2020</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>antdui vue中a-dropdown的脚本报错</title>
		<link>http://www.kuaipao8.com/?p=2011</link>
		<comments>http://www.kuaipao8.com/?p=2011#comments</comments>
		<pubDate>Mon, 18 Nov 2024 01:02:48 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2011</guid>
		<description><![CDATA[一个老项目，忽然各种脚本报错，看了半天也没发现啥问题。 后面才发现，原来是小朋友代码写得不够规范。 antdu [...]]]></description>
				<content:encoded><![CDATA[<p>一个老项目，忽然各种脚本报错，看了半天也没发现啥问题。<br />
后面才发现，原来是小朋友代码写得不够规范。<br />
antdui vue 用的1.0版本</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;template&gt;<br />
&nbsp; &lt;a-dropdown&gt;<br />
&nbsp; &nbsp; &lt;a class=&quot;ant-dropdown-link&quot; @click=&quot;e =&gt; e.preventDefault()&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; Hover me &lt;a-icon type=&quot;down&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/a&gt;<br />
&nbsp; &nbsp; &lt;a-menu slot=&quot;overlay&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;a-menu-item&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;javascript:;&quot;&gt;1st menu item&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/a-menu-item&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;a-menu-item&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;javascript:;&quot;&gt;2nd menu item&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/a-menu-item&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;a-menu-item&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;javascript:;&quot;&gt;3rd menu item&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/a-menu-item&gt;<br />
&nbsp; &nbsp; &lt;/a-menu&gt;<br />
&nbsp; &lt;/a-dropdown&gt;<br />
&lt;/template&gt;</div></td></tr></tbody></table></div>
<p>下面这玩意儿一定不能少！！！<br />
会导致各种更新渲染节点脚本异常。<br />
功能虽然能用，就是控制台一堆红</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;a class=&quot;ant-dropdown-link&quot; @click=&quot;e =&gt; e.preventDefault()&quot;&gt;&lt;/a&gt;</div></td></tr></tbody></table></div>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="antdui vue中a-dropdown的脚本报错" href="http://www.kuaipao8.com/?p=2011">antdui vue中a-dropdown的脚本报错</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2011</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tarojs/cli 安装 卸载 升级</title>
		<link>http://www.kuaipao8.com/?p=2007</link>
		<comments>http://www.kuaipao8.com/?p=2007#comments</comments>
		<pubDate>Mon, 18 Nov 2024 00:47:22 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2007</guid>
		<description><![CDATA[跑一个3年前的taro项目，忽然跑不起来了。 后面发现原来是tarojs/cli的版本和package.jso [...]]]></description>
				<content:encoded><![CDATA[<p>跑一个3年前的taro项目，忽然跑不起来了。<br />
后面发现原来是tarojs/cli的版本和package.json的版本不一致。<br />
导致的各种报错，简直太糟糕了！</p>
<p>卸载：<br />
# npm uninstall -g @tarojs/cli</p>
<p>安装：<br />
# npm install -g @tarojs/cli@安装最新版<br />
保持和package.json一致，要不容易出现各种报错。</p>
<p>升级<br />
# taro update self<br />
升级taro版本</p>
<p><del datetime="2024-11-18T00:48:40+00:00"># taro update projectName<br />
更改package.json的文件</del></p>
<p>查看当前版本<br />
npm info @tarojs/cli</p>
<p>有时候可能npm 下载网络慢，可以清理下缓存<br />
npm cache clean --force</p>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="tarojs/cli 安装 卸载 升级" href="http://www.kuaipao8.com/?p=2007">tarojs/cli 安装 卸载 升级</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2007</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>团队建设经典故事</title>
		<link>http://www.kuaipao8.com/?p=2005</link>
		<comments>http://www.kuaipao8.com/?p=2005#comments</comments>
		<pubDate>Thu, 18 Jul 2024 06:50:55 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[项目管理]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=2005</guid>
		<description><![CDATA[和尚争功，香火不盛的故事—— 三个和尚在一所破寺院里相遇。“这所寺院为什么荒废了?”不知是谁提出的问题。 “必 [...]]]></description>
				<content:encoded><![CDATA[<p>和尚争功，香火不盛的故事——</p>
<p>三个和尚在一所破寺院里相遇。“这所寺院为什么荒废了?”不知是谁提出的问题。</p>
<p>“必是和尚不虔，所以菩萨不灵。”甲和尚说。</p>
<p>“必是和尚不勤，所以庙产不修。”乙和尚说。</p>
<p>“必是和尚不敬，所以香客不多。”丙和尚说。</p>
<p>三人争执不休，最后决定留下来各尽其能，看看谁能最后获得成功。</p>
<p>于是，甲和尚礼佛念经，乙和尚整理庙务，丙和尚化缘讲经。果然香火渐盛，原来的寺院恢复了往日的壮观。</p>
<p>“都因为我礼佛念经，所以菩萨显灵。”甲和尚说。</p>
<p>“都因为我勤加管理，所以寺务周全。”乙和尚说。</p>
<p>“都因为我劝世奔走，所以香客众多。”丙和尚说。</p>
<p>三人争执不休、不事正务，渐渐地，寺院里的盛况又逐渐消失了。</p>
<p>议一议：</p>
<p>问题组织表现在哪里呢?试图回答下面问题，归纳问题组织的种种表现。</p>
<p>1.三个和尚组成的团队目标在那里?</p>
<p>2.他们的团队执行力和生命力来自何方?</p>
<p>3.他们的团队为什么由盛转衰最终失败?</p>
<p>4.他们的团队关键的问题出在什么地方?</p>
<p>一劳永逸构建理想的团队</p>
<p>从前，有两个饥饿的人得到了一位长者的恩赐：一根渔竿和一篓鲜活硕大的鱼。<br />
其中，一个人要了一篓鱼，另一个人要了一根渔竿，于是他们分道扬镳了。<br />
得到鱼的人原地就用干柴搭起篝火煮起了鱼，<br />
他狼吞虎咽，还没有品出鲜鱼的肉香，转瞬间，连鱼带汤就被他吃了个精光，<br />
不久，他便饿死在空空的鱼篓旁。另一个人则提着渔竿继续忍饥挨饿，<br />
一步步艰难地向海边走去，可当他看到不远处那片蔚蓝色的海洋时，<br />
他浑身的最后一点力气也使完了，他也只能眼巴巴地带着遗憾撒手人间。</p>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="团队建设经典故事" href="http://www.kuaipao8.com/?p=2005">团队建设经典故事</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=2005</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uniAPP开发总结</title>
		<link>http://www.kuaipao8.com/?p=1985</link>
		<comments>http://www.kuaipao8.com/?p=1985#comments</comments>
		<pubDate>Wed, 22 May 2024 08:20:26 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[微信小程序]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=1985</guid>
		<description><![CDATA[1、android app 套页面需要webView，通讯用@posttMessage。 2、android  [...]]]></description>
				<content:encoded><![CDATA[<p>1、android app 套页面需要webView，通讯用@posttMessage。<br />
2、android app 上传文件可用iframe方式。<br />
3、级联组件可选任一级别，可用nodeclick配合closeChanged和clearChanged事件。注意closeChanged为异步方法。<br />
4、下拉多选组件，需要自己开发组件。<br />
5、必填注意表单提交的name配合rules。<br />
6、动态表单，记得初始化数组。<br />
7、可用逍遥模拟器模拟APP。<br />
8、自定义导航:page.json //"navigationStyle": "custom" // 使用自定义导航栏，系统会关闭默认的原生导航栏<br />
9、性能问题：uniApp在某些方面的性能可能不如原生应用。解决方法是优化代码，减少页面渲染的复杂度，使用性能更高的组件，以及对于复杂的列表使用虚拟列表等技术。<br />
10、路由机制问题：uniApp的路由机制与Vue.js的路由不完全相同。解决方法是遵循uniApp的路由规范，并使用其提供的路由API。<br />
11、 关于webview⽅⾯，app的webview布局采⽤flex布局，千万不要⽤浮动。<br />
12、 uni.getSystemInfoSync()最好在onReady中获取，不然某些⼿机会获取出问题。<br />
13、 如果给uni.showToast不加title的话，会显⽰成⼀个⼩⿊点。<br />
14、 样式覆盖用::v-deep<br />
15、 报表显示，可直接用table布局<br />
16、100vh page铺满<br />
17、input和键盘的距离通过cursor-spacing属性<br />
18、intanceOf 判断Array ，APP端会返回false。老实点，Array.isArray来判断<br />
19、v-for key最好规范写，要不APP端容易出幺蛾子<br />
20、uni-file-picker v-model绑定的值和实际的值不一致。创建一个新数组，在页面初始化的时候，将请求回来的数据赋值给新数组，在上传文件的方法uploadselect里面对新数据进行push()新数据。然后再delete方法里面对数据进行splice().最后使用新数组的数据作为参数返回给后端。原来的image数组的数据就只用来展示。新数组的数据用来回显，这样就避免了，picker修改v-model绑定的数据了。</p>
<p>希望官网早日修复这些个bug，也希望这个文章能对遇到这个bug的码农们能够有所帮助。</p>
<p><a href="https://blog.csdn.net/zhgweb/article/details/132499886" title="其他资料">其他资料<br />
</a></p>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="uniAPP开发总结" href="http://www.kuaipao8.com/?p=1985">uniAPP开发总结</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=1985</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为何自适应的网页放入iframe不自适应了？</title>
		<link>http://www.kuaipao8.com/?p=1978</link>
		<comments>http://www.kuaipao8.com/?p=1978#comments</comments>
		<pubDate>Mon, 22 Apr 2024 01:29:41 +0000</pubDate>
		<dc:creator>zongyan86</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.kuaipao8.com/?p=1978</guid>
		<description><![CDATA[来看答案： 123456789101112131415161718192021222324&#60;!DOCTY [...]]]></description>
				<content:encoded><![CDATA[<p>来看答案：</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;!DOCTYPE html&gt;<br />
&lt;html lang=&quot;en&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;<br />
&lt;style&gt;<br />
&nbsp; /* 确保父容器宽度100% */<br />
&nbsp; body, html {<br />
&nbsp; &nbsp; margin: 0;<br />
&nbsp; &nbsp; padding: 0;<br />
&nbsp; &nbsp; width: 100%;<br />
&nbsp; &nbsp; height: 100%;<br />
&nbsp; }<br />
&nbsp; /* 设置iframe自适应 */<br />
&nbsp; iframe {<br />
&nbsp; &nbsp; border: none;<br />
&nbsp; &nbsp; width: 100%;<br />
&nbsp; &nbsp; height: 100%;<br />
&nbsp; }<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;iframe src=&quot;http://www.juzikong.net/&quot;&gt;&lt;/iframe&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</div></td></tr></tbody></table></div>
<p><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;">声明:</span> 本文采用 <a rel="nofollow" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="署名-非商业性使用-相同方式共享">BY-NC-SA</a> 协议进行授权 | <a href="http://www.kuaipao8.com">WEB开发分享</a><br />转载请注明转自《<a rel="bookmark" title="为何自适应的网页放入iframe不自适应了？" href="http://www.kuaipao8.com/?p=1978">为何自适应的网页放入iframe不自适应了？</a>》</p>]]></content:encoded>
			<wfw:commentRss>http://www.kuaipao8.com/?feed=rss2&#038;p=1978</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
