grid选中
This commit is contained in:
@@ -177,6 +177,9 @@ uni-button:after {
|
|||||||
color: #323232;
|
color: #323232;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
.slide_new table tbody tr.checked td {
|
||||||
|
background-color: #fef6e4;
|
||||||
|
}
|
||||||
|
|
||||||
/** 提交栏 **/
|
/** 提交栏 **/
|
||||||
.submit-bar {
|
.submit-bar {
|
||||||
|
|||||||
@@ -141,4 +141,5 @@
|
|||||||
position sticky
|
position sticky
|
||||||
left 89rpx
|
left 89rpx
|
||||||
z-index 102
|
z-index 102
|
||||||
|
box-shadow 1px 0 2px rgba(0,0,0,.12)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i">
|
<tr v-for="(e, i) in dataList" :key="i" :class="{'checked': e.checked}">
|
||||||
<td>{{Number(i) + 1}}</td>
|
<td>{{Number(i) + 1}}</td>
|
||||||
<td><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)"></span></td>
|
<td><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)"></span></td>
|
||||||
<td>{{e.mfg_order_name}}</td>
|
<td>{{e.mfg_order_name}}</td>
|
||||||
@@ -166,4 +166,5 @@
|
|||||||
position sticky
|
position sticky
|
||||||
left 176rpx
|
left 176rpx
|
||||||
z-index 103
|
z-index 103
|
||||||
|
box-shadow 1px 0 2px rgba(0,0,0,.12)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i">
|
<tr v-for="(e, i) in dataList" :key="i" :class="{'checked': e.checked}">
|
||||||
<td>{{Number(i) + 1}}</td>
|
<td>{{Number(i) + 1}}</td>
|
||||||
<td><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)"></span></td>
|
<td><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)"></span></td>
|
||||||
<td>{{e.mfg_order_name}}</td>
|
<td>{{e.mfg_order_name}}</td>
|
||||||
@@ -187,4 +187,5 @@
|
|||||||
position sticky
|
position sticky
|
||||||
left 176rpx
|
left 176rpx
|
||||||
z-index 103
|
z-index 103
|
||||||
|
box-shadow 1px 0 2px rgba(0,0,0,.12)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i">
|
<tr v-for="(e, i) in dataList" :key="i" :class="{'checked': e.checked}">
|
||||||
<td>{{Number(i) + 1}}</td>
|
<td>{{Number(i) + 1}}</td>
|
||||||
<td><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)"></span></td>
|
<td><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)"></span></td>
|
||||||
<td>{{e.mfg_order_name}}</td>
|
<td>{{e.mfg_order_name}}</td>
|
||||||
@@ -155,4 +155,5 @@
|
|||||||
position sticky
|
position sticky
|
||||||
left 176rpx
|
left 176rpx
|
||||||
z-index 103
|
z-index 103
|
||||||
|
box-shadow 1px 0 2px rgba(0,0,0,.12)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user