File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed
Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 1- /*
2- * @Author : weisheng
3- * @Date : 2023-07-27 12:36:30
4- * @LastEditTime : 2024-07-20 16:52:08
5- * @LastEditors : weisheng
6- * @Description :
7- * @FilePath : /wot-design-uni/docs/.vitepress/theme/index.ts
8- * 记得注释
9- */
101import { h } from 'vue'
112import Theme from 'vitepress/theme'
123import './styles/vars.css'
@@ -19,7 +10,7 @@ import CustomFooter from './components/CustomFooter.vue'
1910import SvgImage from './components/SvgImage.vue'
2011import HomeStar from './components/HomeStar.vue'
2112import frame from './components/frame.vue'
22- import { ElTag } from 'element-plus'
13+ import { ElTag , ElLink } from 'element-plus'
2314
2415export default {
2516 ...Theme ,
@@ -35,6 +26,6 @@ export default {
3526 app . component ( 'SvgImage' , SvgImage )
3627 app . component ( 'frame' , frame )
3728 app . component ( 'ElTag' , ElTag )
38-
29+ app . component ( 'ElLink' , ElLink )
3930 } ,
4031}
Original file line number Diff line number Diff line change 33感谢各位捐赠者对本项目的支持,以下排名不分先后,按时间顺序排列。
44
55::: tip
6- 捐赠后,请发送邮件到1780903673@qq.com 或者通过github 、微信群等社交平台告知要展示的捐赠者名称、留言、链接 (链接可以是您的博客、github、个人网站、公司产品等)
6+ 捐赠后,请发送邮件到1780903673@qq.com 或者通过 github 、微信群等社交平台告知要展示的捐赠者名称、留言、链接 (链接可以是您的博客、github、个人网站、公司产品等)
77:::
88
99## 捐赠榜单
1010
11-
1211<table v-if =" data&&data.donor " >
1312 <thead >
1413 <tr>
2120 <tr v-for="(donor,index) in data.donor">
2221 <td>{{donor.name}}</td>
2322 <td>{{donor.message}}</td>
24- <td>{{donor.link}}</td>
23+ <td>
24+ <el-link v-if="donor.link!=='-'" :href="donor.link" target="_blank">{{donor.link}}</el-link>
25+ <span v-else>-</span>
26+ </td>
2527 </tr>
2628 </tbody >
2729</table >
2830
29-
3031:beers ::beers ::beers : 再次感谢各位捐赠者的支持,也欢迎大家提出自己的意见和建议。:beers ::beers ::beers :
3132
3233<script setup >
3334import { useSponsor } from ' ../.vitepress/theme/composables/sponsor'
3435const { data } = useSponsor ()
35- </script >
36+ </script >
You can’t perform that action at this time.
0 commit comments