File tree 3 files changed +11
-37
lines changed
components/CodemirrorEditor
3 files changed +11
-37
lines changed Original file line number Diff line number Diff line change 7
7
width =" 30%"
8
8
center
9
9
>
10
- <div style =" text-align : center " >
10
+ <div style =" text-align : center ; " >
11
11
<h3 >一款高度简洁的微信 Markdown 编辑器</h3 >
12
- </div >
13
- <div style =" text-align : center ; margin-top : 10px " >
14
12
<p >扫码关注我的公众号,原创技术文章第一时间推送!</p >
15
13
<img
16
14
src =" https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png"
17
- style =" width : 40% ; display : block ; margin : 20 px auto 10 px "
15
+ style =" width : 40% ;"
18
16
/>
19
17
</div >
20
- <span slot =" footer " class = " dialog- footer" >
18
+ <template slot="footer">
21
19
<el-button
22
20
type =" primary"
23
21
@click =" onRedirect('https://github.com/doocs/md')"
32
30
>
33
31
Gitee 仓库
34
32
</el-button >
35
- </span >
33
+ </template >
36
34
</el-dialog >
37
35
</template >
38
36
Original file line number Diff line number Diff line change 4
4
class =" reset__dialog"
5
5
:visible =" showResetConfirm"
6
6
@close =" $emit('close')"
7
+ center
7
8
>
8
- <div class =" text" >此操作将丢失本地自定义样式,是否继续?</div >
9
- <div slot =" footer" class =" dialog-footer" >
9
+ <div style =" text-align : center " >
10
+ 此操作将丢失本地自定义样式,是否继续?
11
+ </div >
12
+ <template slot="footer">
10
13
<el-button :type =" btnType" @click =" $emit('close')" plain >
11
14
取 消
12
15
</el-button >
13
16
<el-button :type =" btnType" @click =" $emit('confirm')" plain >
14
17
确 定
15
18
</el-button >
16
- </div >
19
+ </template >
17
20
</el-dialog >
18
21
</template >
19
22
@@ -42,16 +45,4 @@ export default {
42
45
/ deep/ .el-dialog {
43
46
min-width : 440px ;
44
47
}
45
-
46
- .reset__dialog {
47
- text-align : center ;
48
- }
49
-
50
- .text {
51
- text-align : center ;
52
- }
53
-
54
- .dialog-footer {
55
- text-align : center ;
56
- }
57
48
</style >
Original file line number Diff line number Diff line change @@ -28,19 +28,4 @@ export default {
28
28
}
29
29
</script >
30
30
31
- <style scoped>
32
- .fade-enter ,
33
- .fade-leave-to {
34
- opacity : 0 ;
35
- }
36
-
37
- .fade-enter-to ,
38
- .fade-leave {
39
- opacity : 1 ;
40
- }
41
-
42
- .fade-enter-active ,
43
- .fade-leave-active {
44
- transition : all 1s ;
45
- }
46
- </style >
31
+ <style scoped></style >
You can’t perform that action at this time.
0 commit comments