当前位置: 首页 > news >正文

如何做自己的网站sae wordpress 安装插件

如何做自己的网站,sae wordpress 安装插件,wordpress布局切换功能,局域网网页制作工具系列文章目录 一、elementui 导航菜单栏和Breadcrumb 面包屑关联 二、elementui 左侧导航菜单栏与main区域联动 三、elementui 中设置图片的高度并支持PC和手机自适应 四、 elementui 实现一个固定位置的Pagination#xff08;分页#xff09;组件 文章目录 系列文章目录…系列文章目录 一、elementui 导航菜单栏和Breadcrumb 面包屑关联 二、elementui 左侧导航菜单栏与main区域联动 三、elementui 中设置图片的高度并支持PC和手机自适应 四、 elementui 实现一个固定位置的Pagination分页组件 文章目录 系列文章目录前言一、实现效果二、实现步骤1.添加Pagination组件2.CSS样式代码 三、完整代码 前言 在Element UI中要实现一个固定位置的Pagination分页组件可以使用CSS来固定Pagination的位置并将Pagination组件包裹在一个固定位置的容器中。 一、实现效果 在该网页的右下角固定位置 二、实现步骤 PS:针对有一点点vue基础的新手 1.添加Pagination组件 在你的Vue组件中添加Pagination组件 !--添加Pagination组件--div classpagination-containerel-paginationsize-changehandleSizeChangecurrent-changehandleCurrentChange:current-pagecurrentPage:page-sizes[4, 8, 12]:page-sizepageSizelayouttotal, sizes, prev, pager, next, jumper:totaltotal/el-pagination/divscriptexport default {name: FileView,data() {return {currentPage: 1,pageSize: 8,total: 10,};},computed: {currentPageData() {return this.items.slice((this.currentPage - 1) * this.pageSize, this.currentPage * this.pageSize);}},methods: {handleSizeChange(val) {this.pageSize val;this.currentPage 1;},handleCurrentChange(val) {this.currentPage val;}}}; /script2.CSS样式代码 在你的样式文件中例如 style scoped.maindiv {/* 确保.maindiv 是Pagination的父容器 */position: relative;height: 580px; /* 或者其他高度以确保Pagination下方有足够空间 */}.pagination-container {position: absolute; /* 固定位置 */bottom: 10px; /* 距离底部10像素 */right: 10px; /* 距离右侧10像素 */} /style三、完整代码 templatediv classmaindivel-rowel-col :span6 v-for(item, index) in currentPageData :keyindex stylepadding: 3px;el-card :body-style{ padding: 0px }img v-ifitem.image :srcitem.image classimagediv stylepadding: 14px;span{{ item.title }}/spandiv classbottom clearfixtime classtime{{ item.time }}/timeel-button typetext classbutton操作按钮/el-button/div/div/el-card/el-col/el-row!--添加Pagination组件--div classpagination-containerel-paginationsize-changehandleSizeChangecurrent-changehandleCurrentChange:current-pagecurrentPage:page-sizes[4, 8, 12]:page-sizepageSizelayouttotal, sizes, prev, pager, next, jumper:totaltotal/el-pagination/div/div /templatescriptexport default {name: FileView,data() {return {currentPage: 1,pageSize: 8,total: 10,items: [{image:https://img0.baidu.com/it/u3558402622,3525872153fm253fmtautoapp138fJPEG?w718h500,title:好吃的汉堡,time:2024-03-25}// 填充你的数据对象每个对象包含 image, title, time 属性]};},computed: {currentPageData() {return this.items.slice((this.currentPage - 1) * this.pageSize, this.currentPage * this.pageSize);}},methods: {handleSizeChange(val) {this.pageSize val;this.currentPage 1;},handleCurrentChange(val) {this.currentPage val;}}}; /script style scoped.time {font-size: 13px;color: #999;}.bottom {margin-top: 13px;line-height: 12px;}.button {padding: 0;float: right;}.clearfix:before,.clearfix:after {display: table;content: ;}.clearfix:after {clear: both}.image {width: 100%;display: block;}.maindiv {/* 确保.maindiv 是Pagination的父容器 */position: relative;height: 580px; /* 或者其他高度以确保Pagination下方有足够空间 */}.pagination-container {position: absolute; /* 固定位置 */bottom: 10px; /* 距离底部10像素 */right: 10px; /* 距离右侧10像素 */} /style
http://www.ho-use.cn/article/10822470.html

相关文章:

  • 网站的轮播怎么做的十大跨境电商排名
  • 网站所有权电子政务与网站建设的经验
  • 怎样加快网站收录ps海报素材网
  • 济南住房和城乡建设局网站wordpress导入链接生成文章
  • 怎么自己做网站表白wordpress图片更换
  • 充值网站怎么做wordpress自定义文章类型标签
  • 网站培训制度网站建设与维护工作内容
  • 网站建设合同怎么交印花税阿里网站域名指向怎么做
  • 国贸汽车网站建设如何自己创办一个网站
  • 网站总是跳转dede58建个网站需要投资多少钱
  • 网站建设维护合同书2024网站推广
  • 广州网站建设工作室招聘电话号码查企业黄页
  • asp做网站策划书工程机械网
  • 网站模板编辑软件上海建筑建材业门户网站
  • 网站建设图片大小杭州网站设计步骤
  • 要建立网站是否要先做网页设计_然后把网页设计与数据库连接起来?《设计》完整版
  • 亦庄开发区建设局网站中国设计师排名
  • 外包网站推荐春哥 响应式网站建设
  • 河南建设网站上海建设工程造价协会官网
  • 网站设计编程有哪些中国十大景观设计公司
  • zencart 网站wordpress单页主题汉化
  • 建设网站公司哪里好相关的热搜问题网站做影集安全吗
  • 什么网站时候做伪静态网站没有备案能访问吗
  • wordpress官方网站杭州市下城区建设局门户网站
  • 网站图标按钮用什么做网站规划与建设是什么样的
  • 萝岗营销型网站建设二维码生成器软件下载
  • 崇左市住房和城乡建设局网站网站做防御
  • 自建网站 做自定义导航图片编辑器在线制作
  • 淘客网站建设要求教育行业怎么做网站投放
  • 南宁模板建站定制网站discuz建站流程