首页路由:http://localhost:8888/ 首页分页路由:http://localhost:8888/index/2 分类列表分页路由:http://localhost:8888/category/分类id/分页 控制器调用article模型的assignIndexData()方法,参数
分类:
Web程序 时间:
2016-03-14 00:10:06
阅读次数:
319
UIPageControll 是继承于UIControl的一个IOS系统UI控件,可以提供给开发者设计分页效果的功能。初始化方法UIPageControl * page= [[UIPageControlalloc]initWithFrame:CGRectMake(100, 100, 100, 100...
分类:
移动开发 时间:
2015-12-10 13:24:02
阅读次数:
194
一、基本知识#import "ViewController.h"@interface ViewController (){ UIScrollView *scrollview; UIPageControl *page;}@end@implementation ViewController- (void...
分类:
其他好文 时间:
2015-11-19 18:49:17
阅读次数:
147
翻页控制器控件:UIPageViewController介绍:1、它是为我们提供了一种类似翻书效果的一种控件。我们可以通过使用UIPageViewController控件,来完成类似图书一样的翻页控制方式。使用Page View,用户可以方便的通过手势在多个页面之间导。2、先假象一下,一本书大概可以...
分类:
移动开发 时间:
2015-09-30 12:36:39
阅读次数:
495
$modal是一个可以迅速创建模态窗口的服务,创建部分页,控制器,并关联他们 $modal仅有一个方法open(options) templateUrl:模态窗口的地址 template:用于显示html标签 scope:一个作用域为模态的内容使用(事实...
分类:
Web程序 时间:
2015-08-12 10:21:05
阅读次数:
237
//分页控制器UIPageControl self.page=[[UIPageControl alloc]initWithFrame:CGRectMake(50, 100, 200, 50)]; self.page.backgroundColor=[UIColor grayColor]; self....
分类:
其他好文 时间:
2015-07-24 12:02:55
阅读次数:
110
控制器代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;namespace Mvc...
分类:
Web程序 时间:
2015-07-15 22:28:06
阅读次数:
203
//属性传值:最常用的传值方式 /** * 操作过程: 1.在第二个页面.h文件中书写属性 (设置那个传值属性) 2.就在第一个页面创建第二页控制器的方法里面,进行赋值操作 3.适用性(局限性): 仅仅适用于第一个页面传值到下一个页面 */ ...
分类:
其他好文 时间:
2015-07-11 22:43:38
阅读次数:
122
控制器
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVC过滤器.Controllers
{
public class HomeController : Controller
{...
分类:
Web程序 时间:
2015-07-09 00:56:19
阅读次数:
128
控制器:using MVCTest.Models;using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using Webdiyer.MvcPager...
分类:
Web程序 时间:
2015-05-07 12:19:55
阅读次数:
208