|
@@ -75,6 +75,16 @@ namespace GFGGame
|
|
|
_ui.m_card.m_ComCardImgRes.target.width = targetWidth;
|
|
|
_ui.m_card.m_ComCardImgRes.m_loaCard.url = ResPathUtil.GetBgImgPath("bg_jfyl","jpg");
|
|
|
}
|
|
|
+ else if (_activityId == 7)
|
|
|
+ {
|
|
|
+ _ui.m_card.target.visible = true;
|
|
|
+ float width = 2560;
|
|
|
+ float height = 1920;
|
|
|
+ float proportion = width / height;
|
|
|
+ float targetWidth = proportion * _ui.target.height;
|
|
|
+ _ui.m_card.m_ComCardImgRes.target.width = targetWidth;
|
|
|
+ _ui.m_card.m_ComCardImgRes.m_loaCard.url = ResPathUtil.GetBgImgPath("bg_ryth");
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
_ui.m_card.target.visible = false;
|