|  | @@ -36,14 +36,18 @@ const AllSurvey: React.FC = () => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      useEffect(() => {
 | 
	
		
			
				|  |  |          if (size?.width) {
 | 
	
		
			
				|  |  | -            let width = 2000
 | 
	
		
			
				|  |  | +            let buguWidth = 0
 | 
	
		
			
				|  |  | +            if (queryForm?.sourceSystem && (queryForm?.sourceSystem === 'BG_OLD' || queryForm?.sourceSystem === 'BG_NEW')) {
 | 
	
		
			
				|  |  | +                buguWidth = 200
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            let width = 2042
 | 
	
		
			
				|  |  |              let b = 6
 | 
	
		
			
				|  |  |              if (queryForm?.gameId) {
 | 
	
		
			
				|  |  |                  b = 5
 | 
	
		
			
				|  |  | -                width = 1672
 | 
	
		
			
				|  |  | +                width = 1712
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  |                  b = 6
 | 
	
		
			
				|  |  | -                width = 2000
 | 
	
		
			
				|  |  | +                width = 2042
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              let w = size?.width || 0
 | 
	
		
			
				|  |  |              if (w > width) {
 | 
	
	
		
			
				|  | @@ -51,9 +55,9 @@ const AllSurvey: React.FC = () => {
 | 
	
		
			
				|  |  |                  width = w
 | 
	
		
			
				|  |  |                  setBadWidth(badW / b)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            setScrollDivWidth(width)
 | 
	
		
			
				|  |  | +            setScrollDivWidth(width + buguWidth)
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -    }, [queryForm?.gameId, size])
 | 
	
		
			
				|  |  | +    }, [queryForm?.gameId, size, queryForm?.sourceSystem])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 处理左右按钮隐藏 显示
 | 
	
		
			
				|  |  |      useEffect(() => {
 | 
	
	
		
			
				|  | @@ -99,6 +103,9 @@ const AllSurvey: React.FC = () => {
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |      }, [queryForm])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    const isBg = () => {
 | 
	
		
			
				|  |  | +        return queryForm?.sourceSystem && (queryForm?.sourceSystem === 'BG_OLD' || queryForm?.sourceSystem === 'BG_NEW')
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      return <div className={style.allSurver}>
 | 
	
		
			
				|  |  |          <Space direction="vertical" style={{ width: '100%' }}>
 | 
	
	
		
			
				|  | @@ -167,7 +174,7 @@ const AllSurvey: React.FC = () => {
 | 
	
		
			
				|  |  |                                      </div>
 | 
	
		
			
				|  |  |                                  </div>
 | 
	
		
			
				|  |  |                              </Card>
 | 
	
		
			
				|  |  | -                            <Card bordered={false} style={{ borderRadius: 8 }} bodyStyle={{ width: 320 + badWidth }}>
 | 
	
		
			
				|  |  | +                            <Card bordered={false} style={{ borderRadius: 8 }} bodyStyle={{ width: isBg() ? 320 + 200 + badWidth : 320 + badWidth }}>
 | 
	
		
			
				|  |  |                                  <div className={style.overview}>
 | 
	
		
			
				|  |  |                                      <div className={style.left} style={{ backgroundColor: '#f4516c' }}>
 | 
	
		
			
				|  |  |                                          <MoneyCollectOutlined style={{ fontSize: 24 }} />
 | 
	
	
		
			
				|  | @@ -179,13 +186,20 @@ const AllSurvey: React.FC = () => {
 | 
	
		
			
				|  |  |                                          </div>
 | 
	
		
			
				|  |  |                                          <div className={style.bottom}>
 | 
	
		
			
				|  |  |                                              <div style={{ justifyContent: 'space-between' }}>
 | 
	
		
			
				|  |  | -                                                <div>昨账:<Statistic value={totalData?.yesterdayAmount || 0} /></div>
 | 
	
		
			
				|  |  | -                                                <div>昨新:<Statistic value={totalData?.yesterdayNewPlayerAmount || 0} /></div>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: isBg() ? '30%' : '50%' }}>昨账:<Statistic value={totalData?.yesterdayAmount || 0} /></div>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: isBg() ? '27%' : '50%' }}>昨新:<Statistic value={totalData?.yesterdayNewPlayerAmount || 0} /></div>
 | 
	
		
			
				|  |  | +                                                {isBg() && <div style={{ width: '43%' }}>BG自累充:<Statistic value={totalData?.totalAmountForBG || 0} /></div>}
 | 
	
		
			
				|  |  |                                              </div>
 | 
	
		
			
				|  |  |                                              <div style={{ justifyContent: 'space-between', flex: 1 }}>
 | 
	
		
			
				|  |  | -                                                <div>今账:<Statistic value={totalData?.todayAmount || 0} /></div>
 | 
	
		
			
				|  |  | -                                                <div><span style={{ color: 'red' }}>今新:</span><Statistic value={totalData?.todayNewPlayerAmount || 0} /></div>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: isBg() ? '30%' : '50%' }}>今账:<Statistic value={totalData?.todayAmount || 0} /></div>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: isBg() ? '27%' : '50%' }}><span style={{ color: 'red' }}>今新:</span><Statistic value={totalData?.todayNewPlayerAmount || 0} /></div>
 | 
	
		
			
				|  |  | +                                                {isBg() && <div style={{ width: '43%' }}>BG自今账:<Statistic value={totalData?.todayAmountForBG || 0} /></div>}
 | 
	
		
			
				|  |  |                                              </div>
 | 
	
		
			
				|  |  | +                                            {isBg() && <div style={{ justifyContent: 'space-between' }}>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: '30%' }}></div>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: '27%' }}></div>
 | 
	
		
			
				|  |  | +                                                <div style={{ width: '43%' }}>BG自昨账:<Statistic value={totalData?.yesterdayAmountForBG || 0} /></div>
 | 
	
		
			
				|  |  | +                                            </div>}
 | 
	
		
			
				|  |  |                                          </div>
 | 
	
		
			
				|  |  |                                      </div>
 | 
	
		
			
				|  |  |                                  </div>
 | 
	
	
		
			
				|  | @@ -224,7 +238,7 @@ const AllSurvey: React.FC = () => {
 | 
	
		
			
				|  |  |                                      </div>
 | 
	
		
			
				|  |  |                                  </div>
 | 
	
		
			
				|  |  |                              </Card>}
 | 
	
		
			
				|  |  | -                            <Card bordered={false} style={{ borderRadius: 8 }} bodyStyle={{ width: 360 + badWidth }}>
 | 
	
		
			
				|  |  | +                            <Card bordered={false} style={{ borderRadius: 8 }} bodyStyle={{ width: 400 + badWidth }}>
 | 
	
		
			
				|  |  |                                  <div className={style.overview}>
 | 
	
		
			
				|  |  |                                      <div className={style.left} style={{ backgroundColor: '#9254de' }}>
 | 
	
		
			
				|  |  |                                          <AccountBookOutlined style={{ fontSize: 24 }} />
 |