@dayan_hjm лет назад: 2
Родитель
Сommit
e5c780807a

+ 3 - 3
config/webpack.common.js

@@ -87,7 +87,7 @@ module.exports = {
87 87
           loader: "url-loader",
88 88
           options: /* 加载器相关的配置项 */ {
89 89
             name: 'static/[name].[ext]',
90
-            limit: /* <=limit的图片转换成base64 */ 10000,
90
+            limit: /* <=limit的图片转换成base64 */ 1000000,
91 91
             mimetype: "gif",
92 92
             fallback: 'file-loader',
93 93
             publicPath: '../../' //采用根路径
@@ -123,8 +123,8 @@ module.exports = {
123 123
         use: [{
124 124
           loader: 'file-loader',
125 125
           options: {
126
-            name: name_+'static/[name].[ext]',
127
-            publicPath: '../../'
126
+            name: 'static/[name].[ext]',
127
+            publicPath: './',
128 128
           },
129 129
         }],
130 130
       },

BIN
src/assets/imgs/dataVImg/guanghuan.png


BIN
src/assets/imgs/dataVImg/wuQuanXuan.png


BIN
src/assets/imgs/dataVImg/wuQuanXuan2.png


+ 3 - 2
src/pages/gvc/view.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm  产供销价值链
3 3
  * @Date: 2023-11-10 10:19:34 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-22 16:24:19
5
+ * @Last Modified time: 2023-11-23 10:27:14
6 6
  */
7 7
 
8 8
 import React, { useState, useEffect, Component } from "react";
@@ -23,6 +23,7 @@ import {
23 23
   updateTimeService
24 24
 } from "./api";
25 25
 import MapViewTwo from "./component/mapView2.jsx";
26
+import mpVideoGvc from "@assets/imgs/dataVimg/videoGvc2.mp4";
26 27
 
27 28
 import 'animate.css';
28 29
 import { get } from "lodash";
@@ -383,7 +384,7 @@ class Gvc extends Component {
383 384
           <MapViewTwo></MapViewTwo>
384 385
           <div className={"video_box gvc_video"}>
385 386
             <div className="alls">
386
-              <video src={require("@assets/imgs/dataVimg/videoGvc2.mp4").default} autoplay="autoplay" loop="loop" class="video_box_2 center_box2 animate__animated animate__fadeIn animate__delay-2s">
387
+            <video src={mpVideoGvc} autoplay="autoplay" loop="loop" class="video_box_2 center_box2 animate__animated animate__fadeIn animate__delay-2s">
387 388
               </video>
388 389
             </div>
389 390
 

+ 2 - 2
src/pages/jurisDiction/view.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm
3 3
  * @Date: 2023-11-07 14:21:24 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-21 18:07:33
5
+ * @Last Modified time: 2023-11-23 13:47:34
6 6
  */
7 7
 
8 8
 import React, { useState, useEffect, Component } from "react";
@@ -65,7 +65,7 @@ class JrisDiction extends Component {
65 65
       <div className={styles.jrisdiction_box}>
66 66
         {
67 67
           showMsg && <div className="center">
68
-            <img src={require("@assets/imgs/dataVImg/wuQuanXuan.png").default} alt="" />
68
+            <img src={require("@assets/imgs/dataVImg/wuQuanXuan2.png").default} alt="" />
69 69
             <h1>抱歉!您暂无权限访问</h1>
70 70
             <span>请联系管理员开通权限</span>
71 71
           </div>