当前位置:网站首页>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
边栏推荐
- Common algorithm interview has been out! Machine learning algorithm interview - KDnuggets
- Analysis of ThreadLocal principle
- 带你学习ES5中新增的方法
- A course on word embedding
- It's so embarrassing, fans broke ten thousand, used for a year!
- Python crawler actual combat details: crawling home of pictures
- 一篇文章带你了解CSS对齐方式
- 6.1.1 handlermapping mapping processor (1) (in-depth analysis of SSM and project practice)
- 大道至简 html + js 实现最朴实的小游戏俄罗斯方块
- Mac installation hanlp, and win installation and use
猜你喜欢
It is really necessary to build a distributed ID generation service
The dynamic thread pool in Kitty supports Nacos and Apollo multi configuration centers
axios学习笔记(二):轻松弄懂XHR的使用及如何封装简易axios
仅用六种字符来完成Hello World,你能做到吗?
What is the side effect free method? How to name it? - Mario
vue任意关系组件通信与跨组件监听状态 vue-communication
一篇文章带你了解CSS对齐方式
Mongodb (from 0 to 1), 11 days mongodb primary to intermediate advanced secret
Elasticsearch数据库 | Elasticsearch-7.5.0应用搭建实战
I'm afraid that the spread sequence calculation of arbitrage strategy is not as simple as you think
随机推荐
Wechat applet: prevent multiple click jump (function throttling)
I think it is necessary to write a general idempotent component
前端工程师需要懂的前端面试题(c s s方面)总结(二)
It's easy to operate. ThreadLocal can also be used as a cache
Summary of common string algorithms
[actual combat of flutter] pubspec.yaml Configuration file details
Linked blocking Queue Analysis of blocking queue
一篇文章带你了解CSS3圆角知识
H5 makes its own video player (JS Part 2)
ES6 essence:
比特币一度突破14000美元,即将面临美国大选考验
The data of pandas was scrambled and the training machine and testing machine set were selected
Pattern matching: The gestalt approach一种序列的文本相似度方法
Filecoin主网上线以来Filecoin矿机扇区密封到底是什么意思
How to get started with new HTML5 (2)
Music generation through deep neural network
Analysis of react high order components
DRF JWT authentication module and self customization
How to use Python 2.7 after installing anaconda3?
The choice of enterprise database is usually decided by the system architect - the newstack