<template>
    <docs-layout title="更新日志">
        <div class="update-logs-box">
            <ul class="update-logs">
                <li class="bug">
                    <strong>0.4.5<span>2017-04-10</span></strong>
                    <p>1、修复IOS设备<span>yd-actionsheet</span>/<span>yd-cityselect</span>/<span>yd-keyboard</span>/<span>yd-popup</span>组件，关闭后未能正确删除g-fix-ios-overflow-scrolling-bug样式BUG。
                        <a
                        href="//github.com/ydcss/vue-ydui/issues/28" class="issues" target="_blank">#28</a></p>
                    <p>感谢<a target="_blank" href="//github.com/iqfu321">@iqfu321</a>提出的问题。</p>
                </li>
                <li class="bug">
                    <strong>0.4.4<span>2017-04-02</span></strong>
                    <p>1、给 <span>yd-tabbar/yd-navbar</span> 组件添加背景颜色，字体颜色等参数。<a
                        href="//github.com/ydcss/vue-ydui/issues/21" class="issues" target="_blank">#21</a></p>
                    <p>2、修复打包后的px组件默认参数仍为rem问题。</p>
                    <p>感谢<a target="_blank" href="//github.com/ymjdev">@ymjdev</a>提出的问题。</p>
                </li>
                <li class="bug">
                    <strong>0.4.3<span>2017-03-31</span></strong>
                    <p>1、解决自定义iconfont与 <span>yd-cell</span> 组件中icons样式冲突问题。<a
                        href="//github.com/ydcss/vue-ydui/issues/20" class="issues" target="_blank">#20</a></p>
                    <p>2、解决 <span>yd-list-item</span> 组件不能加链接问题。<a
                            href="//github.com/ydcss/vue-ydui/issues/17" class="issues" target="_blank">#17</a></p>
                    <p>感谢<a target="_blank" href="//github.com/yajore">@yajore</a>/<a target="_blank" href="//github.com/iqfu321">@iqfu321</a>提出的问题。</p>
                </li>
                <li class="bug">
                    <strong>0.4.2<span>2017-03-29</span></strong>
                    <p>1、修复 <span>yd-cell</span> 组件异步获取默认省市县无法正确关联对应数据BUG。 <a
                            href="//github.com/ydcss/vue-ydui/issues/16" class="issues" target="_blank">#16</a></p>
                    <p>2、给 <span>yd-tab</span> 添加change事件。 <a
                            href="//github.com/ydcss/vue-ydui/issues/14" class="issues" target="_blank">#14</a></p>
                    <p>感谢<a target="_blank" href="//github.com/viphchok">@viphchok</a>/<a target="_blank" href="//github.com/iqfu321">@iqfu321</a>提出的问题与建议。</p>
                </li>
                <li class="bug">
                    <strong>0.4.1<span>2017-03-27</span></strong>
                    <p>1、修复 <span>yd-cell</span> 组件 使用password密码框无样式BUG。 <a
                            href="//github.com/ydcss/vue-ydui/issues/10" class="issues" target="_blank">#10</a></p>
                    <p>2、修复 <span>yd-cell</span> 组件props[href]参数类型限制问题，导致不能正确传入Object动态路由。 <a
                            href="//github.com/ydcss/vue-ydui/issues/11" class="issues" target="_blank">#11</a></p>
                    <p>3、修改 <span>yd-keyboard</span>/<span>yd-infinitescroll</span>/<span>yd-pullrefresh</span>组件错误通信BUG。
                        将 <span>Vue.prototye.$yduiBus</span>改为 <span>window.$yduiBus</span>。解决全局和单个引用组件未能正确调用<span>$emit</span>方法BUG。 <a
                            href="//github.com/ydcss/vue-ydui/issues/9" class="issues" target="_blank">#9</a></p>
                    <p>感谢<a target="_blank" href="//github.com/jarden-liu">@jarden-liu</a>/<a target="_blank" href="//github.com/YaoGuaiWang">@YaoGuaiWang</a>/<a target="_blank" href="//github.com/631887934">@631887934</a>指出问题。</p>
                </li>

                <li class="bug">
                    <strong>0.3.4<span>2017-03-18</span></strong>
                    <p>1、解决 <span>yd-slider</span> 组件异步挂载问题。<a
                            href="//github.com/ydcss/vue-ydui/issues/4" class="issues" target="_blank">#4</a></p>
                    <p>2、修复 <span>yd-slider</span> 组件触摸滑动后不能自动播放问题。<a
                            href="//github.com/ydcss/vue-ydui/issues/2" class="issues" target="_blank">#2</a></p>
                    <p>感谢<a target="_blank" href="//github.com/viphchok">@viphchok</a>指出的问题并提出解决方案。</p>
                </li>
                <li class="rocket">
                    <strong>0.3.3<span>2017-03-17</span></strong>
                    <p>1、添加 <span>yd-textarea</span>文本框组件。</p>
                    <p>2、添加 <span>yd-countup</span>数字动画组件。</p>
                    <p>3、添加 <span>yd-countdown</span>时间倒计时组件。</p>
                    <p>4、添加 <span>yd-rate</span>评分组件。</p>
                    <p>5、添加 <span>yd-popup</span>弹窗组件。</p>
                </li>
                <li class="bug">
                    <strong>0.2.9<span>2017-03-15</span></strong>
                    <p>修复在<span>cell</span>组件内使用<span>yd-icon</span>组件设置的color值无效BUG。<a
                            href="//github.com/ydcss/vue-ydui/issues/1" class="issues" target="_blank">#1</a></p>
                    <p>感谢<a target="_blank" href="//github.com/jarden-liu">@jarden-liu</a>指出的问题。</p>
                </li>
                <li class="q">
                    <strong>0.2.8<span>2017-03-06</span></strong>
                    <p>解决IOS设备上的遮罩层未能占满整个屏幕BUG。</p>
                    <p>解决生成px版本样式出现小数问题。</p>
                    <p>添加文本域组件。</p>
                </li>
                <li class="q">
                    <strong>0.2.4<span>2017-02-21</span></strong>
                    <p>去除<span>yd-icon</span>组件默认颜色。</p>
                    <p>修改<span>yd-actionsheet</span>不关闭组件参数名称（参数unclose修改为stay）。</p>
                    <p>修复<span>yd-icon</span>组件px版无样式bug。</p>
                    <p>统一使用js获取滚动容器。</p>
                </li>
                <li class="mark">
                    <strong>0.2.0<span>2017-02-19</span></strong>
                    <p>发布px版本。</p>
                </li>
                <li class="rocket">
                    <strong>0.1.0<span>2017-01-18</span></strong>
                    <p>Vue-ydui上线。</p>
                </li>
                <li class="q">
                    <strong>0.0.4<span>2017-01-07</span></strong>
                    <p>Hello, github.</p>
                </li>
                <li class="q">
                    <strong>0.0.1<span>2016-12-12</span></strong>
                    <p>着手研发。</p>
                </li>
            </ul>
        </div>
    </docs-layout>
</template>

<script type="text/babel">
    export default {
        mounted() {
            window.localStorage.setItem('updatelogs', require('../../package.json').devDependencies['vue-ydui'].replace('^', ''));
        }
    }
</script>
