摘要:
1,写一个简单的headcomp组件如下: <template> <div class="box"> <transition name="move"> <button @click = "decrease" v-show="home.count>0" class="decrease">我是减法</b 阅读全文
摘要:
1,html <p>我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字 </p> 2,css display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; //两行文字省略 text-overflow: 阅读全文