grid选中

This commit is contained in:
2022-10-15 14:33:05 +08:00
parent 08d1d2ba58
commit 31aebcb278
5 changed files with 10 additions and 3 deletions

View File

@@ -177,6 +177,9 @@ uni-button:after {
color: #323232;
background: #fff;
}
.slide_new table tbody tr.checked td {
background-color: #fef6e4;
}
/** 提交栏 **/
.submit-bar {

View File

@@ -141,4 +141,5 @@
position sticky
left 89rpx
z-index 102
box-shadow 1px 0 2px rgba(0,0,0,.12)
</style>

View File

@@ -53,7 +53,7 @@
</tr>
</thead>
<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><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)">&#xe66b;</span></td>
<td>{{e.mfg_order_name}}</td>
@@ -166,4 +166,5 @@
position sticky
left 176rpx
z-index 103
box-shadow 1px 0 2px rgba(0,0,0,.12)
</style>

View File

@@ -53,7 +53,7 @@
</tr>
</thead>
<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><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)">&#xe66b;</span></td>
<td>{{e.mfg_order_name}}</td>
@@ -187,4 +187,5 @@
position sticky
left 176rpx
z-index 103
box-shadow 1px 0 2px rgba(0,0,0,.12)
</style>

View File

@@ -43,7 +43,7 @@
</tr>
</thead>
<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><span class="iconfont icon_unchecked" :class="{'icon_checked': e.checked}" @tap="toCheck(e)">&#xe66b;</span></td>
<td>{{e.mfg_order_name}}</td>
@@ -155,4 +155,5 @@
position sticky
left 176rpx
z-index 103
box-shadow 1px 0 2px rgba(0,0,0,.12)
</style>