Skip to content

Commit 61f6221

Browse files
committed
feat: hide experience entry button
1 parent 1a41820 commit 61f6221

5 files changed

Lines changed: 5 additions & 21 deletions

File tree

packages/home/src/views/home/platform/components/GenuiSdk.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
</div>
2424
<div class="footer">
2525
<div class="operation">
26-
<tiny-button class="button" type="primary" @click="onPlayground">立即体验</tiny-button>
2726
<tiny-button class="button" ghost @click="onDocs">产品文档</tiny-button>
2827
</div>
2928
</div>
@@ -35,7 +34,6 @@
3534
<script setup>
3635
import { TinyButton } from '@opentiny/vue';
3736
38-
const onPlayground = () => window.open('https://playground.opentiny.design/genui-sdk', '_blank', 'noopener,noreferrer')
3937
const onDocs = () => window.open('https://docs.opentiny.design/genui-sdk', '_blank', 'noopener,noreferrer')
4038
</script>
4139

packages/home/src/views/home/platform/components/TinyEngine.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919
<div class="description">
2020
<img :src="$pub('images/platform/engine_1.svg')" alt="" loading="lazy" />
21-
<div class="line">
21+
<div>
2222
<div>集成 TinyEngine MCP 工具,AI 对话直调内置能力,</div>
2323
<div>自定义工具还能扩 AI 边界</div>
2424
</div>

packages/home/src/views/home/platform/components/TinyRobot.vue

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<script setup>
2-
import { TinyButton, TinyLink } from '@opentiny/vue'
3-
import { iconFilletExternalLink } from '@opentiny/vue-icon'
2+
import { TinyButton } from '@opentiny/vue'
43
import useWindowSize from '@/tools/useWindowSize.js'
54
65
const { isMobile } = useWindowSize()
76
8-
const TinyIconFilletExternalLink = iconFilletExternalLink()
97
10-
const onTinyRobot = () => {
11-
window.open('https://chat.opentiny.design/', '_blank', 'noopener,noreferrer')
12-
}
8+
const onDocs = () => window.open('https://docs.opentiny.design/tiny-robot/guide/quick-start.html', '_blank', 'noopener,noreferrer')
139
1410
const cardList = [
1511
{
@@ -57,13 +53,7 @@ const cardList = [
5753
</div>
5854
<div class="footer">
5955
<div class="operation">
60-
<tiny-button class="button" @click="onTinyRobot">即刻体验</tiny-button>
61-
<tiny-link class="link" href="https://docs.opentiny.design/tiny-robot/guide/quick-start.html" target="_blank">
62-
<template #icon>
63-
<TinyIconFilletExternalLink></TinyIconFilletExternalLink>
64-
</template>
65-
查看文档
66-
</tiny-link>
56+
<tiny-button class="button" ghost @click="onDocs">查看文档</tiny-button>
6757
</div>
6858
</div>
6959
</div>

packages/home/src/views/home/slogen/FirstCarousel.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
{{ data.descriptionA2 }}
1515
</div>
1616
<div class="home-title-buttons" v-if="!isMobile">
17-
<CustomAniButton text="开发文档" @click.stop="onDocs" />
18-
<CustomAniButton text="立即体验" ghost @click.stop="handleExperience" />
17+
<CustomAniButton text="开发文档" ghost @click.stop="onDocs" />
1918
</div>
2019
</div>
2120
</div>
@@ -36,7 +35,6 @@ const props = defineProps({
3635
const { isMobile } = useWindowSize()
3736
3837
const onDocs = () => window.open('https://docs.opentiny.design', '_blank', 'noopener,noreferrer')
39-
const handleExperience = () => window.open('https://ai.opentiny.design/tar/', '_blank', 'noopener,noreferrer')
4038
</script>
4139
<style scoped lang="less">
4240
@import '@/mixin.less';

packages/home/src/views/home/slogen/SecondCarousel.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
{{ data.title }}<span class="banner-item-title1">{{ data.title1 }}</span>
1111
</div>
1212
<div class="banner-item-description">{{ data.description }}</div>
13-
<CustomAniButton v-if="!isMobile" text="立即体验" @click.stop="onPlayground" />
1413
<CustomAniButton v-if="!isMobile" text="产品文档" ghost @click.stop="onDocs" />
1514
</div>
1615
</div>
@@ -30,7 +29,6 @@ const props = defineProps({
3029
})
3130
const { isMobile } = useWindowSize()
3231
33-
const onPlayground = () => window.open('https://playground.opentiny.design/genui-sdk', '_blank', 'noopener,noreferrer')
3432
const onDocs = () => window.open('https://docs.opentiny.design/genui-sdk', '_blank', 'noopener,noreferrer')
3533
</script>
3634

0 commit comments

Comments
 (0)