Skip to content

Commit 44d7812

Browse files
author
1020325258
committed
docs:提交MQ以及锁文章功能
1 parent bcaee07 commit 44d7812

File tree

7 files changed

+3355
-51
lines changed

7 files changed

+3355
-51
lines changed

docs/.vuepress/components/HideArticle.vue

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/.vuepress/components/PayArticle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
if ($article.length <= 0) return;
6060
6161
// 文章隐藏后的高度
62-
let halfHeight = height * 0.9;
62+
let halfHeight = height * 0.3;
6363
6464
// 判断是否已加锁
6565
if ($article.hasClass("lock-pay")) {

docs/.vuepress/config.js

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ module.exports = {
6161
],
6262
],
6363
plugins: [
64-
// [
65-
// {globalUIComponents: ['LockArticle', 'PayArticle']}
66-
// ],
64+
[
65+
{globalUIComponents: ['LockArticle', 'PayArticle']}
66+
],
6767
// ['@vuepress/medium-zoom', {
6868
// selector: 'img:not(.nozoom)',
6969
// // See: https://github.com/francoischalifour/medium-zoom#options
@@ -261,9 +261,14 @@ module.exports = {
261261

262262
{
263263
text: 'RocketMQ',
264-
items: [{
265-
text: '00-RocketMQ',
266-
link: '/md/kafka/15-基于kafka实现延迟队列.md'
264+
items: [
265+
{
266+
text: '01-RocketMQ核心内容',
267+
link: '/md/RocketMQ/01-RocketMQ核心内容.md'
268+
},
269+
{
270+
text: '02-基于电商场景的高并发RocketMQ实战',
271+
link: '/md/RocketMQ/02-基于电商场景的高并发RocketMQ实战.md'
267272
},
268273
]
269274
},
@@ -956,7 +961,18 @@ module.exports = {
956961
"08-全网最全图解Kafka适用场景",
957962
// "15-基于kafka实现延迟队列"
958963
]
959-
}],
964+
}],
965+
"/md/RocketMQ/": [
966+
{
967+
title: "RocketMQ",
968+
collapsable: false,
969+
sidebarDepth: 0,
970+
children: [
971+
"01-RocketMQ核心内容",
972+
"02-基于电商场景的高并发RocketMQ实战"
973+
]
974+
}
975+
],
960976
"/md/rabbitmq": [{
961977
title: "RabbitMQ",
962978
collapsable: false,

docs/.vuepress/public/js/btwplugin.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)