Commit 04ea2f99 authored by haiyoucuv's avatar haiyoucuv

init

parent 1fffe2e6
...@@ -40,12 +40,12 @@ class GuidePanel extends React.Component<IGuidePanelProps> { ...@@ -40,12 +40,12 @@ class GuidePanel extends React.Component<IGuidePanelProps> {
const { expireDays } = store.indexData; const { expireDays } = store.indexData;
const { step } = this.state; const { step } = this.state;
const guideSrc = new URL(`../../assets/GuidePanel/引导${step}.png`, import.meta.url).href; const guideSrc = new URL(`../../assets/GuidePanel/引导${step}.png?x-oss-process=image/format,webp`, import.meta.url).href;
return <div className={styles.GuidePanel} onClick={this.clickGuide}> return <div className={styles.GuidePanel} onClick={this.clickGuide}>
<div className={styles.guide} style={{ <div className={styles.guide} style={{
backgroundImage: `url(${guideSrc}?x-oss-process=image/format,webp)`, backgroundImage: `url(${guideSrc})`,
}}/> }}/>
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment