Commit 36dd872f by 无尘

fix: 修改拖拽

parent 3fa82872
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 16:51:22 * @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-14 11:09:40 * @LastEditTime: 2020-09-14 11:17:11
--> -->
<template> <template>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
style="width: 100%"> style="width: 100%">
<el-table-column v-show="currentClassify === '' && searchVal === ''" prop="" label="" width="56" class-name="move-row-cell"> <el-table-column v-show="currentClassify === '' && searchVal === ''" prop="" label="" width="56" class-name="move-row-cell">
<template> <template>
<span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span> <span :class="['font-22 iconfont icontuozhuaiopen color-c0c4cc', searchVal === '' && currentClassify === '' ? 'show-icon' : 'hide-icon']" style="cursor: move;"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -457,7 +457,7 @@ export default { ...@@ -457,7 +457,7 @@ export default {
display: none; display: none;
} }
&:hover { &:hover {
.icontuozhuaiopen { .show-icon {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-27 10:16:37 * @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-14 11:09:30 * @LastEditTime: 2020-09-14 11:15:44
--> -->
<template> <template>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
style="width: 100%"> style="width: 100%">
<el-table-column v-show="searchVal === '' && classifyId === ''" prop="" label="" width="56" class-name="move-row-cell"> <el-table-column v-show="searchVal === '' && classifyId === ''" prop="" label="" width="56" class-name="move-row-cell">
<template> <template>
<span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span> <span :class="['font-22 iconfont icontuozhuaiopen color-c0c4cc', searchVal === '' && classifyId === '' ? 'show-icon' : 'hide-icon']" style="cursor: move;"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -417,7 +417,7 @@ export default { ...@@ -417,7 +417,7 @@ export default {
display: none; display: none;
} }
&:hover { &:hover {
.icontuozhuaiopen { .show-icon {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
......
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