From 3b03f87a02458f719e2eb4bf112a13441b427d14 Mon Sep 17 00:00:00 2001
From: ‘chensiAb’ <‘chenchenco03@163.com’>
Date: Tue, 25 Mar 2025 13:54:34 +0800
Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components

---
 _cursor.ai/rules/type-surface.mdc |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/_cursor.ai/rules/type-surface.mdc b/_cursor.ai/rules/type-surface.mdc
new file mode 100644
index 0000000..a501c45
--- /dev/null
+++ b/_cursor.ai/rules/type-surface.mdc
@@ -0,0 +1,43 @@
+---
+description: 
+globs: src/pages/**/**/*.vue
+alwaysApply: false
+---
+
+# 界面
+
+## 界面空白模板
+
+```html
+/**
+* pageName - 页面名称
+* @author 作者
+*/
+
+<template>
+    <CPage>
+        <CNavBar title="页面名称" />
+        <CContent class="page-name">
+            <!-- 页面内容 -->
+        </CContent>
+    </CPage>
+</template>
+
+<script>
+import Taro from '@tarojs/taro';
+import {} from 'taro-ui-vue';
+import { PPageName } from '@pilots/pilotGroup/PPageName';
+import { CPage, CContent, CNavBar } from '@components/layout/h5Page';
+import './pageName.scss';
+
+export default {
+    name: 'PageName',
+    components: {},
+    ...new PPageName().createOptions(),
+};
+</script>
+```
+
+说明:
+- H5 界面需要 CPage、CContent、CNavBar 这三个排版组件作为页面的基础布局(在小程序中则不需要)
+

--
Gitblit v1.9.1