请告诉我为什么AJAX响应预览会显示增加字体大小的HTML? 当我将这个html分配给某个div时,它会正常显示为页面html中的任何内容。
Chrome扩展程序中是否有任何错误?
后期原始回复是:
{"form_key":{"status":"true"},"filter":{"status":"true","msg":"Success","data":"<div class=\"detailsPanel active\"><div class=\"collapsePanel\"><div class=\"detailHeading\"><h2>Voice<\/h2><\/div><div class=\"detailHeading\"><h2>00:00:00<\/h2><\/div><div class=\"detailHeading\"><h2 class=\"manat_sign\">0.00<\/h2><\/div><\/div><div class=\"collapseDrop\"><\/div><\/div><div class=\"detailsPanel \"><div class=\"collapsePanel\"><div class=\"detailHeading\"><h2>SMS<\/h2><\/div><div class=\"detailHeading\"><h2>0<\/h2><\/div><div class=\"detailHeading\"><h2 class=\"manat_sign\">0.00<\/h2><\/div><\/div><div class=\"collapseDrop\"><\/div><\/div><div class=\"detailsPanel \"><div class=\"collapsePanel\"><div class=\"detailHeading\"><h2>Internet<\/h2><\/div><div class=\"detailHeading\"><h2>0<\/h2><\/div><div class=\"detailHeading\"><h2 class=\"manat_sign\">0.00<\/h2><\/div><\/div><div class=\"collapseDrop\"><\/div><\/div><div class=\"detailsPanel \"><div class=\"collapsePanel\"><div class=\"detailHeading\"><h2>Other<\/h2><\/div><div class=\"detailHeading\"><h2>0.0<\/h2><\/div><div class=\"detailHeading\"><h2 class=\"manat_sign\">0.0<\/h2><\/div><\/div><div class=\"collapseDrop\"><\/div><\/div>"}}
答案 0 :(得分:0)
响应可能是使用random.randint(1,2,3)
来调整文本大小。如果文本始终包含在另一个图层中,这将增加累积大小的增加。