1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

refactor: edit ditto.js

This commit is contained in:
ruanyf 2020-02-12 18:50:35 +08:00
parent b19cdaacea
commit 0402e4705b

View File

@ -225,11 +225,11 @@ function create_banner(element) {
'color: #333333' 'color: #333333'
].join(';'); ].join(';');
var text = '<span style="color: #4682BE;">《ES6 实战教程》</span> ' + var text = '【开课吧】' +
'深入学习一线大厂必备 ES6 技能。VIP 教程限时免费领取。' + '拿不到 Offer 退全款,廖雪峰的' +
'<span style="color: #4682BE;"> ⇐ 立即查看</span>'; '<span style="color: #4682BE;">《Web 全栈架构师》</span>开班了!';
var banner = $('<a href="http://www.mawen.co/question/405" style="color: #333333;" target="_blank"><div style="' + styleStr + '">' + text + '</div></a>') var banner = $('<a href="https://datayi.cn/w/noqwyzdR" style="color: #333333;" target="_blank"><div style="' + styleStr + '">' + text + '</div></a>')
.insertAfter(element); .insertAfter(element);
} }