lex 8 ماه پیش
والد
کامیت
41639ff44b
3فایلهای تغییر یافته به همراه21 افزوده شده و 14 حذف شده
  1. 14 10
      src/views/activity-record/detail.module.less
  2. 6 3
      src/views/activity-record/detail.tsx
  3. 1 1
      vite.config.ts

+ 14 - 10
src/views/activity-record/detail.module.less

@@ -623,7 +623,7 @@
   .codeImg {
     position: relative;
     width: 315px;
-    height: 480px;
+    // height: 480px;
     z-index: 9;
     // background: url('./images/week/popup-week-banner.png') no-repeat top center;
     // background-size: contain;
@@ -645,7 +645,7 @@
     &.teacherCodeImg {
       // background: url('./images/month/popup-week-banner.png') no-repeat top center;
       // background-size: contain;
-      background-color: #ffffff;
+      background-color: #AFEEDD;
     }
 
     .headerContantPopup {
@@ -689,7 +689,7 @@
     .codeContent {
       position: relative;
       background-color: #fff;
-      margin: 176px 24px 28px;
+      margin: 162px 24px 28px;
       border-radius: 16px;
       padding-bottom: 18px;
 
@@ -712,23 +712,27 @@
         color: #000000;
         line-height: 22px;
         font-size: 16px;
+        // padding: 0 25px;
+        padding-left: 25px;
+        padding-right: 25px;
       }
 
       .shareName {
         padding-top: 4px;
         font-size: 14px;
-
         font-weight: 600;
         color: #1b93ff;
         line-height: 20px;
         text-align: center;
-        padding-bottom: 12px;
+        padding-bottom: 10px;
+        padding-left: 25px;
+        padding-right: 25px;
       }
 
       .shareBottom {
-        width: 194px;
-        height: 38px;
-        margin: 16px auto 0;
+        width: 175px;
+        height: 35px;
+        margin: 10px auto 0;
         display: block;
       }
 
@@ -791,10 +795,10 @@
 
   .codeBottom {
     position: relative;
-    margin-top: 32px;
+    margin-top: 22px;
     background: #ffffff;
     border-radius: 20px 20px 0px 0px;
-    padding-bottom: 10px;
+    // padding-bottom: 10px;
   }
 
   .title {

+ 6 - 3
src/views/activity-record/detail.tsx

@@ -323,7 +323,7 @@ export default defineComponent({
           style={{
             '--bar-height': state.navBarHeight + 'px'
           }}>
-          {browser().isApp ? (
+          {!browser().isApp ? (
             <>
               <div
                 class={styles.fixWrap}
@@ -632,10 +632,13 @@ export default defineComponent({
                     objectFit: 'cover'
                   }}
                 />
-                <div class={styles.schoolName}>
+                <div class={[styles.schoolName, 'van-multi-ellipsis--l2']}>
                   {forms.headerDetail?.cooperationOrganName || '--'}
+                  武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校武昌学校
+                </div>
+                <div class={[styles.shareName, 'van-ellipsis']}>
+                  {forms.headerDetail.name}
                 </div>
-                <div class={styles.shareName}>{forms.headerDetail.name}</div>
                 <div class={styles.codeQr}>
                   <Image src={popupQrcodeBg} class={styles.popupQrcodeBg} />
                   <MQrcode

+ 1 - 1
vite.config.ts

@@ -13,7 +13,7 @@ function resolve(dir: string) {
 }
 // https://vitejs.dev/config/
 // https://github.com/vitejs/vite/issues/1930 .env
-const proxyUrl = 'https://dev.dayaedu.com/';
+const proxyUrl = 'https://test.gym.lexiaoya.cn/';
 export default defineConfig({
   base: './',
   plugins: [