Skip to content

Commit 31b226b

Browse files
committed
chore:init project
1 parent c09272d commit 31b226b

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## font-art
22

3-
#### 一个可以给字体设置艺术字的精简库。
3+
#### 一个可以给字体设置艺术字的精简库,可以设置平面艺术字,也可以设置 3D 艺术字
44

55
### 怎么使用
66

@@ -20,7 +20,7 @@ import fontArt from 'font-art';
2020

2121
getFontStyle 可以把字效字效样式返回,接收到的样式对象绑定到对应的文字结构即可。
2222

23-
<img src="./src/assets/fontArt.png" height="400" width="600" />
23+
<img src="./src/assets/fontArt.png" height="620" width="500" />
2424

2525
### 开发
2626

src/assets/fontArt.png

8.88 KB
Loading

src/components/fontArt.vue

-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<div class="font-art-list-wrapper">
3-
<span class="art-title">艺术字</span>
43
<div class="art-wrapper">
54
<div
65
v-for="(item, index) in artList"
@@ -40,12 +39,6 @@ export default {
4039
background: #fff;
4140
z-index: 1002;
4241
transition: all .28s;
43-
.art-title{
44-
flex: 1;
45-
font-size: 16px;
46-
margin: 10px 10px 0 0;
47-
font-weight: 700;
48-
}
4942
.art-wrapper{
5043
padding: 10px 0;
5144
height: 80%;

0 commit comments

Comments
 (0)