فهرست منبع

fix(style): use wxss-compatible utility classes

xuyunhui 1 هفته پیش
والد
کامیت
15db064738
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/components/dispatch/ScheduleView.vue
  2. 1 1
      src/components/task/TaskListView.vue

+ 1 - 1
src/components/dispatch/ScheduleView.vue

@@ -103,7 +103,7 @@
     </view>
     <!-- 新增排班弹窗 -->
     <view v-if="showModal" class="fixed inset-0 z-50 flex items-center justify-center">
-      <view class="absolute inset-0 bg-black/50" @click="closeModal"></view>
+      <view class="absolute inset-0" style="background-color: rgba(0, 0, 0, 0.5);" @click="closeModal"></view>
       <view class="relative bg-white rounded-2xl w-80 p-4 max-h-[80vh] overflow-y-auto">
         <view class="flex justify-between items-center mb-4">
           <text class="text-base font-semibold text-gray-800">新增排班</text>

+ 1 - 1
src/components/task/TaskListView.vue

@@ -5,7 +5,7 @@
         <view class="flex items-center pr-2">
           <button
             v-if="config.publishPath"
-            class="px-3 py-1.5 bg-primary text-white rounded-lg text-xs flex items-center whitespace-nowrap"
+            class="px-3 py-1 bg-primary text-white rounded-lg text-xs flex items-center whitespace-nowrap"
             @click="goToPublishTask"
           >
             <text class="uni-icons uniui-plusempty mr-1"></text>