mo hai 1 ano
pai
achega
cf7597f52b

+ 4 - 0
src/views/tenantAllData/index.module.less

@@ -207,6 +207,10 @@
 .refreshD {
   min-height: calc(100vh - var(--header-height)- 105);
 }
+.top {
+  background-color: #f6f8f9;
+  padding: 0 12px;
+}
 .timerWrap {
   font-size: 14px;
   // width: 64px;

+ 4 - 2
src/views/tenantAllData/index.tsx

@@ -180,7 +180,8 @@ export default defineComponent({
     return () => (
       <div class={styles.tenantAllData}>
         {/* <OHeader isBack={false} /> */}
-
+        <MSticky position='top'>
+          <div class={styles.top}>
             <div class={styles.topWrap}>
               <div class={styles.topHead}>
                 <img src={topDot} class={styles.topDot} alt="" />
@@ -256,7 +257,8 @@ export default defineComponent({
                 />
               </div>
             </div>
-
+            </div>
+          </MSticky>
 
         <div class={styles.schoolList}>
           {showContact.value ? (

+ 6 - 2
src/views/tenantAllData/tenamtDataDetail.tsx

@@ -177,7 +177,8 @@ export default defineComponent({
     return () => (
       <div class={styles.tenantAllData}>
         {/* <OHeader /> */}
-
+      <MSticky position='top'>
+      <div class={styles.top}>
         <div class={styles.topWrap}>
           <div class={styles.topHeadSchool} onClick={()=>forms.classStatus= true}>
 
@@ -254,13 +255,16 @@ export default defineComponent({
               alt=""
             />
           </div>
+
+        </div>
         </div>
+        </MSticky>
         <div class={styles.schoolList}>
           {showContact.value ? (
             <OFullRefresh
               v-model:modelValue={refreshing.value}
               onRefresh={onRefresh}
-              class={styles.refreshC}>
+              class={styles.refreshD}>
               <List
                 loading-text=" "
                 finished={finished.value}