Authored by 李奇

图片优化

... ... @@ -411,11 +411,11 @@ export default class wheelSurf extends PureComponent {
<div className="home-wrap">
<img className="main-bg" src={`${conf.main_bg}?imageMogr2/format/jpg`}/>
{conf.rule_btn_bg ? (<a data-type="other" data-url={conf.rule_url} onClick={this.jump}>
<img className="rule-btn" src={conf.rule_btn_bg}/>
<img className="rule-btn" src={`${conf.rule_btn_bg}?imageslim`}/>
</a>) : ''}
{conf.share_btn_bg && yaSDK.env === 'app' ? (<img onClick={this.shareInApp} className="share-btn" src={conf.share_btn_bg}/>): ''}
<img className="wheel-bg" id="rotateWheel" src={conf.wheel_bg}/>
<img onClick={()=>{this.start()}} className="start-btn-bg" src={conf.prize_btn_bg}/>
<img className="wheel-bg" id="rotateWheel" src={`${conf.wheel_bg}?imageslim`}/>
<img onClick={()=>{this.start()}} className="start-btn-bg" src={`${conf.prize_btn_bg}?imageslim`}/>
{
isLogin && showRemain ?
(<div className="tips">
... ... @@ -426,14 +426,14 @@ export default class wheelSurf extends PureComponent {
<BottomButton links={links} login={isLogin}/>
<Resource code={conf.bottomContentCode}/>
{slowEnding ? (<img className="prize-hit-bg transition" src={conf.win_prize_bg}/>) : ''}
{slowEnding ? (<img className="prize-hit-bg transition" src={`${conf.win_prize_bg}?imageslim`}/>) : ''}
{startEnded ? (
<div className="got-tip">
<div className="prize-tip">{this.state.gotDesc}</div>
<span onClick={this.setCanStart} className="try-again">确定</span>
</div>
) : ''}
{slowEnding ? (<img className="prize-hit-start-bg" src={conf.prize_btn_bg}/>) : ''}
{slowEnding ? (<img className="prize-hit-start-bg" src={`${conf.prize_btn_bg}?imageslim`}/>) : ''}
{
this.state.showTipModal ? <TipModal tip={this.state.modalTip} btnText={this.state.modalBtnText} confirm={() => {this.confirm()}} /> : ''
}
... ...