【实例简介】
基于thinkphp实现省市联动,采用Ajax与thinkphp结合实现
【实例截图】
【核心代码】
region
├── App
│ ├── Conf
│ │ └── config.php
│ ├── Lib
│ │ └── Action
│ │ ├── AjaxAction.class.php
│ │ └── IndexAction.class.php
│ └── Tpl
│ └── Index
│ └── index.html
├── Public
│ └── js
│ ├── jquery.js
│ └── region.js
├── ThinkPHP
│ ├── Common
│ │ ├── common.php
│ │ ├── functions.php
│ │ └── runtime.php
│ ├── Conf
│ │ ├── alias.php
│ │ ├── convention.php
│ │ ├── debug.php
│ │ └── tags.php
│ ├── Extend
│ │ └── README.txt
│ ├── LICENSE.txt
│ ├── Lang
│ │ ├── en-us.php
│ │ └── zh-cn.php
│ ├── Lib
│ │ ├── Behavior
│ │ │ ├── CheckRouteBehavior.class.php
│ │ │ ├── ContentReplaceBehavior.class.php
│ │ │ ├── LocationTemplateBehavior.class.php
│ │ │ ├── ParseTemplateBehavior.class.php
│ │ │ ├── ReadHtmlCacheBehavior.class.php
│ │ │ ├── ShowPageTraceBehavior.class.php
│ │ │ ├── ShowRuntimeBehavior.class.php
│ │ │ ├── TokenBuildBehavior.class.php
│ │ │ └── WriteHtmlCacheBehavior.class.php
│ │ ├── Core
│ │ │ ├── Action.class.php
│ │ │ ├── App.class.php
│ │ │ ├── Behavior.class.php
│ │ │ ├── Cache.class.php
│ │ │ ├── Db.class.php
│ │ │ ├── Dispatcher.class.php
│ │ │ ├── Log.class.php
│ │ │ ├── Model.class.php
│ │ │ ├── Think.class.php
│ │ │ ├── ThinkException.class.php
│ │ │ ├── View.class.php
│ │ │ └── Widget.class.php
│ │ ├── Driver
│ │ │ ├── Cache
│ │ │ │ └── CacheFile.class.php
│ │ │ ├── Db
│ │ │ │ ├── DbMysql.class.php
│ │ │ │ └── DbMysqli.class.php
│ │ │ └── TagLib
│ │ │ └── TagLibCx.class.php
│ │ └── Template
│ │ ├── TagLib.class.php
│ │ └── ThinkTemplate.class.php
│ ├── README.txt
│ ├── ThinkPHP.php
│ ├── Tpl
│ │ ├── default_index.tpl
│ │ ├── dispatch_jump.tpl
│ │ ├── page_trace.tpl
│ │ └── think_exception.tpl
│ └── logo.png
├── hzh_region.sql
└── index.php
22 directories, 53 files