mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-28 23:24:14 +08:00
style: 调整
This commit is contained in:
@@ -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
|
||||
|
@@ -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')) {
|
||||
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// **************************************************
|
||||
// *********************功能按钮**********************
|
||||
|
@@ -36,6 +36,12 @@ export default {
|
||||
ext: 'js',
|
||||
color: '#f1e05a'
|
||||
},
|
||||
// go: {
|
||||
// bin: 'go',
|
||||
// argv: 'run',
|
||||
// ext: 'go',
|
||||
// color: '#6fcce5'
|
||||
// },
|
||||
ruby: {
|
||||
bin: 'ruby',
|
||||
argv: '',
|
||||
|
@@ -249,6 +249,7 @@ body {
|
||||
width: auto;
|
||||
border-radius: 4px;
|
||||
margin: 0px 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#options #customize #charset.robot {
|
||||
|
Reference in New Issue
Block a user