2020年11月9日
摘要: 例如:让两行p标签的文字在li里垂直居中: 在li里设置display:table 在.vertical里写display: table-cell;vertical-align: middle;display: table; <li v-for="(item, index) in result" : 阅读全文
posted @ 2020-11-09 23:07 取个名字真wff 阅读(180) 评论(0) 推荐(0) 编辑
摘要: <ul> <li v-for="(item, index) in exclusiveBrand" :key="index"><img :src="item.img" alt=""></li> </ul> data() { return { exclusiveBrand: [ { id: 1, img 阅读全文
posted @ 2020-11-09 16:27 取个名字真wff 阅读(1501) 评论(0) 推荐(0) 编辑