GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SunnyLiHY/PaginationByAngular: 使用angularJs框架实现分页组件<anypage common-config="common"></anypage>

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
pagination/page
pagination/page
 
 
README.md
README.md
 
 

Repository files navigation

使用组件时,在获取数据库数据之前,要初始化组件参数
$scope.common = {
totalNum:27,
currentPage:1,
pageSumNum: 5,
perNum:2,
perPageNum:[2,3,4,5]
};

/思路:当前页显示在页码列表的中间,页码长度固定且页码列表的长度先要判断其奇偶性/
/具体细节代码看oacontroller.js/
/******************************** 变量说明
**** pageSumNum:页码长度
**** pageList:页码列表
**** totalPage:总页码数
**** currentPage:当前页
**** totalNum:数据库信息总数
**** perNum:每页显示的信息数
**** perPageNum:切换perNum
********************************/

/**结合django框架的后台实现实例参看“OATest”工程,git源码链接:
https://github.com/SunnyLiHY/OATest.git
**/

About

使用angularJs框架实现分页组件<anypage common-config="common"></anypage>

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.