소스 검색

feat:任务详情按钮判断

Jake 3 달 전
부모
커밋
12709d655b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      packages/merchant/src/components/bottom-app-bar.vue
  2. 1 1
      packages/merchant/src/pages/home/tasks/detail/index.vue

+ 1 - 1
packages/merchant/src/components/bottom-app-bar.vue

@@ -40,7 +40,7 @@ onMounted(async () => {
       ref="aRef"
       :class="[
         (fixed ?? true)
-          ? 'fixed bottom-0 left-0 right-0 after:content-empty after:w-full after:h-full after:relative z-100'
+          ? 'fixed bottom-0 left-0 right-0 after:content-empty after:w-full after:h-full after:relative '
           : '',
         border ? 'border-t border-t-solid border-[#ececec]' : '',
       ]"

+ 1 - 1
packages/merchant/src/pages/home/tasks/detail/index.vue

@@ -261,7 +261,7 @@ onLoad(async (query: { taskId: string }) => {
       </div>
     </Card>
     <BottomAppBar fixed placeholder>
-      <template v-if="taskDetails?.finalType == 1">
+      <template v-if="taskDetails?.finalType == 1 && taskDetails?.receive">
         <div class="flex items-center justify-between gap-3">
           <div
             class="grow shrink basis-0 px-5 py-3 bg-[#f2f3ff] rounded-md justify-center items-center gap-1 flex"