@yimoka/designable-playground 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/demo/components/Alert/index.d.ts +4 -0
- package/dist/demo/components/Alert/index.js +41 -0
- package/dist/demo/components/ArrayCards/index.d.ts +17 -0
- package/dist/demo/components/ArrayCards/index.js +62 -0
- package/dist/demo/components/ArrayList/index.d.ts +25 -0
- package/dist/demo/components/ArrayList/index.js +143 -0
- package/dist/demo/components/ArrayTable/index.d.ts +39 -0
- package/dist/demo/components/ArrayTable/index.js +247 -0
- package/dist/demo/components/AutoComplete/index.d.ts +4 -0
- package/dist/demo/components/AutoComplete/index.js +52 -0
- package/dist/demo/components/Avatar/index.d.ts +4 -0
- package/dist/demo/components/Avatar/index.js +34 -0
- package/dist/demo/components/Badge/index.d.ts +4 -0
- package/dist/demo/components/Badge/index.js +35 -0
- package/dist/demo/components/Button/index.d.ts +4 -0
- package/dist/demo/components/Button/index.js +86 -0
- package/dist/demo/components/Card/index.d.ts +4 -0
- package/dist/demo/components/Card/index.js +72 -0
- package/dist/demo/components/Carousel/index.d.ts +4 -0
- package/dist/demo/components/Carousel/index.js +33 -0
- package/dist/demo/components/Cascader/index.d.ts +4 -0
- package/dist/demo/components/Cascader/index.js +60 -0
- package/dist/demo/components/Checkbox/index.d.ts +8 -0
- package/dist/demo/components/Checkbox/index.js +55 -0
- package/dist/demo/components/ColorPicker/index.d.ts +4 -0
- package/dist/demo/components/ColorPicker/index.js +38 -0
- package/dist/demo/components/DatePicker/index.d.ts +4 -0
- package/dist/demo/components/DatePicker/index.js +61 -0
- package/dist/demo/components/DateRangePicker/index.d.ts +4 -0
- package/dist/demo/components/DateRangePicker/index.js +58 -0
- package/dist/demo/components/Divider/index.d.ts +4 -0
- package/dist/demo/components/Divider/index.js +39 -0
- package/dist/demo/components/Empty/index.d.ts +4 -0
- package/dist/demo/components/Empty/index.js +29 -0
- package/dist/demo/components/Flex/index.d.ts +4 -0
- package/dist/demo/components/Flex/index.js +51 -0
- package/dist/demo/components/Form/index.d.ts +21 -0
- package/dist/demo/components/Form/index.js +116 -0
- package/dist/demo/components/FormCollapse/index.d.ts +28 -0
- package/dist/demo/components/FormCollapse/index.js +164 -0
- package/dist/demo/components/FormGrid/index.d.ts +22 -0
- package/dist/demo/components/FormGrid/index.js +134 -0
- package/dist/demo/components/FormItem/index.d.ts +14 -0
- package/dist/demo/components/FormItem/index.js +33 -0
- package/dist/demo/components/FormLayout/index.d.ts +26 -0
- package/dist/demo/components/FormLayout/index.js +260 -0
- package/dist/demo/components/FormTab/index.d.ts +15 -0
- package/dist/demo/components/FormTab/index.js +186 -0
- package/dist/demo/components/GridCol/index.d.ts +4 -0
- package/dist/demo/components/GridCol/index.js +53 -0
- package/dist/demo/components/GridRow/index.d.ts +4 -0
- package/dist/demo/components/GridRow/index.js +70 -0
- package/dist/demo/components/HTMLContent/index.d.ts +4 -0
- package/dist/demo/components/HTMLContent/index.js +34 -0
- package/dist/demo/components/I18nEditor/index.d.ts +8 -0
- package/dist/demo/components/I18nEditor/index.js +64 -0
- package/dist/demo/components/Image/index.d.ts +4 -0
- package/dist/demo/components/Image/index.js +36 -0
- package/dist/demo/components/Input/index.d.ts +4 -0
- package/dist/demo/components/Input/index.js +36 -0
- package/dist/demo/components/InputSearch/index.d.ts +4 -0
- package/dist/demo/components/InputSearch/index.js +40 -0
- package/dist/demo/components/Link/index.d.ts +4 -0
- package/dist/demo/components/Link/index.js +37 -0
- package/dist/demo/components/Mentions/index.d.ts +4 -0
- package/dist/demo/components/Mentions/index.js +41 -0
- package/dist/demo/components/NumberPicker/index.d.ts +6 -0
- package/dist/demo/components/NumberPicker/index.js +63 -0
- package/dist/demo/components/ObjectContainer/index.d.ts +14 -0
- package/dist/demo/components/ObjectContainer/index.js +46 -0
- package/dist/demo/components/Password/index.d.ts +6 -0
- package/dist/demo/components/Password/index.js +44 -0
- package/dist/demo/components/QRCode/index.d.ts +4 -0
- package/dist/demo/components/QRCode/index.js +34 -0
- package/dist/demo/components/Radio/index.d.ts +6 -0
- package/dist/demo/components/Radio/index.js +49 -0
- package/dist/demo/components/Rate/index.d.ts +6 -0
- package/dist/demo/components/Rate/index.js +43 -0
- package/dist/demo/components/Search/index.d.ts +4 -0
- package/dist/demo/components/Search/index.js +42 -0
- package/dist/demo/components/SearchSelect/index.d.ts +4 -0
- package/dist/demo/components/SearchSelect/index.js +53 -0
- package/dist/demo/components/Select/index.d.ts +4 -0
- package/dist/demo/components/Select/index.js +59 -0
- package/dist/demo/components/Slider/index.d.ts +6 -0
- package/dist/demo/components/Slider/index.js +61 -0
- package/dist/demo/components/Space/index.d.ts +9 -0
- package/dist/demo/components/Space/index.js +61 -0
- package/dist/demo/components/Statistic/index.d.ts +4 -0
- package/dist/demo/components/Statistic/index.js +33 -0
- package/dist/demo/components/Switch/index.d.ts +4 -0
- package/dist/demo/components/Switch/index.js +49 -0
- package/dist/demo/components/Tabs/index.d.ts +10 -0
- package/dist/demo/components/Tabs/index.js +181 -0
- package/dist/demo/components/Tag/index.d.ts +4 -0
- package/dist/demo/components/Tag/index.js +33 -0
- package/dist/demo/components/Text/index.d.ts +11 -0
- package/dist/demo/components/Text/index.js +64 -0
- package/dist/demo/components/TextArea/index.d.ts +6 -0
- package/dist/demo/components/TextArea/index.js +43 -0
- package/dist/demo/components/TimePicker/index.d.ts +4 -0
- package/dist/demo/components/TimePicker/index.js +69 -0
- package/dist/demo/components/TimeRangePicker/index.d.ts +4 -0
- package/dist/demo/components/TimeRangePicker/index.js +68 -0
- package/dist/demo/components/Transfer/index.d.ts +6 -0
- package/dist/demo/components/Transfer/index.js +59 -0
- package/dist/demo/components/TreeSelect/index.d.ts +4 -0
- package/dist/demo/components/TreeSelect/index.js +63 -0
- package/dist/demo/components/Upload/index.d.ts +8 -0
- package/dist/demo/components/Upload/index.js +64 -0
- package/dist/demo/components/index.d.ts +55 -0
- package/dist/demo/components/index.js +55 -0
- package/dist/demo/components/shared.d.ts +143 -0
- package/dist/demo/components/shared.js +315 -0
- package/dist/src/Playground.d.ts +3 -0
- package/dist/src/Playground.js +304 -0
- package/dist/src/antd/AntdPlayground.d.ts +16 -0
- package/dist/src/antd/AntdPlayground.js +136 -0
- package/dist/src/antd/index.d.ts +1 -0
- package/dist/src/antd/index.js +1 -0
- package/dist/src/context.d.ts +4 -0
- package/dist/src/context.js +13 -0
- package/dist/src/examples/index.d.ts +267 -0
- package/dist/src/examples/index.js +824 -0
- package/dist/src/hooks/index.d.ts +4 -0
- package/dist/src/hooks/index.js +4 -0
- package/dist/src/hooks/remoteSchemaAdapter.d.ts +53 -0
- package/dist/src/hooks/remoteSchemaAdapter.js +262 -0
- package/dist/src/hooks/usePlayground.d.ts +38 -0
- package/dist/src/hooks/usePlayground.js +642 -0
- package/dist/src/hooks/usePlaygroundRemotePersistence.d.ts +135 -0
- package/dist/src/hooks/usePlaygroundRemotePersistence.js +736 -0
- package/dist/src/hooks/useSchemaEditorDraft.d.ts +4 -0
- package/dist/src/hooks/useSchemaEditorDraft.js +44 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.js +14 -0
- package/dist/src/layouts/PlaygroundLayout/ErrorBoundaries.d.ts +59 -0
- package/dist/src/layouts/PlaygroundLayout/ErrorBoundaries.js +161 -0
- package/dist/src/layouts/PlaygroundLayout/index.d.ts +7 -0
- package/dist/src/layouts/PlaygroundLayout/index.js +443 -0
- package/dist/src/layouts/index.d.ts +1 -0
- package/dist/src/layouts/index.js +1 -0
- package/dist/src/panels/CompositePanel/index.d.ts +6 -0
- package/dist/src/panels/CompositePanel/index.js +139 -0
- package/dist/src/panels/ToolbarPanel/index.d.ts +3 -0
- package/dist/src/panels/ToolbarPanel/index.js +24 -0
- package/dist/src/panels/index.d.ts +2 -0
- package/dist/src/panels/index.js +2 -0
- package/dist/src/presets/antd.d.ts +19 -0
- package/dist/src/presets/antd.js +112 -0
- package/dist/src/presets/index.d.ts +4 -0
- package/dist/src/presets/index.js +3 -0
- package/dist/src/presets/runtime-array-helpers.d.ts +8 -0
- package/dist/src/presets/runtime-array-helpers.js +147 -0
- package/dist/src/presets/runtime-component-props.d.ts +3 -0
- package/dist/src/presets/runtime-component-props.js +5 -0
- package/dist/src/presets/runtime-components.d.ts +5 -0
- package/dist/src/presets/runtime-components.js +419 -0
- package/dist/src/presets/runtime-form-components.d.ts +9 -0
- package/dist/src/presets/runtime-form-components.js +94 -0
- package/dist/src/presets/scenario-catalog.d.ts +6 -0
- package/dist/src/presets/scenario-catalog.js +128 -0
- package/dist/src/presets/scenarios.d.ts +52 -0
- package/dist/src/presets/scenarios.js +603 -0
- package/dist/src/runtime/actions.d.ts +19 -0
- package/dist/src/runtime/actions.js +307 -0
- package/dist/src/runtime/contracts.d.ts +149 -0
- package/dist/src/runtime/contracts.js +1 -0
- package/dist/src/runtime/document-bindings.d.ts +3 -0
- package/dist/src/runtime/document-bindings.js +101 -0
- package/dist/src/runtime/document-core.d.ts +57 -0
- package/dist/src/runtime/document-core.js +379 -0
- package/dist/src/runtime/document-entity.d.ts +12 -0
- package/dist/src/runtime/document-entity.js +351 -0
- package/dist/src/runtime/document-expressions.d.ts +35 -0
- package/dist/src/runtime/document-expressions.js +346 -0
- package/dist/src/runtime/document-security.d.ts +34 -0
- package/dist/src/runtime/document-security.js +538 -0
- package/dist/src/runtime/document.d.ts +16 -0
- package/dist/src/runtime/document.js +212 -0
- package/dist/src/runtime/environment.d.ts +16 -0
- package/dist/src/runtime/environment.js +76 -0
- package/dist/src/runtime/i18n-schema.d.ts +36 -0
- package/dist/src/runtime/i18n-schema.js +338 -0
- package/dist/src/runtime/i18n.d.ts +25 -0
- package/dist/src/runtime/i18n.js +447 -0
- package/dist/src/runtime/index.d.ts +8 -0
- package/dist/src/runtime/index.js +8 -0
- package/dist/src/runtime/navigation.d.ts +5 -0
- package/dist/src/runtime/navigation.js +43 -0
- package/dist/src/runtime/playground.d.ts +30 -0
- package/dist/src/runtime/playground.js +243 -0
- package/dist/src/runtime/preview-boundaries.d.ts +13 -0
- package/dist/src/runtime/preview-boundaries.js +43 -0
- package/dist/src/runtime/preview.d.ts +44 -0
- package/dist/src/runtime/preview.js +574 -0
- package/dist/src/runtime/settings/RuntimeJsonEditor.d.ts +10 -0
- package/dist/src/runtime/settings/RuntimeJsonEditor.js +21 -0
- package/dist/src/runtime/settings/RuntimeStoreEntitySettings.d.ts +15 -0
- package/dist/src/runtime/settings/RuntimeStoreEntitySettings.js +65 -0
- package/dist/src/runtime/templates.d.ts +1560 -0
- package/dist/src/runtime/templates.js +508 -0
- package/dist/src/runtime/website-contact-template.d.ts +1 -0
- package/dist/src/runtime/website-contact-template.js +66 -0
- package/dist/src/runtime/website-template-shared.d.ts +14 -0
- package/dist/src/runtime/website-template-shared.js +210 -0
- package/dist/src/runtime/website-templates.d.ts +5 -0
- package/dist/src/runtime/website-templates.js +976 -0
- package/dist/src/shared/clipboard.d.ts +4 -0
- package/dist/src/shared/clipboard.js +56 -0
- package/dist/src/shared/componentRegistry.d.ts +133 -0
- package/dist/src/shared/componentRegistry.js +381 -0
- package/dist/src/shared/formilyCompatibility.d.ts +8 -0
- package/dist/src/shared/formilyCompatibility.js +40 -0
- package/dist/src/shared/index.d.ts +6 -0
- package/dist/src/shared/index.js +6 -0
- package/dist/src/shared/productionAcceptance.d.ts +63 -0
- package/dist/src/shared/productionAcceptance.js +201 -0
- package/dist/src/shared/schema-options.d.ts +16 -0
- package/dist/src/shared/schema-options.js +138 -0
- package/dist/src/shared/schema.d.ts +63 -0
- package/dist/src/shared/schema.js +627 -0
- package/dist/src/shared/styleSecurity.d.ts +2 -0
- package/dist/src/shared/styleSecurity.js +35 -0
- package/dist/src/transformers/formily.d.ts +34 -0
- package/dist/src/transformers/formily.js +943 -0
- package/dist/src/transformers/index.d.ts +1 -0
- package/dist/src/transformers/index.js +1 -0
- package/dist/src/types.d.ts +186 -0
- package/dist/src/types.js +1 -0
- package/dist/src/widgets/ActionsWidget/index.d.ts +3 -0
- package/dist/src/widgets/ActionsWidget/index.js +10 -0
- package/dist/src/widgets/ComponentTreeWidget/index.d.ts +3 -0
- package/dist/src/widgets/ComponentTreeWidget/index.js +333 -0
- package/dist/src/widgets/NodeActionsWidget/index.d.ts +2 -0
- package/dist/src/widgets/NodeActionsWidget/index.js +125 -0
- package/dist/src/widgets/OutlineTreeWidget/index.d.ts +3 -0
- package/dist/src/widgets/OutlineTreeWidget/index.js +432 -0
- package/dist/src/widgets/OutlineTreeWidget/shared.d.ts +32 -0
- package/dist/src/widgets/OutlineTreeWidget/shared.js +79 -0
- package/dist/src/widgets/PreviewWidget/index.d.ts +2 -0
- package/dist/src/widgets/PreviewWidget/index.js +1566 -0
- package/dist/src/widgets/ProductionReadinessWidget/index.d.ts +18 -0
- package/dist/src/widgets/ProductionReadinessWidget/index.js +356 -0
- package/dist/src/widgets/RemotePersistenceStatusWidget/index.d.ts +18 -0
- package/dist/src/widgets/RemotePersistenceStatusWidget/index.js +438 -0
- package/dist/src/widgets/RemoteVersionHistoryWidget/index.d.ts +39 -0
- package/dist/src/widgets/RemoteVersionHistoryWidget/index.js +475 -0
- package/dist/src/widgets/ResourceWidget/index.d.ts +3 -0
- package/dist/src/widgets/ResourceWidget/index.js +491 -0
- package/dist/src/widgets/SchemaCodeView/index.d.ts +7 -0
- package/dist/src/widgets/SchemaCodeView/index.js +225 -0
- package/dist/src/widgets/SchemaEditorWidget/index.d.ts +10 -0
- package/dist/src/widgets/SchemaEditorWidget/index.js +484 -0
- package/dist/src/widgets/SettingsPanelWidget/index.d.ts +3 -0
- package/dist/src/widgets/SettingsPanelWidget/index.js +190 -0
- package/dist/src/widgets/StorageActionsWidget/index.d.ts +2 -0
- package/dist/src/widgets/StorageActionsWidget/index.js +284 -0
- package/dist/src/widgets/index.d.ts +13 -0
- package/dist/src/widgets/index.js +13 -0
- package/package.json +100 -4
|
@@ -0,0 +1,976 @@
|
|
|
1
|
+
import { ACCENT, createNewsCard, createWebsiteDocument, createWebsiteFooter, createWebsiteNavigation, INK, MUTED, PAGE_BACKGROUND, STUDIO_IMAGE_DATA_URI, VIOLET, } from "./website-template-shared.js";
|
|
2
|
+
export const landingHomeTemplateDocumentV2Source = createWebsiteDocument('landing-home', 2, {
|
|
3
|
+
navigation: createWebsiteNavigation(),
|
|
4
|
+
hero: {
|
|
5
|
+
type: 'void',
|
|
6
|
+
'x-component': 'Card',
|
|
7
|
+
'x-component-props': {
|
|
8
|
+
bordered: false,
|
|
9
|
+
style: {
|
|
10
|
+
background: `linear-gradient(135deg, ${INK} 0%, #242833 100%)`,
|
|
11
|
+
borderRadius: 24,
|
|
12
|
+
margin: 24,
|
|
13
|
+
overflow: 'hidden',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
properties: {
|
|
17
|
+
layout: {
|
|
18
|
+
type: 'void',
|
|
19
|
+
'x-component': 'GridRow',
|
|
20
|
+
'x-component-props': {
|
|
21
|
+
align: 'middle',
|
|
22
|
+
gutter: 32,
|
|
23
|
+
},
|
|
24
|
+
properties: {
|
|
25
|
+
copy: {
|
|
26
|
+
type: 'void',
|
|
27
|
+
'x-component': 'GridCol',
|
|
28
|
+
'x-component-props': {
|
|
29
|
+
lg: 15,
|
|
30
|
+
md: 15,
|
|
31
|
+
span: 15,
|
|
32
|
+
xs: 24,
|
|
33
|
+
},
|
|
34
|
+
properties: {
|
|
35
|
+
stack: {
|
|
36
|
+
type: 'void',
|
|
37
|
+
'x-component': 'Flex',
|
|
38
|
+
'x-component-props': {
|
|
39
|
+
gap: 18,
|
|
40
|
+
vertical: true,
|
|
41
|
+
style: {
|
|
42
|
+
padding: '34px 12px',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
properties: {
|
|
46
|
+
eyebrow: {
|
|
47
|
+
type: 'void',
|
|
48
|
+
'x-component': 'Tag',
|
|
49
|
+
'x-component-props': {
|
|
50
|
+
children: 'STRATEGY × DESIGN × TECHNOLOGY',
|
|
51
|
+
color: 'lime',
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
title: {
|
|
55
|
+
type: 'void',
|
|
56
|
+
'x-component': 'Text',
|
|
57
|
+
'x-component-props': {
|
|
58
|
+
children: '让复杂产品\n被清晰理解',
|
|
59
|
+
strong: true,
|
|
60
|
+
style: {
|
|
61
|
+
color: '#ffffff',
|
|
62
|
+
fontSize: 48,
|
|
63
|
+
letterSpacing: -2,
|
|
64
|
+
lineHeight: 1.08,
|
|
65
|
+
whiteSpace: 'pre-line',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
summary: {
|
|
70
|
+
type: 'void',
|
|
71
|
+
'x-component': 'Text',
|
|
72
|
+
'x-component-props': {
|
|
73
|
+
children: '我们为成长型团队构建品牌、数字产品与可持续迭代的设计系统。',
|
|
74
|
+
style: {
|
|
75
|
+
color: '#c8cbd2',
|
|
76
|
+
fontSize: 17,
|
|
77
|
+
lineHeight: 1.7,
|
|
78
|
+
maxWidth: 560,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
actions: {
|
|
83
|
+
type: 'void',
|
|
84
|
+
'x-component': 'Space',
|
|
85
|
+
'x-component-props': {
|
|
86
|
+
size: 12,
|
|
87
|
+
wrap: true,
|
|
88
|
+
},
|
|
89
|
+
properties: {
|
|
90
|
+
primary: {
|
|
91
|
+
type: 'void',
|
|
92
|
+
'x-component': 'Button',
|
|
93
|
+
'x-component-props': {
|
|
94
|
+
children: '查看最新观点',
|
|
95
|
+
href: '/demos/runtime/website/template-news-index?view=preview',
|
|
96
|
+
size: 'large',
|
|
97
|
+
style: {
|
|
98
|
+
background: ACCENT,
|
|
99
|
+
borderColor: ACCENT,
|
|
100
|
+
borderRadius: 999,
|
|
101
|
+
color: INK,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
secondary: {
|
|
106
|
+
type: 'void',
|
|
107
|
+
'x-component': 'Button',
|
|
108
|
+
'x-component-props': {
|
|
109
|
+
children: '预约一次交流',
|
|
110
|
+
ghost: true,
|
|
111
|
+
href: '/demos/runtime/website/template-contact?view=preview',
|
|
112
|
+
size: 'large',
|
|
113
|
+
style: {
|
|
114
|
+
borderRadius: 999,
|
|
115
|
+
color: '#ffffff',
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
visual: {
|
|
126
|
+
type: 'void',
|
|
127
|
+
'x-component': 'GridCol',
|
|
128
|
+
'x-component-props': {
|
|
129
|
+
lg: 9,
|
|
130
|
+
md: 9,
|
|
131
|
+
span: 9,
|
|
132
|
+
xs: 24,
|
|
133
|
+
},
|
|
134
|
+
properties: {
|
|
135
|
+
signal: {
|
|
136
|
+
type: 'void',
|
|
137
|
+
'x-component': 'Card',
|
|
138
|
+
'x-component-props': {
|
|
139
|
+
bordered: false,
|
|
140
|
+
style: {
|
|
141
|
+
background: `linear-gradient(145deg, ${ACCENT}, #f4ff8b)`,
|
|
142
|
+
borderRadius: 20,
|
|
143
|
+
minHeight: 260,
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
properties: {
|
|
147
|
+
visual: {
|
|
148
|
+
type: 'void',
|
|
149
|
+
'x-component': 'Image',
|
|
150
|
+
'x-component-props': {
|
|
151
|
+
alt: 'Yimoka Studio 数字产品视觉',
|
|
152
|
+
height: 150,
|
|
153
|
+
preview: false,
|
|
154
|
+
src: STUDIO_IMAGE_DATA_URI,
|
|
155
|
+
width: '100%',
|
|
156
|
+
style: {
|
|
157
|
+
borderRadius: 14,
|
|
158
|
+
objectFit: 'cover',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
index: {
|
|
163
|
+
type: 'void',
|
|
164
|
+
'x-component': 'Text',
|
|
165
|
+
'x-component-props': {
|
|
166
|
+
children: '01 — 26',
|
|
167
|
+
strong: true,
|
|
168
|
+
style: {
|
|
169
|
+
color: INK,
|
|
170
|
+
display: 'block',
|
|
171
|
+
fontSize: 13,
|
|
172
|
+
letterSpacing: 1,
|
|
173
|
+
margin: '16px 0 8px',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
statement: {
|
|
178
|
+
type: 'void',
|
|
179
|
+
'x-component': 'Text',
|
|
180
|
+
'x-component-props': {
|
|
181
|
+
children: '清晰不是减少信息,而是建立秩序。',
|
|
182
|
+
strong: true,
|
|
183
|
+
style: {
|
|
184
|
+
color: INK,
|
|
185
|
+
fontSize: 20,
|
|
186
|
+
lineHeight: 1.35,
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
metrics: {
|
|
199
|
+
type: 'void',
|
|
200
|
+
'x-component': 'GridRow',
|
|
201
|
+
'x-component-props': {
|
|
202
|
+
gutter: 16,
|
|
203
|
+
style: {
|
|
204
|
+
background: PAGE_BACKGROUND,
|
|
205
|
+
marginInline: 0,
|
|
206
|
+
padding: '8px 24px 24px',
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
properties: {
|
|
210
|
+
metricOne: {
|
|
211
|
+
type: 'void',
|
|
212
|
+
'x-component': 'GridCol',
|
|
213
|
+
'x-component-props': { md: 8, span: 8, xs: 24 },
|
|
214
|
+
properties: {
|
|
215
|
+
value: {
|
|
216
|
+
type: 'void',
|
|
217
|
+
'x-component': 'Statistic',
|
|
218
|
+
'x-component-props': {
|
|
219
|
+
suffix: '+',
|
|
220
|
+
title: '交付项目',
|
|
221
|
+
value: 86,
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
metricTwo: {
|
|
227
|
+
type: 'void',
|
|
228
|
+
'x-component': 'GridCol',
|
|
229
|
+
'x-component-props': { md: 8, span: 8, xs: 24 },
|
|
230
|
+
properties: {
|
|
231
|
+
value: {
|
|
232
|
+
type: 'void',
|
|
233
|
+
'x-component': 'Statistic',
|
|
234
|
+
'x-component-props': {
|
|
235
|
+
suffix: '%',
|
|
236
|
+
title: '长期合作客户',
|
|
237
|
+
value: 72,
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
metricThree: {
|
|
243
|
+
type: 'void',
|
|
244
|
+
'x-component': 'GridCol',
|
|
245
|
+
'x-component-props': { md: 8, span: 8, xs: 24 },
|
|
246
|
+
properties: {
|
|
247
|
+
value: {
|
|
248
|
+
type: 'void',
|
|
249
|
+
'x-component': 'Statistic',
|
|
250
|
+
'x-component-props': {
|
|
251
|
+
suffix: ' 周',
|
|
252
|
+
title: '从策略到首版',
|
|
253
|
+
value: 6,
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
work: {
|
|
261
|
+
type: 'void',
|
|
262
|
+
'x-component': 'Card',
|
|
263
|
+
'x-component-props': {
|
|
264
|
+
bordered: false,
|
|
265
|
+
style: {
|
|
266
|
+
background: '#ffffff',
|
|
267
|
+
borderRadius: 24,
|
|
268
|
+
margin: '0 24px 24px',
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
properties: {
|
|
272
|
+
label: {
|
|
273
|
+
type: 'void',
|
|
274
|
+
'x-component': 'Text',
|
|
275
|
+
'x-component-props': {
|
|
276
|
+
children: 'SELECTED WORK / 精选项目',
|
|
277
|
+
strong: true,
|
|
278
|
+
style: {
|
|
279
|
+
display: 'block',
|
|
280
|
+
fontSize: 12,
|
|
281
|
+
letterSpacing: 1.2,
|
|
282
|
+
marginBottom: 28,
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
projects: {
|
|
287
|
+
type: 'void',
|
|
288
|
+
'x-component': 'GridRow',
|
|
289
|
+
'x-component-props': { gutter: 16 },
|
|
290
|
+
properties: {
|
|
291
|
+
product: {
|
|
292
|
+
type: 'void',
|
|
293
|
+
'x-component': 'GridCol',
|
|
294
|
+
'x-component-props': { md: 14, span: 14, xs: 24 },
|
|
295
|
+
properties: {
|
|
296
|
+
card: {
|
|
297
|
+
type: 'void',
|
|
298
|
+
'x-component': 'Card',
|
|
299
|
+
'x-component-props': {
|
|
300
|
+
bordered: false,
|
|
301
|
+
style: {
|
|
302
|
+
background: `linear-gradient(135deg, ${VIOLET}, #b4a8ff)`,
|
|
303
|
+
borderRadius: 18,
|
|
304
|
+
minHeight: 230,
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
properties: {
|
|
308
|
+
tag: {
|
|
309
|
+
type: 'void',
|
|
310
|
+
'x-component': 'Tag',
|
|
311
|
+
'x-component-props': { children: '数字产品', color: 'purple' },
|
|
312
|
+
},
|
|
313
|
+
title: {
|
|
314
|
+
type: 'void',
|
|
315
|
+
'x-component': 'Text',
|
|
316
|
+
'x-component-props': {
|
|
317
|
+
children: 'Atlas / 让运营数据成为日常决策',
|
|
318
|
+
strong: true,
|
|
319
|
+
style: {
|
|
320
|
+
color: '#ffffff',
|
|
321
|
+
display: 'block',
|
|
322
|
+
fontSize: 26,
|
|
323
|
+
marginTop: 100,
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
brand: {
|
|
332
|
+
type: 'void',
|
|
333
|
+
'x-component': 'GridCol',
|
|
334
|
+
'x-component-props': { md: 10, span: 10, xs: 24 },
|
|
335
|
+
properties: {
|
|
336
|
+
card: {
|
|
337
|
+
type: 'void',
|
|
338
|
+
'x-component': 'Card',
|
|
339
|
+
'x-component-props': {
|
|
340
|
+
bordered: false,
|
|
341
|
+
style: {
|
|
342
|
+
background: '#e9e5dc',
|
|
343
|
+
borderRadius: 18,
|
|
344
|
+
minHeight: 230,
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
properties: {
|
|
348
|
+
tag: {
|
|
349
|
+
type: 'void',
|
|
350
|
+
'x-component': 'Tag',
|
|
351
|
+
'x-component-props': { children: '品牌系统' },
|
|
352
|
+
},
|
|
353
|
+
title: {
|
|
354
|
+
type: 'void',
|
|
355
|
+
'x-component': 'Text',
|
|
356
|
+
'x-component-props': {
|
|
357
|
+
children: 'Morrow / 为下一代制造建立新语言',
|
|
358
|
+
strong: true,
|
|
359
|
+
style: {
|
|
360
|
+
color: INK,
|
|
361
|
+
display: 'block',
|
|
362
|
+
fontSize: 24,
|
|
363
|
+
marginTop: 100,
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
proof: {
|
|
376
|
+
type: 'void',
|
|
377
|
+
'x-component': 'Card',
|
|
378
|
+
'x-component-props': {
|
|
379
|
+
bordered: false,
|
|
380
|
+
style: {
|
|
381
|
+
background: INK,
|
|
382
|
+
borderRadius: 24,
|
|
383
|
+
margin: '0 24px 24px',
|
|
384
|
+
overflow: 'hidden',
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
properties: {
|
|
388
|
+
heading: {
|
|
389
|
+
type: 'void',
|
|
390
|
+
'x-component': 'Flex',
|
|
391
|
+
'x-component-props': { align: 'center', justify: 'space-between', wrap: true },
|
|
392
|
+
properties: {
|
|
393
|
+
title: {
|
|
394
|
+
type: 'void',
|
|
395
|
+
'x-component': 'Text',
|
|
396
|
+
'x-component-props': {
|
|
397
|
+
children: '来自合作伙伴的评价',
|
|
398
|
+
strong: true,
|
|
399
|
+
style: { color: '#ffffff', fontSize: 28 },
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
status: {
|
|
403
|
+
type: 'void',
|
|
404
|
+
'x-component': 'Badge',
|
|
405
|
+
'x-component-props': { color: ACCENT, text: '持续合作中' },
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
divider: {
|
|
410
|
+
type: 'void',
|
|
411
|
+
'x-component': 'Divider',
|
|
412
|
+
'x-component-props': { style: { borderColor: '#363943' } },
|
|
413
|
+
},
|
|
414
|
+
voices: {
|
|
415
|
+
type: 'void',
|
|
416
|
+
'x-component': 'Carousel',
|
|
417
|
+
'x-component-props': { autoplay: true, autoplaySpeed: 4800, dots: true },
|
|
418
|
+
properties: {
|
|
419
|
+
first: {
|
|
420
|
+
type: 'void',
|
|
421
|
+
'x-component': 'Card',
|
|
422
|
+
'x-component-props': {
|
|
423
|
+
bordered: false,
|
|
424
|
+
style: { background: 'transparent', minHeight: 190 },
|
|
425
|
+
},
|
|
426
|
+
properties: {
|
|
427
|
+
quote: {
|
|
428
|
+
type: 'void',
|
|
429
|
+
'x-component': 'Text',
|
|
430
|
+
'x-component-props': {
|
|
431
|
+
children: '“他们没有用更多页面掩盖复杂,而是帮我们找到客户真正需要理解的那条主线。”',
|
|
432
|
+
strong: true,
|
|
433
|
+
style: { color: '#ffffff', display: 'block', fontSize: 26, lineHeight: 1.55, maxWidth: 860 },
|
|
434
|
+
},
|
|
435
|
+
},
|
|
436
|
+
author: {
|
|
437
|
+
type: 'void',
|
|
438
|
+
'x-component': 'Space',
|
|
439
|
+
'x-component-props': { align: 'center', size: 12, style: { marginTop: 26 } },
|
|
440
|
+
properties: {
|
|
441
|
+
avatar: {
|
|
442
|
+
type: 'void',
|
|
443
|
+
'x-component': 'Avatar',
|
|
444
|
+
'x-component-props': { children: '林', style: { background: VIOLET } },
|
|
445
|
+
},
|
|
446
|
+
name: {
|
|
447
|
+
type: 'void',
|
|
448
|
+
'x-component': 'Text',
|
|
449
|
+
'x-component-props': { children: '林悦 / Atlas 产品负责人', style: { color: '#bfc2ca' } },
|
|
450
|
+
},
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
second: {
|
|
456
|
+
type: 'void',
|
|
457
|
+
'x-component': 'Card',
|
|
458
|
+
'x-component-props': {
|
|
459
|
+
bordered: false,
|
|
460
|
+
style: { background: 'transparent', minHeight: 190 },
|
|
461
|
+
},
|
|
462
|
+
properties: {
|
|
463
|
+
quote: {
|
|
464
|
+
type: 'void',
|
|
465
|
+
'x-component': 'Text',
|
|
466
|
+
'x-component-props': {
|
|
467
|
+
children: '“从品牌语言到组件规则是同一套判断,我们终于可以在保持一致的同时快速发布。”',
|
|
468
|
+
strong: true,
|
|
469
|
+
style: { color: '#ffffff', display: 'block', fontSize: 26, lineHeight: 1.55, maxWidth: 860 },
|
|
470
|
+
},
|
|
471
|
+
},
|
|
472
|
+
author: {
|
|
473
|
+
type: 'void',
|
|
474
|
+
'x-component': 'Space',
|
|
475
|
+
'x-component-props': { align: 'center', size: 12, style: { marginTop: 26 } },
|
|
476
|
+
properties: {
|
|
477
|
+
avatar: {
|
|
478
|
+
type: 'void',
|
|
479
|
+
'x-component': 'Avatar',
|
|
480
|
+
'x-component-props': { children: '周', style: { background: '#e1a95f' } },
|
|
481
|
+
},
|
|
482
|
+
name: {
|
|
483
|
+
type: 'void',
|
|
484
|
+
'x-component': 'Text',
|
|
485
|
+
'x-component-props': { children: '周杭 / Morrow 品牌总监', style: { color: '#bfc2ca' } },
|
|
486
|
+
},
|
|
487
|
+
},
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
insight: {
|
|
496
|
+
type: 'void',
|
|
497
|
+
'x-component': 'Card',
|
|
498
|
+
'x-component-props': {
|
|
499
|
+
bordered: false,
|
|
500
|
+
style: {
|
|
501
|
+
background: PAGE_BACKGROUND,
|
|
502
|
+
margin: '0 24px 24px',
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
properties: {
|
|
506
|
+
title: {
|
|
507
|
+
type: 'void',
|
|
508
|
+
'x-component': 'Text',
|
|
509
|
+
'x-component-props': {
|
|
510
|
+
children: '最新观察',
|
|
511
|
+
strong: true,
|
|
512
|
+
style: {
|
|
513
|
+
display: 'block',
|
|
514
|
+
fontSize: 30,
|
|
515
|
+
marginBottom: 22,
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
},
|
|
519
|
+
articles: {
|
|
520
|
+
type: 'void',
|
|
521
|
+
'x-component': 'GridRow',
|
|
522
|
+
'x-component-props': { gutter: 16 },
|
|
523
|
+
properties: {
|
|
524
|
+
first: {
|
|
525
|
+
type: 'void',
|
|
526
|
+
'x-component': 'GridCol',
|
|
527
|
+
'x-component-props': { md: 12, span: 12, xs: 24 },
|
|
528
|
+
properties: {
|
|
529
|
+
card: createNewsCard('方法', '2026.07.18', '设计系统如何帮助团队保持速度', '从视觉规范走向可持续协作,让每次发布都更快、更稳。'),
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
second: {
|
|
533
|
+
type: 'void',
|
|
534
|
+
'x-component': 'GridCol',
|
|
535
|
+
'x-component-props': { md: 12, span: 12, xs: 24 },
|
|
536
|
+
properties: {
|
|
537
|
+
card: createNewsCard('观点', '2026.06.30', 'AI 时代,品牌为什么更需要清晰边界', '工具降低了生成成本,真正稀缺的是一致的判断与表达。'),
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
footer: createWebsiteFooter(),
|
|
545
|
+
});
|
|
546
|
+
export const newsIndexTemplateDocumentSource = createWebsiteDocument('news-index', 1, {
|
|
547
|
+
navigation: createWebsiteNavigation(),
|
|
548
|
+
intro: {
|
|
549
|
+
type: 'void',
|
|
550
|
+
'x-component': 'Card',
|
|
551
|
+
'x-component-props': {
|
|
552
|
+
bordered: false,
|
|
553
|
+
style: {
|
|
554
|
+
background: PAGE_BACKGROUND,
|
|
555
|
+
padding: '36px 12px 18px',
|
|
556
|
+
},
|
|
557
|
+
},
|
|
558
|
+
properties: {
|
|
559
|
+
eyebrow: {
|
|
560
|
+
type: 'void',
|
|
561
|
+
'x-component': 'Tag',
|
|
562
|
+
'x-component-props': { children: 'JOURNAL / 2026', color: 'lime' },
|
|
563
|
+
},
|
|
564
|
+
title: {
|
|
565
|
+
type: 'void',
|
|
566
|
+
'x-component': 'Text',
|
|
567
|
+
'x-component-props': {
|
|
568
|
+
children: '观察、方法与发布',
|
|
569
|
+
strong: true,
|
|
570
|
+
style: {
|
|
571
|
+
color: INK,
|
|
572
|
+
display: 'block',
|
|
573
|
+
fontSize: 46,
|
|
574
|
+
letterSpacing: -1.5,
|
|
575
|
+
margin: '18px 0 12px',
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
summary: {
|
|
580
|
+
type: 'void',
|
|
581
|
+
'x-component': 'Text',
|
|
582
|
+
'x-component-props': {
|
|
583
|
+
children: '记录我们如何理解产品、品牌与技术,也分享正在发生的改变。',
|
|
584
|
+
style: { color: MUTED, fontSize: 17 },
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
featured: {
|
|
590
|
+
type: 'void',
|
|
591
|
+
'x-component': 'Card',
|
|
592
|
+
'x-component-props': {
|
|
593
|
+
bordered: false,
|
|
594
|
+
style: {
|
|
595
|
+
background: `linear-gradient(135deg, ${VIOLET}, #c4bbff)`,
|
|
596
|
+
borderRadius: 24,
|
|
597
|
+
margin: 24,
|
|
598
|
+
minHeight: 280,
|
|
599
|
+
},
|
|
600
|
+
},
|
|
601
|
+
properties: {
|
|
602
|
+
meta: {
|
|
603
|
+
type: 'void',
|
|
604
|
+
'x-component': 'Tag',
|
|
605
|
+
'x-component-props': { children: 'FEATURED / 方法', color: 'purple' },
|
|
606
|
+
},
|
|
607
|
+
title: {
|
|
608
|
+
type: 'void',
|
|
609
|
+
'x-component': 'Text',
|
|
610
|
+
'x-component-props': {
|
|
611
|
+
children: '设计系统如何帮助团队保持速度',
|
|
612
|
+
strong: true,
|
|
613
|
+
style: {
|
|
614
|
+
color: '#ffffff',
|
|
615
|
+
display: 'block',
|
|
616
|
+
fontSize: 38,
|
|
617
|
+
lineHeight: 1.2,
|
|
618
|
+
margin: '90px 0 18px',
|
|
619
|
+
maxWidth: 680,
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
action: {
|
|
624
|
+
type: 'void',
|
|
625
|
+
'x-component': 'Link',
|
|
626
|
+
'x-component-props': {
|
|
627
|
+
children: '阅读专题 →',
|
|
628
|
+
href: '/demos/runtime/website/template-news-detail?view=preview',
|
|
629
|
+
strong: true,
|
|
630
|
+
style: { color: '#ffffff' },
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
filters: {
|
|
636
|
+
type: 'void',
|
|
637
|
+
'x-component': 'Tabs',
|
|
638
|
+
'x-component-props': {
|
|
639
|
+
defaultActiveKey: 'all',
|
|
640
|
+
size: 'large',
|
|
641
|
+
style: { background: PAGE_BACKGROUND, padding: '0 24px' },
|
|
642
|
+
},
|
|
643
|
+
properties: {
|
|
644
|
+
all: {
|
|
645
|
+
type: 'void',
|
|
646
|
+
'x-component': 'TabPane',
|
|
647
|
+
'x-component-props': { name: 'all', title: '全部' },
|
|
648
|
+
properties: {
|
|
649
|
+
hint: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '最新发布与精选内容', style: { color: MUTED } } },
|
|
650
|
+
},
|
|
651
|
+
},
|
|
652
|
+
method: {
|
|
653
|
+
type: 'void',
|
|
654
|
+
'x-component': 'TabPane',
|
|
655
|
+
'x-component-props': { name: 'method', title: '方法' },
|
|
656
|
+
properties: {
|
|
657
|
+
hint: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '产品、品牌与设计系统方法', style: { color: MUTED } } },
|
|
658
|
+
},
|
|
659
|
+
},
|
|
660
|
+
release: {
|
|
661
|
+
type: 'void',
|
|
662
|
+
'x-component': 'TabPane',
|
|
663
|
+
'x-component-props': { name: 'release', title: '发布' },
|
|
664
|
+
properties: {
|
|
665
|
+
hint: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '产品更新与团队动态', style: { color: MUTED } } },
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
list: {
|
|
671
|
+
type: 'void',
|
|
672
|
+
'x-component': 'GridRow',
|
|
673
|
+
'x-component-props': {
|
|
674
|
+
gutter: 16,
|
|
675
|
+
style: { background: PAGE_BACKGROUND, marginInline: 0, padding: '0 24px 32px' },
|
|
676
|
+
},
|
|
677
|
+
properties: {
|
|
678
|
+
first: {
|
|
679
|
+
type: 'void',
|
|
680
|
+
'x-component': 'GridCol',
|
|
681
|
+
'x-component-props': { lg: 8, md: 12, span: 8, xs: 24 },
|
|
682
|
+
properties: { card: createNewsCard('观点', '2026.06.30', 'AI 时代,品牌为什么更需要清晰边界', '生成变得容易之后,一致的选择和可信的叙事更有价值。') },
|
|
683
|
+
},
|
|
684
|
+
second: {
|
|
685
|
+
type: 'void',
|
|
686
|
+
'x-component': 'GridCol',
|
|
687
|
+
'x-component-props': { lg: 8, md: 12, span: 8, xs: 24 },
|
|
688
|
+
properties: { card: createNewsCard('发布', '2026.06.12', 'Yimoka Runtime 进入稳定试点阶段', '从编辑器到运行时,我们让页面能力保持可控、可审计。') },
|
|
689
|
+
},
|
|
690
|
+
third: {
|
|
691
|
+
type: 'void',
|
|
692
|
+
'x-component': 'GridCol',
|
|
693
|
+
'x-component-props': { lg: 8, md: 12, span: 8, xs: 24 },
|
|
694
|
+
properties: { card: createNewsCard('案例', '2026.05.26', '六周重塑一个复杂运营平台', '用共同语言压缩决策路径,让产品与品牌同步向前。') },
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
},
|
|
698
|
+
footer: createWebsiteFooter(),
|
|
699
|
+
});
|
|
700
|
+
export const newsDetailTemplateDocumentSource = createWebsiteDocument('news-detail', 1, {
|
|
701
|
+
navigation: createWebsiteNavigation(),
|
|
702
|
+
articleHeader: {
|
|
703
|
+
type: 'void',
|
|
704
|
+
'x-component': 'Card',
|
|
705
|
+
'x-component-props': {
|
|
706
|
+
bordered: false,
|
|
707
|
+
style: {
|
|
708
|
+
background: '#ffffff',
|
|
709
|
+
padding: '42px 12px 28px',
|
|
710
|
+
},
|
|
711
|
+
},
|
|
712
|
+
properties: {
|
|
713
|
+
meta: {
|
|
714
|
+
type: 'void',
|
|
715
|
+
'x-component': 'Space',
|
|
716
|
+
properties: {
|
|
717
|
+
category: {
|
|
718
|
+
type: 'void',
|
|
719
|
+
'x-component': 'Tag',
|
|
720
|
+
'x-component-props': { children: '方法', color: 'lime' },
|
|
721
|
+
},
|
|
722
|
+
date: {
|
|
723
|
+
type: 'void',
|
|
724
|
+
'x-component': 'Text',
|
|
725
|
+
'x-component-props': { children: '2026.07.18 · 8 MIN READ', style: { color: MUTED } },
|
|
726
|
+
},
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
title: {
|
|
730
|
+
type: 'void',
|
|
731
|
+
'x-component': 'Text',
|
|
732
|
+
'x-component-props': {
|
|
733
|
+
children: '设计系统如何帮助团队保持速度',
|
|
734
|
+
strong: true,
|
|
735
|
+
style: {
|
|
736
|
+
color: INK,
|
|
737
|
+
display: 'block',
|
|
738
|
+
fontSize: 46,
|
|
739
|
+
letterSpacing: -1.5,
|
|
740
|
+
lineHeight: 1.16,
|
|
741
|
+
margin: '22px 0 18px',
|
|
742
|
+
maxWidth: 820,
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
},
|
|
746
|
+
lead: {
|
|
747
|
+
type: 'void',
|
|
748
|
+
'x-component': 'Text',
|
|
749
|
+
'x-component-props': {
|
|
750
|
+
children: '真正有效的设计系统不是组件仓库,而是一套帮助团队持续做出一致决定的工作方式。',
|
|
751
|
+
style: {
|
|
752
|
+
color: MUTED,
|
|
753
|
+
display: 'block',
|
|
754
|
+
fontSize: 20,
|
|
755
|
+
lineHeight: 1.7,
|
|
756
|
+
maxWidth: 760,
|
|
757
|
+
},
|
|
758
|
+
},
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
},
|
|
762
|
+
cover: {
|
|
763
|
+
type: 'void',
|
|
764
|
+
'x-component': 'Card',
|
|
765
|
+
'x-component-props': {
|
|
766
|
+
bordered: false,
|
|
767
|
+
style: {
|
|
768
|
+
background: `linear-gradient(135deg, ${ACCENT}, ${VIOLET})`,
|
|
769
|
+
borderRadius: 24,
|
|
770
|
+
margin: '0 24px 28px',
|
|
771
|
+
minHeight: 300,
|
|
772
|
+
},
|
|
773
|
+
},
|
|
774
|
+
properties: {
|
|
775
|
+
mark: {
|
|
776
|
+
type: 'void',
|
|
777
|
+
'x-component': 'Text',
|
|
778
|
+
'x-component-props': {
|
|
779
|
+
children: 'SYSTEM / 01',
|
|
780
|
+
strong: true,
|
|
781
|
+
style: { color: INK, fontSize: 14, letterSpacing: 1.4 },
|
|
782
|
+
},
|
|
783
|
+
},
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
body: {
|
|
787
|
+
type: 'void',
|
|
788
|
+
'x-component': 'Card',
|
|
789
|
+
'x-component-props': {
|
|
790
|
+
bordered: false,
|
|
791
|
+
style: {
|
|
792
|
+
background: PAGE_BACKGROUND,
|
|
793
|
+
margin: '0 24px 28px',
|
|
794
|
+
maxWidth: 860,
|
|
795
|
+
},
|
|
796
|
+
},
|
|
797
|
+
properties: {
|
|
798
|
+
opening: {
|
|
799
|
+
type: 'void',
|
|
800
|
+
'x-component': 'Text',
|
|
801
|
+
'x-component-props': {
|
|
802
|
+
children: '当产品进入快速增长期,界面不一致只是表象。更深层的问题是团队对优先级、边界与质量缺少共同语言。设计系统首先要解决的,正是这种协作摩擦。',
|
|
803
|
+
style: { color: INK, display: 'block', fontSize: 18, lineHeight: 1.95, marginBottom: 28 },
|
|
804
|
+
},
|
|
805
|
+
},
|
|
806
|
+
heading: {
|
|
807
|
+
type: 'void',
|
|
808
|
+
'x-component': 'Text',
|
|
809
|
+
'x-component-props': {
|
|
810
|
+
children: '从组件清单到决策系统',
|
|
811
|
+
strong: true,
|
|
812
|
+
style: { color: INK, display: 'block', fontSize: 28, marginBottom: 14 },
|
|
813
|
+
},
|
|
814
|
+
},
|
|
815
|
+
paragraph: {
|
|
816
|
+
type: 'void',
|
|
817
|
+
'x-component': 'Text',
|
|
818
|
+
'x-component-props': {
|
|
819
|
+
children: '我们会把高频决策沉淀为组件、设计令牌和清晰的使用原则,同时保留例外发生的条件。团队因此不必反复讨论已经解决的问题,也不会因为追求统一而失去判断。',
|
|
820
|
+
style: { color: MUTED, display: 'block', fontSize: 17, lineHeight: 1.95, marginBottom: 28 },
|
|
821
|
+
},
|
|
822
|
+
},
|
|
823
|
+
quote: {
|
|
824
|
+
type: 'void',
|
|
825
|
+
'x-component': 'Card',
|
|
826
|
+
'x-component-props': {
|
|
827
|
+
bordered: false,
|
|
828
|
+
style: {
|
|
829
|
+
background: INK,
|
|
830
|
+
borderRadius: 18,
|
|
831
|
+
},
|
|
832
|
+
},
|
|
833
|
+
properties: {
|
|
834
|
+
text: {
|
|
835
|
+
type: 'void',
|
|
836
|
+
'x-component': 'Text',
|
|
837
|
+
'x-component-props': {
|
|
838
|
+
children: '速度不是少做思考,而是让正确的思考可以被复用。',
|
|
839
|
+
strong: true,
|
|
840
|
+
style: { color: '#ffffff', fontSize: 24, lineHeight: 1.55 },
|
|
841
|
+
},
|
|
842
|
+
},
|
|
843
|
+
},
|
|
844
|
+
},
|
|
845
|
+
},
|
|
846
|
+
},
|
|
847
|
+
footer: createWebsiteFooter(),
|
|
848
|
+
});
|
|
849
|
+
export const aboutTemplateDocumentSource = createWebsiteDocument('about', 1, {
|
|
850
|
+
navigation: createWebsiteNavigation(),
|
|
851
|
+
statement: {
|
|
852
|
+
type: 'void',
|
|
853
|
+
'x-component': 'Card',
|
|
854
|
+
'x-component-props': {
|
|
855
|
+
bordered: false,
|
|
856
|
+
style: {
|
|
857
|
+
background: INK,
|
|
858
|
+
borderRadius: 24,
|
|
859
|
+
margin: 24,
|
|
860
|
+
},
|
|
861
|
+
},
|
|
862
|
+
properties: {
|
|
863
|
+
eyebrow: {
|
|
864
|
+
type: 'void',
|
|
865
|
+
'x-component': 'Tag',
|
|
866
|
+
'x-component-props': { children: 'ABOUT / 关于', color: 'lime' },
|
|
867
|
+
},
|
|
868
|
+
title: {
|
|
869
|
+
type: 'void',
|
|
870
|
+
'x-component': 'Text',
|
|
871
|
+
'x-component-props': {
|
|
872
|
+
children: '我们把清晰\n变成一种竞争力',
|
|
873
|
+
strong: true,
|
|
874
|
+
style: {
|
|
875
|
+
color: '#ffffff',
|
|
876
|
+
display: 'block',
|
|
877
|
+
fontSize: 48,
|
|
878
|
+
letterSpacing: -1.8,
|
|
879
|
+
lineHeight: 1.12,
|
|
880
|
+
margin: '22px 0',
|
|
881
|
+
whiteSpace: 'pre-line',
|
|
882
|
+
},
|
|
883
|
+
},
|
|
884
|
+
},
|
|
885
|
+
summary: {
|
|
886
|
+
type: 'void',
|
|
887
|
+
'x-component': 'Text',
|
|
888
|
+
'x-component-props': {
|
|
889
|
+
children: 'Yimoka 是一支跨越策略、设计与工程的小团队。我们相信,优秀的数字体验来自清楚的边界、诚实的内容和经得起迭代的系统。',
|
|
890
|
+
style: { color: '#c9ccd3', display: 'block', fontSize: 18, lineHeight: 1.8, maxWidth: 760 },
|
|
891
|
+
},
|
|
892
|
+
},
|
|
893
|
+
},
|
|
894
|
+
},
|
|
895
|
+
values: {
|
|
896
|
+
type: 'void',
|
|
897
|
+
'x-component': 'GridRow',
|
|
898
|
+
'x-component-props': {
|
|
899
|
+
gutter: 16,
|
|
900
|
+
style: { background: PAGE_BACKGROUND, marginInline: 0, padding: '0 24px 28px' },
|
|
901
|
+
},
|
|
902
|
+
properties: {
|
|
903
|
+
clarity: {
|
|
904
|
+
type: 'void',
|
|
905
|
+
'x-component': 'GridCol',
|
|
906
|
+
'x-component-props': { md: 8, span: 8, xs: 24 },
|
|
907
|
+
properties: {
|
|
908
|
+
card: {
|
|
909
|
+
type: 'void',
|
|
910
|
+
'x-component': 'Card',
|
|
911
|
+
'x-component-props': { bordered: false, style: { background: ACCENT, borderRadius: 18, minHeight: 220 } },
|
|
912
|
+
properties: {
|
|
913
|
+
index: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '01', strong: true } },
|
|
914
|
+
title: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '先建立清晰', strong: true, style: { display: 'block', fontSize: 24, margin: '70px 0 10px' } } },
|
|
915
|
+
body: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '先理解真正的问题,再决定表达与实现。', style: { color: '#33372f', lineHeight: 1.7 } } },
|
|
916
|
+
},
|
|
917
|
+
},
|
|
918
|
+
},
|
|
919
|
+
},
|
|
920
|
+
craft: {
|
|
921
|
+
type: 'void',
|
|
922
|
+
'x-component': 'GridCol',
|
|
923
|
+
'x-component-props': { md: 8, span: 8, xs: 24 },
|
|
924
|
+
properties: {
|
|
925
|
+
card: {
|
|
926
|
+
type: 'void',
|
|
927
|
+
'x-component': 'Card',
|
|
928
|
+
'x-component-props': { bordered: false, style: { background: '#ffffff', border: '1px solid #e3e4de', borderRadius: 18, minHeight: 220 } },
|
|
929
|
+
properties: {
|
|
930
|
+
index: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '02', strong: true } },
|
|
931
|
+
title: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '尊重每个细节', strong: true, style: { display: 'block', fontSize: 24, margin: '70px 0 10px' } } },
|
|
932
|
+
body: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '简洁不是省略,而是准确完成每个必要部分。', style: { color: MUTED, lineHeight: 1.7 } } },
|
|
933
|
+
},
|
|
934
|
+
},
|
|
935
|
+
},
|
|
936
|
+
},
|
|
937
|
+
system: {
|
|
938
|
+
type: 'void',
|
|
939
|
+
'x-component': 'GridCol',
|
|
940
|
+
'x-component-props': { md: 8, span: 8, xs: 24 },
|
|
941
|
+
properties: {
|
|
942
|
+
card: {
|
|
943
|
+
type: 'void',
|
|
944
|
+
'x-component': 'Card',
|
|
945
|
+
'x-component-props': { bordered: false, style: { background: VIOLET, borderRadius: 18, minHeight: 220 } },
|
|
946
|
+
properties: {
|
|
947
|
+
index: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '03', strong: true, style: { color: '#ffffff' } } },
|
|
948
|
+
title: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '为变化而设计', strong: true, style: { color: '#ffffff', display: 'block', fontSize: 24, margin: '70px 0 10px' } } },
|
|
949
|
+
body: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '交付可继续生长的系统,而不是一次性的画面。', style: { color: '#eeeaff', lineHeight: 1.7 } } },
|
|
950
|
+
},
|
|
951
|
+
},
|
|
952
|
+
},
|
|
953
|
+
},
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
facts: {
|
|
957
|
+
type: 'void',
|
|
958
|
+
'x-component': 'Card',
|
|
959
|
+
'x-component-props': { bordered: false, style: { background: '#ffffff', borderRadius: 24, margin: '0 24px 28px' } },
|
|
960
|
+
properties: {
|
|
961
|
+
title: { type: 'void', 'x-component': 'Text', 'x-component-props': { children: '小团队,深度参与', strong: true, style: { display: 'block', fontSize: 30, marginBottom: 24 } } },
|
|
962
|
+
metrics: {
|
|
963
|
+
type: 'void',
|
|
964
|
+
'x-component': 'GridRow',
|
|
965
|
+
'x-component-props': { gutter: 16 },
|
|
966
|
+
properties: {
|
|
967
|
+
years: { type: 'void', 'x-component': 'GridCol', 'x-component-props': { md: 8, span: 8, xs: 24 }, properties: { stat: { type: 'void', 'x-component': 'Statistic', 'x-component-props': { title: '持续实践', value: 9, suffix: ' 年' } } } },
|
|
968
|
+
cities: { type: 'void', 'x-component': 'GridCol', 'x-component-props': { md: 8, span: 8, xs: 24 }, properties: { stat: { type: 'void', 'x-component': 'Statistic', 'x-component-props': { title: '协作城市', value: 12, suffix: ' 座' } } } },
|
|
969
|
+
partners: { type: 'void', 'x-component': 'GridCol', 'x-component-props': { md: 8, span: 8, xs: 24 }, properties: { stat: { type: 'void', 'x-component': 'Statistic', 'x-component-props': { title: '长期伙伴', value: 24, suffix: ' 家' } } } },
|
|
970
|
+
},
|
|
971
|
+
},
|
|
972
|
+
},
|
|
973
|
+
},
|
|
974
|
+
footer: createWebsiteFooter(),
|
|
975
|
+
});
|
|
976
|
+
export { contactTemplateDocumentSource } from "./website-contact-template.js";
|