$(document).ready(function(){
    var mobile="{$user.mobile}";
    var reg=/^(\d{3})\d{4}(\d{4})$/;
    mobile = mobile.replace(reg, "$1****$2");
    $("#mymobile").text(mobile);


});

 

 

相关文章:

  • 2021-11-25
  • 2021-11-15
  • 2022-01-28
  • 2021-11-13
  • 2021-11-25
  • 2021-11-25
  • 2021-12-07
猜你喜欢
  • 2021-12-07
  • 2021-11-25
  • 2021-12-07
  • 2021-07-25
  • 2021-11-15
  • 2022-12-23
  • 2021-12-07
相关资源
相似解决方案