Commit f360117a by caoyanzhi

调整样式

parent 93366eb9
......@@ -91,7 +91,7 @@
</div>
<div class="form-item" :class="{ 'margin-60': marginSixty }">
<label for="">分组描述</label>
<el-input type="textarea" v-model="tagConfig.textarea" :maxlength="200" placeholder="请输入内容"></el-input>
<el-input type="textarea" v-model="tagConfig.textarea" :maxlength="200" rows="4" placeholder="请输入内容"></el-input>
<span class="textarea-txt">{{ tagConfig.textarea.length }}/200</span>
</div>
<div class="form-item" v-show="tagConfig.isRealTime == 0" :class="{ 'margin-60': marginSixty }">
......@@ -810,11 +810,9 @@ export default {
font-size: 12px;
}
.textarea-txt {
position: relative;
float: right;
top: -16px;
transform: translate(0, 10px);
color: #909399;
left: -24px;
font-size: 12px;
}
}
......
......@@ -2,7 +2,7 @@
<!-- 具体标签 -->
<div class="tag-some-list">
<el-table :data="tableData">
<el-table-column label="标签名称" prop="tagName">
<el-table-column label="标签名称" prop="tagName" min-width="200">
<template slot-scope="scope">
<span class="tag-name">{{ scope.row.tagName }}</span>
<el-tooltip class="item" effect="dark" :content="scope.row.refersh ? '更新标签' : '添加标签'" placement="bottom">
......@@ -11,17 +11,17 @@
</el-tooltip>
</template>
</el-table-column>
<el-table-column label="标签描述" prop="tagDescribe">
<el-table-column label="标签描述" prop="tagDescribe" min-width="500">
<template slot-scope="scope">
<div>{{ scope.row.tagDescribe ? scope.row.tagDescribe : '--' }}</div>
</template>
</el-table-column>
<el-table-column label="是否实时" prop="isActive">
<el-table-column label="是否实时" prop="isActive" min-width="200">
<template slot-scope="scope">
<span> {{ scope.row.isActive == 1 ? '实时' : '非实时' }} </span>
</template>
</el-table-column>
<el-table-column label="操作" v-if="handTag">
<el-table-column label="操作" v-if="handTag" min-width="200">
<template slot-scope="scope">
<!-- <span v-if="scope.row.tagType == 1"> -->
<el-button type="text" @click="editHandTag(scope.row)">编辑</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment