component_ryl 1.1.12 → 1.1.15
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 +21 -12
- package/dist/build.js +1 -1
- package/package.json +1 -1
- package/src.zip +0 -0
package/README.md
CHANGED
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
3.分页 -- handPaging
|
|
14
14
|
4.数字or金额输入框 -- input (用的少,基本用指令)
|
|
15
15
|
5.指令
|
|
16
|
-
6.富文本 -- handTinymce
|
|
16
|
+
6.富文本 -- handTinymce (移动到tinymce_ryl)
|
|
17
17
|
7.动态面包屑 -- handBreadCrumb
|
|
18
18
|
8.自定义tab切换 -- handTab
|
|
19
19
|
9.暂无数据 -- handNoData
|
|
20
|
+
10.查看大图 -- handSeeImgShow
|
|
20
21
|
|
|
21
22
|
# 所有子方法
|
|
22
23
|
|
|
@@ -247,16 +248,16 @@
|
|
|
247
248
|
|
|
248
249
|
# 6.富文本 -- handTinymce
|
|
249
250
|
|
|
250
|
-
<handTinymce
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
/>
|
|
251
|
+
# <handTinymce
|
|
252
|
+
# id="myEditor" //唯一容器id
|
|
253
|
+
# :height="400" // 默认400
|
|
254
|
+
# v-model="content"
|
|
255
|
+
# placeholder="请输入内容" // 默认文案:请输入内容
|
|
256
|
+
# :uploadType="'initUpload'" // 图片上传方式 默认:base64 自定义上传:initUpload
|
|
257
|
+
# url="/static" // 插件和汉化包路径,默认 /static
|
|
258
|
+
# @handleImgUpload="handleImgUpload" // 如果是自定义上传,这个方法接收3个参数,如下:
|
|
259
|
+
# toolbar="bold italic underline strikethrough link alignleft aligncenter alignright forecolor backcolor image table styleselect fontselect fontsizeselect preview removeformat fullscreen"
|
|
260
|
+
# />
|
|
260
261
|
# 切记,如果要使用该富文本,则要先手动引入如下配置:
|
|
261
262
|
# // import "tinymce/icons/default/icons";
|
|
262
263
|
# // import "tinymce/themes/silver";
|
|
@@ -328,6 +329,13 @@
|
|
|
328
329
|
# type: String,
|
|
329
330
|
# default: '暂无数据'
|
|
330
331
|
# },
|
|
332
|
+
|
|
333
|
+
#10. 查看大图 handSeeImgShow
|
|
334
|
+
<handSeeImgShow />
|
|
335
|
+
|
|
336
|
+
#使用发放:
|
|
337
|
+
# this.$refs.handSeeImgShow.show = true;
|
|
338
|
+
# this.$refs.handSeeImgShow.src = e.target.currentSrc;
|
|
331
339
|
|
|
332
340
|
# serve with hot reload at localhost:8080
|
|
333
341
|
# npm run dev
|
|
@@ -380,7 +388,8 @@
|
|
|
380
388
|
#1.0.95: 界面缩放后 重新计算高度
|
|
381
389
|
#1.0.98: 自动计算每个模块的最小宽度
|
|
382
390
|
#1.1.0: 去掉打包中的element,项目中需要自己下载
|
|
383
|
-
#1.1.
|
|
391
|
+
#1.1.13: 去掉tinymce
|
|
392
|
+
#1.1.15: 查看大图
|
|
384
393
|
|
|
385
394
|
```
|
|
386
395
|
|