shenwu 7 months ago
parent
commit
445bb50b94

+ 5 - 1
src/pages/MiniApp/CompConfig/DrawerBox/content.tsx

@@ -121,7 +121,11 @@ const DragItem = () => {
                 </React.Fragment>
                 </React.Fragment>
             })
             })
         }
         }
-
+        {
+            list?.length === 0 && <div className={styles.initBox}>
+                拖动左侧组件至此处
+            </div>
+        }
     </div>
     </div>
 };
 };
 // 定义组件的 Props 类型
 // 定义组件的 Props 类型

+ 8 - 0
src/pages/MiniApp/CompConfig/DrawerBox/index.less

@@ -129,4 +129,12 @@
     &:hover {
     &:hover {
         color: #40a9ff;
         color: #40a9ff;
     }
     }
+}
+.initBox{
+    border: 1px dashed rgb(72, 159, 247);
+    width: 100%;
+    height: calc(18vw /3);
+    display: flex;
+    justify-content: center;
+    align-items: center;
 }
 }

+ 8 - 0
src/pages/MiniApp/PayLog/Short/tableConfig.tsx

@@ -82,6 +82,13 @@ export const columns = (): ProColumns<any>[] => {
             hideInSearch: true,
             hideInSearch: true,
             align: "center",
             align: "center",
         },
         },
+        {
+            title: "下单场景",
+            dataIndex: 'orderCondition',
+            key: "orderCondition",
+            hideInSearch: true,
+            align: "center",
+        },
         {
         {
             title: "支付时间",
             title: "支付时间",
             tooltip: "实际到账时间",
             tooltip: "实际到账时间",
@@ -90,6 +97,7 @@ export const columns = (): ProColumns<any>[] => {
             hideInSearch: true,
             hideInSearch: true,
             align: "center",
             align: "center",
         },
         },
+        
         // 搜索条件
         // 搜索条件
         {
         {
             title: "开始时间",
             title: "开始时间",