lex 2 rokov pred
rodič
commit
1102de7e6a

+ 1 - 2
src/school/approval-manage/subsidy/exercise-detail.tsx

@@ -38,8 +38,7 @@ export default defineComponent({
         .post(`${state.platformApi}/schoolWeekSalaryRecord/detailInfo/course`, {
           data: {
             ...route.query
-          },
-          hideLoading: refreshing.value
+          }
         })
         .then((res: any) => {
           data.record = res?.data || {}

+ 1 - 5
src/views/follow-account/index.module.less

@@ -1,9 +1,4 @@
 .btnHeader {
-  position: fixed;
-  top: 0;
-  left: 0;
-  z-index: 99;
-  width: 100%;
   display: flex;
   align-items: center;
   height: var(--van-nav-bar-height);
@@ -15,6 +10,7 @@
     z-index: 9;
   }
 }
+
 .followAccount {
   position: relative;
   min-height: 100vh;

+ 11 - 9
src/views/mine-orchestra/my-photo/index.tsx

@@ -128,13 +128,14 @@ export default defineComponent({
         >
           <OHeader />
         </OSticky>
-        <OSticky
-          offsetTop={`var(--header-height)`}
-          onGetHeight={(height: number) => {
-            document.documentElement.style.setProperty('--header-cellGroup', height + 'px')
-          }}
-        >
-          {data.schoolList.length > 0 && (
+
+        {data.schoolList.length > 0 && (
+          <OSticky
+            offsetTop={`var(--header-height)`}
+            onGetHeight={(height: number) => {
+              document.documentElement.style.setProperty('--header-cellGroup', height + 'px')
+            }}
+          >
             <div
               style={{
                 overflow: 'hidden'
@@ -154,8 +155,9 @@ export default defineComponent({
                 </Cell>
               </CellGroup>
             </div>
-          )}
-        </OSticky>
+          </OSticky>
+        )}
+
         <OFullRefresh v-model={data.refreshing} onRefresh={() => getList()}>
           <div class={[styles.phoneDetail]}>
             {!data.loading && !!data.list.length && (

+ 1 - 2
src/views/mine-orchestra/photo-list/detail.tsx

@@ -63,8 +63,7 @@ export default defineComponent({
           data: {
             ...data.pages,
             orchestraPhotoAlbumId: route.query.photoId
-          },
-          hideLoading: data.refreshing
+          }
         })
         if (Array.isArray(res?.data?.rows)) {
           data.list = data.list.concat(res.data.rows)

+ 1 - 0
src/views/unit-test/index.tsx

@@ -191,6 +191,7 @@ export default defineComponent({
             form.listState.height = height
           }}
         >
+          <OHeader border={false} />
           <OSearch
             placeholder="请输入测验名称"
             // inputBackground="white"