当前位置:网站首页>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 use parameters in ES6
- 仅用六种字符来完成Hello World,你能做到吗?
- Windows 10 tensorflow (2) regression analysis of principles, deep learning framework (gradient descent method to solve regression parameters)
- 5.5 controlleradvice notes - SSM in depth analysis and project practice
- The road of C + + Learning: from introduction to mastery
- ES6 essence:
- Jmeter——ForEach Controller&Loop Controller
- 文件过多时ls命令为什么会卡住?
- 只有1个字节的文件实际占用多少磁盘空间
- 教你轻松搞懂vue-codemirror的基本用法:主要实现代码编辑、验证提示、代码格式化
猜你喜欢
每个前端工程师都应该懂的前端性能优化总结:
Shh! Is this really good for asynchronous events?
Network security engineer Demo: the original * * is to get your computer administrator rights! [maintain]
Pattern matching: The gestalt approach一种序列的文本相似度方法
Not long after graduation, he earned 20000 yuan from private work!
NLP model Bert: from introduction to mastery (2)
2019年的一个小目标,成为csdn的博客专家,纪念一下
零基础打造一款属于自己的网页搜索引擎
Individual annual work summary and 2019 work plan (Internet)
It's easy to operate. ThreadLocal can also be used as a cache
随机推荐
What is the difference between data scientists and machine learning engineers? - kdnuggets
一篇文章教会你使用HTML5 SVG 标签
Analysis of query intention recognition
H5 makes its own video player (JS Part 2)
一篇文章带你了解CSS3图片边框
Brief introduction of TF flags
[event center azure event hub] interpretation of error information found in event hub logs
理解格式化原理
I think it is necessary to write a general idempotent component
Introduction to quantitative investment and Trading (Python introduction to financial analysis)
Did you blog today?
It is really necessary to build a distributed ID generation service
Summary of common algorithms of linked list
Simple summary of front end modularization
前端都应懂的入门基础-github基础
零基础打造一款属于自己的网页搜索引擎
How to customize sorting for pandas dataframe
What to do if you are squeezed by old programmers? I don't want to quit
axios学习笔记(二):轻松弄懂XHR的使用及如何封装简易axios
小程序入门到精通(二):了解小程序开发4个重要文件