Przeglądaj źródła

fix(message,mine):大字版数字角标和部门信息显示问题

HMY 1 rok temu
rodzic
commit
958f099927
2 zmienionych plików z 6 dodań i 5 usunięć
  1. 4 3
      pages/message/index.vue
  2. 2 2
      pages/mine/index.vue

+ 4 - 3
pages/message/index.vue

@@ -348,16 +348,17 @@ function setAllMsgRead() {
 	}
 }
 
-.uni-badge {
+::v-deep .uni-badge {
 	height: 1.5rem !important;
+	min-width: calc(1.5rem + 0.5 * (1rem - 16px)) !important;
 	line-height: 1.375rem !important;
 	font-size: 1.125rem !important;
 }
 
 .read_button {
 	position: absolute;
-	top: 12px;
-	right: 38px;
+	top: calc(12px + 0.5 * (1rem - 16px));
+	right: calc(50px + 0.5 * (1rem - 16px));
 	height: 28px;
 	line-height: 28px;
 	font-size: 14px;

+ 2 - 2
pages/mine/index.vue

@@ -31,7 +31,7 @@
 					</view>
 
 				</view>
-				<uni-icons @click="lookMsg()" type="forward" size="16" style="margin-right: 30rpx;"></uni-icons>
+				<uni-icons @click="lookMsg()" type="forward" size="16" margin-left="10px"></uni-icons>
 			</view>
 		</uni-card>
 
@@ -147,7 +147,7 @@
 	.user-info {
 		display: flex;
 		align-items: center;
-		padding: 1rem 4rem;
+		padding: 1rem 3rem;
 		border-bottom: 1rpx solid #666;
 		color: #777;
 	}