@xzm1991/uni-ui-wfc 0.0.0-stage → 2.0.2
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 +49 -2
- package/lib/fonts/iconfont.698c2e4c.ttf +0 -0
- package/lib/img/add.204df4f8.svg +15 -0
- package/lib/img/failRes.d5d0330b.png +0 -0
- package/lib/img/headnew.5100800d.png +0 -0
- package/lib/img/noMessageRes.912e6c32.png +0 -0
- package/lib/img/noNetRes.7e117022.png +0 -0
- package/lib/img/noRecordRes.13157c76.png +0 -0
- package/lib/img/noauthRes.12f8f931.png +0 -0
- package/lib/img/nocollect.d3d28f1d.png +0 -0
- package/lib/img/nodata.d2b9b8fb.png +0 -0
- package/lib/img/notfoundRes.885c1832.png +0 -0
- package/lib/img/servererror.97420836.png +0 -0
- package/lib/img/successRes.0c62b352.png +0 -0
- package/lib/uni-ui-wfc.common.js +31549 -0
- package/lib/uni-ui-wfc.css +1 -0
- package/lib/uni-ui-wfc.umd.js +31559 -0
- package/lib/uni-ui-wfc.umd.min.js +286 -0
- package/package.json +64 -4
package/README.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @xzm1991/uni-ui-wfc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
基于 Vue 2 + ant-design-vue 1.x 的政务业务组件库。
|
|
4
|
+
|
|
5
|
+
## 环境要求
|
|
6
|
+
|
|
7
|
+
- vue `^2.6.11`
|
|
8
|
+
- ant-design-vue `^1.7.8`
|
|
9
|
+
|
|
10
|
+
## 安装
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @xzm1991/uni-ui-wfc
|
|
14
|
+
# 或
|
|
15
|
+
yarn add @xzm1991/uni-ui-wfc
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
组件库不内置 vue、ant-design-vue、axios、moment 等公共依赖,请确保宿主项目已安装。
|
|
19
|
+
|
|
20
|
+
## 全量引入
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
import Vue from 'vue';
|
|
24
|
+
import UniUI from '@xzm1991/uni-ui-wfc';
|
|
25
|
+
import '@xzm1991/uni-ui-wfc/lib/uni-ui-wfc.css';
|
|
26
|
+
import App from './App.vue';
|
|
27
|
+
|
|
28
|
+
Vue.use(UniUI);
|
|
29
|
+
|
|
30
|
+
new Vue({
|
|
31
|
+
render: (h) => h(App)
|
|
32
|
+
}).$mount('#app');
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
插件安装后可直接使用 `UniButton`、`UniTable`、`UniForm`、`UniTree`、`UniUpload` 等组件,以及 `$tip`、`$alert` 原型方法。
|
|
36
|
+
|
|
37
|
+
## 指定版本安装
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm install @xzm1991/uni-ui-wfc@2.0.2
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## 本地开发
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm install
|
|
47
|
+
npm run serve # 组件演示/调试
|
|
48
|
+
npm run lib # 构建组件库产物到 lib/
|
|
49
|
+
npm run docs:dev # 文档开发
|
|
50
|
+
```
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="39px" height="39px" viewBox="0 0 39 39" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>新增图片</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="市域治理平台设计规范" transform="translate(-536.000000, -9368.000000)" fill="#096EFF" fill-rule="nonzero">
|
|
6
|
+
<g id="编组-11" transform="translate(150.000000, 8902.000000)">
|
|
7
|
+
<g id="编组-5" transform="translate(336.000000, 416.000000)">
|
|
8
|
+
<g id="新增图片" transform="translate(50.000000, 50.000000)">
|
|
9
|
+
<path d="M27.5345789,16.5376599 C30.6523521,16.5376599 33.0356166,14.2824424 33.0356166,11.1646692 C33.0356166,8.04663827 30.5081058,5.51938533 27.3903327,5.51938533 C24.2723017,5.51938533 22.0334983,7.91047014 22.0334983,11.0285011 C22.0334983,14.1462743 24.4165479,16.5376599 27.5345789,16.5376599 Z M27.5345789,8.27665026 C29.0196236,8.27665026 30.3001798,9.53327281 30.3001798,11.0285441 C30.3001798,12.4574286 29.0111158,13.7696957 27.5345789,13.7696957 C26.0171787,13.7696957 24.7840601,12.4681708 24.7840601,11.0285441 C24.7840601,9.51178841 26.0905694,8.27665026 27.5345789,8.27665026 L27.5345789,8.27665026 Z M20.5653403,24.6222396 L8.28081823,11.0285011 L2.77973761,15.2772131 L2.77973761,19.2841826 L8.28081823,15.1908888 L16.5324177,24.7771851 L20.5653403,24.6222396 Z M27.5345789,24.7771851 L22.0334983,19.2841396 L2.77973761,35.7631901 L6.96275029,35.7631901 L22.0334983,23.4198007 L23.4408554,24.7771851 L27.5345789,24.7771851 L27.5345789,24.7771851 Z M4.4408921e-16,-1.77635684e-15 L38.5439159,-1.77635684e-15 L38.5439159,2.7782337 L4.4408921e-16,2.7782337 L4.4408921e-16,-1.77635684e-15 Z M1.11022302e-15,2.7782337 L2.77973761,2.7782337 L2.77973761,38.538287 L1.11022302e-15,38.538287 L1.11022302e-15,2.7782337 Z M2.77973761,35.7631901 L21.9894553,35.7631901 L21.9894553,38.5169745 L2.77973761,38.5169745 L2.77973761,35.7631901 Z M35.7791315,2.7782337 L38.5439589,2.7782337 L38.5439589,22.0306624 L35.7791315,22.0306624 L35.7791315,2.7782337 Z M24.7840171,30.312254 L38.5366972,30.312254 L38.5366972,33.0031751 L24.7840171,33.0031751 L24.7840171,30.312254 Z M30.3001798,24.7771851 L33.0356595,24.7771851 L33.0356595,38.538287 L30.3001798,38.538287 L30.3001798,24.7771851 Z" id="形状"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|