Prechádzať zdrojové kódy

Merge branch 'master' of https://git.cocorobo.cn/jack/PPT

lsc 5 dní pred
rodič
commit
33b10d629a

+ 1 - 1
src/views/Student/components/ChoiceStatistics.vue

@@ -284,7 +284,7 @@ const statistics = computed(() => {
 
     .t45_btn{
       position: absolute;
-      right: 15px;
+      right: 18px;
       top: 15px;
       
       span{

+ 20 - 5
src/views/Student/components/ChoiceWorkModal.vue

@@ -22,9 +22,9 @@
             />
           </svg>
 
-          <span style="display: flex;align-items: center;"
-            >{{ item.type == 1 ? "单选题:" : "多选题:"
-            }}<span v-html="renderedFormula(item.teststitle)"></span>
+          <span>
+            <span v-html="renderedFormula(`<span style='color: #3681FC;''>${item.type == 1 ? '(单选题):' : '(多选题):'}</span>${item.teststitle}`)">
+          </span>
           </span>
         </div>
         <div
@@ -375,24 +375,39 @@ const onDragEnd = () => {
 
 .s_b_m_ti_title {
   display: flex;
-  align-items: center;
+  align-items: flex-start;
 }
 
 .s_b_m_ti_title > span:nth-of-type(1) {
   font-size: 30px;
   font-weight: bold;
   color: #3681fc;
+  min-height: 30px;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin-top: -3px;
 }
 
 .s_b_m_ti_title > svg {
   width: 30px;
   height: 30px;
-  margin: 0 20px 0 5px;
+  min-width: 30px;
+  min-height: 30px;
+  margin: 0 10px 0 0px;
 }
 
 .s_b_m_ti_title > span:nth-of-type(2) {
   font-size: 20px;
   font-weight: bold;
+  display: flex;
+  flex-wrap: wrap;
+  align-items: center;
+  min-height: 30px;
+  line-height: 30px;
+  color: #1f1f1f;
+
+
 }
 
 .s_b_m_ti_title > div {