Browse Source

修改样式

lex 1 year ago
parent
commit
fe5157e115

+ 12 - 4
src/views/co-ai/index.module.less

@@ -358,9 +358,9 @@
 
   .iconType {
     position: absolute;
-    width: 27px;
-    height: 16px;
-    left: calc(7.2vw - 27px);
+    width: 28px;
+    height: 14px;
+    right: 0;
     top: 0;
     z-index: 9;
 
@@ -376,6 +376,7 @@
   }
 
   .musicAvtor {
+    position: relative;
     display: block;
     width: 7.2vw;
     height: 7.2vw;
@@ -383,11 +384,18 @@
     object-fit: cover;
     flex-shrink: 0;
     margin-right: 1vw;
+    overflow: hidden;
+  }
+
+  .titleImg {
+    width: 100%;
+    height: 100%;
     opacity: 0;
     transition: opacity 0.3s;
+    border-radius: 10px;
   }
 
-  .musicAvtor[loaded='true'] {
+  .titleImg[loaded='true'] {
     opacity: 1;
   }
 

+ 1 - 0
src/views/co-ai/index.tsx

@@ -657,6 +657,7 @@ export default defineComponent({
                             styles[item.paymentType]
                           ]}></i>
                         <img
+                          class={styles.titleImg}
                           src={item.titleImg}
                           onLoad={(e: Event) => {
                             const el = e.target as HTMLImageElement;

+ 1 - 1
src/views/courseware-list/component/book/index.tsx

@@ -65,7 +65,7 @@ export default defineComponent({
       isClick: false,
       coursewareList: [] as any
     });
-    const showSelectCourseware = ref(false);
+    // const showSelectCourseware = ref(false);
     const showGuide = ref(false);
     const isend = ref(false);
     const step = ref(0);

+ 1 - 1
vite.config.ts

@@ -16,7 +16,7 @@ function resolve(dir: string) {
 // const proxyUrl = 'https://test.lexiaoya.cn/';
 // const proxyUrl = 'https://kt.colexiu.com/';
 // const proxyUrl = 'http://192.168.3.143:7093/';
-const proxyUrl = 'https://test.kt.colexiu.com/';
+const proxyUrl = 'https://dev.kt.colexiu.com/';
 export default defineConfig({
   base: './',
   plugins: [