Browse Source

修改样式

SanHQin 3 days ago
parent
commit
17cfdeccb1
1 changed files with 14 additions and 9 deletions
  1. 14 9
      src/views/Student/components/ChoiceStatistics.vue

+ 14 - 9
src/views/Student/components/ChoiceStatistics.vue

@@ -24,7 +24,8 @@
 						<div class="t45_list">
 							<div class="t45_l_item" v-for="(i,index2) in item.checkList" :key="index+'_'+index2">
 								<div class="t45_l_i_option">
-									<span>{{ i.index }}:</span>
+									<span>{{ i.index }}</span>
+                  <span>:</span>
 									<div>
 										<div :style="{width:i.proportion}"></div>
 									</div>
@@ -266,13 +267,14 @@ const statistics = computed(() => {
 		border-radius: 8px;
 		border: 1px solid #e9ecef;
 		box-sizing: border-box;
-		padding: 16px;
+		padding: 15px;
     position: relative;
+    padding-bottom: 21px;
 		.t45_title{
 			width: 100%;
 			display: flex;
 			// align-items: center;
-      margin-top: 5px;
+      margin-top: 25px;
 			margin-bottom: 5px;
 			span{
 				font-size: 16px;
@@ -282,8 +284,8 @@ const statistics = computed(() => {
 
     .t45_btn{
       position: absolute;
-      right: 5px;
-      top: 3px;
+      right: 15px;
+      top: 15px;
       
       span{
         font-size: 12px;
@@ -305,14 +307,17 @@ const statistics = computed(() => {
 				justify-content: space-between;
 				span{
 					display: flex;
-					width: 40px;
-					&:nth-of-type(1){
-						width: 20px;
+					width: 50px;
+          &:nth-child(1){
+            width: 20px;
+          }
+					&:nth-of-type(2){
+						width: 10px;
 					}
 				}
 				&>div{
 					margin: 0 5px;
-					width: calc(100% - 10px - 20px - 40px);
+					width: calc(100% - 10px - 20px - 50px - 10px);
 					height: 15px;
 					background-color: #FFFFFF;
 					// box-sizing: border-box;