Skip to content

Commit 696bf6d

Browse files
committed
图片说明更改与图标引入
1 parent a6588b2 commit 696bf6d

10 files changed

Lines changed: 119 additions & 30 deletions

File tree

.vitepress/config.mts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,24 @@ export default defineConfig({
55
base: '/',
66
title: "SurveyController",
77
description: "基于 VitePress 的文档站点",
8+
head: [
9+
['link', { rel: 'icon', href: '/assets/icon.ico' }]
10+
],
811
themeConfig: {
912
// https://vitepress.dev/reference/default-theme-config
1013
nav: [
1114
{ text: '首页', link: '/' },
12-
{ text: '示例', link: '/markdown-examples' }
15+
{ text: '状态监测', link: 'https://status.hungrym0.top/status/surveycontroller' }
1316
],
1417

1518
sidebar: [
1619
{
1720
text: '示例',
1821
items: [
1922
{ text: '下载与安装', link: '/download-install' },
23+
{ text: '如何提问', link: '/how-to-ask' },
2024
{ text: '使用说明', link: '/usage-guide' },
21-
{ text: 'API Key配置', link: '/api-key-configuration' }
25+
{ text: 'API Key 配置', link: '/api-key-configuration' }
2226
]
2327
}
2428
],

.vitepress/theme/custom.css

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
:root {
2+
--vp-home-hero-name-color: var(--vp-c-brand-1);
3+
}
4+
5+
.VPHero.has-image .container {
6+
text-align: left !important;
7+
}
8+
9+
.VPHero.has-image .name,
10+
.VPHero.has-image .text,
11+
.VPHero.has-image .tagline {
12+
margin: 0 !important;
13+
}
14+
15+
.VPHero.has-image .actions {
16+
justify-content: flex-start !important;
17+
}
18+
19+
@media (min-width: 960px) {
20+
.VPHero .container {
21+
justify-content: flex-start !important;
22+
}
23+
24+
.VPHero .main {
25+
order: 2 !important;
26+
flex-grow: 0 !important;
27+
}
28+
29+
.VPHero .image {
30+
order: 1 !important;
31+
flex-grow: 0 !important;
32+
margin: 0 48px 0 0 !important;
33+
}
34+
35+
.VPHero .image-container {
36+
width: 220px !important;
37+
height: 220px !important;
38+
transform: none !important;
39+
}
40+
41+
.VPHero .image-bg {
42+
width: 160px !important;
43+
height: 160px !important;
44+
}
45+
46+
.VPHero .image-src {
47+
max-width: 160px !important;
48+
max-height: 160px !important;
49+
}
50+
}
51+
52+
@media (max-width: 959px) {
53+
.VPHero .image-container {
54+
width: 180px !important;
55+
height: 180px !important;
56+
}
57+
58+
.VPHero .image-bg {
59+
width: 132px !important;
60+
height: 132px !important;
61+
}
62+
63+
.VPHero .image-src {
64+
max-width: 132px !important;
65+
max-height: 132px !important;
66+
}
67+
}

.vitepress/theme/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import DefaultTheme from 'vitepress/theme'
2+
import './custom.css'
3+
4+
export default DefaultTheme

api-key-configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
outline: deep
3+
---
4+
15
# API Key 配置
26

37
## 以 DeepSeek 为例,拿 Key 的流程:

assets/icon.ico

66.1 KB
Binary file not shown.

assets/icon.png

836 KB
Loading

download-install.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
双击下载到的安装包(此处以v3.0.4版本的为例),按提示安装。
1212

13-
![安装](assets/install_1.png)
13+
![安装包界面](assets/install_1.png)
1414

15-
如果没有什么特别要求,大多数人保持默认一路下一步就行
15+
如果没有什么特别要求,大多数人保持默认一路`下一步`就行
1616

1717
**没有必要听信什么“安装到 D 盘”之类的营销号,除非你真的有这个刚需。**
1818

@@ -24,4 +24,9 @@
2424

2525
其实安装完成后桌面一般都会自动创建快捷方式。要是没看到,估计你是那种把桌面当作默认下载路径的用户,你可能有必要仔细在灾后废墟一样乱的桌面上找一找了。实在不行,在开始菜单或许也能找到。
2626

27-
如果程序打不开,**请提供完整报错截图和文字信息**,再去群里或 GitHub 反馈。什么都不提供就只知到说一句“打不开”,那我能做的只有给你算一卦。
27+
如果程序打不开,**请提供完整报错截图和文字信息**,再去群里或 GitHub 反馈!
28+
29+
什么都不提供就只知道说一句:
30+
`“打不开”` `“请问这个是什么原因呢”` `“实在是没招了呀”`
31+
32+
那我能做的只有给你算一卦。

how-to-ask.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
outline: deep
3+
---
4+
5+
# 如何提问
6+
7+
我们鼓励用户在遇到问题时积极提问,这被视为是一种社区的贡献。
8+
9+
但是绝大多数人的提问完全没有任何价值,提问的结果永远都是浪费大家的时间。

index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
layout: home
44

55
hero:
6-
name: "SurveyController"
6+
name: SurveyController
77
text: ""
8-
tagline: '一站式问卷自动化处理程序,适配问卷星、腾讯问卷、Credamo见数平台'
8+
tagline: 一站式问卷自动化处理程序,适配问卷星、腾讯问卷、Credamo见数平台
9+
image:
10+
src: /assets/icon.png
11+
alt: SurveyController 图标
912
actions:
1013
- theme: brand
1114
text: 查看文档

usage-guide.md

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,31 @@ outline: deep
1010

1111
## 导入问卷
1212

13-
打开程序后,你可以直接粘贴问卷链接,或者拖拽二维码图片到对话框中,也可以点击左侧图标手动选择问卷二维码图片
13+
打开程序后,你可以直接粘贴问卷链接,或者拖拽二维码图片到对话框中,也可以点击`左侧图标`手动选择问卷二维码图片
1414

1515
:::warning 注意
1616
只接受标准的二维码!
1717

1818
**不接受**那种微信小程序码,还有那种封面花里胡哨绣了几朵花之后塞个小二维码的抽象艺术!
1919
:::
2020

21-
![安装](assets/gui_1.png)
22-
23-
随后,点击`自动配置问卷`,会有友好的图形化界面引导你完成每个题目的配置。不要嫌麻烦,几个汉字有什么看不懂的。
24-
25-
一般来说,见数平台的问卷解析需要较长时间,甚至偶尔会失败。这是正常现象,重试几次就行了。如果还是不行,你可能要在自己浏览器里面亲自粘贴一遍问卷链接,看看是不是被要求登录拦截、或者是不是根本就没开放问卷
26-
2721
:::danger 警告
2822
不接受考试、投票等不正当的问卷类型!
2923
:::
3024

31-
## 进入配置向导
25+
![导入问卷](assets/gui_1.png)
3226

33-
图片识别成功后,程序会自动跳到配置向导
27+
随后,点击`自动配置问卷`,会有友好的图形化界面引导你完成每个题目的配置。不要嫌麻烦,几个汉字有什么看不懂的
3428

35-
![安装](assets/gui_2.png)
29+
一般来说,见数平台的问卷解析需要较长时间,甚至偶尔会失败。这是正常现象,重试几次就行了。如果还是不行,你可能要在自己浏览器里面亲自粘贴一遍问卷链接,看看是不是被要求登录拦截、或者是不是根本就没开放问卷
3630

37-
### 问题检查
31+
图片识别成功后,程序会自动跳到配置向导。
3832

39-
如果识别没反应,先检查你传的是不是问卷二维码,而不是投票、考试,或者封面花里胡哨绣了几朵花之后塞个小二维码的抽象艺术。
33+
![配置向导](assets/gui_2.png)
4034

41-
右上角的“配置列表 / 载入配置 / 保存配置”是给你存档和复用配置用的。配置列表里暂时空白很正
42-
常,说明你还没保存过。
35+
右上角的“配置列表 / 载入配置 / 保存配置”是给你存档和复用配置用的。
4336

44-
![安装](assets/gui_3.png)
37+
![配置列表与保存](assets/gui_3.png)
4538

4639
## 配置向导怎么用
4740

@@ -50,11 +43,11 @@ outline: deep
5043

5144
- 单选题、量表题、评价题:滑块表示各选项大概命中的比例,每题下方也有数据比例显示。
5245

53-
![安装](assets/config_1.png)
46+
![单选题与量表题配置](assets/config_1.png)
5447

5548
- 多选题:每个选项的概率是独立计算的,不需要你把总和硬凑到 100%。( 例如,明天会下雨的概率是 60%,气温超过三十度的概率是 70%,而 60%+70%≠100% )
5649

57-
![安装](assets/config_2.png)
50+
![多选题配置](assets/config_2.png)
5851

5952
- 排序题:不需要手动配比例,程序会自动随机排序;如果问卷只要求排几项,也会尽量识别。
6053

@@ -67,11 +60,11 @@ outline: deep
6760

6861
随机姓名、随机手机号:适合这种一眼就知道该填实名信息的题。
6962

70-
![安装](assets/config_3.png)
63+
![随机姓名和随机手机号配置](assets/config_3.png)
7164

7265
多项填空题:按“一整组答案”来配置,同一行里的几个空会一起使用,别拆着理解。
7366

74-
![安装](assets/config_4.png)
67+
![多项填空配置](assets/config_4.png)
7568

7669
AI 填空不是必选项。你要是只想快点跑通流程凑够份数,能手填就先手填,别上来就想着跟 AI 死磕。具体怎么配置 AI 填空,仔细看文档,后面会说。
7770

@@ -95,7 +88,7 @@ outline: deep
9588

9689
- 无头模式:浏览器在后台跑,不弹窗,看起来清净一些,但要排查问题时不如可见模式直观。
9790

98-
![安装](assets/runtime_1.png)
91+
![运行参数设置](assets/runtime_1.png)
9992

10093
**温馨提示:失败5次会自动停止和触发智能验证会自动暂停**(建议遇到阿里云智能验证先停下,默认建议开着,最好配合随机 IP 一起用。)
10194

@@ -112,7 +105,7 @@ outline: deep
112105

113106
- 如果你还开着代理,时间拉得越长,通常也越烧随机 ip 额度,所以别为了“像真人”就瞎拉到离谱。
114107

115-
![安装](assets/time_1.png)
108+
![时间控制设置](assets/time_1.png)
116109

117110
## 随机Ip和随机UA(能用默认就别瞎折腾)
118111

@@ -125,7 +118,7 @@ outline: deep
125118
126119
- 如果你只是普通跑问卷,或者说无人在意你的问卷是哪来的,关了随机 UA 都行。
127120

128-
![安装](assets/random_1.png)
121+
![随机IP和随机UA设置](assets/random_1.png)
129122

130123
## AI填空助手(能用,但别把它当魔法)
131124

@@ -139,5 +132,5 @@ outline: deep
139132

140133
- AI 适合开放式填空题,不适合拿来解决所有问题。你问卷里如果只是几道简单填空,手动配置个“无”会更省心。或者,你干脆在后台把这题删了得了(
141134

142-
![安装](assets/AIFill_1.png)
135+
![AI填空助手设置](assets/AIFill_1.png)
143136

0 commit comments

Comments
 (0)