Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Alderaan
baidu-netdisk-downloaderx
提交
51d44c54
B
baidu-netdisk-downloaderx
项目概览
Alderaan
/
baidu-netdisk-downloaderx
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
baidu-netdisk-downloaderx
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
51d44c54
编写于
7月 16, 2019
作者:
V
Van
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
💄
donate page
上级
cc505ad9
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
62 addition
and
10 deletion
+62
-10
bnd2/react/src/pages/donate.js
bnd2/react/src/pages/donate.js
+50
-7
bnd2/react/src/styles/donate.js
bnd2/react/src/styles/donate.js
+12
-3
未找到文件。
bnd2/react/src/pages/donate.js
浏览文件 @
51d44c54
import
React
from
'
react
'
import
React
from
'
react
'
import
PropTypes
from
'
prop-types
'
import
PropTypes
from
'
prop-types
'
import
Button
from
'
@material-ui/core/Button
'
export
default
class
Donate
extends
React
.
Component
{
export
default
class
Donate
extends
React
.
Component
{
openGithub
()
{
openGithub
(
path
)
{
window
.
shell
.
openExternal
(
window
.
shell
.
openExternal
(
path
)
'
https://github.com/b3log/baidu-netdisk-downloaderx
'
)
}
}
render
()
{
render
()
{
...
@@ -13,10 +13,53 @@ export default class Donate extends React.Component {
...
@@ -13,10 +13,53 @@ export default class Donate extends React.Component {
return
(
return
(
<
div
className
=
{
classes
.
donate
}
>
<
div
className
=
{
classes
.
donate
}
>
<
br
/><
br
/>
<
br
/><
br
/>
如果你觉得
<
span
className
=
{
classes
.
link
}
<
h2
>
💜
欢迎成为我们的赞助者
<
/h2
>
onClick
=
{
this
.
openGithub
}
>
BND2
<
/span> 还不错,欢迎成为我们的赞助者 <br/
>
<
br
/><
br
/><
br
/>
<
img
alt
=
"
微信捐赠
"
className
=
{
classes
.
donateImg
}
src
=
"
wechat-donate.jpg
"
/>
<
span
className
=
{
classes
.
link
}
<
img
alt
=
"
支付宝捐赠
"
className
=
{
classes
.
donateImg
}
src
=
"
alipay-donate.jpg
"
/>
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://b3log.org/
'
)}
>
B3log
开源组织
<
/span
>
旗下包含
&
nbsp
;
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://github.com/b3log/baidu-netdisk-downloaderx
'
)}
>
BND
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://sym.b3log.org/
'
)}
>
Symphony
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://solo.b3log.org/
'
)}
>
Solo
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://github.com/b3log/pipe
'
)}
>
Pipe
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://github.com/b3log/wide
'
)}
>
Wide
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://github.com/b3log/latke
'
)}
>
Latke
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://github.com/b3log/vditor
'
)}
>
Vditor
<
/span>
、
<
span
className
=
{
classes
.
link
}
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://github.com/b3log/gulu
'
)}
>
Gulu
<
/span> 
;
等一系列开源项目
。
随着项目规模的增长
,
我们需要有相应的资金支持才能持续项目的维护和开发
。
<
br
/><
br
/><
br
/><
br
/>
<
Button
className
=
{
classes
.
ftOriginal
}
color
=
'
primary
'
onClick
=
{
this
.
openGithub
.
bind
(
this
,
'
https://hacpai.com/sponsor
'
)}
variant
=
"
contained
"
>
<
svg
viewBox
=
"
0 0 32 32
"
width
=
"
100%
"
height
=
"
100%
"
className
=
{
classes
.
svg
}
>
<
path
d
=
"
M32 21.906v-15.753c0-3.396-2.757-6.152-6.155-6.152h-19.692c-3.396 0-6.152 2.756-6.152 6.152v19.694c0 3.396 2.754 6.152 6.152 6.152h19.694c3.027 0 5.545-2.189 6.058-5.066-1.632-0.707-8.703-3.76-12.388-5.519-2.804 3.397-5.74 5.434-10.166 5.434s-7.38-2.726-7.025-6.062c0.234-2.19 1.736-5.771 8.26-5.157 3.438 0.323 5.012 0.965 7.815 1.89 0.726-1.329 1.329-2.794 1.785-4.35h-12.433v-1.233h6.151v-2.212h-7.503v-1.357h7.504v-3.195c0 0 0.068-0.499 0.62-0.499h3.077v3.692h7.999v1.357h-7.999v2.212h6.526c-0.6 2.442-1.51 4.686-2.651 6.645 1.895 0.686 10.523 3.324 10.523 3.324v0 0 0zM8.859 24.736c-4.677 0-5.417-2.953-5.168-4.187 0.246-1.227 1.6-2.831 4.201-2.831 2.987 0 5.664 0.767 8.876 2.328-2.256 2.94-5.029 4.69-7.908 4.69v0 0z
"
><
/path
>
<
/svg
>
&
nbsp
;
使用支付宝进行赞助
<
/Button
>
{
/*<img alt="微信捐赠" className={classes.donateImg} src="wechat-donate.jpg"/>*/
}
{
/*<img alt="支付宝捐赠" className={classes.donateImg} src="alipay-donate.jpg"/>*/
}
<
/div
>
<
/div
>
)
)
}
}
...
...
bnd2/react/src/styles/donate.js
浏览文件 @
51d44c54
...
@@ -3,10 +3,19 @@ import DEFAULT_FONT from './font'
...
@@ -3,10 +3,19 @@ import DEFAULT_FONT from './font'
export
default
{
export
default
{
donate
:
{
donate
:
{
fontFamily
:
DEFAULT_FONT
,
fontFamily
:
DEFAULT_FONT
,
textAlign
:
'
center
'
width
:
'
460px
'
,
margin
:
'
0 auto
'
,
},
svg
:
{
fill
:
'
currentColor
'
,
display
:
'
inline-block
'
,
strokeWidth
:
'
0
'
,
stroke
:
'
currentColor
'
,
width
:
'
14px
'
,
height
:
'
14px
'
,
},
},
donateImg
:
{
donateImg
:
{
width
:
'
300px
'
,
width
:
'
300px
'
,
margin
:
'
14px
'
margin
:
'
14px
'
,
}
}
,
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录