Jelajahi Sumber

网络重连样式修改

黄琪勇 11 bulan lalu
induk
melakukan
65b9656dd3

TEMPAT SAMPAH
src/view/abnormal-pop/icon_btn.png


+ 0 - 31
src/view/abnormal-pop/icon_btn.svg

@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="104px" height="32px" viewBox="0 0 104 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <title>查看报告备份 5</title>
-    <defs>
-        <linearGradient x1="2.90034287%" y1="45.0839481%" x2="100%" y2="54.5984817%" id="linearGradient-1">
-            <stop stop-color="#31C5FF" offset="0%"></stop>
-            <stop stop-color="#1294FF" offset="100%"></stop>
-        </linearGradient>
-        <text id="text-2" font-family="PingFangSC-Semibold, PingFang SC" font-size="14" font-weight="500" fill="#FFFFFF">
-            <tspan x="24.5" y="21">重新连接</tspan>
-        </text>
-        <filter x="-3.6%" y="-5.0%" width="107.1%" height="120.0%" filterUnits="objectBoundingBox" id="filter-3">
-            <feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
-            <feGaussianBlur stdDeviation="0.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
-            <feColorMatrix values="0 0 0 0 0   0 0 0 0 0.455105392   0 0 0 0 0.751613451  0 0 0 0.788188374 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
-        </filter>
-    </defs>
-    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
-        <g id="18、练习模式-网络连接失败" transform="translate(-354.000000, -216.000000)">
-            <g id="编组-5备份" transform="translate(316.000000, 126.000000)">
-                <g id="查看报告备份-5" transform="translate(38.000000, 90.000000)">
-                    <rect id="button-normal" fill="url(#linearGradient-1)" x="4.5" y="0" width="96" height="32" rx="16"></rect>
-                    <g id="重新连接" fill="#FFFFFF" fill-opacity="1">
-                        <use filter="url(#filter-3)" xlink:href="#text-2"></use>
-                        <use xlink:href="#text-2"></use>
-                    </g>
-                </g>
-            </g>
-        </g>
-    </g>
-</svg>

+ 7 - 4
src/view/abnormal-pop/index.module.less

@@ -20,14 +20,14 @@
     }
     .content {
         .title {
-            font-size: 16px;
+            font-size: 18px;
             font-family: PingFangSC, PingFang SC;
-            font-weight: 500;
+            font-weight: 600;
             color: #fff;
             text-align: center;
         }
         .desc {
-            font-size: 14px;
+            font-size: 15px;
             font-family: PingFangSC, PingFang SC;
             font-weight: 400;
             color: rgba(255, 255, 255, 0.8);     
@@ -36,8 +36,11 @@
         }
     }
     .btn {
-        width: 104px;
+        width: 97px;
         height: 32px;
+        &:active{
+            opacity: 0.8;
+        }
     }
 }
 

+ 1 - 1
src/view/evaluating/index.tsx

@@ -45,7 +45,7 @@ import AbnormalPop from "../abnormal-pop";
 import { storeData } from "../../store";
 import icon_bg from "../abnormal-pop/icon_bg.svg";
 import icon_close from "../abnormal-pop/icon_close.svg";
-import icon_btn from "../abnormal-pop/icon_btn.svg";
+import icon_btn from "../abnormal-pop/icon_btn.png";
 import icon_success from "../abnormal-pop/icon_success.svg";
 import { data } from "../../page-instrument/custom-plugins/work-index";
 import { startCountdown } from "/src/page-instrument/evaluat-model/countdown";