当前位置:网站首页>html+vue.js 實現分頁可相容IE
html+vue.js 實現分頁可相容IE
2020-11-06 21:07:00 【itread01】
1.簡單搞一搞 CSS,此處程式碼有摺疊
[v-cloak] {
display: none;
}
#app {
text-align: center;
padding-top: 300px;
height:500px;
}
.pageContainer {
width: 800px;
margin: 100px auto;
text-align: center;
font-size: 14px;
color: #A3A3A3;
}
.pageContainer ul.pagesInner {
height: 30px;
line-height: 30px;
display: inline-block;
padding: 0;
}
.pageContainer ul.pagesInner li {
width: 30px;
height: 30px;
display: inline-block;
border: 1px solid #E5E5E5;
margin: 0 5px;
list-style: none;
}
.pageContainer ul.pagesInner li.actived {
background: #FF6200;
color: #ffffff;
}
.pageContainer .page-size-box {
position: relative;
display: inline-block;
width: 70px;
border: 1px solid #E5E5E5;
height: 30px;
line-height: 30px;
}
.pageContainer ul.size-option {
display: inline-block;
border: 1px solid #E5E5E5;
position: absolute;
margin: 0;
padding: 0;
left: 0;
top: -120px;
background: #ffffff;
}
.pageContainer ul.size-option li{
list-style: none;
width: 70px;
}
.pageContainer ul.size-option li:hover{
color: #FF6200;
}
.pageContainer form {
display: inline-block;
}
.pageContainer form input,
.pageContainer button {
outline: none;
padding: 0;
width: 46px;
height: 30px;
background: #ffffff;
border: 1px solid #E5E5E5;
color: #A3A3A3;
}
- <
- {{item}}
- >
- {{item}}條/頁
版权声明
本文为[itread01]所创,转载请带上原文链接,感谢
https://www.itread01.com/content/1604667722.html
边栏推荐
- How to encapsulate distributed locks more elegantly
- Filecoin主网上线以来Filecoin矿机扇区密封到底是什么意思
- Free patent download tutorial (HowNet, Espacenet)
- Python crawler actual combat details: crawling home of pictures
- With the advent of tensorflow 2.0, can pytoch still shake the status of big brother?
- 零基础打造一款属于自己的网页搜索引擎
- Chainlink brings us election results into blockchain everipedia
- Summary of common algorithms of linked list
- Simple summary of front end modularization
- 一部完整的游戏,需要制作哪些音乐?
猜你喜欢
Mac installation hanlp, and win installation and use
小程序入门到精通(二):了解小程序开发4个重要文件
Wow, elasticsearch multi field weight sorting can play like this
Free patent download tutorial (HowNet, Espacenet)
Summary of common algorithms of binary tree
教你轻松搞懂vue-codemirror的基本用法:主要实现代码编辑、验证提示、代码格式化
一篇文章带你了解SVG 渐变知识
DRF JWT authentication module and self customization
2019年的一个小目标,成为csdn的博客专家,纪念一下
It's so embarrassing, fans broke ten thousand, used for a year!
随机推荐
只有1个字节的文件实际占用多少磁盘空间
Word segmentation, naming subject recognition, part of speech and grammatical analysis in natural language processing
6.2 handleradapter adapter processor (in-depth analysis of SSM and project practice)
Flink的DataSource三部曲之一:直接API
Using NLP and ml to extract and construct web data
Network security engineer Demo: the original * * is to get your computer administrator rights! [maintain]
每个大火的“线上狼人杀”平台,都离不开这个新功能
Electron application uses electronic builder and electronic updater to realize automatic update
百万年薪,国内工作6年的前辈想和你分享这四点
From zero learning artificial intelligence, open the road of career planning!
keras model.compile Loss function and optimizer
快速排序为什么这么快?
Relationship between business policies, business rules, business processes and business master data - modern analysis
Recommendation system based on deep learning
React design pattern: in depth understanding of react & Redux principle
Do not understand UML class diagram? Take a look at this edition of rural love class diagram, a learn!
In order to save money, I learned PHP in one day!
Brief introduction and advantages and disadvantages of deepwalk model
Classical dynamic programming: complete knapsack problem
Analysis of query intention recognition