diff --git a/app/pages/about/contact-us.vue b/app/pages/about/contact-us.vue
new file mode 100644
index 0000000..6f89abe
--- /dev/null
+++ b/app/pages/about/contact-us.vue
@@ -0,0 +1,3 @@
+
+ 还没做
+
\ No newline at end of file
diff --git a/app/pages/about/index.vue b/app/pages/about/index.vue
new file mode 100644
index 0000000..1c41983
--- /dev/null
+++ b/app/pages/about/index.vue
@@ -0,0 +1,102 @@
+
+
+
+
+ {{ $t('navigation.home') }}
+
+
+ {{ $t('about-us') }}
+
+
+
+
+
+
+
+
更多信息
+
+
+
+
+
+ 联系信息
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/pages/productions/example.vue b/app/pages/productions/example.vue
deleted file mode 100644
index 53c4457..0000000
--- a/app/pages/productions/example.vue
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
-
-
- {{ $t('navigation.home') }}
-
-
- {{ $t('productions') }}
-
-
- 示例
-
-
-
-
-
-
-
-
-
- 这里是产品的详细描述内容...
-
-
- 这里是产品的技术规格内容...
-
-
- 这里是产品的常见问题内容...
-
-
- 这里是产品的相关资料内容...
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/types/strapi/index.ts b/app/types/strapi/index.ts
index 45240a7..c04ebf1 100644
--- a/app/types/strapi/index.ts
+++ b/app/types/strapi/index.ts
@@ -1,2 +1,3 @@
export * from './common';
-export * from './production';
\ No newline at end of file
+export * from './production';
+export * from './singleTypes';
\ No newline at end of file
diff --git a/app/types/strapi/singleTypes.ts b/app/types/strapi/singleTypes.ts
new file mode 100644
index 0000000..77c5d3f
--- /dev/null
+++ b/app/types/strapi/singleTypes.ts
@@ -0,0 +1,3 @@
+export interface StrapiCompanyProfile extends StrapiEntity {
+ content: string;
+}
\ No newline at end of file
diff --git a/app/utils/markdown.ts b/app/utils/markdown.ts
index 583f0a9..43431e8 100644
--- a/app/utils/markdown.ts
+++ b/app/utils/markdown.ts
@@ -1,5 +1,4 @@
import MarkdownIt from 'markdown-it';
-import DOMPurify from 'dompurify';
const md = new MarkdownIt({
html: true,
@@ -10,6 +9,13 @@ const md = new MarkdownIt({
export function renderMarkdown(content: string): string {
const dirtyHtml = md.render(content);
- return DOMPurify.sanitize(dirtyHtml)
+
+ if (typeof window !== 'undefined') {
+ import('dompurify').then((DOMPurify => {
+ return DOMPurify.default.sanitize(dirtyHtml)
+ }))
+ }
+
+ return dirtyHtml
}