表单穿梭框,并且点击某一行字体变色

<template>
    <el-row :gutter="20">
        <el-col :span="11" class="left_col">
            <!-- <el-input
          class="input"
          v-if="showSearch"
          v-model="searchLeft"
          placeholder="请输入搜索内容"
        ></el-input> -->
            <div class="title">选项合集</div>
            <el-table :data="leftData" @selection-change="handleLeftSelectionChange"
                :header-cell-style="{ background: '#F2F6FF', color: '#6D769B' }" :row-class-name="rowLeftStyle">
                <el-table-column type="selection" width="50" align="center" fixed="left" />

                <div v-for="(item, index) in columns" :key="index">
                    <el-table-column v-if="item.visible" :label="item.label" align="center" :prop="item.key" />
                </div>
            </el-table>
        </el-col>
        <el-col :span="2" class="btns">
            <el-button class="btn" :disabled="leftMultiple" type="primary" icon="el-icon-right" @click="moveToRight"
                circle></el-button>
            <el-button class="btn" :disabled="rightMultiple" type="primary" @click="moveToLeft" icon="el-icon-back"
                circle></el-button>
        </el-col>
        <el-col :span="11" class="right_col">
            <!-- <el-input
          class="input"
          v-if="showSearch"
          v-model="searchRight"
          placeholder="请输入搜索内容"
        ></el-input> -->
            <div class="title">已选择属性</div>
            <el-table :data="rightData" :header-cell-style="{ background: '#F2F6FF', color: '#6D769B' }"
                @selection-change="handleRightSelectionChange"
                :row-class-name="rowRightStyle"
                >
                <el-table-column type="selection" width="50" align="center" fixed="left" />

                <div v-for="(item, index) in columns" :key="index">
             
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值