Browse Source

更新文档

ZaiZai 1 year ago
parent
commit
cb058d83ce
6 changed files with 59 additions and 10 deletions
  1. 2 2
      docs/.vitepress/config.js
  2. 7 1
      docs/.vitepress/theme/var.css
  3. 41 0
      docs/guide/nav.md
  4. 4 3
      package.json
  5. 1 0
      src/components/card/index.md
  6. 4 4
      yarn.lock

+ 2 - 2
docs/.vitepress/config.js

@@ -28,10 +28,10 @@ export default defineConfig({
             },
             {
                 text: '资料导航',
-                link: '/guide/index'
+                link: '/guide/nav'
             },
             {
-                text: '1.0.3',
+                text: '1.0.5',
                 items: [
                     {
                         text: '更新日志',

+ 7 - 1
docs/.vitepress/theme/var.css

@@ -115,7 +115,13 @@
         padding-right: 0;
         padding-left: var(--vp-sidebar-width);
     }
-    #app .Layout .VPDoc.has-aside .content-container{
+    #app .Layout .VPDoc.has-aside .content-container {
+        max-width: inherit;
+    }
+    .VPDoc:not([class*='has-sidebar']) .container {
+        max-width: inherit;
+    }
+    .VPDoc:not([class*='has-sidebar']) .container .content {
         max-width: inherit;
     }
     #app .Layout .VPNavBar.has-sidebar div.title{

+ 41 - 0
docs/guide/nav.md

@@ -0,0 +1,41 @@
+---
+aside: false
+---
+
+# 使用到的一些地址
+
+## 项目相关站点
+
+| 名称         | 说明         | 地址                                                                                                                          |
+|------------|------------|-----------------------------------------------------------------------------------------------------------------------------|
+| hczc       | 官网         | [http://hczc.hcxxy.com/](http://hczc.hcxxy.com/)                                                                            |
+| testmanger | 后台管理系统     | [http://testmanger.hczcxx.cn/](http://testmanger.hczcxx.cn/) 、 [http://testmanger.hcxxy.com/](http://testmanger.hcxxy.com/) |
+| business   | 客户端(质检、试验) | [https://user.hcxxy.com/](https://user.hcxxy.com/) 、[https://business.hcxxy.com/](https://business.hcxxy.com/)              |
+| archives   | 档案管理       | [http://archives.hczcxx.cn/](http://archives.hczcxx.cn/)                                                                    |
+| hac        | 项目成本管控系统   | [http://hac.hczcxx.cn/](http://hac.hczcxx.cn/)                                                                              |
+| app        | app的H5页面   | [http://app.hczcxx.cn/](http://app.hczcxx.cn/)                                                                              |
+
+
+## 项目文档资料
+
+| 名称       | 说明            | 地址                                                                                                                                                         |
+|----------|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 禅道       | -             | [http://47.110.251.215:9001/zentao/my.html](http://47.110.251.215:9001/zentao/my.html)                                                                     |
+| 试验原型     | 试验项目的原型       | [https://modao.cc/app/rbrAI9n9rfatflOYZWZ0rZ#screen=sl6030dhwtmhgbp](https://modao.cc/app/rbrAI9n9rfatflOYZWZ0rZ#screen=sl6030dhwtmhgbp)                   |
+| 档案原型     | 档案项目的原型       | [https://modao.cc/app/cyz3cFVUrkagutppEaFwQ9#screen=sl9ntbthl41ocwr](https://modao.cc/app/cyz3cFVUrkagutppEaFwQ9#screen=sl9ntbthl41ocwr)                   |
+| 项目成本管控系统 | 项目成本管控系统项目的原型 | [https://modao.cc/app/YM90jjUXrtm470bxSKcz6#screen=slentms3ypelgumci12mj8lmh](https://modao.cc/app/YM90jjUXrtm470bxSKcz6#screen=slentms3ypelgumci12mj8lmh) |
+
+
+## 前端代码资料
+
+| 名称           | 说明               | 地址                                                                                                           |
+|--------------|------------------|--------------------------------------------------------------------------------------------------------------|
+| Gogs         | 私有代码管理           | [http://47.110.251.215:3000/](http://47.110.251.215:3000/)                                                   |
+| 私有npm仓库      | -                | [http://47.110.251.215:9000/](http://47.110.251.215:9000/)                                                   |
+| hcny         | npm源切换工具         | [http://47.110.251.215:9000/-/web/detail/hcny](http://47.110.251.215:9000/-/web/detail/hcny)                 |
+| RemixIcon    | 字体图标库            | [https://remixicon.cn/](https://remixicon.cn/)                                                               |
+| hc-vue3-ui   | 私有Vue3组件库        | [http://ui.hczcxx.cn/](http://ui.hczcxx.cn/)                                                                 |
+| tailwindcss  | 元子化css框架         | [https://tailwindcss.com/docs/container](https://tailwindcss.com/docs/container)                             |
+| element-plus | vue3的elementUI框架 | [https://element-plus.org/zh-CN/component/button.html](https://element-plus.org/zh-CN/component/button.html) |
+| Js-Fast-Way  | js方法函数库          | [http://izaizaiaa.gitee.io/js-fast-way/](http://izaizaiaa.gitee.io/js-fast-way/)                             |
+

+ 4 - 3
package.json

@@ -1,6 +1,6 @@
 {
     "name": "hc-vue3-ui-docs",
-    "version": "1.0.0",
+    "version": "1.0.1",
     "description": "hc-vue3-ui",
     "type": "module",
     "main": "./dist/docs.umd.cjs",
@@ -32,7 +32,7 @@
         "cross-env": "^7.0.3",
         "element-plus": "^2.3.4",
         "gh-pages": "^4.0.0",
-        "hc-vue3-ui": "^1.0.3",
+        "hc-vue3-ui": "^1.0.5",
         "np": "^7.6.2",
         "prettier": "^2.7.1",
         "unplugin-auto-import": "^0.15.3",
@@ -41,5 +41,6 @@
         "vitepress": "latest",
         "vitepress-plugin-pagefind": "^0.2.3",
         "vue": "latest"
-    }
+    },
+    "license": "MIT"
 }

+ 1 - 0
src/components/card/index.md

@@ -51,6 +51,7 @@ path: /components/card/index
 | idRef      | String / Number | -     | -           | 卡片的id值,注意,同一个渲染页面,请不要重复id值 |
 | ui         | String          | -     | -           | 卡片的附加class样式               |
 | actionUi   | String          | -     | -           | 底部插槽的附加class样式             |
+| bodyUi     | String          | -     | -           | 卡片内容区域的附加class样式           |
 
 
 ## slot 插槽

+ 4 - 4
yarn.lock

@@ -2058,10 +2058,10 @@ hash-sum@^2.0.0:
   resolved "http://47.110.251.215:9000/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a"
   integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==
 
-hc-vue3-ui@^1.0.3:
-  version "1.0.3"
-  resolved "http://47.110.251.215:9000/hc-vue3-ui/-/hc-vue3-ui-1.0.3.tgz#94c2ccf38deccbdd5f141d0b2fa0ee9869b633f9"
-  integrity sha512-020AiXzoqQzN3GpHpda9jOrHinDX8obZ6Eh7BmKSJ1fTBn0rBhC1aDPHtQCN+nFxUmI6BKN+8xQLffbukhoSSg==
+hc-vue3-ui@^1.0.5:
+  version "1.0.5"
+  resolved "http://47.110.251.215:9000/hc-vue3-ui/-/hc-vue3-ui-1.0.5.tgz#bd10fd15d64625adbaafff4dfeb876f1e2bea285"
+  integrity sha512-t/3CK0H3ZTc+bmvPvtXhwN8DWsGD1kizyvmJuHTnTICBPQzlgy3T+920IWcWEUJ+ec3VO+TYEMZxQFxz4OVQ7Q==
   dependencies:
     axios "^1.3.6"
     dayjs "^1.11.7"