Skip to content

Commit a1ffe9b

Browse files
author
lixueping
committed
add color
1 parent 0bb237b commit a1ffe9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/createhtml.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ func SetHandle(data string) string {
2020
}
2121

2222
func SetItem(id int,handle string) string {
23-
return fmt.Sprintf(`<li class="dd-item" data-id="%d">%s</li>`,id,SetHandle(handle))
23+
return fmt.Sprintf(`<li class="dd-item item-orange" data-id="%d">%s</li>`,id,SetHandle(handle))
2424
}
2525

2626
func SetItemStart(id int,handle string) string {
27-
return fmt.Sprintf(`<li class="dd-item" data-id="%d">%s`,id,SetHandle(handle))
27+
return fmt.Sprintf(`<li class="dd-item item-red" data-id="%d">%s`,id,SetHandle(handle))
2828
}
2929

3030
func SetItemEnd() string {

0 commit comments

Comments
 (0)