Browse Source

feat:任务详情按钮判断

Jake 3 tháng trước cách đây
mục cha
commit
12709d655b

+ 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"