mirror of
https://github.com/woodchen-ink/md-wechat.git
synced 2025-07-18 13:42:02 +08:00
style: update font size list
更新字号列表
This commit is contained in:
parent
aee75fdd60
commit
d06fbad9c2
@ -22,9 +22,9 @@ let app = new Vue({
|
||||
}
|
||||
],
|
||||
sizeOption: [
|
||||
{ label: '13px', value: '13px', desc: '稍小' },
|
||||
{ label: '14px', value: '14px', desc: '推荐' },
|
||||
{ label: '15px', value: '15px', desc: '正常' },
|
||||
{ label: '16px', value: '16px', desc: '稍大' },
|
||||
{ label: '15px', value: '15px', desc: '稍大' },
|
||||
],
|
||||
colorOption: [
|
||||
{ label: '橘红', value: 'rgba(255, 95, 46, 0.9)', hex: '#FF5F2E' },
|
||||
@ -35,7 +35,7 @@ let app = new Vue({
|
||||
};
|
||||
d.currentEditorTheme = d.editorThemes[0].value;
|
||||
d.currentFont = d.builtinFonts[0].value;
|
||||
d.currentSize = d.sizeOption[0].value;
|
||||
d.currentSize = d.sizeOption[1].value;
|
||||
d.currentColor = d.colorOption[1].value;
|
||||
return d;
|
||||
},
|
||||
|
@ -1,5 +1,4 @@
|
||||
// 左右栏同步滚动
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
let timeout;
|
||||
|
@ -1,3 +1,4 @@
|
||||
// 设置自定义颜色
|
||||
function setColorWithTemplate(template) {
|
||||
return function(color) {
|
||||
let custom_theme = JSON.parse(JSON.stringify(template));
|
||||
|
Loading…
x
Reference in New Issue
Block a user