Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0d99213
feat(site):Optimize the typography of CJK characters, mix Chinese and…
dufu1991 Dec 21, 2024
0b4be1b
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 25, 2024
de5ae7c
feat(site):Optimize the typography of CJK characters, mix Chinese and…
dufu1991 Dec 25, 2024
5236677
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 25, 2024
93c55c9
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 25, 2024
add7ed0
fix(vue-renderless): [amount, anchor, area, autocomplete] fix site: O…
dufu1991 Dec 25, 2024
e4797cf
fix(vue-renderless): [base-select] fix site: Optimize site documentat…
dufu1991 Dec 25, 2024
b57dc9e
fix(vue-renderless): [base-select] fix site: Optimize site documentat…
dufu1991 Dec 25, 2024
a085874
fix(vue-renderless): [base-select] fix site: Optimize site documentat…
dufu1991 Dec 26, 2024
5525a60
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 26, 2024
bb2ada5
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 27, 2024
c15edf5
fix(vue-renderless): [breadcrumb, bulletin-board, button, button-grou…
dufu1991 Dec 27, 2024
5be8e63
fix(vue-renderless): [calendar, calendar-view, card, carousel, cascad…
dufu1991 Dec 27, 2024
4338e78
fix(vue-renderless): [checkbox, collapse, color-picker, color-select-…
dufu1991 Dec 27, 2024
e85129a
fix(vue-renderless): [breadcrumb, bulletin-board, button, button-grou…
dufu1991 Dec 27, 2024
d1afe7f
fix(vue-renderless): [date-picker,dept,dialog-box,dialog-select,direc…
dufu1991 Dec 27, 2024
80a89b7
fix(vue-renderless): [espace,fall-menu,file-upload,filter-panel,float…
dufu1991 Dec 27, 2024
c1aaad3
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 28, 2024
ccc6cea
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 28, 2024
be4f1d8
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 28, 2024
17b6680
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 28, 2024
47b602d
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 30, 2024
7477fe4
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 30, 2024
48cadbe
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 30, 2024
30d6112
fix(vue-renderless): [grid] fix site: Optimize site documentation typ…
dufu1991 Dec 30, 2024
d7a79c6
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Dec 31, 2024
97939fb
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Dec 31, 2024
a9260f9
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Dec 31, 2024
0a4c7cf
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
c68e069
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
9fb4f48
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
d838e8f
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
3099e62
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
7439b13
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
e7f80eb
Merge branch 'opentiny:dev' into dufu1991/feat-site-ptimize-typesetting
dufu1991 Jan 2, 2025
c4a7a1a
fix(vue-renderless): [grid-select,guide,hrapprover,hrapprover,icon,ic…
dufu1991 Jan 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<p>场景1:单选</p>
<p>场景 1:单选</p>
<br />
<tiny-grid-select
v-model="valueSingle"
Expand All @@ -10,7 +10,7 @@
:radio-config="radioConfig"
></tiny-grid-select>
<br /><br />
<p>场景2:多选</p>
<p>场景 2:多选</p>
<br />
<tiny-grid-select
v-model="valueMultiple"
Expand Down
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/grid-select/config.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<p>场景1:单选</p>
<p>场景 1:单选</p>
<br />
<tiny-grid-select
v-model="valueSingle"
Expand All @@ -10,7 +10,7 @@
:radio-config="radioConfig"
></tiny-grid-select>
<br /><br />
<p>场景2:多选</p>
<p>场景 2:多选</p>
<br />
<tiny-grid-select
v-model="valueMulti"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<p>场景1:单选</p>
<p>场景 1:单选</p>
<br />
<tiny-grid-select
v-model="valueSingle"
Expand All @@ -10,7 +10,7 @@
:remote-method="remoteMethod"
></tiny-grid-select>
<br /><br />
<p>场景2:多选</p>
<p>场景 2:多选</p>
<br />
<tiny-grid-select
v-model="valueMultiple"
Expand Down
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/grid-select/remote.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<p>场景1:单选</p>
<p>场景 1:单选</p>
<br />
<tiny-grid-select
v-model="valueSingle"
Expand All @@ -10,7 +10,7 @@
:remote-method="remoteMethod"
></tiny-grid-select>
<br /><br />
<p>场景2:多选</p>
<p>场景 2:多选</p>
<br />
<tiny-grid-select
v-model="valueMultiple"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
},
desc: {
'zh-CN':
'<p>同时使用 <code>remote</code> 和 <code>remote-method</code> 和 <code>filterable</code> 3个属性开启远程搜索。通过 <code>remote-config</code> 设置自动搜索和显示展开按钮。<br>在多选模式下,可通过 <code>reserve-keyword</code> 设置选中一个选项后依然保留搜索关键字。</p>',
'<p>同时使用 <code>remote</code> 和 <code>remote-method</code> 和 <code>filterable</code> 3 个属性开启远程搜索。通过 <code>remote-config</code> 设置自动搜索和显示展开按钮。<br>在多选模式下,可通过 <code>reserve-keyword</code> 设置选中一个选项后依然保留搜索关键字。</p>',
'en-US': ''
},
codeFiles: ['remote.vue']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const showStep3 = ref(false)
const showStep4 = ref(false)
const data1 = ref([
{
title: '新手引导标题1',
title: '新手引导标题 1',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand All @@ -44,7 +44,7 @@ const data1 = ref([
])
const data2 = ref([
{
title: '新手引导标题2',
title: '新手引导标题 2',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand All @@ -57,7 +57,7 @@ const data2 = ref([
])
const data3 = ref([
{
title: '新手引导标题3',
title: '新手引导标题 3',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand All @@ -71,7 +71,7 @@ const data3 = ref([
const data4 = ref([
{
popPosition: 'top',
title: '新手引导标题4',
title: '新手引导标题 4',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand Down
8 changes: 4 additions & 4 deletions examples/sites/demos/pc/app/guide/arrow-position.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
showStep4: false,
data1: [
{
title: '新手引导标题1',
title: '新手引导标题 1',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand All @@ -51,7 +51,7 @@ export default {
],
data2: [
{
title: '新手引导标题2',
title: '新手引导标题 2',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand All @@ -64,7 +64,7 @@ export default {
],
data3: [
{
title: '新手引导标题3',
title: '新手引导标题 3',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand All @@ -78,7 +78,7 @@ export default {
data4: [
{
popPosition: 'top',
title: '新手引导标题4',
title: '新手引导标题 4',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案',
domElement: '.demo-guide-arrow-position',
button: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { TinyGuide, TinyButton, TinyDivider } from '@opentiny/vue'
const showStep = ref(false)
const domData = ref([
{
title: '新手引导标题1',
title: '新手引导标题 1',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案',
domElement: '.guide-box1',
button: [
Expand All @@ -28,7 +28,7 @@ const domData = ref([
]
},
{
title: '新手引导标题2',
title: '新手引导标题 2',
text: '<div class="scrollBox" style="height:254px">这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案</div>',
domElement: '.guide-box2',
button: [
Expand Down
6 changes: 3 additions & 3 deletions examples/sites/demos/pc/app/guide/basic-usage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ test('基础用法', async ({ page }) => {

const activeDom = page.getByRole('button', { name: '基础新手引导' })
const startGuide = page.getByRole('button', { name: '开始引导' })
const step1 = page.getByRole('heading', { name: '新手引导标题1' })
const step2 = page.getByRole('heading', { name: '新手引导标题2' })
const step1 = page.getByRole('heading', { name: '新手引导标题 1' })
const step2 = page.getByRole('heading', { name: '新手引导标题 2' })
const step3 = page.getByRole('dialog').locator('div').nth(2)
const next = page.getByRole('button', { name: '下一步' })
const finished = page.getByRole('button', { name: '完成' })
const showBtn = page.getByRole('button', { name: '带滚动条新手引导' })
const closeBtn = page.getByRole('button', { name: 'Close Tour' })

// 打开页面即显示guide
// 打开页面即显示 guide
await expect(activeDom).toBeVisible()
await startGuide.click()

Expand Down
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/guide/basic-usage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
showStep: false,
domData: [
{
title: '新手引导标题1',
title: '新手引导标题 1',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案',
domElement: '.guide-box1',
button: [
Expand All @@ -35,7 +35,7 @@ export default {
]
},
{
title: '新手引导标题2',
title: '新手引导标题 2',
text: '<div class="scrollBox" style="height:254px">这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案</div>',
domElement: '.guide-box2',
button: [
Expand Down
12 changes: 6 additions & 6 deletions examples/sites/demos/pc/app/guide/callback-composition-api.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const showStep = ref(false)
const label = ref('')
const domData = ref([
{
title: '新手引导标题1',
title: '新手引导标题 1',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e1',
button: [
Expand All @@ -35,7 +35,7 @@ const domData = ref([
}
},
{
title: '新手引导标题2',
title: '新手引导标题 2',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e2',
button: [
Expand All @@ -54,7 +54,7 @@ const domData = ref([
}
},
{
title: '新手引导标题3',
title: '新手引导标题 3',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e3',
button: [
Expand All @@ -73,7 +73,7 @@ const domData = ref([
}
},
{
title: '新手引导标题4',
title: '新手引导标题 4',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e4',
button: [
Expand All @@ -96,7 +96,7 @@ const domData = ref([
}
},
{
title: '新手引导标题5',
title: '新手引导标题 5',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e5',
button: [
Expand All @@ -115,7 +115,7 @@ const domData = ref([
}
},
{
title: '新手引导标题6',
title: '新手引导标题 6',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e6',
button: [
Expand Down
12 changes: 6 additions & 6 deletions examples/sites/demos/pc/app/guide/callback.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ test('窗口的事件回调', async ({ page }) => {

await start.click()
await expect(guide).toBeVisible()
await expect(guide).toHaveText(/新手引导标题1/)
await expect(guide).toHaveText(/新手引导标题 1/)
await expect(text).toHaveText(/展示之前/)

await showBtn.click()
await expect(guide).toBeVisible()
await expect(guide).toHaveText(/新手引导标题2/)
await expect(guide).toHaveText(/新手引导标题 2/)
await expect(text.nth(2)).toHaveText(/下一步/)

await nextBtn.click()
await expect(guide).toBeVisible()
await expect(guide).toHaveText(/新手引导标题3/)
await expect(guide).toHaveText(/新手引导标题 3/)
await expect(text.nth(4)).toHaveText(/下一步/)

await nextBtn.click()
await expect(guide).toBeVisible()
await expect(guide).toHaveText(/新手引导标题4/)
await expect(guide).toHaveText(/新手引导标题 4/)
await expect(text.nth(6)).toHaveText(/隐藏/)

await nextBtn.click()
await expect(guide).toBeVisible()
await expect(guide).toHaveText(/新手引导标题5/)
await expect(guide).toHaveText(/新手引导标题 5/)
await expect(text.nth(9)).toHaveText(/下一步/)

await cancelBtn.click()
Expand All @@ -47,7 +47,7 @@ test('窗口的事件回调', async ({ page }) => {
await nextBtn.click()
await nextBtn.click()
await expect(guide).toBeVisible()
await expect(guide).toHaveText(/新手引导标题6/)
await expect(guide).toHaveText(/新手引导标题 6/)
await expect(text.nth(11)).toHaveText(/完成/)
await completeBtn.click()
await expect(guide).toBeHidden()
Expand Down
12 changes: 6 additions & 6 deletions examples/sites/demos/pc/app/guide/callback.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
label: '',
domData: [
{
title: '新手引导标题1',
title: '新手引导标题 1',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e1',
button: [
Expand All @@ -41,7 +41,7 @@ export default {
}
},
{
title: '新手引导标题2',
title: '新手引导标题 2',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e2',
button: [
Expand All @@ -60,7 +60,7 @@ export default {
}
},
{
title: '新手引导标题3',
title: '新手引导标题 3',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e3',
button: [
Expand All @@ -79,7 +79,7 @@ export default {
}
},
{
title: '新手引导标题4',
title: '新手引导标题 4',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e4',
button: [
Expand All @@ -102,7 +102,7 @@ export default {
}
},
{
title: '新手引导标题5',
title: '新手引导标题 5',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e5',
button: [
Expand All @@ -121,7 +121,7 @@ export default {
}
},
{
title: '新手引导标题6',
title: '新手引导标题 6',
text: '这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是新手引导文案这里是是新手引导',
domElement: '.e6',
button: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<tiny-button type="primary" @click="stepStart">开始引导</tiny-button>
<tiny-divider color="var(--ti-common-color-line-dividing)"></tiny-divider>
<div>
<tiny-button plain class="hight1">新手引导1</tiny-button>
<tiny-button plain class="hight2">新手引导2</tiny-button>
<tiny-button plain class="hight3">新手引导3</tiny-button>
<tiny-button plain class="hight1">新手引导 1</tiny-button>
<tiny-button plain class="hight2">新手引导 2</tiny-button>
<tiny-button plain class="hight3">新手引导 3</tiny-button>
</div>
<div>
<tiny-alert class="hight4" :closable="false" description="type 为默认值 info。"></tiny-alert>
Expand Down
Loading
Loading