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

refactor: edit sponsor banner

This commit is contained in:
ruanyf 2020-03-25 10:04:53 +08:00
parent fe723778a0
commit 0068aa51a6

View File

@ -225,7 +225,7 @@ function create_banner(element) {
'color: #333333' 'color: #333333'
].join(';'); ].join(';');
var text = '【课程】' + var text = '【免费课程】' +
'开始学习<span style="color: #4682BE;">《ES6 实战教程》</span>,一线大厂前端必备技能。'; '开始学习<span style="color: #4682BE;">《ES6 实战教程》</span>,一线大厂前端必备技能。';
var banner = $('<a href="https://datayi.cn/w/1P6jEmmP" style="color: #333333;" target="_blank"><div style="' + styleStr + '">' + text + '</div></a>') var banner = $('<a href="https://datayi.cn/w/1P6jEmmP" style="color: #333333;" target="_blank"><div style="' + styleStr + '">' + text + '</div></a>')