mo 2 年之前
父节点
当前提交
2ee1a548fc

+ 1 - 1
src/school/ranking-list/components/day-bang.tsx

@@ -205,7 +205,7 @@ export default defineComponent({
             </div>
             <div style={{ padding: '0 13px', background: '#FFF' }}>
               <div
-                class={styles.searchBand}
+                class={[styles.searchBand, styles.orchestraBand]}
                 onClick={() => {
                   state.showPopoverSubject = true
                 }}

+ 1 - 1
src/school/ranking-list/components/timer-bang.module.less

@@ -13,7 +13,7 @@
     flex-direction: row;
     align-items: center;
     p {
-      max-width: 120px;
+      max-width: 110px;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;

+ 1 - 1
src/views/exercise-record/modals/detail-item.tsx

@@ -63,7 +63,7 @@ export default defineComponent({
       const url =
         window.location.origin + `/orchestra-music-score/colexiu-report.html?id=${props.item.id}`
       postMessage({
-        api: 'openAccompanyWebView',
+        api: 'openWebView',
         content: {
           url: url,
           orientation: 0,

+ 7 - 2
src/views/unit-test/unit-create/unit-Lesson.tsx

@@ -30,7 +30,12 @@ export default defineComponent({
           }
         )
         if (Array.isArray(res?.data)) {
-          data.list = res.data
+          data.list = []
+          res.data.map((item: any) => {
+            if (item.unitTestNum) {
+              data.list.push(item)
+            }
+          })
         }
       } catch (error) {
         console.log(error)
@@ -55,7 +60,7 @@ export default defineComponent({
     }
 
     return () => (
-      <div style={{ paddingTop: '14px' }}>
+      <div style={{ paddingTop: '14px' }} class={'emptyRootContainer'}>
         {data.list.length > 0 ? (
           <Grid gutter={14} columnNum={3} class={styles.grid}>
             {data.list.map((item: any) => {