Skip to content

Commit acaa8d2

Browse files
committed
【fix】 fix 上次漏提交 review by songym
1 parent 7204cdd commit acaa8d2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/js/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function createGalleryChart(example) {
117117
var chart = $("<div class='chart'></div>");
118118
var link = $("<a class='chart-link' target='_blank' href='" + target + "#" + href + "'></a>");
119119
var chartTitle = $("<h5 class='chart-title'>" + title + "</h5>");
120-
var newTip = $('<svg xmlns="http://www.w3.org/2000/svg" class="new-example" style="width:8px !important;height:8px;right: 1px;top: 1px;position: absolute;"><circle cx="4" cy="4" r="4" fill="#C70022"></circle></svg>');
120+
var newTip = $('<svg xmlns="http://www.w3.org/2000/svg" class="new-example" style="width:8px !important;height:8px;right: 1px;top: 1px;position: absolute;"><circle cx="4" cy="4" r="4" fill="#e14d57"></circle></svg>');
121121
var thumb = $("<img class='chart-thumb' src='" + defaultThumb + "' data-original='" + thumbnail + "' style='display: inline'>");
122122

123123
chartTitle.appendTo(link);

examples/js/sidebar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function createSideBarMenuTitle(id, title, collapse, hasNewExamples) {
174174
var titleBar = $("<span class='sidebar-title-bar'></span>");
175175
var newIcon = "";
176176
if (hasNewExamples) {
177-
newIcon = "<svg style='width:16px;height:16px;padding-left:5px'><circle cx='3' cy='3' r='3' fill='#C70022'></circle>/svg>";
177+
newIcon = "<svg style='width:16px;height:16px;padding-left:5px'><circle cx='3' cy='3' r='3' fill='#e14d57'></circle>/svg>";
178178
}
179179
var firstMenuTitle = $("<span class='firstMenuTitle'>" + title + newIcon + "</span>");
180180
titleBar.append(firstMenuTitle);
@@ -195,7 +195,7 @@ function createSideBarMenuSecondTitle(id, title, collapse, hasNewExamples) {
195195
}
196196
var newIcon = "";
197197
if (hasNewExamples) {
198-
newIcon = "<svg style='width:16px;height:16px;padding-left:5px'><circle cx='3' cy='3' r='3' fill='#C70022'></circle>/svg>";
198+
newIcon = "<svg style='width:16px;height:16px;padding-left:5px'><circle cx='3' cy='3' r='3' fill='#e14d57'></circle>/svg>";
199199
}
200200
var div = $(
201201
"<a href='#" + id + "' id='" + id + '-' + id + "'>" + icon +
@@ -217,7 +217,7 @@ function createSideBarMenuThirdTitle(id, title, collapse,version) {
217217
}
218218
var newIcon="";
219219
if(window.version===version){
220-
newIcon = "<svg style='width:16px;height:16px;padding-left:5px'><circle cx='3' cy='3' r='3' fill='#C70022'></circle>/svg>";
220+
newIcon = "<svg style='width:16px;height:16px;padding-left:5px'><circle cx='3' cy='3' r='3' fill='#e14d57'></circle>/svg>";
221221
}
222222

223223
var div = $(

examples/js/wechat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function createGalleryChart(example) {
1313
var link = $("<a class='chart-link' href='" + target + '#' + href + "'></a>");
1414
var chartTitle = $("<h5 class='chart-title'>" + title + '</h5>');
1515
var newTip = $(
16-
'<svg xmlns="http://www.w3.org/2000/svg" class="new-example" style="width:8px !important;height:8px;right: 1px;top: 1px;position: absolute;"><circle cx="4" cy="4" r="4" fill="#C70022"></circle></svg>'
16+
'<svg xmlns="http://www.w3.org/2000/svg" class="new-example" style="width:8px !important;height:8px;right: 1px;top: 1px;position: absolute;"><circle cx="4" cy="4" r="4" fill="#e14d57"></circle></svg>'
1717
);
1818
var thumb = $(
1919
"<img class='chart-thumb' src='" + defaultThumb + "' data-original='" + thumbnail + "' style='display: inline'>"

0 commit comments

Comments
 (0)