|
|
var $ = require('yoho-jquery'),
|
|
|
lazyLoad = require('yoho-jquery-lazyload'),
|
|
|
common = require('../common'),
|
|
|
dialog = require('../plugins/dialog');
|
|
|
|
|
|
var _dialog = dialog.Dialog,
|
...
|
...
|
@@ -95,11 +96,8 @@ $(function() { |
|
|
// 运行此demo
|
|
|
// 1. 安装 npm i -g json-server
|
|
|
// 2. json-server --watch mock/address.json
|
|
|
window.add = cascadingAddress({
|
|
|
el: '#address',
|
|
|
url: 'http://localhost:3000/areas/0',
|
|
|
resource: 'areas'
|
|
|
});
|
|
|
common.setCookie('uid', '8050484');
|
|
|
window.add = cascadingAddress({el: '#address'});
|
|
|
});
|
|
|
|
|
|
$('.weixin').click(function() {
|
...
|
...
|
|