shaogen1995 hace 1 año
padre
commit
ee168e4c6d
Se han modificado 3 ficheros con 24 adiciones y 4 borrados
  1. 1 1
      src/pages/A1video/A1add/index.tsx
  2. 20 1
      src/pages/A5goods/index.tsx
  3. 3 2
      src/pages/A6hot/index.tsx

+ 1 - 1
src/pages/A1video/A1add/index.tsx

@@ -133,7 +133,7 @@ function A1add({ addId, closeFu, addTableFu, type }: Props) {
                 format={["image/jpeg", "image/png"]}
                 formatTxt="png、jpg和jpeg"
                 checkTxt="请上传封面图"
-                upTxt="最多1张"
+                upTxt="最多1张,建议比例:6480*1920"
                 myType="thumb"
               />
             </div>

+ 20 - 1
src/pages/A5goods/index.tsx

@@ -34,6 +34,7 @@ function A5goods() {
     searchKey: "",
     dictType: "",
     dictLevel: "",
+    type: "",
   });
 
   const getListFu = useCallback(() => {
@@ -67,6 +68,7 @@ function A5goods() {
       searchKey: "",
       dictType: "",
       dictLevel: "",
+      type: "",
     });
   }, []);
 
@@ -126,7 +128,7 @@ function A5goods() {
             <span>级别:</span>
             <Select
               placeholder="请选择"
-              style={{ width: 200 }}
+              style={{ width: 150 }}
               value={fromData.dictLevel}
               onChange={(e) =>
                 setFromData({ ...fromData, dictLevel: e, pageNum: 1 })
@@ -140,6 +142,23 @@ function A5goods() {
             />
           </div>
 
+          <div>
+            <span>类别:</span>
+            <Select
+              placeholder="请选择"
+              style={{ width: 150 }}
+              value={fromData.type}
+              onChange={(e) =>
+                setFromData({ ...fromData, type: e, pageNum: 1 })
+              }
+              options={[
+                { value: "", label: "全部" },
+                { value: "3D", label: "三维文物" },
+                { value: "2D", label: "二维文物" },
+              ]}
+            />
+          </div>
+
           {/* <div>
             <span>类别:</span>
             <Select

+ 3 - 2
src/pages/A6hot/index.tsx

@@ -37,7 +37,7 @@ function A6hot() {
     const myChart1 = echarts.getInstanceByDom(dom) || echarts.init(dom);
     const option1 = {
       grid: {
-        left: "-40", //距左边边框的距离
+        left: "15", //距左边边框的距离
         right: "0%", //距右边边框的距离
         bottom: "10", //距下面边框的距离
         top: "15", //距上面边框的距离
@@ -54,7 +54,7 @@ function A6hot() {
           show: false, //隐藏刻度线
         },
         axisLabel: {
-          show: false, //隐藏X轴文字
+          // show: false, //隐藏X轴文字
         },
       },
       yAxis: {
@@ -98,6 +98,7 @@ function A6hot() {
           value: v.pcsStar,
         });
       });
+
       echartsFu1(echartsRef1.current!, data1);
     }