From 10595d8632f959d0954d1939243196f4eed02372 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期日, 16 八月 2026 15:32:33 +0800
Subject: [PATCH] first commit
---
README.md | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 110 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 6bd31bd..8df518d 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,112 @@
-## cool-admin-uniapp
+# COOL-UNI 椤圭洰鑴氭墜鏋�
-浜敵-灏忕▼搴�
+## 绠�浠�
+[婕旂ず銆佹枃妗e湴鍧�](https://uni-docs.cool-js.com/)
+
+## 鏇村揩
+
+#### 鍚姩蹇�
+
+鍩轰簬 `vite`锛屽揩閫熺殑鍐峰惎鍔紝涓嶉渶瑕佺瓑寰呮墦鍖咃紝鍗虫椂鐨勭儹妯″潡鏇存柊锛岀湡姝g殑鎸夐渶缂栬瘧銆�
+
+#### 寮�鍙戝揩
+
+鏂板 `eps` 妯″紡锛岃嚜鍔ㄦ壂鎻忔帴鍙o紝浠g爜鏅鸿兘鎻愮ず銆�
+
+<img src="https://uni-docs.cool-js.com/images/service-tip.gif" height="300px" />
+
+#### 瀵规帴蹇�
+
+鏈変粈涔堝姛鑳芥槸鍓嶇涓�涓汉鍋氫笉浜嗭紵锛熷ぇ涓嶄簡鍏ㄥ共浜�
+
+馃憠馃憠 [绠$悊鍓嶇锛坴ue3锛夊紑鍙戞枃妗c�佸己澶х殑 CRUD 缁勪欢](https://cool-js.com/admin/vue/introduce.html#%E4%BB%A3%E7%A0%81%E4%BB%93%E5%BA%93)
+
+馃憠馃憠 [鏈嶅姟绔紙node銆乵idway锛夊紑鍙戞枃妗c�佷竴閿敓鎴愪唬鐮乚(https://cool-js.com/admin/node/introduce.html#%E4%BB%A3%E7%A0%81%E4%BB%93%E5%BA%93)
+
+馃憠馃憠 [婕旂ず鍦板潃](https://show.cool-admin.com) 馃榿
+
+ <img src="https://vue.cool-admin.com/show/admin.jpg" width="500px" />
+
+## 鏇村己
+
+鍐呯疆璇锋眰銆佽矾鐢便�佹枃浠朵笂浼犮�佺粍浠堕�氫俊銆佺紦瀛樼瓑鏂规硶鍙� ui 搴撳拰 hooks
+
+```html
+<script lang="ts" setup>
+ import { useCool } from "/@/cool";
+ import { useUi } from "/$/cool-ui";
+
+ const { service, router, storage, upload } = useCool();
+ const ui = useUi();
+
+ // 璇锋眰
+ service.test.page().then((res) => {
+ consoe.log(res);
+ });
+
+ // 璺宠浆
+ router.push({
+ path: "/pages/goods/info",
+ query: {
+ id: 1,
+ },
+ });
+
+ // 鍏ㄥ眬浜嬩欢
+ ui.showLoading();
+ ui.showToast();
+
+ // 鍌ㄥ瓨
+ storage.set("token", "a123huis");
+
+ // 鏂囦欢涓婁紶
+ uni.chooseImage({
+ count: 1,
+ sourceType: ["album", "camera"],
+ success(res) {
+ upload(res.tempFiles[0]).then((url) => {
+ console.log(url);
+ });
+ },
+ });
+</script>
+```
+
+## 鏇村叏
+
+#### 缁嗚吇鐨勪唬鐮�
+
+- `service` 鏃犳劅鍒锋柊锛岀洿鎺ヨ皟鐢ㄥ悗绔帴鍙�
+
+ ```ts
+ const { service } = useCool();
+ ```
+
+- 鎻愪緵 `entity` 鎻忚堪锛屽啓 `any` 鍜屼笉鍐欑殑閮藉摥浜�
+
+ ```ts
+ const list = ref<Eps.UserInfoEntity[]>([]);
+ ```
+
+#### 娲昏穬鐨勭ぞ鍖�
+
+- 鎷ユ湁鑷繁鐨勭煡璇嗗簱绯荤粺
+
+- [瀹樻柟鏈夐棶蹇呯瓟](https://cool-js.com/help/list.html)
+
+#### 涓板瘜鐨勬彃浠�
+
+- [Ai 鏅鸿兘妯″潡](https://cool-js.com/plugin/detail.html?id=58)
+
+- [瀹㈡湇鑱婂ぉ妯″潡](https://cool-js.com/plugin/detail.html?id=56)
+
+- [浼佷笟鏈哄櫒浜篯(https://cool-js.com/plugin/detail.html?id=41)銆乕椋炰功鎺ㄩ�乚(https://cool-js.com/plugin/detail.html?id=30)
+
+- [鍚勫巶鍟嗙殑鏀粯妯″潡](https://cool-js.com/plugin/detail.html?id=33)
+
+- [浜戝瓨鍌╙(https://cool-js.com/plugin/detail.html?id=36)
+
+- [PDF 鎵撳嵃](https://cool-js.com/plugin/detail.html?id=44)
+
+- [鏇村](https://cool-js.com/plugin/list.html)
--
Gitblit v1.9.1