1
1
<div class =" card-footer" >
2
2
<div class =" row" >
3
3
<div class =" col" >
4
- {{-- 点赞 --}}
5
- <a style =" text-decoration :none ;" core-click =" like-topic" topic-id =" {{ $data -> id } }"
6
- class =" hvr-icon-bounce cursor-pointer text-muted" data-bs-toggle =" tooltip" data-bs-placement =" bottom"
7
- title =" {{ __ (" topic.likes" )} }" >
8
- <svg xmlns =" http://www.w3.org/2000/svg" class =" hvr-icon icon" width =" 24" height =" 24"
9
- viewBox =" 0 0 24 24" stroke-width =" 2" stroke =" currentColor" fill =" none" stroke-linecap =" round"
10
- stroke-linejoin =" round" >
11
- <path stroke =" none" d =" M0 0h24v24H0z" fill =" none" />
12
- <path d =" M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" />
13
- </svg >
14
- <span core-show =" topic-likes" >{{ $data -> like } } </span >
15
- </a >
16
4
@if (auth ()-> check () )
5
+ {{-- 点赞 --}}
6
+ <a style =" text-decoration :none ;" core-click =" like-topic" topic-id =" {{ $data -> id } }"
7
+ class =" hvr-icon-bounce cursor-pointer text-muted" data-bs-toggle =" tooltip" data-bs-placement =" bottom"
8
+ title =" {{ __ (" topic.likes" )} }" >
9
+ <svg xmlns =" http://www.w3.org/2000/svg" class =" hvr-icon icon" width =" 24" height =" 24"
10
+ viewBox =" 0 0 24 24" stroke-width =" 2" stroke =" currentColor" fill =" none" stroke-linecap =" round"
11
+ stroke-linejoin =" round" >
12
+ <path stroke =" none" d =" M0 0h24v24H0z" fill =" none" />
13
+ <path d =" M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" />
14
+ </svg >
15
+ <span core-show =" topic-likes" >{{ $data -> like } } </span >
16
+ </a >
17
17
{{-- 收藏--}}
18
18
<a style =" text-decoration :none ;" core-click =" star-topic" topic-id =" {{ $data -> id } }"
19
19
class =" hvr-icon-bounce cursor-pointer text-muted" data-bs-toggle =" tooltip" data-bs-placement =" bottom"
@@ -37,23 +37,23 @@ class="hvr-icon-pulse cursor-pointer text-muted" data-bs-toggle="tooltip" data-b
37
37
<path d =" M5 14h14l-4.5 -4.5l4.5 -4.5h-14v16" ></path >
38
38
</svg >
39
39
</a >
40
+ {{-- 引用--}}
41
+ <a style =" text-decoration :none ;" core-click =" copy" copy-content =" [topic topic_id={{ $data -> id } } ]" message =" 短代码复制成功!"
42
+ class =" hvr-icon-bounce cursor-pointer text-muted" data-bs-toggle =" tooltip" data-bs-placement =" bottom"
43
+ title =" 引用" >
44
+ <svg xmlns =" http://www.w3.org/2000/svg" class =" icon icon-tabler icon-tabler-blockquote" width =" 24"
45
+ height =" 24" viewBox =" 0 0 24 24" stroke-width =" 2" stroke =" currentColor" fill =" none"
46
+ stroke-linecap =" round" stroke-linejoin =" round" >
47
+ <path stroke =" none" d =" M0 0h24v24H0z" fill =" none" ></path >
48
+ <path d =" M6 15h15" ></path >
49
+ <path d =" M21 19h-15" ></path >
50
+ <path d =" M15 11h6" ></path >
51
+ <path d =" M21 7h-6" ></path >
52
+ <path d =" M9 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2" ></path >
53
+ <path d =" M3 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2" ></path >
54
+ </svg >
55
+ </a >
40
56
@endif
41
- {{-- 引用--}}
42
- <a style =" text-decoration :none ;" core-click =" copy" copy-content =" [topic topic_id={{ $data -> id } } ]" message =" 短代码复制成功!"
43
- class =" hvr-icon-bounce cursor-pointer text-muted" data-bs-toggle =" tooltip" data-bs-placement =" bottom"
44
- title =" 引用" >
45
- <svg xmlns =" http://www.w3.org/2000/svg" class =" icon icon-tabler icon-tabler-blockquote" width =" 24"
46
- height =" 24" viewBox =" 0 0 24 24" stroke-width =" 2" stroke =" currentColor" fill =" none"
47
- stroke-linecap =" round" stroke-linejoin =" round" >
48
- <path stroke =" none" d =" M0 0h24v24H0z" fill =" none" ></path >
49
- <path d =" M6 15h15" ></path >
50
- <path d =" M21 19h-15" ></path >
51
- <path d =" M15 11h6" ></path >
52
- <path d =" M21 7h-6" ></path >
53
- <path d =" M9 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2" ></path >
54
- <path d =" M3 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2" ></path >
55
- </svg >
56
- </a >
57
57
</div >
58
58
59
59
{{-- 右边 footer--}}
0 commit comments