skyblued 2 سال پیش
والد
کامیت
8899115aa1
2فایلهای تغییر یافته به همراه9 افزوده شده و 11 حذف شده
  1. 8 10
      src/school/approval-manage/subsidy/exercise-detail.tsx
  2. 1 1
      src/school/approval-manage/subsidy/index.tsx

+ 8 - 10
src/school/approval-manage/subsidy/exercise-detail.tsx

@@ -133,23 +133,21 @@ export default defineComponent({
         </OFullRefresh>
         <Popup
           v-model:show={modelData.show}
-          position="right"
+          position="bottom"
+          closeable
           style={{
             width: '100vw',
+            height: '80vh',
             '--van-popup-background': 'rgba(246,246,246,1)',
-            '--van-nav-bar-icon-color': '#333'
+            '--van-nav-bar-icon-color': '#333',
+            '--van-popup-close-icon-margin':
+              'calc(var(--van-nav-bar-height) / 2 - var(--van-popup-close-icon-size) / 2)'
           }}
         >
-          <NavBar
-            leftArrow
-            title="补助明细"
-            onClickLeft={() => {
-              modelData.show = false
-            }}
-          />
+          <NavBar title="补助明细" />
           <div
             style={{
-              height: 'calc(100vh - var(--van-nav-bar-height))',
+              height: 'calc(80vh - var(--van-nav-bar-height))',
               overflow: 'hidden',
               'overflow-y': 'auto'
             }}

+ 1 - 1
src/school/approval-manage/subsidy/index.tsx

@@ -59,7 +59,7 @@ export default defineComponent({
         >
           <div class={styles.wrap}>
             <div class={styles.item}>
-              <Cell center isLink>
+              <Cell center>
                 {{
                   title: () => (
                     <div class={styles.itemTitle}>