Repository navigation
Expand file tree
/
Copy pathconfig.js
More file actions
42 lines (38 loc) · 1.88 KB
/
Copy pathconfig.js
File metadata and controls
42 lines (38 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// 配置文件
const basic = { // 基础设置
favicon: 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>👻</text></svg>', // 页面图标
title: '(~ ̄▽ ̄)~', // 页面标题
avatar: '@lyjdht', // 头像 URL,也可用 QQ 号 (e.g. 10000) 或 Github 用户名 (e.g. @alex3236)
name: 'lyjdht', // 头像下的昵称
sign: '<del>我很可爱,请给我钱</del>', // 个性签名或提示文字,可使用 HTML 格式
user_page: 'https://github.com/lyjdht', // 点击头像或名字时跳转的链接,留空或删除则不跳转
footer: '再玩十年也不会腻!', // 页脚文字,可使用 HTML 格式
uri_redirect: true // 若收款码 URL 是网址,是否直接跳转而不显示二维码
}
const theme = { // 主题设置
page_bg: '#c3d7df', // 网页背景(十六进制,或图片 URL)
card_bg: '#ffffffcc', // 卡片背景色(十六进制,可带透明度,不能是 URL)
qrcode_bg: '#eaeffde6', // 二维码背景色(十六进制,可带透明度,不能是 URL)
qrcode_fg: '#335eea' // 二维码颜色(十六进制,可带透明度,不能是 URL)
}
const tools = { // 右上角小工具设置
dl_btn: false, // 二维码下载
badge_generator: false // 徽章生成器
}
const urls = [ // 付款方式列表
{
name: '支付宝', // 名称
ua: 'Alipay', // User-Agent 正则表达式
addr: 'https://cdn.staticaly.com/gh/lyjdht/image@master/20221010/zfb.3oly0y7tvjpc.webp' // 收款码 URL
},
{
name: '微信',
ua: 'MicroMessenger\/',
addr: 'https://cdn.staticaly.com/gh/lyjdht/image@master/20221010/wx.fycul57qpgo.webp'
},
{
name: 'QQ',
ua: 'QQ\/',
addr: 'https://cdn.staticaly.com/gh/lyjdht/image@master/20221010/qq.35r8dpddqhxc.webp'
}
]