1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5. <meta charset="utf-8">
  6.  
  7. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  8. <meta name="format-detection" content="telephone=no" />
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  11. <title>费用计算</title>
  12. <link rel="stylesheet" href="../../css/framework7.ios.min.css">
  13. <link rel="stylesheet" href="../../css/framework7.ios.colors.min.css">
  14. <link rel="stylesheet" href="../../css/common.css" type="text/css" />
  15. <link rel="stylesheet" href="../../css/mystyle.css" type="text/css" />
  16. <link rel="stylesheet" href="https://at.alicdn.com/t/font_986272_jhe0du8l1es.css">
  17. <style type="text/css">
  18. [v-cloak] {
  19. display: none;
  20. }
  21. .i-y-text{
  22. font-size: 1rem;
  23. color: #FFCC33;
  24. padding: 1rem 0
  25. }
  26. .i-y-content{
  27. font-size: 0.75rem;
  28. color: #FFCC33;
  29. padding: 1rem 0
  30.  
  31. }
  32. </style>
  33. </head>
  34.  
  35. <body>
  36. <div class="views" id="app">
  37. <div class="view view-main" id="header">
  38. <div class="pages">
  39. <div data-page="home" class="page navbar-fixed">
  40. <!-- 顶部搜索 -->
  41. <div class="navbar">
  42. <div class="navbar-inner">
  43. <div class="left" onclick="closeApiWin('')">
  44. <i class="iconfont iconfanhui"></i>
  45. </div>
  46. <div class="center">运费计算</div>
  47. <div class="right">
  48. </div>
  49. </div>
  50. </div>
  51.  
  52. <div class="page-content" v-cloak>
  53. <div class="i-l-box">
  54. <div class="i-l-ipt">
  55. <div>选择快递</div>
  56. <div class="i-l-ipt-sel">
  57. <select v-model="kuaidi_id">
  58. <option value="0">请选择</option>
  59. <option v-for="item in kuaidis" :value="item.id">{{item.name}}</option>
  60. </select>
  61. <i class="iconfonticonyoujiantou"></i>
  62. </div>
  63. </div>
  64. <div class="i-y-text">发件地</div>
  65. <div class="i-l-ipt">
  66. <div>选择省</div>
  67. <div class="i-l-ipt-sel">
  68. <select v-model="fromId">>
  69. <option value="0">请选择省</option>
  70. <option v-for="item in areas" :value="item.id">{{item.name}}</option>
  71. </select>
  72. <i class="iconfonticonyoujiantou"></i>
  73. </div>
  74. </div>
  75. <div class="i-l-ipt">
  76. <div>选择市</div>
  77. <div class="i-l-ipt-sel">
  78. <select v-model="fromId2">>
  79. <option value="0">请选择市</option>
  80. <option v-for="item in fromArea2" :value="item.id">{{item.name}}</option>
  81. </select>
  82. <i class="iconfonticonyoujiantou"></i>
  83. </div>
  84. </div>
  85. <div class="i-y-text">收件地</div>
  86. <div class="i-l-ipt">
  87. <div>选择省</div>
  88. <div class="i-l-ipt-sel">
  89. <select v-model="toId">
  90. <option value="0">请选择省</option>
  91. <option v-for="item in areas" :value="item.id">{{item.name}}</option>
  92. </select>
  93. <i class="iconfonticonyoujiantou"></i>
  94. </div>
  95. </div>
  96. <div class="i-l-ipt">
  97. <div>选择市</div>
  98. <div class="i-l-ipt-sel">
  99. <select v-model="toId2">>
  100. <option value="0">请选择市</option>
  101. <option v-for="item in toArea2" :value="item.id">{{item.name}}</option>
  102. </select>
  103. <i class="iconfonticonyoujiantou"></i>
  104. </div>
  105. </div>
  106. <div class="i-l-ipt">
  107. <div>重量(kg)</div>
  108. <input type="number" v-model="weight" placeholder="请输入快递重量">
  109. </div>
  110.  
  111. <div class="i-y-text">费用</div>
  112. <div class="i-l-ipt">
  113. <div>费用(元)</div>
  114. <input type="number" v-model="fee" readonly>
  115. </div>
  116. <div class="i-y-content">注意:因各品牌,各地区运营策略不同,运费预估仅做参考,具体费用以快递员报价为准</div>
  117. <button style='margin-top:1.5rem;' class="i-l-btn" type="button" name="button" @click="calculateYunfei">计算</button>
  118. </div>
  119. <!-- <div class="list-block">
  120. <ul>
  121. <li class="align-top">
  122. <div class="item-content">
  123. <div class="item-inner">
  124. <div class="item-title label" style="color:#999;font-size:14px;">请选择品牌</div>
  125. <div class="item-input">
  126. <select v-model="kuaidi_id">
  127. <option value="0">请选择</option>
  128. <option v-for="item in kuaidis" :value="item.id">{{item.name}}</option>
  129. </select>
  130. </div>
  131. </div>
  132. </div>
  133. </li>
  134. <li class="align-top">
  135. <div class="item-content">
  136. <div class="item-inner">
  137. <div class="item-title label" style="color:#999;font-size:14px;">发件地址</div>
  138. <div class="item-input">
  139. <select v-model="fromId">>
  140. <option value="0">请选择省</option>
  141. <option v-for="item in areas" :value="item.id">{{item.name}}</option>
  142. </select>
  143. <select v-model="fromId2">>
  144. <option value="0">请选择市</option>
  145. <option v-for="item in fromArea2" :value="item.id">{{item.name}}</option>
  146. </select>
  147. </div>
  148. </div>
  149. </div>
  150. </li>
  151.  
  152. <li class="align-top">
  153. <div class="item-content">
  154. <div class="item-inner">
  155. <div class="item-title label" style="color:#999;font-size:14px;">收件地址</div>
  156. <div class="item-input">
  157. <select v-model="toId">
  158. <option value="0">请选择省</option>
  159. <option v-for="item in areas" :value="item.id">{{item.name}}</option>
  160. </select>
  161. <select v-model="toId2">>
  162. <option value="0">请选择市</option>
  163. <option v-for="item in toArea2" :value="item.id">{{item.name}}</option>
  164. </select>
  165. </div>
  166. </div>
  167. </div>
  168. </li>
  169. <li class="align-top">
  170. <div class="item-content">
  171. <div class="item-inner">
  172. <div class="item-title label" style="color:#999;font-size:14px;">重量</div>
  173. <div class="item-input">
  174. <input placeholder="请输入重量(单位:千克)" v-model="weight" type="number" style="text-align: right">
  175. </div>
  176. <div class="item-after">
  177. Kg
  178. </div>
  179. </div>
  180. </div>
  181. </li>
  182. <li class="align-top">
  183. <div class="item-content">
  184. <div class="item-inner">
  185. <div class="item-input">
  186. <button type="button" style="margin-top: 5px;font-size: 16px;width:100px;height:35px;background:#10893E;color:#fff;border:none;" @click="calculateYunfei()">计算</button>
  187. </div>
  188. </div>
  189. </div>
  190. </li>
  191. <li>
  192. <div class="item-content">
  193. <div class="item-inner">
  194. <div class="item-title label" style="color:#999;font-size:14px;">费用</div>
  195. <div class="item-after">
  196. <div class="badge" style="font-size:18px;background-color:#10893E;">{{fee}}</div>元
  197. </div>
  198. </div>
  199. </div>
  200. </li>
  201.  
  202. <li>
  203. <div class="item-content">
  204. <div class="item-text" style="width:90%;padding:10px;">注意:因各品牌,各地区运营策略不同,运费预估仅做参考,具体费用以快递员报价为准</div>
  205. </div>
  206. </li>
  207. </ul>
  208. </div> -->
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <script src="../../script/framework7.min.js"></script>
  215. <script src="../../script/api.js"></script>
  216. <script src="../../script/common.js"></script>
  217. <script src="../../script/vue.min.js"></script>
  218. <script src="../../script/area.js"></script>
  219. <script type="text/javascript">
  220. var app;
  221. var myApp, mainView;
  222.  
  223. // apiready = function() {
  224. // ShiPeiStatusBar(); //适配顶部状态栏
  225. myApp = new Framework7({
  226. statusbarOverlay: false
  227. });
  228. //保证导航栏中间的字居中
  229. mainView = myApp.addView('.view-main', {
  230. dynamicNavbar: true
  231. });
  232.  
  233. app = new Vue({
  234. el: '#app',
  235. data: {
  236. areas: [],
  237. kuaidis: [],
  238. fromArea2: [],
  239. toArea2: [],
  240. fromId: 0,
  241. fromId2: 0,
  242. toId: 0,
  243. toId2: 0,
  244. kuaidi_id: 0,
  245. fee: 0,
  246. weight: 0.00
  247. },
  248. watch: {
  249. fromId: function(newValue) {
  250. this.fromId2 = 0;
  251. if (this.formId == 0) {
  252. this.formArea2 = [];
  253. }
  254. for (i in this.areas) {
  255. console.log(JSON.stringify(this.areas[i]['id']))
  256. if (this.areas[i]['id'] == newValue) {
  257. this.fromArea2 = this.areas[i]['childs'];
  258. }
  259. }
  260. },
  261. toId: function(newValue) {
  262. this.toId2 = 0;
  263. if (this.toId == 0) {
  264. this.toArea2 = [];
  265. }
  266. for (i in this.areas) {
  267. if (this.areas[i].id == newValue) {
  268. this.toArea2 = this.areas[i].childs;
  269. }
  270. }
  271. },
  272. },
  273. methods: {
  274. getAreas: function() {
  275. this.areas = window.areaData;
  276. },
  277. getKuaidis: function() {
  278. this.kuaidis = [{
  279. "id": 1,
  280. "name": "邮政包裹/平邮",
  281. "bianhao": "pingyou",
  282. "log": "https://cdn.kuaidi100.com/images/all/56/youzhengguonei.png",
  283. 'nearfee': 10,
  284. 'farfee': 20,
  285. 'nearplus': 2,
  286. 'farplus': 4,
  287. 'daofuplus': 5
  288. }, {
  289. "id": 2,
  290. "name": "EMS",
  291. "bianhao": "ems",
  292. "log": "https://cdn.kuaidi100.com/images/all/56/ems.png",
  293. 'nearfee': 10,
  294. 'farfee': 20,
  295. 'nearplus': 2,
  296. 'farplus': 4,
  297. 'daofuplus': 5
  298. }, {
  299. "id": 3,
  300. "name": "顺丰",
  301. "bianhao": "shunfeng",
  302. "log": "https://cdn.kuaidi100.com/images/all/56/shunfeng.png",
  303. 'nearfee': 10,
  304. 'farfee': 20,
  305. 'nearplus': 2,
  306. 'farplus': 4,
  307. 'daofuplus': 5
  308. }, {
  309. "id": 4,
  310. "name": "申通",
  311. "bianhao": "shentong",
  312. "log": "https://cdn.kuaidi100.com/images/all/56/shentong.png",
  313. 'nearfee': 10,
  314. 'farfee': 20,
  315. 'nearplus': 2,
  316. 'farplus': 4,
  317. 'daofuplus': 5
  318. }, {
  319. "id": 5,
  320. "name": "圆通",
  321. "bianhao": "yuantong",
  322. "log": "https://cdn.kuaidi100.com/images/all/56/yuantong.png",
  323. 'nearfee': 10,
  324. 'farfee': 20,
  325. 'nearplus': 2,
  326. 'farplus': 4,
  327. 'daofuplus': 5
  328. }, {
  329. "id": 6,
  330. "name": "中通",
  331. "bianhao": "zhongtong",
  332. "log": "https://cdn.kuaidi100.com/images/all/56/zhongtong.png",
  333. 'nearfee': 10,
  334. 'farfee': 20,
  335. 'nearplus': 2,
  336. 'farplus': 4,
  337. 'daofuplus': 5
  338. }, {
  339. "id": 7,
  340. "name": "汇通",
  341. "bianhao": "huitong",
  342. "log": "https://cdn.kuaidi100.com/images/all/56/huitongkuaidi.png",
  343. 'nearfee': 10,
  344. 'farfee': 20,
  345. 'nearplus': 2,
  346. 'farplus': 4,
  347. 'daofuplus': 5
  348. }, {
  349. "id": 8,
  350. "name": "韵达",
  351. "bianhao": "yunda",
  352. "log": "https://cdn.kuaidi100.com/images/all/56/yunda.png",
  353. 'nearfee': 10,
  354. 'farfee': 20,
  355. 'nearplus': 2,
  356. 'farplus': 4,
  357. 'daofuplus': 5
  358. }, {
  359. "id": 9,
  360. "name": "天天",
  361. "bianhao": "tiantian",
  362. "log": "https://cdn.kuaidi100.com/images/all/56/tiantian.png",
  363. 'nearfee': 10,
  364. 'farfee': 20,
  365. 'nearplus': 2,
  366. 'farplus': 4,
  367. 'daofuplus': 5
  368. }, {
  369. "id": 10,
  370. "name": "宅急送",
  371. "bianhao": "zhaijisong",
  372. "log": "https://cdn.kuaidi100.com/images/all/56/zhaijisong.png",
  373. 'nearfee': 10,
  374. 'farfee': 20,
  375. 'nearplus': 2,
  376. 'farplus': 4,
  377. 'daofuplus': 5
  378. }, {
  379. "id": 11,
  380. "name": "京东",
  381. "bianhao": "jd",
  382. "log": "https://cdn.kuaidi100.com/images/all/56/jd.png",
  383. 'nearfee': 10,
  384. 'farfee': 20,
  385. 'nearplus': 2,
  386. 'farplus': 4,
  387. 'daofuplus': 5
  388. }, {
  389. "id": 12,
  390. "name": "优速",
  391. "bianhao": "yousu",
  392. "log": "https://cdn.kuaidi100.com/images/all/56/youshuwuliu.png",
  393. 'nearfee': 10,
  394. 'farfee': 20,
  395. 'nearplus': 2,
  396. 'farplus': 4,
  397. 'daofuplus': 5
  398. }, {
  399. "id": 13,
  400. "name": "全峰",
  401. "bianhao": "quanfeng",
  402. "log": "https://cdn.kuaidi100.com/images/all/56/quanfengkuaidi.png",
  403. 'nearfee': 10,
  404. 'farfee': 20,
  405. 'nearplus': 2,
  406. 'farplus': 4,
  407. 'daofuplus': 5
  408. }, {
  409. "id": 14,
  410. "name": "德邦",
  411. "bianhao": "debang",
  412. "log": "https://cdn.kuaidi100.com/images/all/56/debangwuliu.png",
  413. 'nearfee': 10,
  414. 'farfee': 20,
  415. 'nearplus': 2,
  416. 'farplus': 4,
  417. 'daofuplus': 5
  418. }]
  419. },
  420. calculateYunfei: function() {
  421. var kuaidi = {}
  422. if (!this.kuaidi_id) {
  423. api.alert({
  424. title: '错误',
  425. msg: '请选择快递品牌'
  426. })
  427. return false;
  428. }
  429. if (this.kuaidi_id) {
  430. for (i in this.kuaidis) {
  431. if (this.kuaidis[i].id == this.kuaidi_id) {
  432. kuaidi = this.kuaidis[i];
  433. }
  434. }
  435. }
  436. if (!kuaidi) {
  437. api.alert({
  438. title: '错误',
  439. msg: '请选择快递品牌'
  440. })
  441. return false;
  442. }
  443.  
  444. if (!this.fromId || !this.fromId2) {
  445. api.alert({
  446. title: '错误',
  447. msg: '请选择寄件地址'
  448. })
  449. return false;
  450. }
  451. if (!this.toId || !this.toId2) {
  452. api.alert({
  453. title: '错误',
  454. msg: '请选择收件地址'
  455. })
  456. return false;
  457. }
  458. if (this.weight < 0.01) {
  459. api.alert({
  460. title: '错误',
  461. msg: '请输入货品重量'
  462. })
  463. return false;
  464. }
  465. var danjia = 0;
  466. var plus = 0;
  467. var daofu = kuaidi.daofuplus;
  468. if (this.fromId == this.toId) {
  469. danjia = kuaidi.nearfee;
  470. plus = kuaidi.nearplus;
  471. } else {
  472. danjia = kuaidi.farfee;
  473. plus = kuaidi.farplus;
  474. }
  475. if (this.weight > 1) {
  476. this.fee = (danjia + plus *  Math.ceil(this.weight - 1)).toFixed(2)
  477. } else {
  478. this.fee = danjia.toFixed(2)
  479. }
  480. }
  481. },
  482. mounted: function() {
  483. this.getAreas();
  484. this.getKuaidis()
  485. }
  486. })
  487.  
  488. // }
  489. </script>
  490. </body>
  491.  
  492. </html>
  1. //area.js 缺少 港澳台 海外和 西藏 新疆
  2. window.areaData = [
  3. {
  4. "id": 1,
  5. "name": "北京",
  6. "childs": [
  7. {
  8. "id": 36,
  9. "name": "北京市"
  10. }
  11. ]
  12. },
  13. {
  14. "id": 2,
  15. "name": "天津",
  16. "childs": [
  17. {
  18. "id": 40,
  19. "name": "天津市"
  20. }
  21. ]
  22. },
  23. {
  24. "id": 3,
  25. "name": "河北省",
  26. "childs": [
  27. {
  28. "id": 73,
  29. "name": "石家庄市"
  30. },
  31. {
  32. "id": 74,
  33. "name": "唐山市"
  34. },
  35. {
  36. "id": 75,
  37. "name": "秦皇岛市"
  38. },
  39. {
  40. "id": 76,
  41. "name": "邯郸市"
  42. },
  43. {
  44. "id": 77,
  45. "name": "邢台市"
  46. },
  47. {
  48. "id": 78,
  49. "name": "保定市"
  50. },
  51. {
  52. "id": 79,
  53. "name": "张家口市"
  54. },
  55. {
  56. "id": 80,
  57. "name": "承德市"
  58. },
  59. {
  60. "id": 81,
  61. "name": "衡水市"
  62. },
  63. {
  64. "id": 82,
  65. "name": "廊坊市"
  66. },
  67. {
  68. "id": 83,
  69. "name": "沧州市"
  70. }
  71. ]
  72. },
  73. {
  74. "id": 4,
  75. "name": "山西省",
  76. "childs": [
  77. {
  78. "id": 84,
  79. "name": "太原市"
  80. },
  81. {
  82. "id": 85,
  83. "name": "大同市"
  84. },
  85. {
  86. "id": 86,
  87. "name": "阳泉市"
  88. },
  89. {
  90. "id": 87,
  91. "name": "长治市"
  92. },
  93. {
  94. "id": 88,
  95. "name": "晋城市"
  96. },
  97. {
  98. "id": 89,
  99. "name": "朔州市"
  100. },
  101. {
  102. "id": 90,
  103. "name": "晋中市"
  104. },
  105. {
  106. "id": 91,
  107. "name": "运城市"
  108. },
  109. {
  110. "id": 92,
  111. "name": "忻州市"
  112. },
  113. {
  114. "id": 93,
  115. "name": "临汾市"
  116. },
  117. {
  118. "id": 94,
  119. "name": "吕梁市"
  120. }
  121. ]
  122. },
  123. {
  124. "id": 5,
  125. "name": "内蒙古自治区",
  126. "childs": [
  127. {
  128. "id": 95,
  129. "name": "呼和浩特市"
  130. },
  131. {
  132. "id": 96,
  133. "name": "包头市"
  134. },
  135. {
  136. "id": 97,
  137. "name": "乌海市"
  138. },
  139. {
  140. "id": 98,
  141. "name": "赤峰市"
  142. },
  143. {
  144. "id": 99,
  145. "name": "通辽市"
  146. },
  147. {
  148. "id": 100,
  149. "name": "鄂尔多斯市"
  150. },
  151. {
  152. "id": 101,
  153. "name": "呼伦贝尔市"
  154. },
  155. {
  156. "id": 102,
  157. "name": "巴彦淖尔市"
  158. },
  159. {
  160. "id": 103,
  161. "name": "乌兰察布市"
  162. },
  163. {
  164. "id": 104,
  165. "name": "兴安盟"
  166. },
  167. {
  168. "id": 105,
  169. "name": "锡林郭勒盟"
  170. },
  171. {
  172. "id": 106,
  173. "name": "阿拉善盟"
  174. }
  175. ]
  176. },
  177. {
  178. "id": 6,
  179. "name": "辽宁省",
  180. "childs": [
  181. {
  182. "id": 107,
  183. "name": "沈阳市"
  184. },
  185. {
  186. "id": 108,
  187. "name": "大连市"
  188. },
  189. {
  190. "id": 109,
  191. "name": "鞍山市"
  192. },
  193. {
  194. "id": 110,
  195. "name": "抚顺市"
  196. },
  197. {
  198. "id": 111,
  199. "name": "本溪市"
  200. },
  201. {
  202. "id": 112,
  203. "name": "丹东市"
  204. },
  205. {
  206. "id": 113,
  207. "name": "锦州市"
  208. },
  209. {
  210. "id": 114,
  211. "name": "营口市"
  212. },
  213. {
  214. "id": 115,
  215. "name": "阜新市"
  216. },
  217. {
  218. "id": 116,
  219. "name": "辽阳市"
  220. },
  221. {
  222. "id": 117,
  223. "name": "盘锦市"
  224. },
  225. {
  226. "id": 118,
  227. "name": "铁岭市"
  228. },
  229. {
  230. "id": 119,
  231. "name": "朝阳市"
  232. },
  233. {
  234. "id": 120,
  235. "name": "葫芦岛市"
  236. }
  237. ]
  238. },
  239. {
  240. "id": 7,
  241. "name": "吉林省",
  242. "childs": [
  243. {
  244. "id": 121,
  245. "name": "长春市"
  246. },
  247. {
  248. "id": 122,
  249. "name": "吉林市"
  250. },
  251. {
  252. "id": 123,
  253. "name": "四平市"
  254. },
  255. {
  256. "id": 124,
  257. "name": "辽源市"
  258. },
  259. {
  260. "id": 125,
  261. "name": "通化市"
  262. },
  263. {
  264. "id": 126,
  265. "name": "白山市"
  266. },
  267. {
  268. "id": 127,
  269. "name": "松原市"
  270. },
  271. {
  272. "id": 128,
  273. "name": "白城市"
  274. },
  275. {
  276. "id": 129,
  277. "name": "延边朝鲜族自治州"
  278. }
  279. ]
  280. },
  281. {
  282. "id": 8,
  283. "name": "黑龙江省",
  284. "childs": [
  285. {
  286. "id": 130,
  287. "name": "哈尔滨市"
  288. },
  289. {
  290. "id": 131,
  291. "name": "齐齐哈尔市"
  292. },
  293. {
  294. "id": 132,
  295. "name": "鸡西市"
  296. },
  297. {
  298. "id": 133,
  299. "name": "鹤岗市"
  300. },
  301. {
  302. "id": 134,
  303. "name": "双鸭山市"
  304. },
  305. {
  306. "id": 135,
  307. "name": "大庆市"
  308. },
  309. {
  310. "id": 136,
  311. "name": "伊春市"
  312. },
  313. {
  314. "id": 137,
  315. "name": "佳木斯市"
  316. },
  317. {
  318. "id": 138,
  319. "name": "七台河市"
  320. },
  321. {
  322. "id": 139,
  323. "name": "牡丹江市"
  324. },
  325. {
  326. "id": 140,
  327. "name": "黑河市"
  328. },
  329. {
  330. "id": 141,
  331. "name": "绥化市"
  332. },
  333. {
  334. "id": 142,
  335. "name": "大兴安岭地区"
  336. }
  337. ]
  338. },
  339. {
  340. "id": 9,
  341. "name": "上海",
  342. "childs": [
  343. {
  344. "id": 39,
  345. "name": "上海市"
  346. }
  347. ]
  348. },
  349. {
  350. "id": 10,
  351. "name": "江苏省",
  352. "childs": [
  353. {
  354. "id": 162,
  355. "name": "南京市"
  356. },
  357. {
  358. "id": 163,
  359. "name": "无锡市"
  360. },
  361. {
  362. "id": 164,
  363. "name": "徐州市"
  364. },
  365. {
  366. "id": 165,
  367. "name": "常州市"
  368. },
  369. {
  370. "id": 166,
  371. "name": "苏州市"
  372. },
  373. {
  374. "id": 167,
  375. "name": "南通市"
  376. },
  377. {
  378. "id": 168,
  379. "name": "连云港市"
  380. },
  381. {
  382. "id": 169,
  383. "name": "淮安市"
  384. },
  385. {
  386. "id": 170,
  387. "name": "盐城市"
  388. },
  389. {
  390. "id": 171,
  391. "name": "扬州市"
  392. },
  393. {
  394. "id": 172,
  395. "name": "镇江市"
  396. },
  397. {
  398. "id": 173,
  399. "name": "泰州市"
  400. },
  401. {
  402. "id": 174,
  403. "name": "宿迁市"
  404. }
  405. ]
  406. },
  407. {
  408. "id": 11,
  409. "name": "浙江省",
  410. "childs": [
  411. {
  412. "id": 175,
  413. "name": "杭州市"
  414. },
  415. {
  416. "id": 176,
  417. "name": "宁波市"
  418. },
  419. {
  420. "id": 177,
  421. "name": "温州市"
  422. },
  423. {
  424. "id": 178,
  425. "name": "嘉兴市"
  426. },
  427. {
  428. "id": 179,
  429. "name": "湖州市"
  430. },
  431. {
  432. "id": 180,
  433. "name": "绍兴市"
  434. },
  435. {
  436. "id": 181,
  437. "name": "舟山市"
  438. },
  439. {
  440. "id": 182,
  441. "name": "衢州市"
  442. },
  443. {
  444. "id": 183,
  445. "name": "金华市"
  446. },
  447. {
  448. "id": 184,
  449. "name": "台州市"
  450. },
  451. {
  452. "id": 185,
  453. "name": "丽水市"
  454. }
  455. ]
  456. },
  457. {
  458. "id": 12,
  459. "name": "安徽省",
  460. "childs": [
  461. {
  462. "id": 186,
  463. "name": "合肥市"
  464. },
  465. {
  466. "id": 187,
  467. "name": "芜湖市"
  468. },
  469. {
  470. "id": 188,
  471. "name": "蚌埠市"
  472. },
  473. {
  474. "id": 189,
  475. "name": "淮南市"
  476. },
  477. {
  478. "id": 190,
  479. "name": "马鞍山市"
  480. },
  481. {
  482. "id": 191,
  483. "name": "淮北市"
  484. },
  485. {
  486. "id": 192,
  487. "name": "铜陵市"
  488. },
  489. {
  490. "id": 193,
  491. "name": "安庆市"
  492. },
  493. {
  494. "id": 194,
  495. "name": "黄山市"
  496. },
  497. {
  498. "id": 195,
  499. "name": "滁州市"
  500. },
  501. {
  502. "id": 196,
  503. "name": "阜阳市"
  504. },
  505. {
  506. "id": 197,
  507. "name": "宿州市"
  508. },
  509. {
  510. "id": 198,
  511. "name": "巢湖市"
  512. },
  513. {
  514. "id": 199,
  515. "name": "六安市"
  516. },
  517. {
  518. "id": 200,
  519. "name": "亳州市"
  520. },
  521. {
  522. "id": 201,
  523. "name": "池州市"
  524. },
  525. {
  526. "id": 202,
  527. "name": "宣城市"
  528. }
  529. ]
  530. },
  531. {
  532. "id": 13,
  533. "name": "福建省",
  534. "childs": [
  535. {
  536. "id": 203,
  537. "name": "福州市"
  538. },
  539. {
  540. "id": 204,
  541. "name": "厦门市"
  542. },
  543. {
  544. "id": 205,
  545. "name": "莆田市"
  546. },
  547. {
  548. "id": 206,
  549. "name": "三明市"
  550. },
  551. {
  552. "id": 207,
  553. "name": "泉州市"
  554. },
  555. {
  556. "id": 208,
  557. "name": "漳州市"
  558. },
  559. {
  560. "id": 209,
  561. "name": "南平市"
  562. },
  563. {
  564. "id": 210,
  565. "name": "龙岩市"
  566. },
  567. {
  568. "id": 211,
  569. "name": "宁德市"
  570. }
  571. ]
  572. },
  573. {
  574. "id": 14,
  575. "name": "江西省",
  576. "childs": [
  577. {
  578. "id": 212,
  579. "name": "南昌市"
  580. },
  581. {
  582. "id": 213,
  583. "name": "景德镇市"
  584. },
  585. {
  586. "id": 214,
  587. "name": "萍乡市"
  588. },
  589. {
  590. "id": 215,
  591. "name": "九江市"
  592. },
  593. {
  594. "id": 216,
  595. "name": "新余市"
  596. },
  597. {
  598. "id": 217,
  599. "name": "鹰潭市"
  600. },
  601. {
  602. "id": 218,
  603. "name": "赣州市"
  604. },
  605. {
  606. "id": 219,
  607. "name": "吉安市"
  608. },
  609. {
  610. "id": 220,
  611. "name": "宜春市"
  612. },
  613. {
  614. "id": 221,
  615. "name": "抚州市"
  616. },
  617. {
  618. "id": 222,
  619. "name": "上饶市"
  620. }
  621. ]
  622. },
  623. {
  624. "id": 15,
  625. "name": "山东省",
  626. "childs": [
  627. {
  628. "id": 223,
  629. "name": "济南市"
  630. },
  631. {
  632. "id": 224,
  633. "name": "青岛市"
  634. },
  635. {
  636. "id": 225,
  637. "name": "淄博市"
  638. },
  639. {
  640. "id": 226,
  641. "name": "枣庄市"
  642. },
  643. {
  644. "id": 227,
  645. "name": "东营市"
  646. },
  647. {
  648. "id": 228,
  649. "name": "烟台市"
  650. },
  651. {
  652. "id": 229,
  653. "name": "潍坊市"
  654. },
  655. {
  656. "id": 230,
  657. "name": "济宁市"
  658. },
  659. {
  660. "id": 231,
  661. "name": "泰安市"
  662. },
  663. {
  664. "id": 232,
  665. "name": "威海市"
  666. },
  667. {
  668. "id": 233,
  669. "name": "日照市"
  670. },
  671. {
  672. "id": 234,
  673. "name": "莱芜市"
  674. },
  675. {
  676. "id": 235,
  677. "name": "临沂市"
  678. },
  679. {
  680. "id": 236,
  681. "name": "德州市"
  682. },
  683. {
  684. "id": 237,
  685. "name": "聊城市"
  686. },
  687. {
  688. "id": 238,
  689. "name": "滨州市"
  690. },
  691. {
  692. "id": 239,
  693. "name": "菏泽市"
  694. }
  695. ]
  696. },
  697. {
  698. "id": 16,
  699. "name": "河南省",
  700. "childs": [
  701. {
  702. "id": 240,
  703. "name": "郑州市"
  704. },
  705. {
  706. "id": 241,
  707. "name": "开封市"
  708. },
  709. {
  710. "id": 242,
  711. "name": "洛阳市"
  712. },
  713. {
  714. "id": 243,
  715. "name": "平顶山市"
  716. },
  717. {
  718. "id": 244,
  719. "name": "安阳市"
  720. },
  721. {
  722. "id": 245,
  723. "name": "鹤壁市"
  724. },
  725. {
  726. "id": 246,
  727. "name": "新乡市"
  728. },
  729. {
  730. "id": 247,
  731. "name": "焦作市"
  732. },
  733. {
  734. "id": 248,
  735. "name": "濮阳市"
  736. },
  737. {
  738. "id": 249,
  739. "name": "许昌市"
  740. },
  741. {
  742. "id": 250,
  743. "name": "漯河市"
  744. },
  745. {
  746. "id": 251,
  747. "name": "三门峡市"
  748. },
  749. {
  750. "id": 252,
  751. "name": "南阳市"
  752. },
  753. {
  754. "id": 253,
  755. "name": "商丘市"
  756. },
  757. {
  758. "id": 254,
  759. "name": "信阳市"
  760. },
  761. {
  762. "id": 255,
  763. "name": "周口市"
  764. },
  765. {
  766. "id": 256,
  767. "name": "驻马店市"
  768. },
  769. {
  770. "id": 257,
  771. "name": "济源市"
  772. }
  773. ]
  774. },
  775. {
  776. "id": 17,
  777. "name": "湖北省",
  778. "childs": [
  779. {
  780. "id": 258,
  781. "name": "武汉市"
  782. },
  783. {
  784. "id": 259,
  785. "name": "黄石市"
  786. },
  787. {
  788. "id": 260,
  789. "name": "十堰市"
  790. },
  791. {
  792. "id": 261,
  793. "name": "宜昌市"
  794. },
  795. {
  796. "id": 262,
  797. "name": "襄阳市"
  798. },
  799. {
  800. "id": 263,
  801. "name": "鄂州市"
  802. },
  803. {
  804. "id": 264,
  805. "name": "荆门市"
  806. },
  807. {
  808. "id": 265,
  809. "name": "孝感市"
  810. },
  811. {
  812. "id": 266,
  813. "name": "荆州市"
  814. },
  815. {
  816. "id": 267,
  817. "name": "黄冈市"
  818. },
  819. {
  820. "id": 268,
  821. "name": "咸宁市"
  822. },
  823. {
  824. "id": 269,
  825. "name": "随州市"
  826. },
  827. {
  828. "id": 270,
  829. "name": "恩施土家族苗族自治州"
  830. },
  831. {
  832. "id": 271,
  833. "name": "仙桃市"
  834. },
  835. {
  836. "id": 272,
  837. "name": "潜江市"
  838. },
  839. {
  840. "id": 273,
  841. "name": "天门市"
  842. },
  843. {
  844. "id": 274,
  845. "name": "神农架林区"
  846. }
  847. ]
  848. },
  849. {
  850. "id": 18,
  851. "name": "湖南省",
  852. "childs": [
  853. {
  854. "id": 275,
  855. "name": "长沙市"
  856. },
  857. {
  858. "id": 276,
  859. "name": "株洲市"
  860. },
  861. {
  862. "id": 277,
  863. "name": "湘潭市"
  864. },
  865. {
  866. "id": 278,
  867. "name": "衡阳市"
  868. },
  869. {
  870. "id": 279,
  871. "name": "邵阳市"
  872. },
  873. {
  874. "id": 280,
  875. "name": "岳阳市"
  876. },
  877. {
  878. "id": 281,
  879. "name": "常德市"
  880. },
  881. {
  882. "id": 282,
  883. "name": "张家界市"
  884. },
  885. {
  886. "id": 283,
  887. "name": "益阳市"
  888. },
  889. {
  890. "id": 284,
  891. "name": "郴州市"
  892. },
  893. {
  894. "id": 285,
  895. "name": "永州市"
  896. },
  897. {
  898. "id": 286,
  899. "name": "怀化市"
  900. },
  901. {
  902. "id": 287,
  903. "name": "娄底市"
  904. },
  905. {
  906. "id": 288,
  907. "name": "湘西土家族苗族自治州"
  908. }
  909. ]
  910. },
  911. {
  912. "id": 19,
  913. "name": "广东省",
  914. "childs": [
  915. {
  916. "id": 289,
  917. "name": "广州市"
  918. },
  919. {
  920. "id": 290,
  921. "name": "韶关市"
  922. },
  923. {
  924. "id": 291,
  925. "name": "深圳市"
  926. },
  927. {
  928. "id": 292,
  929. "name": "珠海市"
  930. },
  931. {
  932. "id": 293,
  933. "name": "汕头市"
  934. },
  935. {
  936. "id": 294,
  937. "name": "佛山市"
  938. },
  939. {
  940. "id": 295,
  941. "name": "江门市"
  942. },
  943. {
  944. "id": 296,
  945. "name": "湛江市"
  946. },
  947. {
  948. "id": 297,
  949. "name": "茂名市"
  950. },
  951. {
  952. "id": 298,
  953. "name": "肇庆市"
  954. },
  955. {
  956. "id": 299,
  957. "name": "惠州市"
  958. },
  959. {
  960. "id": 300,
  961. "name": "梅州市"
  962. },
  963. {
  964. "id": 301,
  965. "name": "汕尾市"
  966. },
  967. {
  968. "id": 302,
  969. "name": "河源市"
  970. },
  971. {
  972. "id": 303,
  973. "name": "阳江市"
  974. },
  975. {
  976. "id": 304,
  977. "name": "清远市"
  978. },
  979. {
  980. "id": 305,
  981. "name": "东莞市"
  982. },
  983. {
  984. "id": 306,
  985. "name": "中山市"
  986. },
  987. {
  988. "id": 307,
  989. "name": "潮州市"
  990. },
  991. {
  992. "id": 308,
  993. "name": "揭阳市"
  994. },
  995. {
  996. "id": 309,
  997. "name": "云浮市"
  998. }
  999. ]
  1000. },
  1001. {
  1002. "id": 20,
  1003. "name": "广西壮族自治区",
  1004. "childs": [
  1005. {
  1006. "id": 310,
  1007. "name": "南宁市"
  1008. },
  1009. {
  1010. "id": 311,
  1011. "name": "柳州市"
  1012. },
  1013. {
  1014. "id": 312,
  1015. "name": "桂林市"
  1016. },
  1017. {
  1018. "id": 313,
  1019. "name": "梧州市"
  1020. },
  1021. {
  1022. "id": 314,
  1023. "name": "北海市"
  1024. },
  1025. {
  1026. "id": 315,
  1027. "name": "防城港市"
  1028. },
  1029. {
  1030. "id": 316,
  1031. "name": "钦州市"
  1032. },
  1033. {
  1034. "id": 317,
  1035. "name": "贵港市"
  1036. },
  1037. {
  1038. "id": 318,
  1039. "name": "玉林市"
  1040. },
  1041. {
  1042. "id": 319,
  1043. "name": "百色市"
  1044. },
  1045. {
  1046. "id": 320,
  1047. "name": "贺州市"
  1048. },
  1049. {
  1050. "id": 321,
  1051. "name": "河池市"
  1052. },
  1053. {
  1054. "id": 322,
  1055. "name": "来宾市"
  1056. },
  1057. {
  1058. "id": 323,
  1059. "name": "崇左市"
  1060. }
  1061. ]
  1062. },
  1063. {
  1064. "id": 21,
  1065. "name": "海南省",
  1066. "childs": [
  1067. {
  1068. "id": 324,
  1069. "name": "海口市"
  1070. },
  1071. {
  1072. "id": 325,
  1073. "name": "三亚市"
  1074. },
  1075. {
  1076. "id": 326,
  1077. "name": "五指山市"
  1078. },
  1079. {
  1080. "id": 327,
  1081. "name": "琼海市"
  1082. },
  1083. {
  1084. "id": 328,
  1085. "name": "儋州市"
  1086. },
  1087. {
  1088. "id": 329,
  1089. "name": "文昌市"
  1090. },
  1091. {
  1092. "id": 330,
  1093. "name": "万宁市"
  1094. },
  1095. {
  1096. "id": 331,
  1097. "name": "东方市"
  1098. },
  1099. {
  1100. "id": 332,
  1101. "name": "定安县"
  1102. },
  1103. {
  1104. "id": 333,
  1105. "name": "屯昌县"
  1106. },
  1107. {
  1108. "id": 334,
  1109. "name": "澄迈县"
  1110. },
  1111. {
  1112. "id": 335,
  1113. "name": "临高县"
  1114. },
  1115. {
  1116. "id": 336,
  1117. "name": "白沙黎族自治县"
  1118. },
  1119. {
  1120. "id": 337,
  1121. "name": "昌江黎族自治县"
  1122. },
  1123. {
  1124. "id": 338,
  1125. "name": "乐东黎族自治县"
  1126. },
  1127. {
  1128. "id": 339,
  1129. "name": "陵水黎族自治县"
  1130. },
  1131. {
  1132. "id": 340,
  1133. "name": "保亭黎族苗族自治县"
  1134. },
  1135. {
  1136. "id": 341,
  1137. "name": "琼中黎族苗族自治县"
  1138. },
  1139. {
  1140. "id": 342,
  1141. "name": "西沙群岛"
  1142. },
  1143. {
  1144. "id": 343,
  1145. "name": "南沙群岛"
  1146. },
  1147. {
  1148. "id": 344,
  1149. "name": "中沙群岛的岛礁及其海域"
  1150. }
  1151. ]
  1152. },
  1153. {
  1154. "id": 22,
  1155. "name": "重庆",
  1156. "childs": [
  1157. {
  1158. "id": 62,
  1159. "name": "重庆市"
  1160. }
  1161. ]
  1162. },
  1163. {
  1164. "id": 23,
  1165. "name": "四川省",
  1166. "childs": [
  1167. {
  1168. "id": 385,
  1169. "name": "成都市"
  1170. },
  1171. {
  1172. "id": 386,
  1173. "name": "自贡市"
  1174. },
  1175. {
  1176. "id": 387,
  1177. "name": "攀枝花市"
  1178. },
  1179. {
  1180. "id": 388,
  1181. "name": "泸州市"
  1182. },
  1183. {
  1184. "id": 389,
  1185. "name": "德阳市"
  1186. },
  1187. {
  1188. "id": 390,
  1189. "name": "绵阳市"
  1190. },
  1191. {
  1192. "id": 391,
  1193. "name": "广元市"
  1194. },
  1195. {
  1196. "id": 392,
  1197. "name": "遂宁市"
  1198. },
  1199. {
  1200. "id": 393,
  1201. "name": "内江市"
  1202. },
  1203. {
  1204. "id": 394,
  1205. "name": "乐山市"
  1206. },
  1207. {
  1208. "id": 395,
  1209. "name": "南充市"
  1210. },
  1211. {
  1212. "id": 396,
  1213. "name": "眉山市"
  1214. },
  1215. {
  1216. "id": 397,
  1217. "name": "宜宾市"
  1218. },
  1219. {
  1220. "id": 398,
  1221. "name": "广安市"
  1222. },
  1223. {
  1224. "id": 399,
  1225. "name": "达州市"
  1226. },
  1227. {
  1228. "id": 400,
  1229. "name": "雅安市"
  1230. },
  1231. {
  1232. "id": 401,
  1233. "name": "巴中市"
  1234. },
  1235. {
  1236. "id": 402,
  1237. "name": "资阳市"
  1238. },
  1239. {
  1240. "id": 403,
  1241. "name": "阿坝藏族羌族自治州"
  1242. },
  1243. {
  1244. "id": 404,
  1245. "name": "甘孜藏族自治州"
  1246. },
  1247. {
  1248. "id": 405,
  1249. "name": "凉山彝族自治州"
  1250. }
  1251. ]
  1252. },
  1253. {
  1254. "id": 24,
  1255. "name": "贵州省",
  1256. "childs": [
  1257. {
  1258. "id": 406,
  1259. "name": "贵阳市"
  1260. },
  1261. {
  1262. "id": 407,
  1263. "name": "六盘水市"
  1264. },
  1265. {
  1266. "id": 408,
  1267. "name": "遵义市"
  1268. },
  1269. {
  1270. "id": 409,
  1271. "name": "安顺市"
  1272. },
  1273. {
  1274. "id": 410,
  1275. "name": "铜仁地区"
  1276. },
  1277. {
  1278. "id": 411,
  1279. "name": "黔西南布依族苗族自治州"
  1280. },
  1281. {
  1282. "id": 412,
  1283. "name": "毕节地区"
  1284. },
  1285. {
  1286. "id": 413,
  1287. "name": "黔东南苗族侗族自治州"
  1288. },
  1289. {
  1290. "id": 414,
  1291. "name": "黔南布依族苗族自治州"
  1292. }
  1293. ]
  1294. },
  1295. {
  1296. "id": 25,
  1297. "name": "云南省",
  1298. "childs": [
  1299. {
  1300. "id": 415,
  1301. "name": "昆明市"
  1302. },
  1303. {
  1304. "id": 416,
  1305. "name": "曲靖市"
  1306. },
  1307. {
  1308. "id": 417,
  1309. "name": "玉溪市"
  1310. },
  1311. {
  1312. "id": 418,
  1313. "name": "保山市"
  1314. },
  1315. {
  1316. "id": 419,
  1317. "name": "昭通市"
  1318. },
  1319. {
  1320. "id": 420,
  1321. "name": "丽江市"
  1322. },
  1323. {
  1324. "id": 421,
  1325. "name": "普洱市"
  1326. },
  1327. {
  1328. "id": 422,
  1329. "name": "临沧市"
  1330. },
  1331. {
  1332. "id": 423,
  1333. "name": "楚雄彝族自治州"
  1334. },
  1335. {
  1336. "id": 424,
  1337. "name": "红河哈尼族彝族自治州"
  1338. },
  1339. {
  1340. "id": 425,
  1341. "name": "文山壮族苗族自治州"
  1342. },
  1343. {
  1344. "id": 426,
  1345. "name": "西双版纳傣族自治州"
  1346. },
  1347. {
  1348. "id": 427,
  1349. "name": "大理白族自治州"
  1350. },
  1351. {
  1352. "id": 428,
  1353. "name": "德宏傣族景颇族自治州"
  1354. },
  1355. {
  1356. "id": 429,
  1357. "name": "怒江傈僳族自治州"
  1358. },
  1359. {
  1360. "id": 430,
  1361. "name": "迪庆藏族自治州"
  1362. }
  1363. ]
  1364. },
  1365. {
  1366. "id": 27,
  1367. "name": "陕西省",
  1368. "childs": [
  1369. {
  1370. "id": 438,
  1371. "name": "西安市"
  1372. },
  1373. {
  1374. "id": 439,
  1375. "name": "铜川市"
  1376. },
  1377. {
  1378. "id": 440,
  1379. "name": "宝鸡市"
  1380. },
  1381. {
  1382. "id": 441,
  1383. "name": "咸阳市"
  1384. },
  1385. {
  1386. "id": 442,
  1387. "name": "渭南市"
  1388. },
  1389. {
  1390. "id": 443,
  1391. "name": "延安市"
  1392. },
  1393. {
  1394. "id": 444,
  1395. "name": "汉中市"
  1396. },
  1397. {
  1398. "id": 445,
  1399. "name": "榆林市"
  1400. },
  1401. {
  1402. "id": 446,
  1403. "name": "安康市"
  1404. },
  1405. {
  1406. "id": 447,
  1407. "name": "商洛市"
  1408. }
  1409. ]
  1410. },
  1411. {
  1412. "id": 28,
  1413. "name": "甘肃省",
  1414. "childs": [
  1415. {
  1416. "id": 448,
  1417. "name": "兰州市"
  1418. },
  1419. {
  1420. "id": 449,
  1421. "name": "嘉峪关市"
  1422. },
  1423. {
  1424. "id": 450,
  1425. "name": "金昌市"
  1426. },
  1427. {
  1428. "id": 451,
  1429. "name": "白银市"
  1430. },
  1431. {
  1432. "id": 452,
  1433. "name": "天水市"
  1434. },
  1435. {
  1436. "id": 453,
  1437. "name": "武威市"
  1438. },
  1439. {
  1440. "id": 454,
  1441. "name": "张掖市"
  1442. },
  1443. {
  1444. "id": 455,
  1445. "name": "平凉市"
  1446. },
  1447. {
  1448. "id": 456,
  1449. "name": "酒泉市"
  1450. },
  1451. {
  1452. "id": 457,
  1453. "name": "庆阳市"
  1454. },
  1455. {
  1456. "id": 458,
  1457. "name": "定西市"
  1458. },
  1459. {
  1460. "id": 459,
  1461. "name": "陇南市"
  1462. },
  1463. {
  1464. "id": 460,
  1465. "name": "临夏回族自治州"
  1466. },
  1467. {
  1468. "id": 461,
  1469. "name": "甘南藏族自治州"
  1470. }
  1471. ]
  1472. },
  1473. {
  1474. "id": 29,
  1475. "name": "青海省",
  1476. "childs": [
  1477. {
  1478. "id": 462,
  1479. "name": "西宁市"
  1480. },
  1481. {
  1482. "id": 463,
  1483. "name": "海东地区"
  1484. },
  1485. {
  1486. "id": 464,
  1487. "name": "海北藏族自治州"
  1488. },
  1489. {
  1490. "id": 465,
  1491. "name": "黄南藏族自治州"
  1492. },
  1493. {
  1494. "id": 466,
  1495. "name": "海南藏族自治州"
  1496. },
  1497. {
  1498. "id": 467,
  1499. "name": "果洛藏族自治州"
  1500. },
  1501. {
  1502. "id": 468,
  1503. "name": "玉树藏族自治州"
  1504. },
  1505. {
  1506. "id": 469,
  1507. "name": "海西蒙古族藏族自治州"
  1508. }
  1509. ]
  1510. },
  1511. {
  1512. "id": 30,
  1513. "name": "宁夏回族自治区",
  1514. "childs": [
  1515. {
  1516. "id": 470,
  1517. "name": "银川市"
  1518. },
  1519. {
  1520. "id": 471,
  1521. "name": "石嘴山市"
  1522. },
  1523. {
  1524. "id": 472,
  1525. "name": "吴忠市"
  1526. },
  1527. {
  1528. "id": 473,
  1529. "name": "固原市"
  1530. },
  1531. {
  1532. "id": 474,
  1533. "name": "中卫市"
  1534. }
  1535. ]
  1536. }
  1537. ]

apicloud 运费计算js+页面的更多相关文章

  1. 两种方法实现js页面隔几秒后跳转,及区别

    这里需要用到window的两个对象方法,setInterval()和setTimeout() 一. 区别: 1.  setInterval(code,millisec)  周期性(millisec单位 ...

  2. javascript语法 1.运算符 2. 流程控制 3. 函数 4. 四种变量 5. 数据类型的运用 6. js页面交互

    1.运算符 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <tit ...

  3. js页面跳转整理

    js页面跳转整理 js方式的页面跳转1.window.location.href方式    <script language="javascript" type=" ...

  4. js获取当前时间&js 页面时钟

    js获取当前时间 //获取当前时间,格式YYYY-MM-DD function getNowFormatDate() { var date = new Date(); var seperator1 = ...

  5. js页面跳转参考代码大全

    整理一下JS页面跳转参考代码 第一种:     <script language=/"javascript/" type=/"text/javascript/&qu ...

  6. js页面传参数时,参数值包含特殊字符的处理

    js页面传参数时,参数值包含特殊字符应该怎么处理,解决方法就是利用js的escape函数,这个函数在解决中文乱码等方面应用的比较广泛.推荐使用. 工作中遇到的小问题,一个页面中通过window.sho ...

  7. js页面跳转 和 js打开新窗口 方法

    js页面跳转 和 js打开新窗口 方法 第一种: 第二种: 第三种: 第四种: 第五种: 1.在原来的窗体中直接跳转用 window.location.href="你所要跳转的页面" ...

  8. 常用的JS页面跳转代码调用大全

    一.常规的JS页面跳转代码 1.在原来的窗体中直接跳转用 <script type="text/javascript"> window.location.href=&q ...

  9. JS页面延迟执行一些方法(整理)

    一般在JS页面延迟执行一些方法.可以使用以下的方法 jQuery.delay()方法简介 http://shawphy.com/2010/11/jquery-delay.html jQuery中que ...

随机推荐

  1. puppet工简介一

    puppet简介一 puppet工作原理 puppet 是一个配置管理工具, 典型的, puppet 是一个 C/S 结构, 当然,这里的 C 可以有很多,因 此,也可以说是一个星型结构. 所有的 p ...

  2. Transposed Convolution 反卷积

    Transposed convolutions也称作fractionally strided convolutions(本人比较喜欢这个称呼,比较直观),Upconvolution,deconvolu ...

  3. java高并发核心要点|系列3|锁的底层实现原理|ABA问题

    继续讲CAS算法,上篇文章我们知道,CAS算法底层实现,是通过CPU的原子指令来实现. 那么这里又有一个情景: 话说,有一个线程one从内存位置V中取出A,这时候另一个线程two也从内存中取出A,并且 ...

  4. Python核心技术与实战——十二|Python的比较与拷贝

    我们在前面已经接触到了很多Python对象比较的例子,例如这样的 a = b = a == b 或者是将一个对象进行拷贝 l1 = [,,,,] l2 = l1 l3 = list(l1) 那么现在试 ...

  5. 【洛谷P2602】数字计数

    题目大意:求 [a,b] 中 0-9 分别出现了多少次. 题解:看数据范围应该是一个数位dp. 在 dfs 框架中维护当前的位置和到当前位置一共出现了多少个 \(x,x\in [0,9]\).因此,用 ...

  6. java<T>泛型

    泛型 1.泛型的概述 在JDK1.5之前,把对象放入到集合中,集合不会记住元素的类型,取出时,全都变成Object类型.泛型是jdk5引入的类型机制,就是将类型参数化,它是早在1999年就制定的jsr ...

  7. VUEX报错 [vuex] Do not mutate vuex store state outside mutation handlers

    数组 错误的写法:let listData= state.playList; // 数组深拷贝,VUEX就报错 正确的写法:let listDate= state.playList.slice(); ...

  8. Codeforces 1272D

    题意:给定一个长度为n的数组a,你至多可以删去其中的一个元素,找出最长的连续(严格)上升子序列的长度. 分析:读完题之后可以发现这道题和模板:连续上升子序列很相像,首先可以确定方向是dp:状态是当前的 ...

  9. shiro框架学习-7- Shiro权限控制注解和编程方式

    讲解权限角色控制 @RequiresRoles, @RequiresPermissions等注解的使用和编程式控制 配置文件的方式 使用ShiroConfig 注解方式 @RequiresRoles( ...

  10. 什么是工作流java Activity

    见:http://www.it165.net/pro/html/201504/37443.html 一. 什么是工作流 以请假为例,现在大多数公司的请假流程是这样的 员工打电话(或网聊)向上级提出请假 ...