Skip to content

Commit 9c28ca3

Browse files
committed
refactor:change lusunlesson page content
1 parent e324a52 commit 9c28ca3

File tree

5 files changed

+57
-10
lines changed

5 files changed

+57
-10
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<template>
2+
<div class="button-container" @click="openCustomerService">
3+
<span class="button-text">联系客服</span>
4+
</div>
5+
</template>
6+
7+
<script setup>
8+
import { defineProps } from 'vue';
9+
10+
const props = defineProps({
11+
url: {
12+
type: String,
13+
required: true,
14+
},
15+
});
16+
17+
const openCustomerService = () => {
18+
window.open(props.url, '_blank');
19+
};
20+
</script>
21+
22+
<style scoped>
23+
.button-container {
24+
display: inline-flex;
25+
align-items: center;
26+
padding: 4px 15px;
27+
font-size: 16px;
28+
color: #fff;
29+
background-color: #4CAF50;
30+
border: none;
31+
border-radius: 8px; /* 圆角 */
32+
cursor: pointer;
33+
text-decoration: none;
34+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 添加阴影 */
35+
}
36+
37+
.button-text {
38+
vertical-align: middle;
39+
font-weight: bold; /* 加粗文字 */
40+
}
41+
42+
.button-container:hover {
43+
background-color: #45a049;
44+
}
45+
</style>

.vitepress/config.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ export default defineConfig({
5959
text: "⌨️ 提词遥控器",
6060
link: "/advanced/remote",
6161
},
62+
// {
63+
// text: "🫡 OBS精品课",
64+
// link: "/advanced/obslesson",
65+
// },
6266
{
63-
text: "🫡 五年会员+OBS精品课",
64-
link: "/advanced/obslesson",
65-
},
66-
{
67-
text: "🎩 终身版+官方系统课",
67+
text: "🎩 芦笋学苑-官方系统课",
6868
link: "/advanced/lusunlesson",
6969
},
7070
],

.vitepress/theme/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import ImgCenter from "../components/ImgCenter.vue";
33
import ImgDesc from "../components/ImgDesc.vue";
44
import Link from "../components/Link.vue";
55
import UserGroup from "../components/UserGroup.vue";
6+
import ContactButton from "../components/ContactButton.vue";
67
import DefaultTheme from "vitepress/theme";
78
import { onMounted, watch, nextTick } from "vue";
89
import { useRoute } from "vitepress";
@@ -18,6 +19,7 @@ export default {
1819
app.component("ImgCenter", ImgCenter);
1920
app.component("ImgDesc", ImgDesc);
2021
app.component("Link", Link);
22+
app.component("ContactButton", ContactButton);
2123
},
2224
setup() {
2325
const route = useRoute();

advanced/lusunlesson.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
description: 这篇文章介绍了芦笋提词器终身版 + 官方系统课的超豪华套餐内容
33
---
44

5-
# 🎩 终身版+官方系统课
5+
# 🎩 芦笋学苑系统课
66

77
## 基础信息
88

9-
* 购买链接:请点击这里:[https://tcq.lusun.com/pricing/](https://tcq.lusun.com/pricing/)
10-
* 了解更多会员权益,请参考 [芦笋提词器会员特权介绍](https://docs.lusun.com/tcq/basic/vip.html)
9+
* 🔥 买芦笋提词器终身版,限时送全套课程 👉🏻 [**【0元听课】点击了解!**](https://tcq.lusun.com/pricing/)
10+
* 购买 **芦笋学苑-官方系统课** 一站搞定直播录课,还有一对一指导 ~ <ContactButton url="https://work.weixin.qq.com/kfid/kfca61f545915189e02"></ContactButton>
1111

12-
<ImgCenter><img src="/assets/lusunlesson1.jpg" alt="" width="80%"></ImgCenter>
13-
<ImgDesc>官网直播录课-系统课</ImgDesc>
12+
<ImgCenter><img src="/assets/lusunlesson5.png" alt="" width="100%"></ImgCenter>
13+
<ImgDesc>👆🏻 扫码购买-官方系统课</ImgDesc>
1414

1515
## 客服咨询
1616

public/assets/lusunlesson5.png

517 KB
Loading

0 commit comments

Comments
 (0)