var str= "http://ddp-imgs.oss-cn-hangzhou.aliyuncs.com/crm/partner32948318.loginBack_small.jpg";
var name = str.substr(str.lastIndexOf('.', str.lastIndexOf('.') - 1) + 1);
console.log(name );
var str= "http://ddp-imgs.oss-cn-hangzhou.aliyuncs.com/crm/partner32948318.loginBack_small.jpg";
var name = str.substr(str.lastIndexOf('.', str.lastIndexOf('.') - 1) + 1);
console.log(name );