File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- title : WaterMask
3- preview : https://didi.github.io/mand-mobile/examples/#/water-mask
2+ title : WaterMark
3+ preview : https://didi.github.io/mand-mobile/examples/#/water-mark
44---
55
66Container with watermark background
77
88### 引入
99
1010``` javascript
11- import { WaterMask } from ' mand-mobile'
11+ import { WaterMark } from ' mand-mobile'
1212
13- Vue .component (WaterMask .name , WaterMask )
13+ Vue .component (WaterMark .name , WaterMark )
1414```
1515
1616### 代码演示
1717<!-- DEMO -->
1818
1919### API
2020
21- #### WaterMask Props
21+ #### WaterMark Props
2222| Props | Description | Type | Default | Note |
2323| ----| -----| ------| ------ | ------|
2424| content| -| String| -| complex content using ` scoped slot ` |
@@ -28,13 +28,13 @@ Vue.component(WaterMask.name, WaterMask)
2828| rotate| -| String| ` -30 ` | -|
2929| opacity| -| String| ` 0.1 ` | -|
3030
31- #### WaterMask Slots
31+ #### WaterMark Slots
3232
3333##### default
3434Default slot of content
3535
36- ##### watermask
37- scoped slot of watermask content
36+ ##### watermark
37+ scoped slot of watermark content
3838
3939``` html
4040<div slot =" watermark" slot-scope =" { coord }" >
Original file line number Diff line number Diff line change 11---
2- title : WaterMask 水印
3- preview : https://didi.github.io/mand-mobile/examples/#/water-mask
2+ title : WaterMark 水印
3+ preview : https://didi.github.io/mand-mobile/examples/#/water-mark
44---
55
66自带水印背景的容器
77
88### 引入
99
1010``` javascript
11- import { WaterMask } from ' mand-mobile'
11+ import { WaterMark } from ' mand-mobile'
1212
13- Vue .component (WaterMask .name , WaterMask )
13+ Vue .component (WaterMask .name , WaterMark )
1414```
1515
1616### 代码演示
@@ -28,12 +28,12 @@ Vue.component(WaterMask.name, WaterMask)
2828| rotate| 旋转角度| String| ` -30 ` | -|
2929| opacity| 透明度| String| ` 0.1 ` | -|
3030
31- #### WaterMask Slots
31+ #### WaterMark Slots
3232
3333##### default
3434默认内容插错
3535
36- ##### watermask
36+ ##### watermark
3737水印内容scoped插槽
3838
3939``` html
You can’t perform that action at this time.
0 commit comments