JavaScript+canvas 实现五子棋游戏

   日期:2020-07-06     浏览:97    评论:0    
核心提示: 五子棋</div><div id="content"><div class="content" id="article"><pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>meta http<span>-</span>equiv<span>=</span><span>"X-UA-Compatible"</span> content<span>=</span><span>"ie=edge"</span><span>></span> <span><</span>title<span>></span>五子棋<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span><span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> <span>}</span> html<span>,</span>body<span>{</span> position<span>:</span> relative<span>;</span> background<span>-</span>color<span>:</span> #<span>336</span><span>;</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span><span>%</span><span>;</span> <span>}</span> p<span>{</span> font<span>-</span>size<span>:</span> <span>20</span>px<span>;</span> color<span>:</span> #fff<span>;</span> text<span>-</span>align<span>:</span> center<span>;</span> padding<span>-</span>top<span>:</span> <span>20</span>px<span>;</span> <span>}</span> #canvas<span>{</span> position<span>:</span> absolute<span>;</span> display<span>:</span> block<span>;</span> top<span>:</span> <span>0</span><span>;</span> bottom<span>:</span> <span>0</span><span>;</span> left<span>:</span> <span>0</span><span>;</span> right<span>:</span> <span>0</span><span>;</span> margin<span>:</span> auto<span>;</span> background<span>-</span>color<span>:</span> #fff<span>;</span> width<span>:</span> <span>480</span>px<span>;</span> height<span>:</span> <span>480</span>px<span>;</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>p id<span>=</span><span>"order"</span><span>></span>该黑棋落子了!<span><</span><span>/</span>p<span>></span> <span><</span>canvas id<span>=</span><span>"canvas"</span> width<span>=</span><span>"480"</span> height<span>=</span><span>"480"</span><span>></span><span><</span><span>/</span>canvas<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span>script<span>></span> <span>var</span> p <span>=</span> document<span>.</span><span>getElementById</span><span>(</span><span>"order"</span><span>)</span><span>;</span> <span>var</span> canvas <span>=</span> document<span>.</span><span>querySelector</span><span>(</span><span>"#canvas"</span><span>)</span><span>;</span> <span>var</span> context <span>=</span> canvas<span>.</span><span>getContext</span><span>(</span><span>'2d'</span><span>)</span><span>;</span> <span>var</span> cw<span>,</span>ch<span>,</span>count<span>=</span><span>0</span><span>,</span> t <span>=</span> canvas<span>.</span>offsetTop<span>,</span> l <span>=</span> canvas<span>.</span>offsetLeft<span>;</span> <span>var</span> state <span>=</span> <span>new</span> <span>Array</span><span>(</span><span>)</span><span>;</span> <span>~</span><span>~</span><span>function</span> <span>setSize</span><span>(</span><span>)</span><span>{</span> window<span>.</span>onresize <span>=</span> arguments<span>.</span>callee<span>;</span> cw <span>=</span> window<span>.</span>innerWidth<span>;</span> ch <span>=</span> window<span>.</span>innerHeight<span>;</span> canvas<span>.</span>width <span>=</span> cw<span>;</span> canvas<span>.</span>height <span>=</span> ch<span>;</span> <span>}</span> <span>function</span> <span>initArray</span><span>(</span>state<span>)</span><span>{</span> <span>for</span><span>(</span><span>var</span> i<span>=</span><span>0</span><span>;</span>i<span><</span><span>15</span><span>;</span>i<span>++</span><span>)</span><span>{</span> state<span>[</span>i<span>]</span> <span>=</span> <span>new</span> <span>Array</span><span>(</span><span>)</span><span>;</span> <span>for</span><span>(</span><span>var</span> j<span>=</span><span>0</span><span>;</span>j<span><</span><span>15</span><span>;</span>j<span>++</span><span>)</span><span>{</span> state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>=</span> <span>-</span><span>1</span><span>;</span> <span>}</span> <span>}</span> <span>}</span> <span>function</span> <span>init</span><span>(</span><span>)</span><span>{</span> <span>//画棋盘</span> context<span>.</span><span>beginPath</span><span>(</span><span>)</span><span>;</span> <span>for</span><span>(</span><span>var</span> i<span>=</span><span>1</span><span>;</span>i<span><</span><span>16</span><span>;</span>i<span>++</span><span>)</span><span>{</span> context<span>.</span><span>moveTo</span><span>(</span><span>30</span><span>*</span>i<span>,</span><span>30</span><span>)</span><span>;</span> context<span>.</span><span>lineTo</span><span>(</span><span>30</span><span>*</span>i<span>,</span><span>450</span><span>)</span><span>;</span> <span>}</span> <span>for</span><span>(</span><span>var</span> i<span>=</span><span>1</span><span>;</span>i<span><</span><span>16</span><span>;</span>i<span>++</span><span>)</span><span>{</span> context<span>.</span><span>moveTo</span><span>(</span><span>30</span><span>,</span><span>30</span><span>*</span>i<span>)</span><span>;</span> context<span>.</span><span>lineTo</span><span>(</span><span>450</span><span>,</span><span>30</span><span>*</span>i<span>)</span><span>;</span> <span>}</span> context<span>.</span><span>stroke</span><span>(</span><span>)</span><span>;</span> <span>//画棋点</span> <span>draw</span><span>(</span><span>240</span><span>,</span><span>240</span><span>,</span><span>3</span><span>)</span><span>;</span> <span>draw</span><span>(</span><span>120</span><span>,</span><span>120</span><span>,</span><span>3</span><span>)</span><span>;</span> <span>draw</span><span>(</span><span>360</span><span>,</span><span>120</span><span>,</span><span>3</span><span>)</span><span>;</span> <span>draw</span><span>(</span><span>120</span><span>,</span><span>360</span><span>,</span><span>3</span><span>)</span><span>;</span> <span>draw</span><span>(</span><span>360</span><span>,</span><span>360</span><span>,</span><span>3</span><span>)</span><span>;</span> <span>}</span> <span>//画空心圆</span> <span>function</span> <span>draw</span><span>(</span>x<span>,</span>y<span>,</span>r<span>)</span><span>{</span> context<span>.</span><span>beginPath</span><span>(</span><span>)</span><span>;</span> context<span>.</span><span>arc</span><span>(</span>x<span>,</span>y<span>,</span>r<span>,</span><span>0</span><span>,</span>Math<span>.</span><span>PI</span><span>*</span><span>2</span><span>)</span><span>;</span> context<span>.</span><span>stroke</span><span>(</span><span>)</span><span>;</span> <span>}</span> <span>function</span> <span>Chess</span><span>(</span><span>)</span><span>{</span><span>}</span><span>;</span> Chess<span>.</span>prototype <span>=</span> <span>{</span> <span>//画棋子</span> drawChess<span>:</span> <span>function</span><span>(</span>x<span>,</span>y<span>,</span>r<span>)</span><span>{</span> <span>this</span><span>.</span>x <span>=</span> x<span>;</span> <span>this</span><span>.</span>y <span>=</span> y<span>;</span> <span>this</span><span>.</span>r <span>=</span> r<span>;</span> <span>if</span><span>(</span>count <span>==</span> <span>0</span><span>)</span><span>{</span> context<span>.</span>fillStyle <span>=</span> <span>"black"</span><span>;</span> count <span>=</span> <span>1</span><span>;</span> <span>}</span> <span>else</span><span>{</span> context<span>.</span>fillStyle <span>=</span> <span>"white"</span><span>;</span> count <span>=</span> <span>0</span><span>;</span> <span>}</span> context<span>.</span><span>beginPath</span><span>(</span><span>)</span><span>;</span> context<span>.</span><span>arc</span><span>(</span>x<span>,</span>y<span>,</span>r<span>,</span><span>0</span><span>,</span>Math<span>.</span><span>PI</span><span>*</span><span>2</span><span>)</span><span>;</span> context<span>.</span><span>fill</span><span>(</span><span>)</span><span>;</span> <span>}</span><span>,</span> <span>//判断胜负</span> rule<span>:</span> <span>function</span><span>(</span>ix<span>,</span>iy<span>,</span>s<span>)</span><span>{</span> <span>var</span> hc<span>=</span><span>0</span><span>,</span>vc<span>=</span><span>0</span><span>,</span>rdc<span>=</span><span>0</span><span>,</span>luc<span>=</span><span>0</span><span>;</span> <span>//horizontal</span> <span>for</span><span>(</span><span>var</span> i<span>=</span>ix<span>;</span>i<span><</span><span>15</span><span>;</span>i<span>++</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>iy<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> hc<span>++</span><span>;</span> <span>}</span> <span>for</span><span>(</span><span>var</span> i<span>=</span>ix<span>-</span><span>1</span><span>;</span>i<span>>=</span><span>0</span><span>;</span>i<span>--</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>iy<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> hc<span>++</span><span>;</span> <span>}</span> <span>//vertical</span> <span>for</span><span>(</span><span>var</span> j<span>=</span>iy<span>;</span>j<span><</span><span>15</span><span>;</span>j<span>++</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>ix<span>]</span><span>[</span>j<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> vc<span>++</span><span>;</span> <span>}</span> <span>for</span><span>(</span><span>var</span> j<span>=</span>iy<span>-</span><span>1</span><span>;</span>j<span>>=</span><span>0</span><span>;</span>j<span>--</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>ix<span>]</span><span>[</span>j<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> vc<span>++</span><span>;</span> <span>}</span> <span>//rightdown</span> <span>for</span><span>(</span><span>var</span> i<span>=</span>ix<span>,</span>j<span>=</span>iy<span>;</span>i<span><</span><span>15</span> <span>&&</span> j<span><</span><span>15</span><span>;</span>i<span>++</span><span>,</span>j<span>++</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> rdc<span>++</span><span>;</span> <span>}</span> <span>for</span><span>(</span><span>var</span> i<span>=</span>ix<span>-</span><span>1</span><span>,</span>j<span>=</span>iy<span>-</span><span>1</span><span>;</span>i<span>>=</span><span>0</span> <span>&&</span> j<span>>=</span><span>0</span><span>;</span>i<span>--</span><span>,</span>j<span>--</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> rdc<span>++</span><span>;</span> <span>}</span> <span>//leftup</span> <span>for</span><span>(</span><span>var</span> i<span>=</span>ix<span>,</span>j<span>=</span>iy<span>;</span>i<span><</span><span>15</span> <span>&&</span> j<span>>=</span><span>0</span><span>;</span>i<span>++</span><span>,</span>j<span>--</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> luc<span>++</span><span>;</span> <span>}</span> <span>for</span><span>(</span><span>var</span> i<span>=</span>ix<span>-</span><span>1</span><span>,</span>j<span>=</span>iy<span>+</span><span>1</span><span>;</span>i<span>>=</span><span>0</span> <span>&&</span> j<span><</span><span>15</span><span>;</span>i<span>--</span><span>,</span>j<span>++</span><span>)</span><span>{</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>!=</span> s<span>)</span><span>{</span> <span>break</span><span>;</span> <span>}</span> luc<span>++</span><span>;</span> <span>}</span> <span>if</span><span>(</span>hc <span>==</span> <span>5</span> <span>||</span> vc <span>==</span> <span>5</span> <span>||</span> rdc <span>==</span> <span>5</span> <span>||</span> luc <span>==</span> <span>5</span><span>)</span><span>{</span> <span>if</span><span>(</span>s <span>==</span> <span>0</span><span>)</span><span>{</span> <span>alert</span><span>(</span><span>"Black Win!"</span><span>)</span><span>;</span> <span>}</span> <span>else</span><span>{</span> <span>alert</span><span>(</span><span>"White Win!"</span><span>)</span><span>;</span> <span>}</span> <span>//清空画布并初始化画布和棋子状态</span> context<span>.</span><span>clearRect</span><span>(</span><span>0</span><span>,</span><span>0</span><span>,</span><span>480</span><span>,</span><span>480</span><span>)</span><span>;</span> p<span>.</span>innerText <span>=</span> <span>"该黑棋落子了!"</span><span>;</span> <span>init</span><span>(</span><span>)</span><span>;</span> <span>initArray</span><span>(</span>state<span>)</span><span>;</span> <span>}</span> <span>}</span> <span>}</span> <span>//点击事件</span> canvas<span>.</span><span>onclick</span> <span>=</span> <span>function</span><span>(</span>e<span>)</span><span>{</span> <span>var</span> w<span>,</span>h<span>;</span> w <span>=</span> e<span>.</span>pageX <span>-</span> l<span>;</span> h <span>=</span> e<span>.</span>pageY <span>-</span> t<span>;</span> w <span>=</span> <span>parseInt</span><span>(</span><span>(</span>w<span>+</span><span>15</span><span>)</span><span>/</span><span>30</span><span>)</span> <span>*</span> <span>30</span><span>;</span> h <span>=</span> <span>parseInt</span><span>(</span><span>(</span>h<span>+</span><span>15</span><span>)</span><span>/</span><span>30</span><span>)</span> <span>*</span> <span>30</span><span>;</span> <span>var</span> i <span>=</span> w<span>/</span><span>30</span><span>-</span><span>1</span><span>;</span> <span>var</span> j <span>=</span> h<span>/</span><span>30</span><span>-</span><span>1</span><span>;</span> <span>//棋子冲突检查</span> <span>if</span><span>(</span>state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>==</span> <span>-</span><span>1</span><span>)</span><span>{</span> <span>var</span> s <span>=</span> count<span>;</span> state<span>[</span>i<span>]</span><span>[</span>j<span>]</span> <span>=</span> count<span>;</span> <span>var</span> chess <span>=</span> <span>new</span> <span>Chess</span><span>(</span><span>)</span><span>;</span> chess<span>.</span><span>drawChess</span><span>(</span>w<span>,</span>h<span>,</span><span>14</span><span>)</span><span>;</span> <span>draw</span><span>(</span>w<span>,</span>h<span>,</span><span>14</span><span>)</span><span>;</span> <span>if</span><span>(</span>s <span>==</span> <span>0</span><span>)</span><span>{</span> p<span>.</span>innerText <span>=</span> <span>"该白棋落子了!"</span><span>;</span> <span>}</span> <span>else</span><span>{</span> p<span>.</span>innerText <span>=</span> <span>"该黑棋落子了!"</span><span>;</span> <span>}</span> chess<span>.</span><span>rule</span><span>(</span>i<span>,</span>j<span>,</span>s<span>)</span><span>;</span> <span>}</span> <span>}</span> <span>init</span><span>(</span><span>)</span><span>;</span> <span>initArray</span><span>(</span>state<span>)</span><span>;</span> <span><</span><span>/</span>script<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre></div> </div> <div class="b20 c_b"> </div> <div class="award"><div onclick="Go('https://www.youqizhuangbei.com/member/award.php?mid=21&itemid=18379');">打赏</div></div> <div class="b20"> </div>  本文转载自:网络 <div class="b20"> 所有权利归属于原作者,如文章来源标示错误或侵犯了您的权利请联系微信13520258486 </div> <div class="b20"> </div> <div class="head-txt"><span><a href="https://www.youqizhuangbei.com/news/wulianwangwenzhang-c111-1.html">更多<i>></i></a></span><strong>最近资讯中心</strong></div> <div class="related"> <table width="100%"> <tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-18378.html" title="贪心之老鼠与猫的交易(详细分析)">• 贪心之老鼠与猫的交易(详细分析)</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-18377.html" title="来博客的第一天">• 来博客的第一天</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-18376.html" title="PTA 7-3 螺旋方阵(防溢出)">• PTA 7-3 螺旋方阵(防溢出)</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-18375.html" title="【纪中2020.5.06日】模拟赛题解">• 【纪中2020.5.06日】模拟赛题解</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-18374.html" title="LC.44. 通配符匹配(DP)">• LC.44. 通配符匹配(DP)</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-18373.html" title="算法设计分析题库五">• 算法设计分析题库五</a></td> </tr></table> <table width="100%"> <tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35506.html" title="Esp8266天猫精灵_RGB灯_非点灯平台">• Esp8266天猫精灵_RGB灯_非点灯平台</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35505.html" title="STM32F103 串口1和串口3对发数据 配合蓝牙模块 实现手机和单片机的简单通信demo">• STM32F103 串口1和串口3对发数据 配合蓝牙模块 </a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35504.html" title="TMS570学习【1】了解什么是TMS570">• TMS570学习【1】了解什么是TMS570</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35503.html" title="新闻稿 | Qt公司收购froglogic公司以巩固市场领导者地位">• 新闻稿 | Qt公司收购froglogic公司以巩固市场领</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35502.html" title="[Java]SpringBoot2整合mqtt服务器EMQ实现消息订阅发布入库(二)">• [Java]SpringBoot2整合mqtt服务器EMQ实现消息订</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35501.html" title="苹果群控投屏同步操作原理及运用的平台APP分享">• 苹果群控投屏同步操作原理及运用的平台APP分享</a></td> </tr></table> </div> <div class="b20"> </div> <div class="head-txt"><span><a href="https://www.youqizhuangbei.com/news/wulianwangwenzhang-c111-1.html">更多<i>></i></a></span><strong>最新资讯中心</strong></div> <div class="related"><table width="100%"> <tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35506.html" title="Esp8266天猫精灵_RGB灯_非点灯平台">• Esp8266天猫精灵_RGB灯_非点灯平台</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35505.html" title="STM32F103 串口1和串口3对发数据 配合蓝牙模块 实现手机和单片机的简单通信demo">• STM32F103 串口1和串口3对发数据 配合蓝牙模块 </a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35504.html" title="TMS570学习【1】了解什么是TMS570">• TMS570学习【1】了解什么是TMS570</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35503.html" title="新闻稿 | Qt公司收购froglogic公司以巩固市场领导者地位">• 新闻稿 | Qt公司收购froglogic公司以巩固市场领</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35502.html" title="[Java]SpringBoot2整合mqtt服务器EMQ实现消息订阅发布入库(二)">• [Java]SpringBoot2整合mqtt服务器EMQ实现消息订</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35501.html" title="苹果群控投屏同步操作原理及运用的平台APP分享">• 苹果群控投屏同步操作原理及运用的平台APP分享</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35500.html" title="STM32查询式按键输入[直接用寄存器]">• STM32查询式按键输入[直接用寄存器]</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35499.html" title="Ubuntu系统 USB设备端口绑定">• Ubuntu系统 USB设备端口绑定</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35498.html" title="2021-04-14 第四次 按键输入实验">• 2021-04-14 第四次 按键输入实验</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35497.html" title="Flutter扫码功能完美实现">• Flutter扫码功能完美实现</a></td> </tr></table> </div> <div class="b20"> </div> <div id="comment_div" style="display:;"> <div class="head-txt"><span><a href="https://www.youqizhuangbei.com/comment/index-htm-mid-21-itemid-18379.html"><b id="comment_count" class="px16 f_red">0</b> 条</a></span><strong>相关评论</strong></div> <div class="c_b" id="comment_main"><div></div></div> </div> <script type="text/javascript" src="https://www.youqizhuangbei.com/file/script/comment.js"></script> <br/> </div> <div class="m3r"> <div class="head-sub"><strong>推荐图文</strong></div> <div class="list-thumb"><table width="100%"> </table> </div> <div class="head-sub mt20"><strong>推荐资讯中心</strong></div> <div class="list-txt"><ul> </ul> </div> <div class="head-sub mt20"><strong>点击排行</strong></div> <div class="list-rank"><ul> </ul></div> <div class="head-sub mt20"><strong>最新信息</strong></div> <div class="list-rank"><ul> <li><em>1</em><a href="https://www.youqizhuangbei.com/sell/show-3.html" title="北京傲云欣欣科技公司专业提供中高压变频器维修电气设备维修">北京傲云欣欣科技公司专业提供中高压变频器维修</a></li> <li><em>2</em><a href="https://www.youqizhuangbei.com/sell/show-70.html" title="太原德力西高压变频器维修">太原德力西高压变频器维修</a></li> <li><em>3</em><a href="https://www.youqizhuangbei.com/sell/show-56.html" title="AMB安邦信高压变频器维修中降低设备故障频次的方法">AMB安邦信高压变频器维修中降低设备故障频次的</a></li> <li><i>4</i><a href="https://www.youqizhuangbei.com/sell/show-51.html" title="石家庄高压变频器维修请找北京傲云电气">石家庄高压变频器维修请找北京傲云电气</a></li> <li><i>5</i><a href="https://www.youqizhuangbei.com/sell/show-21.html" title="AMB安邦信高压变频器维修">AMB安邦信高压变频器维修</a></li> <li><i>6</i><a href="https://www.youqizhuangbei.com/sell/show-65.html" title="Samcovm三垦高压变频器维修中一些小技巧">Samcovm三垦高压变频器维修中一些小技巧</a></li> <li><i>7</i><a href="https://www.youqizhuangbei.com/sell/show-64.html" title="ABB传动ACS6000/ACS800维修中的故障分析方法">ABB传动ACS6000/ACS800维修中的故障分析方法</a></li> <li><i>8</i><a href="https://www.youqizhuangbei.com/sell/show-67.html" title="包头石家庄ABB高压变频器维修">包头石家庄ABB高压变频器维修</a></li> <li><i>9</i><a href="https://www.youqizhuangbei.com/sell/show-45.html" title="攀枝花陕西西门子罗宾康高压变频器维修厂家">攀枝花陕西西门子罗宾康高压变频器维修厂家</a></li> </ul></div> </div> </div> <div class="c_b"></div> </div> <script type="text/javascript" src="https://www.youqizhuangbei.com/file/script/content.js"></script><div class="clear"> </div> <div class="other_item"> <div class="copyrightbar"> <div class="wrapper"> <dl class="fore1"> <dt>新手指南</dt> <dd> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member/register.php">注册新用户</a></div> <div><a rel="nofollow" target="_blank" href="">操作指南</a></div> <div><a rel="nofollow" target="_blank" href="">常见问题</a></div> </dd> </dl> <dl class="fore2"> <dt>采购商服务</dt> <dd> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/sell/">找产品</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/company/">找公司</a></div> <div><a rel="nofollow" target="_blank" href="">找采购</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/news/">看资讯</a></div> </dd> </dl> <dl class="fore3"> <dt>供应商服务</dt> <dd> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member//home.php">企业商铺</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member//grade.php">VIP服务</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member//validate.php">认证服务</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/spread/">推广服务</a></div> </dd> </dl> <dl class="fore4"> <dt>交易安全</dt> <dd> <div><a target="_blank" href="">买家防骗</a></div> <div><a target="_blank" href="">卖家防骗</a></div> <div><a rel="nofollow" href="javascript:SendReport();">投诉举报</a></div> </dd> </dl> <dl class="fore5"> <dt>关注我们</dt> <dd> <div>手机网站: <a target="_blank" href="https://www.youqizhuangbei.com/mobile/mobile.php"></a></div> <div>新浪微博: <a target="_blank" href="http://" rel="nofollow"></a></div> <div>微信关注: </div> <div style="margin-top: 5px;"> <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=5fd78221597e88a4af3e2c8512a61d5f1f8dc535171ea7773562452f9042dafd"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="" title=""></a> </div> </dd> </dl> <div class="hotline"> <p class="phone">13520258486</p> <p><span class="serviceTime-normal" style="">周一至周五 9:00-18:00</span> <br>(其他时间联系在线客服)</p> <a rel="nofollow" class="btn-line-primary" href="https://www.youqizhuangbei.com/about/contact.html" target="_blank">24小时在线客服</a> </div> <span class="clear"></span> </div> <div class="wrapper mt20" id="other_item"> <div id="footer"> <div class="links" style="font-size: 14px;margin-bottom: 10px;"> 产品按字母分类: <span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=a" target="_blank">a</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=b" target="_blank">b</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=c" target="_blank">c</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=d" target="_blank">d</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=e" target="_blank">e</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=f" target="_blank">f</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=g" target="_blank">g</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=h" target="_blank">h</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=i" target="_blank">i</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=j" target="_blank">j</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=k" target="_blank">k</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=l" target="_blank">l</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=m" target="_blank">m</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=n" target="_blank">n</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=o" target="_blank">o</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=p" target="_blank">p</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=q" target="_blank">q</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=r" target="_blank">r</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=s" target="_blank">s</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=t" target="_blank">t</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=u" target="_blank">u</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=v" target="_blank">v</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=w" target="_blank">w</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=x" target="_blank">x</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=y" target="_blank">y</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=z" target="_blank">z</a></span> </div> <div class="links"> <a href="https://www.youqizhuangbei.com/about/index.html">关于我们</a> | <a href="https://www.youqizhuangbei.com/about/contact.html">联系方式</a> | <a href="https://www.youqizhuangbei.com/about/agreement.html">使用协议</a> | <a href="https://www.youqizhuangbei.com/about/copyright.html">版权隐私</a> | <a href="https://www.youqizhuangbei.com/sitemap/">网站地图</a> | <a href="https://www.youqizhuangbei.com/spread/">排名推广</a> | <a href="https://www.youqizhuangbei.com/ad/">广告服务</a> | <a href="https://www.youqizhuangbei.com/gift/" target="_blank" rel="nofollow">积分商城</a> | <a href="javascript:SendReport();" rel="nofollow">违规举报</a> </div> <div class="copyright"> <div id="copyright">(c)2008-2023 湖北傲云电气有限公司 All Rights Reserved<script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?20195b23529f03df5cb2789a744df859";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script></div> <div><a href="http://www.miibeian.gov.cn" target="_blank" rel="nofollow">鄂ICP备2020021666号-11</a></div></div> <div class="authentication"> <div class="authentication_bg"> <a rel="nofollow" target="_blank" class="cert-1" href="#" title="网络警察"></a> <a rel="nofollow" target="_blank" class="cert-2" href="#" title="网警备案"></a> <a rel="nofollow" target="_blank" class="cert-3" href="#" title="网络工商"></a> <a rel="nofollow" target="_blank" class="cert-4" href="#" title="浙江省网站信用联盟"></a> <a rel="nofollow" target="_blank" class="cert-5" href="#" title="可信网站"></a> <a rel="nofollow" target="_blank" class="cert-6" href="/" title="违法和不良信息举报中心"></a> <a rel="nofollow" target="_blank" class="cert-7" href="/" title="违法和不良信息举报中心APP下载"></a> </div> </div> </div> </div> </div> </div> <div class="feedBackWidget"> <div class="ronline"><a href="//wpa.qq.com/msgrd?v=3&uin=&site=qq&menu=yes" target="_blank" title=""></a></div> <div class="rweixin"><a href="javascript:Dqrcode();"></a></div> <div class="feedback"><a href="javascript:SendReport();"></a></div> <div class="back2top" style="display: none;"><a href="javascript:void(0);" title="返回顶部"> </a></div> </div><script type="text/javascript"> //全站悬浮右侧 $('.guess').scrollToFixed({ marginTop: $('.small-goods').outerHeight(true) - 345, limit: function() { var limit = $('.other_item').offset().top ; return limit; }, minWidth: 1000, zIndex: 999, fixed: function() { }, dontCheckForPositionFixedSupport: true }); //右侧到位自动隐藏 function changeScreen() { var itemTop = document.getElementById("other_item").offsetTop; if ($(document).scrollTop() > itemTop - 600) { $(".guess").hide(); } else if ($(window).width() < 1200) { $(".guess").hide(); } else { $(".guess").show(); } } $(window).scroll(function() { changeScreen(); }); $(window).resize(function(e) { changeScreen(); }); </script> <script type="text/javascript" src="https://www.youqizhuangbei.com/skin/st03lanskin/js/myjs.js"></script> <script type="text/javascript" src="https://www.youqizhuangbei.com/skin/st03lanskin/js/topso.js"></script> <script type="text/javascript" src="https://www.youqizhuangbei.com/skin/st03lanskin/js/scrolltofixed.js"></script> <script type="text/javascript"> </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?d7f1c93b824c5ee2887566c40d0984af"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (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>