微信小程序页面迁移校验之前 P5任务处理之前
This commit is contained in:
@@ -20,13 +20,6 @@
|
||||
el.classList.add(pick);
|
||||
});
|
||||
|
||||
// 嵌入 Icon:如果内部没有 SVG,自动注入机器人
|
||||
document.querySelectorAll('.ai-inline-icon').forEach(function (el) {
|
||||
if (!el.querySelector('svg')) {
|
||||
el.innerHTML = ROBOT_SVG;
|
||||
}
|
||||
});
|
||||
|
||||
// 渲染星级评价
|
||||
document.querySelectorAll('.star-rating').forEach(function (container) {
|
||||
var score = parseInt(container.getAttribute('data-score') || '0', 10);
|
||||
|
||||
Reference in New Issue
Block a user