mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-09 23:16:18 +08:00
语言栏样式调整
This commit is contained in:
parent
c46dfe3be6
commit
0f201469ee
@ -76,23 +76,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<q-separator vertical />
|
<q-separator vertical />
|
||||||
<div class="col-auto">
|
<div class="col-auto justify-end flex">
|
||||||
|
<q-btn-group unelevated>
|
||||||
<q-input
|
<q-input
|
||||||
dense
|
dense
|
||||||
standout="bg-primary text-white"
|
standout="bg-primary text-white"
|
||||||
square
|
square
|
||||||
stack-label
|
stack-label
|
||||||
hide-bottom-space
|
|
||||||
color="primary"
|
color="primary"
|
||||||
input-style="width: 60px;"
|
input-style="width: 60px;"
|
||||||
v-model="quickcommandInfo.scptarg"
|
v-model="quickcommandInfo.scptarg"
|
||||||
label="脚本参数"
|
|
||||||
v-show="quickcommandInfo.program !== 'quickcommand'"
|
v-show="quickcommandInfo.program !== 'quickcommand'"
|
||||||
|
label="脚本参数"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div class="col-auto justify-end flex">
|
|
||||||
<q-btn-group>
|
|
||||||
<q-btn
|
<q-btn
|
||||||
|
dense
|
||||||
flat
|
flat
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="help"
|
icon="help"
|
||||||
@ -102,6 +100,7 @@
|
|||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
|
dense
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="code"
|
icon="code"
|
||||||
@click="showCustomOptions"
|
@click="showCustomOptions"
|
||||||
@ -110,27 +109,34 @@
|
|||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
|
dense
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="format_size"
|
icon="format_size"
|
||||||
@click="showCodingPage()"
|
@click="showCodingPage()"
|
||||||
v-show="quickcommandInfo.program !== 'quickcommand'"
|
v-show="quickcommandInfo.program !== 'quickcommand'"
|
||||||
><q-tooltip>脚本及输出编码设置</q-tooltip></q-btn
|
><q-tooltip>脚本及输出编码设置</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
|
<q-separator vertical inset />
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
|
dense
|
||||||
flat
|
flat
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="play_arrow"
|
icon="play_arrow"
|
||||||
|
label="运行"
|
||||||
@click="runCurrentCommand()"
|
@click="runCurrentCommand()"
|
||||||
><q-tooltip>运行命令 {{ commandString }}+b</q-tooltip></q-btn
|
><q-tooltip>{{ commandString }}+b</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
|
dense
|
||||||
v-if="!isRunCodePage"
|
v-if="!isRunCodePage"
|
||||||
:disable="!canCommandSave"
|
:disable="!canCommandSave"
|
||||||
:color="canCommandSave ? 'primary' : 'grey'"
|
:color="canCommandSave ? 'primary' : 'grey'"
|
||||||
icon="save"
|
icon="save"
|
||||||
|
label="保存"
|
||||||
@click="saveCurrentCommand()"
|
@click="saveCurrentCommand()"
|
||||||
><q-tooltip>保存 {{ commandString }}+s</q-tooltip></q-btn
|
><q-tooltip>{{ commandString }}+s</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
</q-btn-group>
|
</q-btn-group>
|
||||||
</div>
|
</div>
|
||||||
@ -264,7 +270,10 @@ export default {
|
|||||||
.showInputBox(
|
.showInputBox(
|
||||||
{
|
{
|
||||||
labels: ["文件编码", "输出编码"],
|
labels: ["文件编码", "输出编码"],
|
||||||
hints: ["基于iconv-lite进行编码,无乱码请留空", "无乱码请留空"],
|
hints: [
|
||||||
|
"GBK/Big5/utf8,无乱码请留空",
|
||||||
|
"GBK/Big5/utf8,无乱码请留空",
|
||||||
|
],
|
||||||
values: [
|
values: [
|
||||||
this.quickcommandInfo.charset?.scriptCode,
|
this.quickcommandInfo.charset?.scriptCode,
|
||||||
this.quickcommandInfo.charset?.outputCode,
|
this.quickcommandInfo.charset?.outputCode,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user