调用地区天气预报代码

来源:互联网 发布:淘宝有哪些好的鞋店 编辑:程序博客网 时间:2024/05/16 18:28

推荐三个网址可以生产天气代码 以江西、萍乡为例:

1.  http://tianqi.eastday.com/plugin/setting.html?style=3dSmall3day&btype=weaPlugin&subtype=3d&idx=1&secidx=1

<iframe allowtransparency="true" frameborder="0" width="290" height="96" scrolling="no" src="//tianqi.eastday.com/plugin/widget_v1.html?sc=2&z=3&t=0&v=0&d=2&bd=0&k=&f=&q=1&a=1&c=71402&w=290&h=96&align=center"></iframe>

2. http://tianqi.2345.com/plugin/setting.htm

<iframe allowtransparency="true" frameborder="0" width="290" height="96" scrolling="no" src="//tianqi.2345.com/plugin/widget/index.htm?s=2&z=1&t=0&v=0&d=2&bd=0&k=&f=<f=009944&htf=cc0000&q=1&e=1&a=1&c=71402&w=290&h=96&align=center"></iframe>

3. http://tianqi.5ikfc.com/freecode/

<iframe src="http://tianqi.5ikfc.com:90/plugin-code/?style=1&dy=3&city=pingxiang" allowTransparency="true" frameborder="0" scrolling="no" width="680" height="50" id="weather_frame"></iframe>

里面样式、大小可以根据自己需求调整