You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2472 lines
39 KiB

  1. <template>
  2. <div class="tw-flex tw-flex-col">
  3. <div v-if="language">
  4. <select v-model="codeSelect"
  5. :class="['tw-text-black tw-h-[44px] tw-text-[13px] tw-border tw-border-solid tw-border-neutrals-200 tw-rounded-[5px] tw-px-[15px] tw-py-[9px] tw-outline-none tw-mr-[5px] focus:tw-border-primary-1',
  6. validation ? '' : 'tw-border-error-default'
  7. ]"
  8. >
  9. <option :value="0">{{ $t("Select option") }}</option>
  10. <option
  11. v-for="(item, index) in countryCodeOptions_tw"
  12. :key="index"
  13. :value="item.id"
  14. >
  15. {{ item.code + " " + item.name }}
  16. </option>
  17. </select>
  18. </div>
  19. <div v-else>
  20. <select v-model="codeSelect"
  21. :class="['tw-text-neutrals-500 tw-h-[44px] tw-text-[13px] tw-border tw-border-solid tw-border-neutrals-200 tw-rounded-[5px] tw-px-[15px] tw-py-[9px] tw-outline-none tw-mr-[5px] focus:tw-border-primary-1',
  22. validation ? '' : 'tw-border-error-default'
  23. ]"
  24. >
  25. <option
  26. v-for="(item, index) in countryCodeOptions_en"
  27. :key="index"
  28. :value="item.id"
  29. >
  30. {{ item.code + " " + item.name }}
  31. </option>
  32. </select>
  33. </div>
  34. </div>
  35. </template>
  36. <script>
  37. export default {
  38. name: "elementCountryCodeSelect",
  39. data() {
  40. return {
  41. language: true,
  42. codeSelect: "999",
  43. countryCodeOptions_tw:[
  44. {
  45. id: 'as',
  46. name: '美屬薩摩亞',
  47. code: '+1'
  48. },
  49. {
  50. id: 'ai',
  51. name: '安圭拉',
  52. code: '+1'
  53. },
  54. {
  55. id: 'ag',
  56. name: '安提瓜和巴布達',
  57. code: '+1'
  58. },
  59. {
  60. id: 'bs',
  61. name: '巴哈馬',
  62. code: '+1'
  63. },
  64. {
  65. id: 'bb',
  66. name: '巴巴多斯',
  67. code: '+1'
  68. },
  69. {
  70. id: 'bm',
  71. name: '百慕達',
  72. code: '+1'
  73. },
  74. {
  75. id: 'vg',
  76. name: '英屬維京群島',
  77. code: '+1'
  78. },
  79. {
  80. id: 'ca',
  81. name: '加拿大',
  82. code: '+1'
  83. },
  84. {
  85. id: 'ky',
  86. name: '開曼群島',
  87. code: '+1'
  88. },
  89. {
  90. id: 'dm',
  91. name: '多米尼克',
  92. code: '+1'
  93. },
  94. {
  95. id: 'do',
  96. name: '多明尼加共和國(República Dominicana)',
  97. code: '+1'
  98. },
  99. {
  100. id: 'gu',
  101. name: '關島',
  102. code: '+1'
  103. },
  104. {
  105. id: 'gd',
  106. name: '格瑞那達',
  107. code: '+1'
  108. },
  109. {
  110. id: 'us',
  111. name: '美國',
  112. code: '+1'
  113. },
  114. {
  115. id: 'tt',
  116. name: '千里達及托巴哥',
  117. code: '+1'
  118. },
  119. {
  120. id: 'sx',
  121. name: '荷屬聖馬丁',
  122. code: '+1'
  123. },
  124. {
  125. id: 'vc',
  126. name: '聖文森及格瑞那丁',
  127. code: '+1'
  128. },
  129. {
  130. id: 'kn',
  131. name: '聖克里斯多福及尼維斯',
  132. code: '+1'
  133. },
  134. {
  135. id: 'lc',
  136. name: '聖盧西亞',
  137. code: '+1'
  138. },
  139. {
  140. id: 'pr',
  141. name: '波多黎各',
  142. code: '+1'
  143. },
  144. {
  145. id: 'mp',
  146. name: '北馬里亞納群島',
  147. code: '+1'
  148. },
  149. {
  150. id: 'ms',
  151. name: '蒙特塞拉特',
  152. code: '+1'
  153. },
  154. {
  155. id: 'jm',
  156. name: '牙買加',
  157. code: '+1'
  158. },
  159. {
  160. id: 'vi',
  161. name: '美屬維京群島',
  162. code: '+1'
  163. },
  164. {
  165. id: 'tc',
  166. name: '特克斯和凱科斯群島',
  167. code: '+1'
  168. },
  169. {
  170. id: 'kz',
  171. name: '哈薩克斯坦 (Казахстан)',
  172. code: '+7'
  173. },
  174. {
  175. id: 'ru',
  176. name: '俄羅斯(Россия)',
  177. code: '+7'
  178. },
  179. {
  180. id: 'eg',
  181. name: '埃及(‫مصر‬‎)',
  182. code: '+20'
  183. },
  184. {
  185. id: 'za',
  186. name: '南非',
  187. code: '+27'
  188. },
  189. {
  190. id: 'gr',
  191. name: '希臘',
  192. code: '+30'
  193. },
  194. {
  195. id: 'nl',
  196. name: '荷蘭',
  197. code: '+31'
  198. },
  199. {
  200. id: 'be',
  201. name: '比利時(België)',
  202. code: '+32'
  203. },
  204. {
  205. id: 'fr',
  206. name: '法國',
  207. code: '+33'
  208. },
  209. {
  210. id: 'es',
  211. name: '西班牙',
  212. code: '+34'
  213. },
  214. {
  215. id: 'it',
  216. name: '意大利 (Italia)',
  217. code: '+39'
  218. },
  219. {
  220. id: 'va',
  221. name: '梵蒂岡城',
  222. code: '+39'
  223. },
  224. {
  225. id: 'ro',
  226. name: '羅馬尼亞(România)',
  227. code: '+40'
  228. },
  229. {
  230. id: 'ch',
  231. name: '瑞士',
  232. code: '+41'
  233. },
  234. {
  235. id: 'gg',
  236. name: '根西島',
  237. code: '+44'
  238. },
  239. {
  240. id: 'gb',
  241. name: '英國',
  242. code: '+44'
  243. },
  244. {
  245. id: 'je',
  246. name: '澤西島',
  247. code: '+44'
  248. },
  249. {
  250. id: 'dk',
  251. name: '丹麥(Danmark)',
  252. code: '+45'
  253. },
  254. {
  255. id: 'se',
  256. name: '瑞典',
  257. code: '+46'
  258. },
  259. {
  260. id: 'sj',
  261. name: '斯瓦爾巴和揚馬延',
  262. code: '+47'
  263. },
  264. {
  265. id: 'no',
  266. name: '挪威',
  267. code: '+47'
  268. },
  269. {
  270. id: 'pl',
  271. name: '波蘭(Polska)',
  272. code: '+48'
  273. },
  274. {
  275. id: 'de',
  276. name: '德國',
  277. code: '+49'
  278. },
  279. {
  280. id: 'pe',
  281. name: '秘魯(Perú)',
  282. code: '+51'
  283. },
  284. {
  285. id: 'mx',
  286. name: '墨西哥',
  287. code: '+52'
  288. },
  289. {
  290. id: 'cu',
  291. name: '古巴',
  292. code: '+53'
  293. },
  294. {
  295. id: 'ar',
  296. name: '阿根廷',
  297. code: '+54'
  298. },
  299. {
  300. id: 'br',
  301. name: '巴西',
  302. code: '+55'
  303. },
  304. {
  305. id: 'cl',
  306. name: '智利',
  307. code: '+56'
  308. },
  309. {
  310. id: 'co',
  311. name: '哥倫比亞',
  312. code: '+57'
  313. },
  314. {
  315. id: 've',
  316. name: '委內瑞拉',
  317. code: '+58'
  318. },
  319. {
  320. id: 'my',
  321. name: '馬來西亞',
  322. code: '+60'
  323. },
  324. {
  325. id: 'au',
  326. name: '澳大利亞',
  327. code: '+61'
  328. },
  329. {
  330. id: 'cx',
  331. name: '聖誕島',
  332. code: '+61'
  333. },
  334. {
  335. id: 'cc',
  336. name: '科科斯群島(基林)',
  337. code: '+61'
  338. },
  339. {
  340. id: 'ph',
  341. name: '菲律賓',
  342. code: '+63'
  343. },
  344. {
  345. id: 'nz',
  346. name: '新西蘭',
  347. code: '+64'
  348. },
  349. {
  350. id: 'sg',
  351. name: '新加坡',
  352. code: '+65'
  353. },
  354. {
  355. id: 'th',
  356. name: '泰國',
  357. code: '+66'
  358. },
  359. {
  360. id: 'jp',
  361. name: '日本 (日本)',
  362. code: '+81'
  363. },
  364. {
  365. id: 'kr',
  366. name: '南韓',
  367. code: '+82'
  368. },
  369. {
  370. id: 'vn',
  371. name: '越南',
  372. code: '+84'
  373. },
  374. {
  375. id: 'cn',
  376. name: '中國(中国)',
  377. code: '+86'
  378. },
  379. {
  380. id: 'tr',
  381. name: '土耳其',
  382. code: '+90'
  383. },
  384. {
  385. id: 'pk',
  386. name: '巴基斯坦',
  387. code: '+92'
  388. },
  389. {
  390. id: 'af',
  391. name: '阿富汗(‫افغانستان‬‎)',
  392. code: '+93'
  393. },
  394. {
  395. id: 'lk',
  396. name: '斯里蘭卡',
  397. code: '+94'
  398. },
  399. {
  400. id: 'mm',
  401. name: '緬甸',
  402. code: '+95'
  403. },
  404. {
  405. id: 'ss',
  406. name: '南蘇丹',
  407. code: '+211'
  408. },
  409. {
  410. id: 'ma',
  411. name: '摩洛哥',
  412. code: '+212'
  413. },
  414. {
  415. id: 'eh',
  416. name: '西撒哈拉',
  417. code: '+212'
  418. },
  419. {
  420. id: 'dz',
  421. name: '阿爾及利亞(‫الجزائر‬‎)',
  422. code: '+213'
  423. },
  424. {
  425. id: 'tn',
  426. name: '突尼西亞',
  427. code: '+216'
  428. },
  429. {
  430. id: 'ly',
  431. name: '利比亞 (‫ليبيا‬‎)',
  432. code: '+218'
  433. },
  434. {
  435. id: 'gm',
  436. name: '甘比亞',
  437. code: '+220'
  438. },
  439. {
  440. id: 'sn',
  441. name: '塞內加爾',
  442. code: '+221'
  443. },
  444. {
  445. id: 'mr',
  446. name: '茅利塔尼亞 (‫موريتانيا‬‎)',
  447. code: '+222'
  448. },
  449. {
  450. id: 'ml',
  451. name: '馬里',
  452. code: '+223'
  453. },
  454. {
  455. id: 'gn',
  456. name: '幾內亞',
  457. code: '+224'
  458. },
  459. {
  460. id: 'ci',
  461. name: '科特迪瓦',
  462. code: '+225'
  463. },
  464. {
  465. id: 'bf',
  466. name: '布基納法索',
  467. code: '+226'
  468. },
  469. {
  470. id: 'ne',
  471. name: '尼日',
  472. code: '+227'
  473. },
  474. {
  475. id: 'tg',
  476. name: '多哥',
  477. code: '+228'
  478. },
  479. {
  480. id: 'bj',
  481. name: '貝南',
  482. code: '+229'
  483. },
  484. {
  485. id: 'mu',
  486. name: '毛里求斯',
  487. code: '+230'
  488. },
  489. {
  490. id: 'lr',
  491. name: '利比里亞',
  492. code: '+231'
  493. },
  494. {
  495. id: 'sl',
  496. name: '獅子山',
  497. code: '+232'
  498. },
  499. {
  500. id: 'gh',
  501. name: '迦納',
  502. code: '+233'
  503. },
  504. {
  505. id: 'ng',
  506. name: '尼日利亞',
  507. code: '+234'
  508. },
  509. {
  510. id: 'td',
  511. name: '查德',
  512. code: '+235'
  513. },
  514. {
  515. id: 'cf',
  516. name: '中非共和國',
  517. code: '+236'
  518. },
  519. {
  520. id: 'cm',
  521. name: '喀麥隆',
  522. code: '+237'
  523. },
  524. {
  525. id: 'cv',
  526. name: '佛得角',
  527. code: '+238'
  528. },
  529. {
  530. id: 'st',
  531. name: '聖多美和普林西比',
  532. code: '+239'
  533. },
  534. {
  535. id: 'gq',
  536. name: '赤道幾內亞',
  537. code: '+240'
  538. },
  539. {
  540. id: 'ga',
  541. name: '加彭',
  542. code: '+241'
  543. },
  544. {
  545. id: 'cg',
  546. name: '剛果(布)(Congo-Brazzaville)',
  547. code: '+242'
  548. },
  549. {
  550. id: 'cd',
  551. name: '剛果(金)(Jamhuri ya Kidemokrasia ya Kongo)',
  552. code: '+243'
  553. },
  554. {
  555. id: 'ao',
  556. name: '安哥拉',
  557. code: '+244'
  558. },
  559. {
  560. id: 'gw',
  561. name: '幾內亞比索',
  562. code: '+245'
  563. },
  564. {
  565. id: 'sc',
  566. name: '塞舌爾',
  567. code: '+248'
  568. },
  569. {
  570. id: 'sd',
  571. name: '蘇丹',
  572. code: '+249'
  573. },
  574. {
  575. id: 'io',
  576. name: '英屬印度洋領地',
  577. code: '+246'
  578. },
  579. {
  580. id: 'ac',
  581. name: '阿森松島',
  582. code: '+247'
  583. },
  584. {
  585. id: 'rw',
  586. name: '盧安達',
  587. code: '+250'
  588. },
  589. {
  590. id: 'et',
  591. name: '衣索比亞',
  592. code: '+251'
  593. },
  594. {
  595. id: 'so',
  596. name: '索馬利亞',
  597. code: '+252'
  598. },
  599. {
  600. id: 'dj',
  601. name: '吉布地',
  602. code: '+253'
  603. },
  604. {
  605. id: 'ke',
  606. name: '肯尼亞',
  607. code: '+254'
  608. },
  609. {
  610. id: 'tz',
  611. name: '坦桑尼亞',
  612. code: '+255'
  613. },
  614. {
  615. id: 'ug',
  616. name: '烏干達',
  617. code: '+256'
  618. },
  619. {
  620. id: 'bi',
  621. name: '蒲隆地',
  622. code: '+257'
  623. },
  624. {
  625. id: 'mz',
  626. name: '莫桑比克',
  627. code: '+258'
  628. },
  629. {
  630. id: 'zm',
  631. name: '尚比亞',
  632. code: '+260'
  633. },
  634. {
  635. id: 'mg',
  636. name: '馬達加斯加 (Madagasikara)',
  637. code: '+261'
  638. },
  639. {
  640. id: 'yt',
  641. name: '馬約特',
  642. code: '+262'
  643. },
  644. {
  645. id: 're',
  646. name: '留尼旺(La Réunion)',
  647. code: '+262'
  648. },
  649. {
  650. id: 'zw',
  651. name: '辛巴威',
  652. code: '+263'
  653. },
  654. {
  655. id: 'na',
  656. name: '納米比亞',
  657. code: '+264'
  658. },
  659. {
  660. id: 'mw',
  661. name: '馬拉維',
  662. code: '+265'
  663. },
  664. {
  665. id: 'ls',
  666. name: '萊索托',
  667. code: '266'
  668. },
  669. {
  670. id: 'bw',
  671. name: '博茨瓦納',
  672. code: '+267'
  673. },
  674. {
  675. id: 'sz',
  676. name: '史瓦濟蘭',
  677. code: '+268'
  678. },
  679. {
  680. id: 'km',
  681. name: '科摩羅(‫جزر القمر‬‎)',
  682. code: '+269'
  683. },
  684. {
  685. id: 'sh',
  686. name: '聖赫勒拿',
  687. code: '+290'
  688. },
  689. {
  690. id: 'er',
  691. name: '厄立特里亞',
  692. code: '+291'
  693. },
  694. {
  695. id: 'aw',
  696. name: '阿魯巴',
  697. code: '+297'
  698. },
  699. {
  700. id: 'fo',
  701. name: '法羅群島',
  702. code: '+298'
  703. },
  704. {
  705. id: 'gl',
  706. name: '格陵蘭',
  707. code: '+299'
  708. },
  709. {
  710. id: 'gi',
  711. name: '直布羅陀',
  712. code: '+350'
  713. },
  714. {
  715. id: 'pt',
  716. name: '葡萄牙',
  717. code: '+351'
  718. },
  719. {
  720. id: 'lu',
  721. name: '盧森堡',
  722. code: '+352'
  723. },
  724. {
  725. id: 'al',
  726. name: '阿爾巴尼亞(Shqipëri)',
  727. code: '+355'
  728. },
  729. {
  730. id: 'mt',
  731. name: '馬爾他',
  732. code: '+356'
  733. },
  734. {
  735. id: 'cy',
  736. name: '塞浦路斯(Κύπρος)',
  737. code: '+357'
  738. },
  739. {
  740. id: 'fi',
  741. name: '芬蘭',
  742. code: '+358'
  743. },
  744. {
  745. id: 'ax',
  746. name: '奧蘭群島',
  747. code: '+358'
  748. },
  749. {
  750. id: 'bg',
  751. name: '保加利亞',
  752. code: '+359'
  753. },
  754. {
  755. id: 'lt',
  756. name: '立陶宛 (Lietuva)',
  757. code: '+370'
  758. },
  759. {
  760. id: 'lv',
  761. name: '拉脫維亞 (Latvija)',
  762. code: '+371'
  763. },
  764. {
  765. id: 'ee',
  766. name: '愛沙尼亞',
  767. code: '+372'
  768. },
  769. {
  770. id: 'md',
  771. name: '摩爾多瓦',
  772. code: '+373'
  773. },
  774. {
  775. id: 'am',
  776. name: '亞美尼亞(Հայաստան)',
  777. code: '+374'
  778. },
  779. {
  780. id: 'by',
  781. name: '白俄羅斯(Беларусь)',
  782. code: '+375'
  783. },
  784. {
  785. id: 'ad',
  786. name: '安道爾',
  787. code: '+376'
  788. },
  789. {
  790. id: 'mc',
  791. name: '摩納哥',
  792. code: '+377'
  793. },
  794. {
  795. id: 'sm',
  796. name: '聖馬利諾',
  797. code: '+378'
  798. },
  799. {
  800. id: 'ua',
  801. name: '烏克蘭',
  802. code: '+380'
  803. },
  804. {
  805. id: 'rs',
  806. name: '塞爾維亞',
  807. code: '+381'
  808. },
  809. {
  810. id: 'me',
  811. name: '蒙特內哥羅',
  812. code: '+382'
  813. },
  814. {
  815. id: 'xk',
  816. name: '科索沃',
  817. code: '+383'
  818. },
  819. {
  820. id: 'hr',
  821. name: '克羅地亞(Hrvatska)',
  822. code: '+385'
  823. },
  824. {
  825. id: 'si',
  826. name: '斯洛文尼亞',
  827. code: '+386'
  828. },
  829. {
  830. id: 'ba',
  831. name: '波斯尼亞和黑塞哥維那',
  832. code: '+387'
  833. },
  834. {
  835. id: 'mk',
  836. name: '北馬其頓 (Македонија)',
  837. code: '+389'
  838. },
  839. {
  840. id: 'cz',
  841. name: '捷克共和國(Česká republika)',
  842. code: '+420'
  843. },
  844. {
  845. id: 'sk',
  846. name: '斯洛伐克',
  847. code: '+421'
  848. },
  849. {
  850. id: 'li',
  851. name: '列支敦士登',
  852. code: '+423'
  853. },
  854. {
  855. id: 'fk',
  856. name: '福克蘭群島(馬爾維納斯群島)',
  857. code: '+500'
  858. },
  859. {
  860. id: 'bz',
  861. name: '貝里斯',
  862. code: '+501'
  863. },
  864. {
  865. id: 'gt',
  866. name: '瓜地馬拉',
  867. code: '+502'
  868. },
  869. {
  870. id: 'sv',
  871. name: '薩爾瓦多',
  872. code: '+503'
  873. },
  874. {
  875. id: 'ni',
  876. name: '尼加拉瓜',
  877. code: '+505'
  878. },
  879. {
  880. id: 'cr',
  881. name: '哥斯達黎加',
  882. code: '+506'
  883. },
  884. {
  885. id: 'pa',
  886. name: '巴拿馬(Panamá)',
  887. code: '+507'
  888. },
  889. {
  890. id: 'pm',
  891. name: '聖皮埃與密啟隆(Saint-Pierre-et-Miquelon)',
  892. code: '+508'
  893. },
  894. {
  895. id: 'gp',
  896. name: '瓜德羅普',
  897. code: '+590'
  898. },
  899. {
  900. id: 'bl',
  901. name: '聖巴瑟米(Saint Barthélemy)',
  902. code: '+590'
  903. },
  904. {
  905. id: 'mf',
  906. name: '聖馬丁(Saint-Martin (partie française))',
  907. code: '+590'
  908. },
  909. {
  910. id: 'bo',
  911. name: '玻利維亞',
  912. code: '+591'
  913. },
  914. {
  915. id: 'ec',
  916. name: '厄瓜多爾',
  917. code: '+593'
  918. },
  919. {
  920. id: 'gf',
  921. name: '法屬圭亞那',
  922. code: '+594'
  923. },
  924. {
  925. id: 'py',
  926. name: '巴拉圭',
  927. code: '+595'
  928. },
  929. {
  930. id: 'mq',
  931. name: '馬提尼克',
  932. code: '+596'
  933. },
  934. {
  935. id: 'sr',
  936. name: '蘇利南',
  937. code: '+597'
  938. },
  939. {
  940. id: 'uy',
  941. name: '烏拉圭',
  942. code: '+598'
  943. },
  944. {
  945. id: 'bq',
  946. name: '加勒比荷蘭',
  947. code: '+599'
  948. },
  949. {
  950. id: 'cw',
  951. name: '庫拉索',
  952. code: '+599'
  953. },
  954. {
  955. id: 'tl',
  956. name: '東帝汶',
  957. code: '+670'
  958. },
  959. {
  960. id: 'nf',
  961. name: '諾福克島',
  962. code: '+672'
  963. },
  964. {
  965. id: 'bn',
  966. name: '汶萊',
  967. code: '+673'
  968. },
  969. {
  970. id: 'nr',
  971. name: '諾魯',
  972. code: '+674'
  973. },
  974. {
  975. id: 'pg',
  976. name: '巴布亞紐幾內亞',
  977. code: '+675'
  978. },
  979. {
  980. id: 'to',
  981. name: '湯加',
  982. code: '+676'
  983. },
  984. {
  985. id: 'sb',
  986. name: '所羅門群島',
  987. code: '+677'
  988. },
  989. {
  990. id: 'vu',
  991. name: '瓦努阿圖',
  992. code: '+678'
  993. },
  994. {
  995. id: 'fj',
  996. name: '斐濟',
  997. code: '+679'
  998. },
  999. {
  1000. id: 'pw',
  1001. name: '帕勞',
  1002. code: '+680'
  1003. },
  1004. {
  1005. id: 'wf',
  1006. name: '瓦利斯和富圖納群島',
  1007. code: '+681'
  1008. },
  1009. {
  1010. id: 'ck',
  1011. name: '庫克群島',
  1012. code: '+682'
  1013. },
  1014. {
  1015. id: 'nu',
  1016. name: '紐埃島',
  1017. code: '+683'
  1018. },
  1019. {
  1020. id: 'ws',
  1021. name: '薩摩亞',
  1022. code: '+685'
  1023. },
  1024. {
  1025. id: 'ki',
  1026. name: '基里巴斯',
  1027. code: '+686'
  1028. },
  1029. {
  1030. id: 'nc',
  1031. name: '新喀里多尼亞',
  1032. code: '+687'
  1033. },
  1034. {
  1035. id: 'tv',
  1036. name: '圖瓦盧',
  1037. code: '+688'
  1038. },
  1039. {
  1040. id: 'pf',
  1041. name: '法屬波利尼西亞',
  1042. code: '+689'
  1043. },
  1044. {
  1045. id: 'tk',
  1046. name: '托克勞',
  1047. code: '+690'
  1048. },
  1049. {
  1050. id: 'fm',
  1051. name: '密克羅尼西亞',
  1052. code: '+691'
  1053. },
  1054. {
  1055. id: 'mh',
  1056. name: '馬紹爾群島',
  1057. code: '+692'
  1058. },
  1059. {
  1060. id: 'kp',
  1061. name: '北韓',
  1062. code: '+850'
  1063. },
  1064. {
  1065. id: 'mo',
  1066. name: '澳門',
  1067. code: '+853'
  1068. },
  1069. {
  1070. id: 'kh',
  1071. name: '柬埔寨',
  1072. code: '+855'
  1073. },
  1074. {
  1075. id: 'la',
  1076. name: '老撾 (ລາວ)',
  1077. code: '+856'
  1078. },
  1079. {
  1080. id: 'bd',
  1081. name: '孟加拉國(বাংলাদেশ)',
  1082. code: '+880'
  1083. },
  1084. {
  1085. id: 'tw',
  1086. name: '台灣',
  1087. code: '+886'
  1088. },
  1089. {
  1090. id: 'mv',
  1091. name: '馬爾代夫',
  1092. code: '+960'
  1093. },
  1094. {
  1095. id: 'lb',
  1096. name: '黎巴嫩 (‫لبنان‬‎)',
  1097. code: '+961'
  1098. },
  1099. {
  1100. id: 'jo',
  1101. name: '約旦 (‫الأردن‬‎)',
  1102. code: '+962'
  1103. },
  1104. {
  1105. id: 'sy',
  1106. name: '敘利亞',
  1107. code: '+963'
  1108. },
  1109. {
  1110. id: 'kw',
  1111. name: '科威特 (‫الكويت‬‎)',
  1112. code: '+965'
  1113. },
  1114. {
  1115. id: 'sa',
  1116. name: '沙特阿拉伯',
  1117. code: '+966'
  1118. },
  1119. {
  1120. id: 'ye',
  1121. name: '葉門',
  1122. code: '+967'
  1123. },
  1124. {
  1125. id: 'om',
  1126. name: '阿曼',
  1127. code: '+968'
  1128. },
  1129. {
  1130. id: 'ps',
  1131. name: '巴勒斯坦(‫فلسطين‬‎)',
  1132. code: '+970'
  1133. },
  1134. {
  1135. id: 'ae',
  1136. name: '阿拉伯聯合大公國',
  1137. code: '+971'
  1138. },
  1139. {
  1140. id: 'bh',
  1141. name: '巴林(‫البحرين‬‎)',
  1142. code: '+973'
  1143. },
  1144. {
  1145. id: 'qa',
  1146. name: '卡達(‫قطر‬‎)',
  1147. code: '+974'
  1148. },
  1149. {
  1150. id: 'bt',
  1151. name: '不丹',
  1152. code: '+975'
  1153. },
  1154. {
  1155. id: 'mn',
  1156. name: '蒙古',
  1157. code: '+976'
  1158. },
  1159. {
  1160. id: 'np',
  1161. name: '尼泊爾',
  1162. code: '+977'
  1163. },
  1164. {
  1165. id: 'tj',
  1166. name: '塔吉克斯坦',
  1167. code: '+992'
  1168. },
  1169. {
  1170. id: 'tm',
  1171. name: '土庫曼斯坦',
  1172. code: '+993'
  1173. },
  1174. {
  1175. id: 'az',
  1176. name: '阿塞拜疆(Azərbaycan)',
  1177. code: '+994'
  1178. },
  1179. {
  1180. id: 'ge',
  1181. name: '喬治亞',
  1182. code: '+995'
  1183. },
  1184. {
  1185. id: 'kg',
  1186. name: '吉爾吉斯坦 (Кыргызстан)',
  1187. code: '+996'
  1188. },
  1189. {
  1190. id: 'uz',
  1191. name: '烏茲別克',
  1192. code: '+998'
  1193. }
  1194. ],
  1195. countryCodeOptions_en:[
  1196. {
  1197. id: '999',
  1198. name: '',
  1199. code: '請選擇'
  1200. },
  1201. {
  1202. id: 'af',
  1203. name: 'Afghanistan (‫افغانستان‬‎)',
  1204. code: '+93'
  1205. },
  1206. {
  1207. id: 'al',
  1208. name: 'Albania (Shqipëri)',
  1209. code: '+355'
  1210. },
  1211. {
  1212. id: 'dz',
  1213. name: 'Algeria (‫الجزائر‬‎)',
  1214. code: '+213'
  1215. },
  1216. {
  1217. id: 'as',
  1218. name: 'American Samoa',
  1219. code: '+1'
  1220. },
  1221. {
  1222. id: 'ad',
  1223. name: 'Andorra',
  1224. code: '+376'
  1225. },
  1226. {
  1227. id: 'ao',
  1228. name: 'Angola',
  1229. code: '+244'
  1230. },
  1231. {
  1232. id: 'ai',
  1233. name: 'Anguilla',
  1234. code: '+1'
  1235. },
  1236. {
  1237. id: 'ag',
  1238. name: 'Antigua and Barbuda',
  1239. code: '+1'
  1240. },
  1241. {
  1242. id: 'ar',
  1243. name: 'Argentina',
  1244. code: '+54'
  1245. },
  1246. {
  1247. id: 'am',
  1248. name: 'Armenia (Հայաստան)',
  1249. code: '+374'
  1250. },
  1251. {
  1252. id: 'aw',
  1253. name: 'Aruba',
  1254. code: '+297'
  1255. },
  1256. {
  1257. id: 'ac',
  1258. name: 'Ascension Island',
  1259. code: '+247'
  1260. },
  1261. {
  1262. id: 'au',
  1263. name: 'Australia',
  1264. code: '+61'
  1265. },
  1266. {
  1267. id: 'at',
  1268. name: 'Austria (Österreich)',
  1269. code: '+43'
  1270. },
  1271. {
  1272. id: 'az',
  1273. name: 'Azerbaijan (Azərbaycan)',
  1274. code: '+994'
  1275. },
  1276. {
  1277. id: 'bs',
  1278. name: 'Bahamas',
  1279. code: '+1'
  1280. },
  1281. {
  1282. id: 'bh',
  1283. name: 'Bahrain (‫البحرين‬‎)',
  1284. code: '+973'
  1285. },
  1286. {
  1287. id: 'bd',
  1288. name: 'Bangladesh (বাংলাদেশ)',
  1289. code: '+880'
  1290. },
  1291. {
  1292. id: 'bb',
  1293. name: 'Barbados',
  1294. code: '+1'
  1295. },
  1296. {
  1297. id: 'by',
  1298. name: 'Belarus (Беларусь)',
  1299. code: '+375'
  1300. },
  1301. {
  1302. id: 'be',
  1303. name: 'Belgium (België)',
  1304. code: '+32'
  1305. },
  1306. {
  1307. id: 'bz',
  1308. name: 'Belize',
  1309. code: '+501'
  1310. },
  1311. {
  1312. id: 'bj',
  1313. name: 'Benin (Bénin)',
  1314. code: '+229'
  1315. },
  1316. {
  1317. id: 'bm',
  1318. name: 'Bermuda',
  1319. code: '+1'
  1320. },
  1321. {
  1322. id: 'bt',
  1323. name: 'Bhutan (འབྲུག)',
  1324. code: '+975'
  1325. },
  1326. {
  1327. id: 'bo',
  1328. name: 'Bolivia',
  1329. code: '+591'
  1330. },
  1331. {
  1332. id: 'ba',
  1333. name: 'Bosnia and Herzegovina (Босна и Херцеговина)',
  1334. code: '+387'
  1335. },
  1336. {
  1337. id: 'bw',
  1338. name: 'Botswana',
  1339. code: '+267'
  1340. },
  1341. {
  1342. id: 'br',
  1343. name: 'Brazil (Brasil)',
  1344. code: '+55'
  1345. },
  1346. {
  1347. id: 'io',
  1348. name: 'British Indian Ocean Territory',
  1349. code: '+246'
  1350. },
  1351. {
  1352. id: 'vg',
  1353. name: 'British Virgin Islands',
  1354. code: '+1'
  1355. },
  1356. {
  1357. id: 'bn',
  1358. name: 'Brunei',
  1359. code: '+673'
  1360. },
  1361. {
  1362. id: 'bg',
  1363. name: 'Bulgaria (България)',
  1364. code: '+359'
  1365. },
  1366. {
  1367. id: 'bf',
  1368. name: 'Burkina Faso',
  1369. code: '+226'
  1370. },
  1371. {
  1372. id: 'bi',
  1373. name: 'Burundi (Uburundi)',
  1374. code: '+257'
  1375. },
  1376. {
  1377. id: 'kh',
  1378. name: 'Cambodia (កម្ពុជា)',
  1379. code: '+855'
  1380. },
  1381. {
  1382. id: 'cm',
  1383. name: 'Cameroon (Cameroun)',
  1384. code: '+237'
  1385. },
  1386. {
  1387. id: 'ca',
  1388. name: 'Canada',
  1389. code: '+1'
  1390. },
  1391. {
  1392. id: 'cv',
  1393. name: 'Cape Verde (Kabu Verdi)',
  1394. code: '+238'
  1395. },
  1396. {
  1397. id: 'bq',
  1398. name: 'Caribbean Netherlands',
  1399. code: '+599'
  1400. },
  1401. {
  1402. id: 'ky',
  1403. name: 'Cayman Islands',
  1404. code: '+1'
  1405. },
  1406. {
  1407. id: 'cf',
  1408. name: 'Central African Republic (République centrafricaine)',
  1409. code: '+236'
  1410. },
  1411. {
  1412. id: 'td',
  1413. name: 'Chad (Tchad)',
  1414. code: '+235'
  1415. },
  1416. {
  1417. id: 'cl',
  1418. name: 'Chile',
  1419. code: '+56'
  1420. },
  1421. {
  1422. id: 'cn',
  1423. name: 'China (中国)',
  1424. code: '+86'
  1425. },
  1426. {
  1427. id: 'cx',
  1428. name: 'Christmas Island',
  1429. code: '+61'
  1430. },
  1431. {
  1432. id: 'cc',
  1433. name: 'Cocos (Keeling) Islands',
  1434. code: '+61'
  1435. },
  1436. {
  1437. id: 'co',
  1438. name: 'Colombia',
  1439. code: '+57'
  1440. },
  1441. {
  1442. id: 'km',
  1443. name: 'Comoros (‫جزر القمر‬‎)',
  1444. code: '+269'
  1445. },
  1446. {
  1447. id: 'cd',
  1448. name: 'Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)',
  1449. code: '+243'
  1450. },
  1451. {
  1452. id: 'cg',
  1453. name: 'Congo (Republic) (Congo-Brazzaville)',
  1454. code: '+242'
  1455. },
  1456. {
  1457. id: 'ck',
  1458. name: 'Cook Islands',
  1459. code: '+682'
  1460. },
  1461. {
  1462. id: 'cr',
  1463. name: 'Costa Rica',
  1464. code: '+506'
  1465. },
  1466. {
  1467. id: 'ci',
  1468. name: 'Côte d’Ivoire',
  1469. code: '+225'
  1470. },
  1471. {
  1472. id: 'hr',
  1473. name: 'Croatia (Hrvatska)',
  1474. code: '+385'
  1475. },
  1476. {
  1477. id: 'cu',
  1478. name: 'Cuba',
  1479. code: '+53'
  1480. },
  1481. {
  1482. id: 'cw',
  1483. name: 'Curaçao',
  1484. code: '+599'
  1485. },
  1486. {
  1487. id: 'cy',
  1488. name: 'Cyprus (Κύπρος)',
  1489. code: '+357'
  1490. },
  1491. {
  1492. id: 'cz',
  1493. name: 'Czech Republic (Česká republika)',
  1494. code: '+420'
  1495. },
  1496. {
  1497. id: 'dk',
  1498. name: 'Denmark (Danmark)',
  1499. code: '+45'
  1500. },
  1501. {
  1502. id: 'dj',
  1503. name: 'Djibouti',
  1504. code: '+253'
  1505. },
  1506. {
  1507. id: 'dm',
  1508. name: 'Dominica',
  1509. code: '+1'
  1510. },
  1511. {
  1512. id: 'do',
  1513. name: 'Dominican Republic (República Dominicana)',
  1514. code: '+1'
  1515. },
  1516. {
  1517. id: 'ec',
  1518. name: 'Ecuador',
  1519. code: '+593'
  1520. },
  1521. {
  1522. id: 'eg',
  1523. name: 'Egypt (‫مصر‬‎)',
  1524. code: '+20'
  1525. },
  1526. {
  1527. id: 'sv',
  1528. name: 'El Salvador',
  1529. code: '+503'
  1530. },
  1531. {
  1532. id: 'gq',
  1533. name: 'Equatorial Guinea (Guinea Ecuatorial)',
  1534. code: '+240'
  1535. },
  1536. {
  1537. id: 'er',
  1538. name: 'Eritrea',
  1539. code: '+291'
  1540. },
  1541. {
  1542. id: 'ee',
  1543. name: 'Estonia (Eesti)',
  1544. code: '+372'
  1545. },
  1546. {
  1547. id: 'sz',
  1548. name: 'Eswatini',
  1549. code: '+268'
  1550. },
  1551. {
  1552. id: 'et',
  1553. name: 'Ethiopia',
  1554. code: '+251'
  1555. },
  1556. {
  1557. id: 'fk',
  1558. name: 'Falkland Islands (Islas Malvinas)',
  1559. code: '+500'
  1560. },
  1561. {
  1562. id: 'fo',
  1563. name: 'Faroe Islands (Føroyar)',
  1564. code: '+298'
  1565. },
  1566. {
  1567. id: 'fj',
  1568. name: 'Fiji',
  1569. code: '+679'
  1570. },
  1571. {
  1572. id: 'fi',
  1573. name: 'Finland (Suomi)',
  1574. code: '+358'
  1575. },
  1576. {
  1577. id: 'fr',
  1578. name: 'France',
  1579. code: '+33'
  1580. },
  1581. {
  1582. id: 'gf',
  1583. name: 'French Guiana (Guyane française)',
  1584. code: '+594'
  1585. },
  1586. {
  1587. id: 'pf',
  1588. name: 'French Polynesia (Polynésie française)',
  1589. code: '+689'
  1590. },
  1591. {
  1592. id: 'ga',
  1593. name: 'Gabon',
  1594. code: '+241'
  1595. },
  1596. {
  1597. id: 'gm',
  1598. name: 'Gambia',
  1599. code: '+220'
  1600. },
  1601. {
  1602. id: 'ge',
  1603. name: 'Georgia (საქართველო)',
  1604. code: '+995'
  1605. },
  1606. {
  1607. id: 'de',
  1608. name: 'Germany (Deutschland)',
  1609. code: '+49'
  1610. },
  1611. {
  1612. id: 'gh',
  1613. name: 'Ghana (Gaana)',
  1614. code: '+233'
  1615. },
  1616. {
  1617. id: 'gi',
  1618. name: 'Gibraltar',
  1619. code: '+350'
  1620. },
  1621. {
  1622. id: 'gr',
  1623. name: 'Greece (Ελλάδα)',
  1624. code: '+30'
  1625. },
  1626. {
  1627. id: 'gl',
  1628. name: 'Greenland (Kalaallit Nunaat)',
  1629. code: '+299'
  1630. },
  1631. {
  1632. id: 'gd',
  1633. name: 'Grenada',
  1634. code: '+1'
  1635. },
  1636. {
  1637. id: 'gp',
  1638. name: 'Guadeloupe',
  1639. code: '+590'
  1640. },
  1641. {
  1642. id: 'gu',
  1643. name: 'Guam',
  1644. code: '+1'
  1645. },
  1646. {
  1647. id: 'gt',
  1648. name: 'Guatemala',
  1649. code: '+502'
  1650. },
  1651. {
  1652. id: 'gg',
  1653. name: 'Guernsey',
  1654. code: '+44'
  1655. },
  1656. {
  1657. id: 'gn',
  1658. name: 'Guinea (Guinée)',
  1659. code: '+224'
  1660. },
  1661. {
  1662. id: 'gw',
  1663. name: 'Guinea-Bissau (Guiné Bissau)',
  1664. code: '+245'
  1665. },
  1666. {
  1667. id: 'gy',
  1668. name: 'Guyana',
  1669. code: '+592'
  1670. },
  1671. {
  1672. id: 'ht',
  1673. name: 'Haiti',
  1674. code: '+509'
  1675. },
  1676. {
  1677. id: 'hn',
  1678. name: 'Honduras',
  1679. code: '+504'
  1680. },
  1681. {
  1682. id: 'hk',
  1683. name: 'Hong Kong (香港)',
  1684. code: '+852'
  1685. },
  1686. {
  1687. id: 'hu',
  1688. name: 'Hungary (Magyarország)',
  1689. code: '+36'
  1690. },
  1691. {
  1692. id: 'is',
  1693. name: 'Iceland (Ísland)',
  1694. code: '+354'
  1695. },
  1696. {
  1697. id: 'in',
  1698. name: 'India (भारत)',
  1699. code: '+91'
  1700. },
  1701. {
  1702. id: 'id',
  1703. name: 'Indonesia',
  1704. code: '+62'
  1705. },
  1706. {
  1707. id: 'ir',
  1708. name: 'Iran (‫ایران‬‎)',
  1709. code: '+98'
  1710. },
  1711. {
  1712. id: 'iq',
  1713. name: 'Iraq (‫العراق‬‎)',
  1714. code: '+964'
  1715. },
  1716. {
  1717. id: 'ie',
  1718. name: 'Ireland',
  1719. code: '+353'
  1720. },
  1721. {
  1722. id: 'im',
  1723. name: 'Isle of Man',
  1724. code: '+44'
  1725. },
  1726. {
  1727. id: 'il',
  1728. name: 'Israel (‫ישראל‬‎)',
  1729. code: '+972'
  1730. },
  1731. {
  1732. id: 'it',
  1733. name: 'Italy (Italia)',
  1734. code: '+39'
  1735. },
  1736. {
  1737. id: 'jm',
  1738. name: 'Jamaica',
  1739. code: '+1'
  1740. },
  1741. {
  1742. id: 'jp',
  1743. name: 'Japan (日本)',
  1744. code: '+81'
  1745. },
  1746. {
  1747. id: 'je',
  1748. name: 'Jersey',
  1749. code: '+44'
  1750. },
  1751. {
  1752. id: 'jo',
  1753. name: 'Jordan (‫الأردن‬‎)',
  1754. code: '+962'
  1755. },
  1756. {
  1757. id: 'kz',
  1758. name: 'Kazakhstan (Казахстан)',
  1759. code: '+7'
  1760. },
  1761. {
  1762. id: 'ke',
  1763. name: 'Kenya',
  1764. code: '+254'
  1765. },
  1766. {
  1767. id: 'ki',
  1768. name: 'Kiribati',
  1769. code: '+686'
  1770. },
  1771. {
  1772. id: 'xk',
  1773. name: 'Kosovo',
  1774. code: '+383'
  1775. },
  1776. {
  1777. id: 'kw',
  1778. name: 'Kuwait (‫الكويت‬‎)',
  1779. code: '+965'
  1780. },
  1781. {
  1782. id: 'kg',
  1783. name: 'Kyrgyzstan (Кыргызстан)',
  1784. code: '+996'
  1785. },
  1786. {
  1787. id: 'la',
  1788. name: 'Laos (ລາວ)',
  1789. code: '+856'
  1790. },
  1791. {
  1792. id: 'lv',
  1793. name: 'Latvia (Latvija)',
  1794. code: '+371'
  1795. },
  1796. {
  1797. id: 'lb',
  1798. name: 'Lebanon (‫لبنان‬‎)',
  1799. code: '+961'
  1800. },
  1801. {
  1802. id: 'ls',
  1803. name: 'Lesotho',
  1804. code: '266'
  1805. },
  1806. {
  1807. id: 'lr',
  1808. name: 'Liberia',
  1809. code: '+231'
  1810. },
  1811. {
  1812. id: 'ly',
  1813. name: 'Libya (‫ليبيا‬‎)',
  1814. code: '+218'
  1815. },
  1816. {
  1817. id: 'li',
  1818. name: 'Liechtenstein',
  1819. code: '+423'
  1820. },
  1821. {
  1822. id: 'lt',
  1823. name: 'Lithuania (Lietuva)',
  1824. code: '+370'
  1825. },
  1826. {
  1827. id: 'lu',
  1828. name: 'Luxembourg',
  1829. code: '+352'
  1830. },
  1831. {
  1832. id: 'mo',
  1833. name: 'Macau (澳門)',
  1834. code: '+853'
  1835. },
  1836. {
  1837. id: 'mk',
  1838. name: 'North Macedonia (Македонија)',
  1839. code: '+389'
  1840. },
  1841. {
  1842. id: 'mg',
  1843. name: 'Madagascar (Madagasikara)',
  1844. code: '+261'
  1845. },
  1846. {
  1847. id: 'mw',
  1848. name: 'Malawi',
  1849. code: '+265'
  1850. },
  1851. {
  1852. id: 'my',
  1853. name: 'Malaysia',
  1854. code: '+60'
  1855. },
  1856. {
  1857. id: 'mv',
  1858. name: 'Maldives',
  1859. code: '+960'
  1860. },
  1861. {
  1862. id: 'ml',
  1863. name: 'Mali',
  1864. code: '+223'
  1865. },
  1866. {
  1867. id: 'mt',
  1868. name: 'Malta',
  1869. code: '+356'
  1870. },
  1871. {
  1872. id: 'mh',
  1873. name: 'Marshall Islands',
  1874. code: '+692'
  1875. },
  1876. {
  1877. id: 'mq',
  1878. name: 'Martinique',
  1879. code: '+596'
  1880. },
  1881. {
  1882. id: 'mr',
  1883. name: 'Mauritania (‫موريتانيا‬‎)',
  1884. code: '+222'
  1885. },
  1886. {
  1887. id: 'mu',
  1888. name: 'Mauritius (Moris)',
  1889. code: '+230'
  1890. },
  1891. {
  1892. id: 'yt',
  1893. name: 'Mayotte',
  1894. code: '+262'
  1895. },
  1896. {
  1897. id: 'mx',
  1898. name: 'Mexico (México)',
  1899. code: '+52'
  1900. },
  1901. {
  1902. id: 'fm',
  1903. name: 'Micronesia',
  1904. code: '+691'
  1905. },
  1906. {
  1907. id: 'md',
  1908. name: 'Moldova (Republica Moldova)',
  1909. code: '+373'
  1910. },
  1911. {
  1912. id: 'mc',
  1913. name: 'Monaco',
  1914. code: '+377'
  1915. },
  1916. {
  1917. id: 'mn',
  1918. name: 'Mongolia (Монгол)',
  1919. code: '+976'
  1920. },
  1921. {
  1922. id: 'me',
  1923. name: 'Montenegro (Crna Gora)',
  1924. code: '+382'
  1925. },
  1926. {
  1927. id: 'ms',
  1928. name: 'Montserrat',
  1929. code: '+1'
  1930. },
  1931. {
  1932. id: 'ma',
  1933. name: 'Morocco (‫المغرب‬‎)',
  1934. code: '+212'
  1935. },
  1936. {
  1937. id: 'mz',
  1938. name: 'Mozambique (Moçambique)',
  1939. code: '+258'
  1940. },
  1941. {
  1942. id: 'mm',
  1943. name: 'Myanmar (Burma) (မြန်မာ)',
  1944. code: '+95'
  1945. },
  1946. {
  1947. id: 'na',
  1948. name: 'Namibia (Namibië)',
  1949. code: '+264'
  1950. },
  1951. {
  1952. id: 'nr',
  1953. name: 'Nauru',
  1954. code: '+674'
  1955. },
  1956. {
  1957. id: 'np',
  1958. name: 'Nepal (नेपाल)',
  1959. code: '+977'
  1960. },
  1961. {
  1962. id: 'nl',
  1963. name: 'Netherlands (Nederland)',
  1964. code: '+31'
  1965. },
  1966. {
  1967. id: 'nc',
  1968. name: 'New Caledonia (Nouvelle-Calédonie)',
  1969. code: '+687'
  1970. },
  1971. {
  1972. id: 'nz',
  1973. name: 'New Zealand',
  1974. code: '+64'
  1975. },
  1976. {
  1977. id: 'ni',
  1978. name: 'Nicaragua',
  1979. code: '+505'
  1980. },
  1981. {
  1982. id: 'ne',
  1983. name: 'Niger (Nijar)',
  1984. code: '+227'
  1985. },
  1986. {
  1987. id: 'ng',
  1988. name: 'Nigeria',
  1989. code: '+234'
  1990. },
  1991. {
  1992. id: 'nu',
  1993. name: 'Niue',
  1994. code: '+683'
  1995. },
  1996. {
  1997. id: 'nf',
  1998. name: 'Norfolk Island',
  1999. code: '+672'
  2000. },
  2001. {
  2002. id: 'kp',
  2003. name: 'North Korea (조선 민주주의 인민 공화국)',
  2004. code: '850'
  2005. },
  2006. {
  2007. id: 'mp',
  2008. name: 'Northern Mariana Islands',
  2009. code: '+1'
  2010. },
  2011. {
  2012. id: 'no',
  2013. name: 'Norway (Norge)',
  2014. code: '+47'
  2015. },
  2016. {
  2017. id: 'om',
  2018. name: 'Oman (‫عُمان‬‎)',
  2019. code: '+968'
  2020. },
  2021. {
  2022. id: 'pk',
  2023. name: 'Pakistan (‫پاکستان‬‎)',
  2024. code: '+92'
  2025. },
  2026. {
  2027. id: 'pw',
  2028. name: 'Palau',
  2029. code: '+680'
  2030. },
  2031. {
  2032. id: 'ps',
  2033. name: 'Palestine (‫فلسطين‬‎)',
  2034. code: '+970'
  2035. },
  2036. {
  2037. id: 'pa',
  2038. name: 'Panama (Panamá)',
  2039. code: '+507'
  2040. },
  2041. {
  2042. id: 'pg',
  2043. name: 'Papua New Guinea',
  2044. code: '+675'
  2045. },
  2046. {
  2047. id: 'py',
  2048. name: 'Paraguay',
  2049. code: '+595'
  2050. },
  2051. {
  2052. id: 'pe',
  2053. name: 'Peru (Perú)',
  2054. code: '+51'
  2055. },
  2056. {
  2057. id: 'ph',
  2058. name: 'Philippines',
  2059. code: '+63'
  2060. },
  2061. {
  2062. id: 'pl',
  2063. name: 'Poland (Polska)',
  2064. code: '+48'
  2065. },
  2066. {
  2067. id: 'pt',
  2068. name: 'Portugal',
  2069. code: '+351'
  2070. },
  2071. {
  2072. id: 'pr',
  2073. name: 'Puerto Rico',
  2074. code: '+1'
  2075. },
  2076. {
  2077. id: 'qa',
  2078. name: 'Qatar (‫قطر‬‎)',
  2079. code: '+974'
  2080. },
  2081. {
  2082. id: 're',
  2083. name: 'Réunion (La Réunion)',
  2084. code: '+262'
  2085. },
  2086. {
  2087. id: 'ro',
  2088. name: 'Romania (România)',
  2089. code: '+40'
  2090. },
  2091. {
  2092. id: 'ru',
  2093. name: 'Russia (Россия)',
  2094. code: '+7'
  2095. },
  2096. {
  2097. id: 'rw',
  2098. name: 'Rwanda',
  2099. code: '+250'
  2100. },
  2101. {
  2102. id: 'bl',
  2103. name: 'Saint Barthélemy',
  2104. code: '+590'
  2105. },
  2106. {
  2107. id: 'sh',
  2108. name: 'Saint Helena',
  2109. code: '+290'
  2110. },
  2111. {
  2112. id: 'kn',
  2113. name: 'Saint Kitts and Nevis',
  2114. code: '+1'
  2115. },
  2116. {
  2117. id: 'lc',
  2118. name: 'Saint Lucia',
  2119. code: '+1'
  2120. },
  2121. {
  2122. id: 'mf',
  2123. name: 'Saint Martin (Saint-Martin (partie française))',
  2124. code: '+590'
  2125. },
  2126. {
  2127. id: 'pm',
  2128. name: 'Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)',
  2129. code: '+508'
  2130. },
  2131. {
  2132. id: 'vc',
  2133. name: 'Saint Vincent and the Grenadines',
  2134. code: '+1'
  2135. },
  2136. {
  2137. id: 'ws',
  2138. name: 'Samoa',
  2139. code: '+685'
  2140. },
  2141. {
  2142. id: 'sm',
  2143. name: 'San Marino',
  2144. code: '+378'
  2145. },
  2146. {
  2147. id: 'st',
  2148. name: 'São Tomé and Príncipe (São Tomé e Príncipe)',
  2149. code: '+239'
  2150. },
  2151. {
  2152. id: 'sa',
  2153. name: 'Saudi Arabia (‫المملكة العربية السعودية‬‎)',
  2154. code: '+966'
  2155. },
  2156. {
  2157. id: 'sn',
  2158. name: 'Senegal (Sénégal)',
  2159. code: '+221'
  2160. },
  2161. {
  2162. id: 'rs',
  2163. name: 'Serbia (Србија)',
  2164. code: '+381'
  2165. },
  2166. {
  2167. id: 'sc',
  2168. name: 'Seychelles',
  2169. code: '+248'
  2170. },
  2171. {
  2172. id: 'sl',
  2173. name: 'Sierra Leone',
  2174. code: '+232'
  2175. },
  2176. {
  2177. id: 'sg',
  2178. name: 'Singapore',
  2179. code: '+65'
  2180. },
  2181. {
  2182. id: 'sx',
  2183. name: 'Sint Maarten',
  2184. code: '+1'
  2185. },
  2186. {
  2187. id: 'sk',
  2188. name: 'Slovakia (Slovensko)',
  2189. code: '+421'
  2190. },
  2191. {
  2192. id: 'si',
  2193. name: 'Slovenia (Slovenija)',
  2194. code: '+386'
  2195. },
  2196. {
  2197. id: 'sb',
  2198. name: 'Solomon Islands',
  2199. code: '+677'
  2200. },
  2201. {
  2202. id: 'so',
  2203. name: 'Somalia (Soomaaliya)',
  2204. code: '+252'
  2205. },
  2206. {
  2207. id: 'za',
  2208. name: 'South Africa',
  2209. code: '+27'
  2210. },
  2211. {
  2212. id: 'kr',
  2213. name: 'South Korea (대한민국)',
  2214. code: '+82'
  2215. },
  2216. {
  2217. id: 'ss',
  2218. name: 'South Sudan (‫جنوب السودان‬‎)',
  2219. code: '211'
  2220. },
  2221. {
  2222. id: 'es',
  2223. name: 'Spain (España)',
  2224. code: '+34'
  2225. },
  2226. {
  2227. id: 'lk',
  2228. name: 'Sri Lanka (ශ්‍රී ලංකාව)',
  2229. code: '+94'
  2230. },
  2231. {
  2232. id: 'sd',
  2233. name: 'Sudan (‫السودان‬‎)',
  2234. code: '+249'
  2235. },
  2236. {
  2237. id: 'sr',
  2238. name: 'Suriname',
  2239. code: '+597'
  2240. },
  2241. {
  2242. id: 'sj',
  2243. name: 'Svalbard and Jan Mayen',
  2244. code: '+47'
  2245. },
  2246. {
  2247. id: 'se',
  2248. name: 'Sweden (Sverige)',
  2249. code: '+46'
  2250. },
  2251. {
  2252. id: 'ch',
  2253. name: 'Switzerland (Schweiz)',
  2254. code: '+41'
  2255. },
  2256. {
  2257. id: 'sy',
  2258. name: 'Syria (‫سوريا‬‎)',
  2259. code: '+963'
  2260. },
  2261. {
  2262. id: 'tw',
  2263. name: 'Taiwan (台灣)',
  2264. code: '+886'
  2265. },
  2266. {
  2267. id: 'tj',
  2268. name: 'Tajikistan',
  2269. code: '+992'
  2270. },
  2271. {
  2272. id: 'tz',
  2273. name: 'Tanzania',
  2274. code: '+255'
  2275. },
  2276. {
  2277. id: 'th',
  2278. name: 'Thailand (ไทย)',
  2279. code: '+66'
  2280. },
  2281. {
  2282. id: 'tl',
  2283. name: 'Timor-Leste',
  2284. code: '+670'
  2285. },
  2286. {
  2287. id: 'tg',
  2288. name: 'Togo',
  2289. code: '+228'
  2290. },
  2291. {
  2292. id: 'tk',
  2293. name: 'Tokelau',
  2294. code: '+690'
  2295. },
  2296. {
  2297. id: 'to',
  2298. name: 'Tonga',
  2299. code: '+676'
  2300. },
  2301. {
  2302. id: 'tt',
  2303. name: 'Trinidad and Tobago',
  2304. code: '+1'
  2305. },
  2306. {
  2307. id: 'tn',
  2308. name: 'Tunisia (‫تونس‬‎)',
  2309. code: '+216'
  2310. },
  2311. {
  2312. id: 'tr',
  2313. name: 'Turkey (Türkiye)',
  2314. code: '+90'
  2315. },
  2316. {
  2317. id: 'tm',
  2318. name: 'Turkmenistan',
  2319. code: '+993'
  2320. },
  2321. {
  2322. id: 'tc',
  2323. name: 'Turks and Caicos Islands',
  2324. code: '+1'
  2325. },
  2326. {
  2327. id: 'tv',
  2328. name: 'Tuvalu',
  2329. code: '+688'
  2330. },
  2331. {
  2332. id: 'vi',
  2333. name: 'U.S. Virgin Islands',
  2334. code: '1'
  2335. },
  2336. {
  2337. id: 'ug',
  2338. name: 'Uganda',
  2339. code: '+256'
  2340. },
  2341. {
  2342. id: 'ua',
  2343. name: 'Ukraine (Україна)',
  2344. code: '+380'
  2345. },
  2346. {
  2347. id: 'ae',
  2348. name: 'United Arab Emirates (‫الإمارات العربية المتحدة‬‎)',
  2349. code: '+971'
  2350. },
  2351. {
  2352. id: 'gb',
  2353. name: 'United Kingdom',
  2354. code: '+44'
  2355. },
  2356. {
  2357. id: 'us',
  2358. name: 'United States',
  2359. code: '+1'
  2360. },
  2361. {
  2362. id: 'uy',
  2363. name: 'Uruguay',
  2364. code: '+598'
  2365. },
  2366. {
  2367. id: 'uz',
  2368. name: 'Uzbekistan (Oʻzbekiston)',
  2369. code: '+998'
  2370. },
  2371. {
  2372. id: 'vu',
  2373. name: 'Vanuatu',
  2374. code: '+678'
  2375. },
  2376. {
  2377. id: 'va',
  2378. name: 'Vatican City (Città del Vaticano)',
  2379. code: '+39'
  2380. },
  2381. {
  2382. id: 've',
  2383. name: 'Venezuela',
  2384. code: '+58'
  2385. },
  2386. {
  2387. id: 'vn',
  2388. name: 'Vietnam (Việt Nam)',
  2389. code: '+84'
  2390. },
  2391. {
  2392. id: 'wf',
  2393. name: 'Wallis and Futuna (Wallis-et-Futuna)',
  2394. code: '+681'
  2395. },
  2396. {
  2397. id: 'eh',
  2398. name: 'Western Sahara (‫الصحراء الغربية‬‎)',
  2399. code: '+212'
  2400. },
  2401. {
  2402. id: 'ye',
  2403. name: 'Yemen (‫اليمن‬‎)',
  2404. code: '+967'
  2405. },
  2406. {
  2407. id: 'zm',
  2408. name: 'Zambia',
  2409. code: '+260'
  2410. },
  2411. {
  2412. id: 'zw',
  2413. name: 'Zimbabwe',
  2414. code: '+263'
  2415. },
  2416. {
  2417. id: 'ax',
  2418. name: 'Åland Islands',
  2419. code: '+358'
  2420. },
  2421. ]
  2422. };
  2423. },
  2424. props: {
  2425. userCodeSelect: {
  2426. type: String,
  2427. },
  2428. validation: {
  2429. type: Boolean,
  2430. },
  2431. },
  2432. created(){
  2433. this.getCode();
  2434. if(this.$i18n.localeProperties["langQuery"] == "zh-TW"){
  2435. this.language = true;
  2436. }else{
  2437. this.language = false;
  2438. }
  2439. },
  2440. mounted() { },
  2441. watch: {
  2442. codeSelect: {
  2443. handler: function () {
  2444. this.$emit("returnCode", this.codeSelect);
  2445. },
  2446. },
  2447. userCodeSelect:{
  2448. handler: function() {
  2449. this.codeSelect = this.userCodeSelect;
  2450. }
  2451. }
  2452. },
  2453. methods: {
  2454. getCode(){
  2455. this.codeSelect = this.userCodeSelect;
  2456. }
  2457. },
  2458. };
  2459. </script>
  2460. <style lang="scss" scoped>
  2461. select {
  2462. background-image: url("~/assets/svg/down-arrow.svg");
  2463. width: 120px;
  2464. height: auto;
  2465. background-position: right 12px center;
  2466. background-repeat: no-repeat;
  2467. }
  2468. </style>