function() { var m = contentPane.getCellValue(0, 13, 3); var z = contentPane.getCellValue(0, 14, 3); var t = contentPane.getCellValue(0, 15, 3); var a = contentPane.getCellValue(0, 16, 3); var b = contentPane.getCellValue(0, 17, 3); var j = m.length; var q = m[0].length; var w = z[0].length; if (q == 1 && w == 1) { if (t > 0 && b > 0) { return '<div style="color:white;font-size:15px">品类:' + m + '</br>' + '品牌:' + z + '</br>' + '占比:' + Math.round(a * 1000) / 10 + '%' + '</br>' + '<span style="color:#FF3333;font-weight:bold">' + '↑' + '环比:' + t + '%' + '</span>' + '</br>' + '<span style="color:#FF3333;font-weight:bold">' + '↑' + '同比:' + b + '%' + '</span>' + '</div>' } 主要是以下代码不懂: var m = contentPane.getCellValue(0, 13, 3); var z = contentPane.getCellValue(0, 14, 3); var t = contentPane.getCellValue(0, 15, 3); var a = contentPane.getCellValue(0, 16, 3); var b = contentPane.getCellValue(0, 17, 3); var j = m.length; var q = m[0].length; var w = z[0].length; 求解释 |