JavaScript检查是否为手机号的方法

-
 - - -
 - - --- - -
 - - ---
 -
- ---- -
    - --- - ----
    - -------------
-