付晓文。 1 месяц назад
Родитель
Сommit
ec01cba7b0
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      pages/merchantDish/dish/list.vue

+ 12 - 12
pages/merchantDish/dish/list.vue

@@ -87,11 +87,6 @@
 								:src="item.belong === 'group' ? '/static/merchantDish/groupmeal.png' : '/static/merchantDish/store.png'"
 								mode="heightFix"
 							></image>
-							<view class="check" v-if="batchMode">
-								<view :class="['dot', selectedIds.includes(item.id) ? 'on' : '']">
-									<u-icon v-if="selectedIds.includes(item.id)" name="checkmark" color="#fff" size="20"></u-icon>
-								</view>
-							</view>
 							<view class="thumb-wrap">
 								<image class="thumb" :src="item.image" mode="aspectFill"></image>
 							</view>
@@ -124,6 +119,11 @@
 									</template>
 								</view>
 							</view>
+							<view class="check" v-if="batchMode">
+								<view :class="['dot', selectedIds.includes(item.id) ? 'on' : '']">
+									<u-icon v-if="selectedIds.includes(item.id)" name="checkmark" color="#fff" size="20"></u-icon>
+								</view>
+							</view>
 						</view>
 					</view>
 				</template>
@@ -650,9 +650,9 @@ export default {
 	}
 	.check {
 		display: flex;
-		align-items: flex-start;
-		padding-top: 40rpx;
-		margin-right: 16rpx;
+		align-items: center;
+		margin-left: 16rpx;
+		flex-shrink: 0;
 	}
 	.dot {
 		width: 36rpx;
@@ -772,7 +772,7 @@ export default {
 		color: #666;
 		background: #fff;
 		&.primary {
-			background: #449aff;
+			background: linear-gradient( 89deg, #10ABFE 0%, #2260F6 100%);
 			color: #fff;
 		}
 	}
@@ -841,12 +841,12 @@ export default {
 		border-radius: 36rpx;
 		font-size: 26rpx;
 		&.danger {
-			background: #ff4d4f;
+			background: linear-gradient( 89deg, #10ABFE 0%, #2260F6 100%);
 			color: #fff;
 		}
 		&.outline {
-			border: 1rpx solid #ff4d4f;
-			color: #ff4d4f;
+			border: 1rpx solid #10ABFE;
+			color: #1C7CF9;
 		}
 		&.disabled {
 			background: #f0f0f0;