refactor: 字体大小调整

This commit is contained in:
shiziyuan9527 2021-09-23 11:36:39 +08:00 committed by shiziyuan9527
parent ef82a08aa0
commit 965596d35b
2 changed files with 9 additions and 5 deletions

View File

@ -132,10 +132,10 @@
{{ getVariableSize() }} {{ getVariableSize() }}
</el-col> </el-col>
<el-col :span="3" class="ms-col-one ms-font"> <el-col :span="3" class="ms-col-one ms-font">
<el-checkbox v-model="enableCookieShare">共享cookie</el-checkbox> <el-checkbox v-model="enableCookieShare"><span style="font-size: 13px;">共享cookie</span></el-checkbox>
</el-col> </el-col>
<el-col :span="3" class="ms-col-one ms-font"> <el-col :span="3" class="ms-col-one ms-font">
<el-checkbox v-model="onSampleError">{{ $t('commons.failure_continues') }}</el-checkbox> <el-checkbox v-model="onSampleError"><span style="font-size: 13px;">{{ $t('commons.failure_continues') }}</span></el-checkbox>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">

View File

@ -1,7 +1,7 @@
<template> <template>
<div style="line-height: 20px;"> <div style="line-height: 20px;">
<div class="template-title"> <div class="template-title">
<span>{{ $t('api_test.request.processor.code_template') }}</span> <span class="nav-font">{{ $t('api_test.request.processor.code_template') }}</span>
<el-link href="https://jmeter.apache.org/usermanual/component_reference.html#BeanShell_PostProcessor" <el-link href="https://jmeter.apache.org/usermanual/component_reference.html#BeanShell_PostProcessor"
target="componentReferenceDoc" style="margin-left: 30px; margin-bottom: 3px;" target="componentReferenceDoc" style="margin-left: 30px; margin-bottom: 3px;"
type="primary"><span style="font-size: 13px;">{{ $t('commons.reference_documentation') }}</span> type="primary"><span style="font-size: 13px;">{{ $t('commons.reference_documentation') }}</span>
@ -11,13 +11,13 @@
<span class="link-type"> <span class="link-type">
<i class="icon el-icon-arrow-right" style="font-weight: bold; margin-right: 2px;" <i class="icon el-icon-arrow-right" style="font-weight: bold; margin-right: 2px;"
@click="active(menu)" :class="{'is-active': menu.open}"></i> @click="active(menu)" :class="{'is-active': menu.open}"></i>
<span @click="active(menu)" class="nav-menu-title">{{menu.title}}</span> <span @click="active(menu)" class="nav-menu-title nav-font">{{menu.title}}</span>
</span> </span>
<el-collapse-transition> <el-collapse-transition>
<div v-if="menu.open"> <div v-if="menu.open">
<div v-for="(child, key) in menu.children" :key="key" class="func-div"> <div v-for="(child, key) in menu.children" :key="key" class="func-div">
<el-link :disabled="child.disabled" @click="handleClick(child)" class="func-link">{{child.title}}</el-link> <el-link :disabled="child.disabled" @click="handleClick(child)" class="func-link nav-font">{{child.title}}</el-link>
</div> </div>
</div> </div>
</el-collapse-transition> </el-collapse-transition>
@ -220,4 +220,8 @@ export default {
.nav-menu-title:hover { .nav-menu-title:hover {
cursor: pointer; cursor: pointer;
} }
.nav-font {
font-size: 13px;
}
</style> </style>