Bläddra i källkod

feat:修改暗黑样式

AmandaG 8 månader sedan
förälder
incheckning
83b9c419b7

+ 2 - 2
src/views/Dashboard/src/components/RecentStatus.vue

@@ -83,7 +83,7 @@ const SubscribeShipments = (val: any) => {
           <span>{{ item.bookingNumber }}</span>
         </div>
       </div>
-      <!-- <div class="recent-header-right">
+      <div class="recent-header-right">
         <el-button
           class="recent_button"
           @click="SubscribeShipments(item)"
@@ -101,7 +101,7 @@ const SubscribeShipments = (val: any) => {
           </span>
           <span class="Subscribe">Subscribe</span>
         </el-button>
-      </div> -->
+      </div>
     </div>
     <div class="recent_content">
       <!-- 左 -->

+ 3 - 16
src/views/Tracking/src/components/TrackingDetail/src/TrackingDetail.vue

@@ -166,9 +166,8 @@ const SubscribeShipments = () => {
             <span class="font_family icon-icon_log_b" style="margin-right: 4px"></span
             >AMS/ISF</el-button
           >
-
-          <!-- <el-button
-            class="recent_button"
+          <el-button
+            class="el-button--default"
             @click="SubscribeShipments"
             :class="is_subscribe ? 'IsSubscribe' : ''"
           >
@@ -183,7 +182,7 @@ const SubscribeShipments = () => {
               </svg>
             </span>
             <span class="Subscribe">Subscribe</span>
-          </el-button> -->
+          </el-button>
         </div>
       </div>
       <div class="detail-info">
@@ -550,18 +549,6 @@ const SubscribeShipments = () => {
   text-overflow: ellipsis; /* 超出部分显示省略号 */
 }
 
-.recent_button {
-  background-color: var(--color-white);
-  border: 1px solid var(--color-border);
-  &:hover {
-    border: 1px solid var(--color-btn-main-plain-bg-hover);
-    background-color: var(--color-btn-main-plain-bg-hover);
-    fill: var(--color-theme);
-    .Subscribe {
-      color: var(--color-theme);
-    }
-  }
-}
 .IsSubscribe {
   border: 1px solid var(--color-theme);
   background-color: var(--color-theme);

+ 2 - 3
src/views/Tracking/src/components/TrackingTable/src/TrackingTable.vue

@@ -627,8 +627,7 @@ defineExpose({
           <span class="font_family icon-icon_vgm_b"></span>
           <span style="font-size: 12px">VGM</span>
         </el-button>
-
-        <!-- <el-button
+        <el-button
           class="recent_button el-button--blue"
           @click="SubscribeShipments(row)"
           :class="row.is_subscribe ? 'IsSubscribe' : ''"
@@ -643,7 +642,7 @@ defineExpose({
               <use xlink:href="#icon-icon_unmark_b"></use>
             </svg>
           </span>
-        </el-button> -->
+        </el-button>
       </template>
       <!-- Transportation Mode字段的插槽 -->
       <template #mode="{ row, column }">