Browse Source

feat: 企业小程序订单详情页添加工作视频统计项

- 在打卡数据统计卡片中添加"工作视频"项
- 将统计项布局从3列改为4列平均分配

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname 1 week ago
parent
commit
75ffe15edf
1 changed files with 5 additions and 1 deletions
  1. 5 1
      mini/src/pages/yongren/order/detail/index.tsx

+ 5 - 1
mini/src/pages/yongren/order/detail/index.tsx

@@ -538,7 +538,7 @@ const OrderDetail: React.FC = () => {
          */}
         <View className="card bg-white p-4 mb-4">
           <Text className="font-semibold text-gray-700 mb-3">打卡数据统计</Text>
-          <View className="grid grid-cols-3 gap-2 mb-3">
+          <View className="grid grid-cols-4 gap-2 mb-3">
             <View className="bg-blue-50 rounded-lg p-2 text-center flex flex-col">
               <Text className="text-xs text-gray-600">本月打卡</Text>
               {/* 临时隐藏真实数据:{statistics?.checkinStats.current || 0}/{statistics?.checkinStats.total || 0} */}
@@ -554,6 +554,10 @@ const OrderDetail: React.FC = () => {
               {/* 临时隐藏真实数据:{statistics?.taxVideoStats.current || 0}/{statistics?.taxVideoStats.total || 0} */}
               <Text className="text-lg font-bold text-green-600">100%</Text>
             </View>
+            <View className="bg-orange-50 rounded-lg p-2 text-center flex flex-col">
+              <Text className="text-xs text-gray-600">工作视频</Text>
+              <Text className="text-lg font-bold text-green-600">100%</Text>
+            </View>
           </View>
           {/* 临时注释:查看详细打卡记录按钮 */}
           {/* <View className="flex items-center text-blue-500 text-sm" onClick={handleViewCheckinDetails}>