WeatherWidget:小程序天气预报

上传者: 42138716 | 上传时间: 2021-06-03 11:31:34 | 文件大小: 1.35MB | 文件类型: ZIP
WeatherWidget 一款天气应用微信小程序 说明 I、气象数据由百度地图开放平台修改为了,需要注册账号获取 key;免费版只能获取三天的天气数据,若要获取七天的气象数据,可以申请个人开发者认证; II、d0e51c8 版本之后为版本,若未开通云开发功能,为不影响小程序正常运行,可以将版本号回退到 git reset d0e51c8 --hard,或,将云开发相关代码注释掉(包括:app.js 中的初始化、index.js 中获取 message 的代码)。若开通了云开发功能,可将相应代码部署到云上。 截图 数据来源 气象数据更换为了,使用的是个人开发者认证版。 运行前准备 ,获取 appid,配置域名白名单(在小程序后台将使用到的 API 添加到域名白名单); 注册账号,获取 'key`; 在 app.js 中替换 globalData 中的 key 为你的 key; Run an

文件下载

资源详情

[{"title":"( 87 个子文件 1.35MB ) WeatherWidget:小程序天气预报","children":[{"title":"WeatherWidget-master","children":[{"title":"components","children":[{"title":"heartbeat","children":[{"title":"heartbeat.wxss <span style='color:#111;'> 111B </span>","children":null,"spread":false},{"title":"heartbeat.wxml <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"heartbeat.json <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"heartbeat.js <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"utils.js <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.wxss <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"project.config.json <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"cloudfunction","children":[{"title":"getShareInfo","children":[{"title":"package.json <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 158B </span>","children":null,"spread":false}],"spread":true},{"title":"getHotCities","children":[{"title":"package.json <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":"getBroadcast","children":[{"title":"package.json <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 226B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app.js <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"citychoose","children":[{"title":"citychoose.json <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"citychoose.js <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"citychoose.wxss <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"citychoose.wxml <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"about","children":[{"title":"about.js <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"about.wxml <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"about.wxss <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"about.json <span style='color:#111;'> 40B </span>","children":null,"spread":false}],"spread":true},{"title":"systeminfo","children":[{"title":"systeminfo.wxml <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"systeminfo.wxss <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"systeminfo.json <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"systeminfo.js <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"index","children":[{"title":"index.wxml <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 16.17KB </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"index.json <span style='color:#111;'> 160B </span>","children":null,"spread":false}],"spread":true},{"title":"setting","children":[{"title":"setting.json <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"setting.wxml <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"setting.js <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"setting.wxss <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"img","children":[{"title":"setting.png <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"lifestyle_comf.png <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"search_grey.png <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"weather.png <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"info.png <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"lifestyle_mu.png <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"arrow.png <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"qq.png <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"lifestyle_sport.png <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"danger.png <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"lifestyle_fsh.png <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"weather.jpg <span style='color:#111;'> 74.89KB </span>","children":null,"spread":false},{"title":"question.png <span style='color:#111;'> 1007B </span>","children":null,"spread":false},{"title":"location_s_w.png <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"location.png <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"lifestyle_ag.png <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"lifestyle_cw.png <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"lifestyle_trav.png <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"more.png <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"lifestyle_ac.png <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"yun.jpg <span style='color:#111;'> 43.63KB </span>","children":null,"spread":false},{"title":"share_circle.png <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"xue.jpg <span style='color:#111;'> 162.70KB </span>","children":null,"spread":false},{"title":"lifestyle_drsg.png <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"yu.jpg <span style='color:#111;'> 137.44KB </span>","children":null,"spread":false},{"title":"heartbeat.png <span style='color:#111;'> 18.25KB </span>","children":null,"spread":false},{"title":"qing.jpg <span style='color:#111;'> 303.72KB </span>","children":null,"spread":false},{"title":"lifestyle_flu.png <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"github.png <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"down-arrow.png <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"lifestyle_gl.png <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"search.png <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"city.png <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"up-arrow.png <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"lifestyle_uv.png <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"lifestyle_airc.png <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"share.jpg <span style='color:#111;'> 98.54KB </span>","children":null,"spread":false},{"title":"mobile.png <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"lifestyle_ptfc.png <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"menu.png <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"lifestyle_air.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"down.png <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"yin.jpg <span style='color:#111;'> 259.80KB </span>","children":null,"spread":false},{"title":"wechat.png <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"bg5.jpg <span style='color:#111;'> 119.55KB </span>","children":null,"spread":false},{"title":"wu.jpg <span style='color:#111;'> 83.26KB </span>","children":null,"spread":false},{"title":"unlock.png <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"email.png <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"lifestyle_spi.png <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false}],"spread":false},{"title":"app.json <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"data","children":[{"title":"staticData.js <span style='color:#111;'> 15.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明