Commit 99464f21 by 杨明

样式

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