瀏覽代碼

修复问题

lex 1 年之前
父節點
當前提交
2012452aa9

+ 1 - 1
public/version.json

@@ -1 +1 @@
-{"version":1712838598183}
+{"version":1713500128389}

+ 13 - 10
src/components/TheAuth/index.tsx

@@ -313,16 +313,19 @@ export default defineComponent({
             {/* <NButton round type="primary" onClick={onDownload}>
               下载证书
             </NButton> */}
-            <div
-              class={[styles.btn, styles.btnUp]}
-              style={{
-                cursor: state.step <= 1 ? 'not-allowed' : 'pointer'
-              }}
-              onClick={() => {
-                if (state.step <= 1) return;
-                state.step -= 1;
-                scrollbarRef.value.scrollTo({ top: 0, left: 0 });
-              }}></div>
+            {state.step > 1 && (
+              <div
+                class={[styles.btn, styles.btnUp]}
+                style={{
+                  cursor: state.step <= 1 ? 'not-allowed' : 'pointer'
+                }}
+                onClick={() => {
+                  if (state.step <= 1) return;
+                  state.step -= 1;
+                  scrollbarRef.value.scrollTo({ top: 0, left: 0 });
+                }}></div>
+            )}
+
             <div
               class={[
                 styles.btn,

+ 1 - 0
src/components/card-type/index.tsx

@@ -316,6 +316,7 @@ export default defineComponent({
                 {props.item.type === 'SONG' && (
                   <AudioPlayer
                     content={props.item.content}
+                    cover={props.item.coverImg}
                     previewDisabled={props.disabledMouseHover}
                   />
                 )}

+ 13 - 5
src/views/content-information/content-knowledge/index.module.less

@@ -68,7 +68,7 @@
   display: flex;
   padding: 0 55px 0 0;
   overflow: hidden;
-  gap: 0 32px;
+  gap: 0 24px;
 }
 
 .content {
@@ -100,7 +100,7 @@
 
 
   .directoryList {
-    width: 300px;
+    width: 360px;
     background: #FFFFFF;
     border-radius: 17px;
     flex-shrink: 0;
@@ -132,8 +132,16 @@
     border-radius: 10px;
     font-size: max(17px, 13Px);
 
-    &:hover {
-      background: #F5F6FA;
+    // &:hover {
+    //   background: #F5F6FA;
+    // }
+    &.childItem:hover {
+
+      // background: #E8F4FF;
+
+      .title {
+        color: var(--n-color);
+      }
     }
 
     .title {
@@ -194,7 +202,7 @@
     }
 
     &.childSelect {
-      background: #F5F6FA;
+      background: #E8F4FF;
 
       .title {
         color: var(--n-color);

+ 1 - 1
src/views/content-information/content-music/index.module.less

@@ -101,7 +101,7 @@
   background-color: #fff;
   border-radius: 20px;
   // min-height: 100%;
-  width: calc(100vw - 164px); // min-height: calc(100% - 104px);
+  // width: calc(100vw - 164px); // min-height: calc(100% - 104px);
   // min-height: 100%;
   min-height: calc(100vh - 192px);
 

+ 1 - 1
src/views/natural-resources/components/my-resources/index.tsx

@@ -423,7 +423,7 @@ export default defineComponent({
                   id: null
                 });
               });
-              state.editList.push(...temp);
+              state.editList = [...temp];
               state.uploadStatus = true;
               state.editStatus = false;
             }}

+ 1 - 1
src/views/prepare-lessons/model/source-knowledge/index.module.less

@@ -65,7 +65,7 @@
   display: flex;
   padding: 0 55px 0 0;
   overflow: hidden;
-  gap: 0 32px;
+  gap: 0 16px;
 }
 
 .content {

+ 1 - 1
vite.config.ts

@@ -24,7 +24,7 @@ function resolve(dir: string) {
 // https://vitejs.dev/config/
 // https://github.com/vitejs/vite/issues/1930 .env
 // const proxyUrl = 'https://dev.kt.colexiu.com/';
-const proxyUrl = 'https://test.kt.colexiu.com';
+const proxyUrl = 'https://dev.kt.colexiu.com';
 // const proxyUrl = 'http://192.168.3.14:7989';
 const now = new Date().getTime();
 export default defineConfig(() => {