瀏覽代碼

fix style

Michael Wang 3 年之前
父節點
當前提交
0daad136c6
共有 4 個文件被更改,包括 12 次插入13 次删除
  1. 6 6
      public/styles/style.css
  2. 3 4
      src/App.vue
  3. 1 2
      src/features/Image/Image.vue
  4. 2 1
      src/store.ts

+ 6 - 6
public/styles/style.css

@@ -370,13 +370,13 @@ input::placeholder{
 	float: left;
 }
 /* checkbox // radio */
-input[type="radio"] {
+/* input[type="radio"] {
 	appearance: none;
 	-webkit-appearance: none;
 	outline: none;
 	display: none
-}
-input[type="radio"] + span {
+} */
+/* input[type="radio"] + span {
 	float: left;
 	width: 15px;
 	height: 15px;
@@ -385,8 +385,8 @@ input[type="radio"] + span {
 }
 input[type="radio"]:checked + span {
 	background-position: -16px 0;
-}
-.input-radio label {
+} */
+/* .input-radio label {
 	display: inline-block;
 	padding-right: 100px;
 	cursor: pointer;
@@ -402,7 +402,7 @@ input[type="radio"]:checked + span {
 }
 .input-radio em.checked {
 	color: #3F78B6;
-}
+} */
 /* select // textarea */
 select, input[type="text"], input[type="password"] {
 	background-color: #fff;

+ 3 - 4
src/App.vue

@@ -17,10 +17,9 @@ const route = useRoute();
 
 <style>
 #app {
-  font-family: Avenir, Helvetica, Arial, sans-serif;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-  text-align: center;
+  font-family: "PingFang SC", tahoma, arial, "Hiragino Sans GB", "宋体",
+    sans-serif;
+  /* text-align: center; */
   color: #2c3e50;
 }
 

+ 1 - 2
src/features/Image/Image.vue

@@ -126,8 +126,7 @@
         </td>
       </tr>
       <tr>
-        <th></th>
-        <td>
+        <td colspan="2" style="text-align: center">
           <a href="##" class="start-btn" @click="start">
             <span>开始图片下载</span>
           </a>

+ 2 - 1
src/store.ts

@@ -42,7 +42,8 @@ const handler = function () {
         Object.assign(
           _store,
           JSON.parse(window.localStorage.getItem("store") || "{}"),
-          { config: JSON.parse(JSON.stringify(window.electron.config)) || {} } // use 最新的config
+          { config: JSON.parse(JSON.stringify(window.electron.config)) || {} }, // use 最新的config
+          { pageInputs: {} } // 删除pageInputs
         );
         _inited = true;
       }