Browse Source

fix readme

motephyr 10 years ago
parent
commit
d00a5a30dd
1 changed files with 25 additions and 1 deletions
  1. 25 1
      README.md

+ 25 - 1
README.md

@@ -40,7 +40,31 @@
 
 请留意:所有选择框都要有 `city-select` class,并都包含于 class='city-group' 的 DOM 元素之下。
 
-選擇後的值為台灣的郵遞區號。
+選擇後的值前2碼為個人自行編碼,後3碼為台灣的郵遞區號。
+
+```
+        {"text": "臺北市" ,"id": "01000"},
+        {"text": "新北市" ,"id": "02000"},
+        {"text": "基隆"   ,"id": "03000"},
+        {"text": "桃園"   ,"id": "04000"},
+        {"text": "新竹"   ,"id": "05000"},
+        {"text": "苗栗"   ,"id": "06000"},
+        {"text": "台中"   ,"id": "07000"},
+        {"text": "彰化"   ,"id": "08000"},
+        {"text": "南投"   ,"id": "09000"},
+        {"text": "雲林"   ,"id": "10000"},
+        {"text": "嘉義"   ,"id": "11000"},
+        {"text": "台南"   ,"id": "12000"},
+        {"text": "高雄"   ,"id": "13000"},
+        {"text": "屏東"   ,"id": "14000"},
+        {"text": "宜蘭"   ,"id": "15000"},
+        {"text": "花蓮"   ,"id": "16000"},
+        {"text": "台東"   ,"id": "17000"},
+        {"text": "澎湖"   ,"id": "18000"},
+        {"text": "金門"   ,"id": "19000"},
+        {"text": "馬祖"   ,"id": "20000"},
+        {"text": "離島地區","id": "21000"}
+```
 
 ## 贡献