var yejiao = "<span>姓名:张三</span><span>电话:123456</span>"
$('.bottom-center')[$('.bottom-center').length - 1].append(yejiao);
希望得到的是
姓名:张三 电话:123456
var yejiao = "<span>姓名:张三</span><span>电话:123456</span>"
$('.bottom-center')[$('.bottom-center').length - 1].append(yejiao);
希望得到的是
姓名:张三 电话:123456
$('.bottom-center').eq($('.bottom-center').length - 1).append(yejiao)