Prechádzať zdrojové kódy

评卷时间段icon变色

Michael Wang 3 rokov pred
rodič
commit
c01d8298f3

+ 1 - 1
src/components/QmButton.vue

@@ -3,7 +3,7 @@
   <!-- <template v-for="(_, slot) of $slots" v-slot:[slot]="scope">
       <slot :name="slot" v-bind="scope" />
     </template> -->
-  <a-button v-bind="newAttrs" :loading="inInterval" @click="insideClick">
+  <a-button v-bind="newAttrs" :loading="inInterval.value" @click="insideClick">
     <slot name="default" />
   </a-button>
 </template>

+ 9 - 1
src/features/mark/MarkHeader.vue

@@ -106,7 +106,11 @@
               : "-"
           }}
         </template>
-        <img src="./images/time.png" style="width: 16px; height: 16px" />
+        <img
+          src="./images/time.png"
+          style="width: 16px; height: 16px"
+          class="svg-red-hover"
+        />
       </a-tooltip>
     </div>
     <div class="tw-flex">
@@ -518,6 +522,10 @@ watch(
   filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg)
     brightness(104%) contrast(97%);
 }
+.svg-red-hover:hover {
+  filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg)
+    brightness(104%) contrast(97%);
+}
 .triangle {
   background-color: white;
   width: 10px;

+ 0 - 14
src/features/mark/images/assitant.svg

@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="10px" height="12px" viewBox="0 0 10 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch -->
-    <title>小助手-默认</title>
-    <desc>Created with Sketch.</desc>
-    <defs></defs>
-    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.5">
-        <g id="评卷-示例3" transform="translate(-1058.000000, -22.000000)" fill="#FFFFFF">
-            <g id="小助手" transform="translate(1058.000000, 22.000000)">
-                <path d="M1.72075922,-2.42359712e-14 L2,-2.49800181e-14 C2.55228475,-2.65530533e-14 3,0.44771525 3,1 L3,1 C3,1.55228475 3.44771525,2 4,2 L6,2 C6.55228475,2 7,1.55228475 7,1 L7,1 C7,0.44771525 7.44771525,-2.78761672e-14 8,-2.79776202e-14 L8.27924078,-2.68673972e-14 C8.70967119,-2.6946466e-14 9.09181003,0.275430095 9.22792408,0.683772234 L9.9486833,2.84604989 C9.98267212,2.94801636 10,3.05479556 10,3.16227766 L10,6.46481624 C10,6.79916943 9.83289886,7.11140076 9.5547002,7.29686654 L7.4452998,8.70313346 C7.16710114,8.88859924 7,9.20083057 7,9.53518376 L7,11 C7,11.5522847 6.55228475,12 6,12 L4,12 C3.44771525,12 3,11.5522847 3,11 L3,9.53518376 C3,9.20083057 2.83289886,8.88859924 2.5547002,8.70313346 L0.445299804,7.29686654 C0.167101135,7.11140076 5.21137287e-16,6.79916943 7.77156117e-16,6.46481624 L0,3.16227766 C3.45688785e-17,3.05479556 0.017327879,2.94801636 0.0513167019,2.84604989 L0.772075922,0.683772234 C0.908189968,0.275430095 1.29032881,-2.29768962e-14 1.72075922,-2.42028619e-14 Z"></path>
-            </g>
-        </g>
-    </g>
-</svg>

+ 0 - 14
src/features/mark/images/track-mode.svg

@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="11px" height="12px" viewBox="0 0 11 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch -->
-    <title>轨迹模式-默认</title>
-    <desc>Created with Sketch.</desc>
-    <defs></defs>
-    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.5">
-        <g id="评卷-示例3" transform="translate(-935.000000, -22.000000)" fill="#FFFFFF">
-            <g id="轨迹模式" transform="translate(935.000000, 22.000000)">
-                <path d="M1,0 L3,0 C3.55228475,-1.01453063e-16 4,0.44771525 4,1 L4,3 C4,3.55228475 3.55228475,4 3,4 L1,4 C0.44771525,4 6.76353751e-17,3.55228475 0,3 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z M6,0 L10,0 C10.5522847,-1.01453063e-16 11,0.44771525 11,1 L11,11 C11,11.5522847 10.5522847,12 10,12 L6,12 C5.44771525,12 5,11.5522847 5,11 L5,1 C5,0.44771525 5.44771525,1.01453063e-16 6,0 Z M1,5 L3,5 C3.55228475,5 4,5.44771525 4,6 L4,11 C4,11.5522847 3.55228475,12 3,12 L1,12 C0.44771525,12 6.76353751e-17,11.5522847 0,11 L0,6 C-6.76353751e-17,5.44771525 0.44771525,5 1,5 Z"></path>
-            </g>
-        </g>
-    </g>
-</svg>