lex-xin 8 months ago
parent
commit
8fb94df446

+ 3 - 3
src/views/xiaoku-list/detail.module.less

@@ -32,7 +32,7 @@
 
     .n-tabs-tab {
       color: #8b8d98;
-      font-size: max(20px, 14px);
+      font-size: max(20px, 15Px);
       padding-top: 8px;
       padding-bottom: 8px;
       line-height: 28px;
@@ -103,7 +103,7 @@
 }
 
 .searchGroup {
-  background: #f7f8f9;
+  background: #f5f6f7;
   border-radius: 12px;
   padding: 20px 24px 30px;
   position: relative;
@@ -403,7 +403,7 @@
   padding: 20px;
   border-radius: 12px;
   width: 402px;
-  background: #f7f8f9;
+  background: #f5f6f7;
   cursor: pointer;
   transition: all .2s ease;
   border: 2px solid #f7f8f9;

+ 1 - 1
src/views/xiaoku-list/detail.tsx

@@ -234,7 +234,7 @@ export default defineComponent({
     };
 
     const iframeHandle = (ev: MessageEvent) => {
-      if (ev.data?.api === 'onAttendToggleMenu') {
+      if (ev.data?.api === 'back') {
         exitFullscreen();
         state.previewModal = !state.previewModal;
       }

BIN
src/views/xiaoku-list/images/search-bg.png


+ 2 - 1
src/views/xiaoku-list/index.tsx

@@ -191,7 +191,8 @@ export default defineComponent({
     };
 
     const iframeHandle = (ev: MessageEvent) => {
-      if (ev.data?.api === 'onAttendToggleMenu') {
+      console.log(ev.data)
+      if (ev.data?.api === 'back') {
         exitFullscreen();
         state.previewModal = !state.previewModal;
       }