wx:key =>设置key
![](https://img-blog.csdnimg.cn/img_convert/8e520f4adfef48008639662a3700eb73.png)
![](https://img-blog.csdnimg.cn/img_convert/642393070a1c4f4d84a272fa4995eeef.png)
{{xx}} 循环打印对应的东西
![](https://img-blog.csdnimg.cn/img_convert/ddcf1fc3b7104161bfbeab0181c63190.png)
![](https://img-blog.csdnimg.cn/img_convert/386a50247d2d4e68844b8b18339eb640.png)
![](https://img-blog.csdnimg.cn/img_convert/8e200c67456047b386e5848d52895bd2.png)
导入外联的样式表:
定义
![](https://img-blog.csdnimg.cn/img_convert/05883f91d0e4467ca7398d40badf08d8.png)
导入到wxss中:
![](https://img-blog.csdnimg.cn/img_convert/5c1acf576d444a309b65639a7196c068.png)
wxml定义class=‘username’
![](https://img-blog.csdnimg.cn/img_convert/b2ed2036d7184f1c921b7b0cdc5cb232.png)
rpx
![](https://img-blog.csdnimg.cn/img_convert/99d9638c632248c3b07561aad102e01f.png)
权重:(0,0,1)
![](https://img-blog.csdnimg.cn/img_convert/dec6d60a9409410b9ee11b48103a9f6d.png)
app.json window 导航栏 背景区域
![](https://img-blog.csdnimg.cn/img_convert/78288a8793f040318a4869c4226a719d.png)
![](https://img-blog.csdnimg.cn/img_convert/6d16e32cb0e84d6fbcf9e86e2974d653.png)
![](https://img-blog.csdnimg.cn/img_convert/488bd1eed09b4d8cbf04e909300902df.png)
![](https://img-blog.csdnimg.cn/img_convert/2ccbd35859dc41e8a738f0dba816493d.png)
![](https://img-blog.csdnimg.cn/img_convert/73c8686b970d4e319212b90d548c59eb.png)
![](https://img-blog.csdnimg.cn/img_convert/829c0a5041a24e89b0b532d2b79b65d8.png)
![](https://img-blog.csdnimg.cn/img_convert/16da01b0bbf24017ab8abbd8f2d8af1f.png)
![](https://img-blog.csdnimg.cn/img_convert/d89e024aa23d47688efdc53e1402a92f.png)
![](https://img-blog.csdnimg.cn/img_convert/164a52a7ecf24c92bd074aa7a9ac8eaf.png)
![](https://img-blog.csdnimg.cn/img_convert/6eaf55b109944e7a97fa3c40bc0fc412.png)
新增页面:tab上得页面要放在前面
![](https://img-blog.csdnimg.cn/img_convert/c05dc336399a410c9874f34f2598f8ab.png)
tabBar:
![](https://img-blog.csdnimg.cn/img_convert/a31b08928a404374a05cae56ba3c8179.png)
![](https://img-blog.csdnimg.cn/img_convert/f58fafbd83df4911b7581a84d7c077d8.png)
![](https://img-blog.csdnimg.cn/img_convert/ce96e270a380472480186b9e9b2dfe8f.png)
![](https://img-blog.csdnimg.cn/img_convert/c4152b0a0388483f932bb88d69264133.png)
下拉刷新=》
全局为false 需要列表刷新得时候才需要true
![](https://img-blog.csdnimg.cn/img_convert/f780cb8c292947d6ae25df294c106542.png)
![](https://img-blog.csdnimg.cn/img_convert/c671740f308b4bacbda63f5cafa39807.png)
![](https://img-blog.csdnimg.cn/img_convert/798705edd7014225b1932ace8a5bef90.png)
![](https://img-blog.csdnimg.cn/img_convert/3ed78fd0ab0748feb5477bab08471281.png)
![](https://img-blog.csdnimg.cn/img_convert/acb944f8e02f40f8bc7a05dd4433c5f8.png)
发起请求:
data 发送给服务器得数据
![](https://img-blog.csdnimg.cn/img_convert/4ed1f1c69a7d44749fc5cddaef604f51.png)
真实数据res.data
![](https://img-blog.csdnimg.cn/img_convert/de7af7acb40e4d3aad11c8b55389c3d2.png)
post 请求
![](https://img-blog.csdnimg.cn/img_convert/dab9b54a699f4dbc8fa96ed9e4c2ded5.png)
页面刚加载时请求数据
![](https://img-blog.csdnimg.cn/img_convert/5c12fbdf3fbc4b6abc3d741f58bb9b2e.png)
跳过https
![](https://img-blog.csdnimg.cn/img_convert/28b825c7a0094d6ca744b3b79ac47e01.png)
![](https://img-blog.csdnimg.cn/img_convert/15cd23b87658417aa2293920184f9516.png)