let obj = {}
let str = "aa占比:17.48%,aa计费占比:0.00%"
let arr = str.split(',') // ['aa占比:17.48%','aa计费占比:0.00%']
arr.forEach(item => {
let [key,value] = item.split(':')
obj[key] = value
})
console.log(obj) //{aa占比: '17.48%', aa计费占比: '0.00%'}
console.log(Object.keys(obj)) // ['aa占比', 'aa计费占比']
console.log(Object.values(obj)) //['17.48%', '0.00%']