heyang 2 年之前
父节点
当前提交
d977213d95
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      pages/safetyExamineWorkbench.vue

+ 5 - 3
pages/safetyExamineWorkbench.vue

@@ -244,9 +244,9 @@ export default {
 				position: relative;
 				>text{
 					position:absolute;
-					width: 30rpx;
-					height: 30rpx;
-					border-radius:50%;
+					min-width: 30rpx;
+					min-height: 30rpx;
+					border-radius:54%;
 					background: #E80000;
 					font-size: 18rpx;
 					font-family: PingFang SC-Medium, PingFang SC;
@@ -255,6 +255,8 @@ export default {
 					text-align: center;
 					line-height: 30rpx;
 					margin-left: 6rpx;
+					padding:2rpx;
+					box-sizing: border-box;
 				}
 				&.on{
 					color:#0183FA;