Commit 99464f21 by 杨明

样式

1 parent 865b94db
......@@ -36,7 +36,7 @@
<el-button type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.taskStatus == 1">编辑</el-button>
</div>
<template slot="taskStatus" slot-scope="scope">
<div :class="['task_icon', `task_icon${scope.scope.taskStatus}`]">{{ findStatus(scope.scope.taskStatus) }}</div>
<div :class="['task_icon_status', `task_icon_status${scope.scope.taskStatus}`]">{{ findStatus(scope.scope.taskStatus) }}</div>
</template>
</GLTable>
<div class="tabel-null" v-show="taskNum == 0">
......@@ -301,7 +301,7 @@ export default {
}
}
}
.task_icon {
.task_icon_status {
position: relative;
&::after {
content: '';
......@@ -312,22 +312,22 @@ export default {
height: 6px;
border-radius: 4px;
}
&.task_icon1 {
&.task_icon_status1 {
&::after {
background: #fdb757;
}
}
&.task_icon2 {
&.task_icon_status2 {
&::after {
background: #5850ff;
}
}
&.task_icon3 {
&.task_icon_status3 {
&::after {
background: #5850ff;
}
}
&.task_icon4 {
&.task_icon_status4 {
&::after {
background: #2cca74;
}
......
......@@ -8,7 +8,7 @@
<el-button type="text" @click="goEdit(scope.scope)">编辑</el-button>
</div>
<template slot="taskStatus" slot-scope="scope">
<div :class="['task_icon', `task_icon${scope.scope.taskStatus}`]">{{ taskStatus(scope.scope.taskStatus) }}</div>
<div :class="['task_icon_status', `task_icon_status${scope.scope.taskStatus}`]">{{ taskStatus(scope.scope.taskStatus) }}</div>
</template>
<template slot="phoneCount" slot-scope="scope">
<div class="process-box" v-if="activeIndex == 1">
......@@ -284,7 +284,7 @@ export default {
background: #5850ff;
}
}
.task_icon {
.task_icon_status {
position: relative;
&::after {
content: '';
......@@ -295,22 +295,22 @@ export default {
height: 6px;
border-radius: 4px;
}
&.task_icon1 {
&.task_icon_status1 {
&::after {
background: #fdb757;
}
}
&.task_icon2 {
&.task_icon_status2 {
&::after {
background: #5850ff;
}
}
&.task_icon3 {
&.task_icon_status3 {
&::after {
background: #5850ff;
}
}
&.task_icon4 {
&.task_icon_status4 {
&::after {
background: #2cca74;
}
......
......@@ -30,7 +30,7 @@
<GLCombiForm :rowNumber="1" class="searchForm" ref="detailsSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="detailsTable" :searchForm="searchForm" :pageConf="pageConf" :tableParams="tableParams" :getListApi="getListApi">
<template slot="phoneStatus" slot-scope="scope">
<div :class="['task_icon', `task_icon${scope.scope.phoneStatus}`]">{{ taskStatus(scope.scope.phoneStatus) }}</div>
<div :class="['task_icon_status', `task_icon_status${scope.scope.phoneStatus}`]">{{ taskStatus(scope.scope.phoneStatus) }}</div>
</template>
</GLTable>
</div>
......@@ -235,7 +235,7 @@ export default {
}
</script>
<style scoped lang="scss">
.task_icon {
.task_icon_status {
position: relative;
&::after {
content: '';
......@@ -246,22 +246,22 @@ export default {
height: 6px;
border-radius: 4px;
}
&.task_icon1 {
&.task_icon_status1 {
&::after {
background: #999999;
}
}
&.task_icon2 {
&.task_icon_status2 {
&::after {
background: #fdb757;
}
}
&.task_icon3 {
&.task_icon_status3 {
&::after {
background: #5850ff;
}
}
&.task_icon4 {
&.task_icon_status4 {
&::after {
background: #2cca74;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!