perf(测试跟踪): 优化脑图创建缺陷页面样式

--user=郭雨琦 优化脑图创建缺陷页面样式
This commit is contained in:
guoyuqi 2022-03-01 11:13:14 +08:00 committed by 刘瑞斌
parent de55c19095
commit 6da82b09ed
1 changed files with 14 additions and 8 deletions

View File

@ -4,13 +4,19 @@
<el-form :model="form" :rules="rules" label-position="right" label-width="80px" ref="form"> <el-form :model="form" :rules="rules" label-position="right" label-width="80px" ref="form">
<el-form-item v-if="!enableThirdPartTemplate" :label="$t('commons.title')" prop="title"> <el-form-item v-if="!enableThirdPartTemplate" :label="$t('commons.title')" prop="title">
<el-input v-model="form.title" autocomplete="off" class="top-input-class"></el-input> <el-row>
<el-tooltip :content="$t('commons.follow')" placement="bottom" effect="dark" v-if="!showFollow"> <el-col :span="22">
<i class="el-icon-star-off" style="color: #783987; font-size: 25px; margin-left: 15px;cursor: pointer;position: relative;top: 5px" @click="saveFollow" /> <el-input v-model="form.title" autocomplete="off" class="top-input-class"></el-input>
</el-tooltip> </el-col>
<el-tooltip :content="$t('commons.cancel')" placement="bottom" effect="dark" v-if="showFollow" > <el-col :span="2">
<i class="el-icon-star-on" style="color: #783987; font-size: 28px; margin-left: 15px; cursor: pointer;position: relative;top: 5px" @click="saveFollow" /> <el-tooltip :content="$t('commons.follow')" placement="bottom" effect="dark" v-if="!showFollow">
</el-tooltip> <i class="el-icon-star-off" style="color: #783987; font-size: 25px; margin-left: 15px;cursor: pointer;position: relative;top: 5px" @click="saveFollow" />
</el-tooltip>
<el-tooltip :content="$t('commons.cancel')" placement="bottom" effect="dark" v-if="showFollow" >
<i class="el-icon-star-on" style="color: #783987; font-size: 28px; margin-left: 15px; cursor: pointer;position: relative;top: 5px" @click="saveFollow" />
</el-tooltip>
</el-col>
</el-row>
</el-form-item> </el-form-item>
<div v-else style="text-align: right; margin-bottom: 5px"> <div v-else style="text-align: right; margin-bottom: 5px">
<el-tooltip :content="$t('commons.follow')" placement="bottom" effect="dark" v-if="!showFollow"> <el-tooltip :content="$t('commons.follow')" placement="bottom" effect="dark" v-if="!showFollow">
@ -461,7 +467,7 @@ export default {
<style scoped> <style scoped>
.top-input-class{ .top-input-class{
width: 95%; width: 100%;
} }
.filed-list { .filed-list {