File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " iTime" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " 基于electron+vue3+arco design开发的桌面效率工具" ,
5
5
"author" : " AlbertZhang<han892577@qq.com>" ,
6
6
"private" : true ,
Original file line number Diff line number Diff line change 68
68
}
69
69
/* 原本没有间距 */
70
70
li {
71
- margin : 0.7 em 0 ;
71
+ margin : 0.8 em 0 ;
72
72
}
73
73
/* marker用于定制元素的样式(比如大小颜色),before用于改变样式,比如改变标点符号,必须加!important,不然会被覆盖 */
74
74
/* 无序列表 */
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const todoContent = ref(""); // 页面渲染的内容
6
6
window .electron .loadHtmlContent ((title , content ) => {
7
7
todoTitle .value = title;
8
8
todoContent .value = content;
9
+ console .log (todoContent .value );
9
10
});
10
11
const draggable = ref (true );
11
12
const isShowContent = ref (true );
@@ -18,7 +19,6 @@ const handleDBLClick = () => {
18
19
// 隐藏下方内容
19
20
isShowContent .value = ! isShowContent .value ;
20
21
};
21
-
22
22
</script >
23
23
<template >
24
24
<div
@@ -76,7 +76,12 @@ const handleDBLClick = () => {
76
76
77
77
<hr v-if =" isShowContent" />
78
78
<!-- 内容部分 -->
79
- <div v-html =" todoContent" class =" content" v-if =" isShowContent" ></div >
79
+ <div
80
+ v-html =" todoContent"
81
+ style =" white-space : pre-wrap "
82
+ class =" content"
83
+ v-if =" isShowContent"
84
+ ></div >
80
85
</div >
81
86
</template >
82
87
<style scoped>
@@ -114,6 +119,8 @@ const handleDBLClick = () => {
114
119
}
115
120
.content {
116
121
padding : 8px 1vw ;
122
+ font-family : Helvetica , Arial , sans-serif ;
123
+ tab-size : 4 ;
117
124
}
118
125
/* 可拖拽 */
119
126
.draggable {
You can’t perform that action at this time.
0 commit comments