style: 调整

This commit is contained in:
fofolee
2021-12-31 16:37:21 +08:00
parent 6bafa93755
commit 6c9923a0eb
8 changed files with 22 additions and 178 deletions

View File

@@ -18,8 +18,8 @@ import qcparser from "./qcparser.js"
$('#darkmode').length && $('#darkmode, #darkswal').remove()
}
if (init.isRunningAtFirstTime()) {
init.showChangeLog()
init.oldVersionFix()
// init.showChangeLog()
// init.oldVersionFix()
qcfeatures.importDefaultCommands()
}
var handleEnter

View File

@@ -143,6 +143,7 @@ let showCommandByType = features => {
if (rules.length > 14) rules = rules.slice(0, 14) + '...';
qcType += `<div class="topchild">关键字</div><div>`
rules.split(',').forEach(r => {
// qcType += `<span class="keyword"><a href="javascript:utools.redirect('${window.htmlEncode(r, true)}')">${window.htmlEncode(r, true)}</a></span>`;
qcType += `<span class="keyword">${window.htmlEncode(r, true)}</span>`;
});
qcType += `</div>`
@@ -151,6 +152,12 @@ let showCommandByType = features => {
return qcType
}
// let linkKeywords = features => {
// if ($(`#${features.code} .checked-switch`).prop('checked')) {
// }
// }
// **************************************************
// *********************功能按钮**********************

View File

@@ -36,6 +36,12 @@ export default {
ext: 'js',
color: '#f1e05a'
},
// go: {
// bin: 'go',
// argv: 'run',
// ext: 'go',
// color: '#6fcce5'
// },
ruby: {
bin: 'ruby',
argv: '',

View File

@@ -249,6 +249,7 @@ body {
width: auto;
border-radius: 4px;
margin: 0px 5px;
cursor: pointer;
}
#options #customize #charset.robot {