|
@@ -8,6 +8,7 @@ import HotIcon from '@/components/HotIcon'
|
|
import NextPage from '@/components/NextPage'
|
|
import NextPage from '@/components/NextPage'
|
|
import FloorBtn from '@/components/FloorBtn'
|
|
import FloorBtn from '@/components/FloorBtn'
|
|
import useLoding from '@/components/ownUse/useLoding'
|
|
import useLoding from '@/components/ownUse/useLoding'
|
|
|
|
+import BtnRight from '@/components/BtnRight'
|
|
|
|
|
|
function A5chef() {
|
|
function A5chef() {
|
|
// 点击继续
|
|
// 点击继续
|
|
@@ -107,12 +108,7 @@ function A5chef() {
|
|
className={classNames('A5chu', chuShow ? 'A5chuShow' : '')}
|
|
className={classNames('A5chu', chuShow ? 'A5chuShow' : '')}
|
|
>
|
|
>
|
|
{/* 返回按钮 */}
|
|
{/* 返回按钮 */}
|
|
- <div
|
|
|
|
- style={{ backgroundImage: `url(${baseURL}chef/back23.png)` }}
|
|
|
|
- className='A5hotBoxBack hoverD'
|
|
|
|
- title='返回'
|
|
|
|
- onClick={() => setChuShow(false)}
|
|
|
|
- ></div>
|
|
|
|
|
|
+ <BtnRight imgName='back' clickSon={() => setChuShow(false)} title='返回' />
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
onClick={() => setChuShow(true)}
|
|
onClick={() => setChuShow(true)}
|
|
@@ -154,23 +150,30 @@ function A5chef() {
|
|
))}
|
|
))}
|
|
|
|
|
|
{/* 热点左侧图文信息 */}
|
|
{/* 热点左侧图文信息 */}
|
|
- <div className='A5vTxt' style={{ backgroundImage: `url(${baseURL}chef/hotBg.png)` }}>
|
|
|
|
|
|
+ <div
|
|
|
|
+ className='A5vTxt'
|
|
|
|
+ style={{
|
|
|
|
+ opacity: videoPlay === '2' ? 1 : 0,
|
|
|
|
+ backgroundImage: `url(${baseURL}chef/hotBg.png)`
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
<img src={baseURL + item.showImg} alt='' />
|
|
<img src={baseURL + item.showImg} alt='' />
|
|
<div dangerouslySetInnerHTML={{ __html: item.txt }}></div>
|
|
<div dangerouslySetInnerHTML={{ __html: item.txt }}></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{/* 返回按钮 */}
|
|
{/* 返回按钮 */}
|
|
- <div
|
|
|
|
- style={{ backgroundImage: `url(${baseURL}chef/back22.png)` }}
|
|
|
|
- className='A5vBack hoverD'
|
|
|
|
- title='返回'
|
|
|
|
- onClick={() => {
|
|
|
|
- setVideoPlay('3')
|
|
|
|
- setTimeout(() => {
|
|
|
|
- if (videoRef3.current) videoRef3.current.play()
|
|
|
|
- }, 100)
|
|
|
|
- }}
|
|
|
|
- ></div>
|
|
|
|
|
|
+ {videoPlay === '2' ? (
|
|
|
|
+ <BtnRight
|
|
|
|
+ imgName='back'
|
|
|
|
+ clickSon={() => {
|
|
|
|
+ setVideoPlay('3')
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ if (videoRef3.current) videoRef3.current.play()
|
|
|
|
+ }, 100)
|
|
|
|
+ }}
|
|
|
|
+ title='返回'
|
|
|
|
+ />
|
|
|
|
+ ) : null}
|
|
</div>
|
|
</div>
|
|
))
|
|
))
|
|
: null}
|
|
: null}
|