File tree 3 files changed +2
-9
lines changed
3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
## font-art
2
2
3
- #### 一个可以给字体设置艺术字的精简库。
3
+ #### 一个可以给字体设置艺术字的精简库,可以设置平面艺术字,也可以设置 3D 艺术字 。
4
4
5
5
### 怎么使用
6
6
@@ -20,7 +20,7 @@ import fontArt from 'font-art';
20
20
21
21
getFontStyle 可以把字效字效样式返回,接收到的样式对象绑定到对应的文字结构即可。
22
22
23
- <img src =" ./src/assets/fontArt.png " height =" 400 " width =" 600 " />
23
+ <img src =" ./src/assets/fontArt.png " height =" 620 " width =" 500 " />
24
24
25
25
### 开发
26
26
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" font-art-list-wrapper" >
3
- <span class =" art-title" >艺术字</span >
4
3
<div class =" art-wrapper" >
5
4
<div
6
5
v-for =" (item, index) in artList"
@@ -40,12 +39,6 @@ export default {
40
39
background : #fff ;
41
40
z-index : 1002 ;
42
41
transition : all .28s ;
43
- .art-title {
44
- flex : 1 ;
45
- font-size : 16px ;
46
- margin : 10px 10px 0 0 ;
47
- font-weight : 700 ;
48
- }
49
42
.art-wrapper {
50
43
padding : 10px 0 ;
51
44
height : 80% ;
You can’t perform that action at this time.
0 commit comments