<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[python_power的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/python_power</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; python_power]]></copyright><item><title><![CDATA[flex布局]]></title><link>https://blog.youkuaiyun.com/python_power/article/details/121411458</link><guid>https://blog.youkuaiyun.com/python_power/article/details/121411458</guid><author>python_power</author><pubDate>Thu, 18 Nov 2021 22:14:05 +0800</pubDate><description><![CDATA[这几天又快忘了flex布局，赶紧回来复习一下下。

常见的父项属性

flex-direction: 设置主轴的方向

row （默认值）从左到右

row-reverse 从右到左

column 从上到下

column-reserve 从下到上

justify-content：设置主轴上的子元素排列方式

flex-start 默认值 从头部开始 如果主轴是x轴，就是从左到右

flex-end 从尾部开始排列

center 从中间开始排列，如果主轴是x轴，则水平居中

space-around ]]></description><category></category></item><item><title><![CDATA[写关于js的执行机制]]></title><link>https://blog.youkuaiyun.com/python_power/article/details/121382719</link><guid>https://blog.youkuaiyun.com/python_power/article/details/121382719</guid><author>python_power</author><pubDate>Wed, 17 Nov 2021 17:52:24 +0800</pubDate><description><![CDATA[js的执行机制与事件循环]]></description><category></category></item><item><title><![CDATA[callBack && callBack()]]></title><link>https://blog.youkuaiyun.com/python_power/article/details/121340489</link><guid>https://blog.youkuaiyun.com/python_power/article/details/121340489</guid><author>python_power</author><pubDate>Mon, 15 Nov 2021 18:41:07 +0800</pubDate><description><![CDATA[async getGoodsList(callBack) {
    const res = await this.$myRequest({
     url:'/api/getgoods?pageindex='+this.number
    })
    this.goodsLists = [...this.goodsLists,...res.data.message]
    ...]]></description><category></category></item></channel></rss>