|
@@ -4,7 +4,7 @@ import { myData } from '@/utils/http'
|
|
|
function Sinicize() {
|
|
function Sinicize() {
|
|
|
const [currentTab, setCurrentTab] = useState(0)
|
|
const [currentTab, setCurrentTab] = useState(0)
|
|
|
const [selectedTime, setSelectedTime] = useState(0)
|
|
const [selectedTime, setSelectedTime] = useState(0)
|
|
|
- const [isShowTip, setIsShowTip] = useState(true)
|
|
|
|
|
|
|
+ const [isShowTip, setIsShowTip] = useState(false)
|
|
|
const [currentImgIndex, setCurrentImgIndex] = useState(0)
|
|
const [currentImgIndex, setCurrentImgIndex] = useState(0)
|
|
|
|
|
|
|
|
const originRef = useRef<HTMLDivElement>(null)
|
|
const originRef = useRef<HTMLDivElement>(null)
|
|
@@ -25,9 +25,9 @@ function Sinicize() {
|
|
|
}) => {
|
|
}) => {
|
|
|
return (
|
|
return (
|
|
|
<div className={styles.label} style={{ inset: inset }}>
|
|
<div className={styles.label} style={{ inset: inset }}>
|
|
|
- {direct === 'left' ? <div className='arrowL' style={{ width: width + 'px' }} /> : null}
|
|
|
|
|
|
|
+ {direct === 'left' ? <div className='arrowL' style={{ width: width + 'px' }} ><div className="dot"></div></div> : null}
|
|
|
<div className='btn'>{name}</div>
|
|
<div className='btn'>{name}</div>
|
|
|
- {direct === 'right' ? <div className='arrowR' style={{ width: width + 'px' }} /> : null}
|
|
|
|
|
|
|
+ {direct === 'right' ? <div className='arrowR' style={{ width: width + 'px' }} ><div className="dot"></div></div> : null}
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
@@ -97,13 +97,14 @@ function Sinicize() {
|
|
|
{myData.sinicizeDataStatic.desc}
|
|
{myData.sinicizeDataStatic.desc}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div className={`zhufo ${currentTab === 0 ? 'active' : ''}`}>
|
|
|
|
|
|
|
+ {currentTab === 0 && <div className={`zhufo ${currentTab === 0 ? 'active' : ''}`}>
|
|
|
<img src={require('@/assets/img/A6_sinicize_zhufo.png')} draggable='false' alt='' />{' '}
|
|
<img src={require('@/assets/img/A6_sinicize_zhufo.png')} draggable='false' alt='' />{' '}
|
|
|
- <div className='name'>主尊佛像</div>{' '}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div className={`pusha ${currentTab === 1 ? 'active' : ''}`}>
|
|
|
|
|
|
|
+ <div className='name'>主尊佛像</div>
|
|
|
|
|
+ </div>}
|
|
|
|
|
+ {currentTab === 1 && <div className={`pusha ${currentTab === 1 ? 'active' : ''}`}>
|
|
|
<img src={require('@/assets/img/A6_sinicize_pusha.png')} draggable='false' alt='' />
|
|
<img src={require('@/assets/img/A6_sinicize_pusha.png')} draggable='false' alt='' />
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div className='name'>胁侍菩萨</div>
|
|
|
|
|
+ </div>}
|
|
|
{currentTab === 0 && (
|
|
{currentTab === 0 && (
|
|
|
<>
|
|
<>
|
|
|
<Label width={70} inset={'53px auto auto 360px'} name={'肉髻'} direct={'right'} />
|
|
<Label width={70} inset={'53px auto auto 360px'} name={'肉髻'} direct={'right'} />
|
|
@@ -120,6 +121,21 @@ function Sinicize() {
|
|
|
</>
|
|
</>
|
|
|
)}
|
|
)}
|
|
|
|
|
|
|
|
|
|
+ {currentTab === 1 && (
|
|
|
|
|
+ <>
|
|
|
|
|
+ <Label width={70} inset={'83px auto auto 360px'} name={'头光'} direct={'right'} />
|
|
|
|
|
+ <Label
|
|
|
|
|
+ width={93}
|
|
|
|
|
+ inset={'181px auto auto 318px'}
|
|
|
|
|
+ name={'披帛'}
|
|
|
|
|
+ direct={'right'}
|
|
|
|
|
+ />
|
|
|
|
|
+ <Label width={68} inset={'272px auto auto 345px'} name={'天衣'} direct={'right'} />
|
|
|
|
|
+ <Label width={40} inset={'93px auto auto 506px'} name={'头冠'} direct={'left'} />
|
|
|
|
|
+ <Label width={36} inset={'129px auto auto 512px'} name={'宝缯'} direct={'left'} />
|
|
|
|
|
+ </>
|
|
|
|
|
+ )}
|
|
|
|
|
+
|
|
|
<div
|
|
<div
|
|
|
className={`sinicizeBtn1 ${currentTab === 0 ? 'active' : ''}`}
|
|
className={`sinicizeBtn1 ${currentTab === 0 ? 'active' : ''}`}
|
|
|
onClick={() => setCurrentTab(0)}
|
|
onClick={() => setCurrentTab(0)}
|