|
|
@@ -693,11 +693,11 @@ void CDiandanPageUI::UpdateJiesuanZhifuPos()
|
|
|
int nZhangdanWidth;
|
|
|
if (m_is_yincangyouhui == true)
|
|
|
{
|
|
|
- nZhangdanWidth = nWidth - 481 - 5; // 隐藏优惠后只剩账单卡,占满剩余宽度
|
|
|
+ nZhangdanWidth = nWidth - 481 - 13; // 隐藏优惠后只剩账单卡;13=右侧 inset12 + 余量1
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- nZhangdanWidth = nWidth - 481 - 330 - 12 - 5; // 优惠卡330 + 卡间距12 + 余量5
|
|
|
+ nZhangdanWidth = nWidth - 481 - 330 - 12 - 13; // 优惠卡330 + 卡间距12;13=右侧 inset12 + 余量1
|
|
|
}
|
|
|
|
|
|
if (nZhangdanWidth < 300)
|
|
|
@@ -3993,9 +3993,6 @@ void CDiandanPageUI::StartSearchFood(std::string foodname)
|
|
|
|
|
|
m_sousuo_foodname = foodname;
|
|
|
|
|
|
- CLabelUI* pTishi = static_cast<CLabelUI*>(this->FindSubControl(_T("diandan_food_search_tishi")));
|
|
|
- pTishi->SetVisible(false);
|
|
|
-
|
|
|
this->InitFoodShow();
|
|
|
}
|
|
|
|
|
|
@@ -4012,9 +4009,6 @@ void CDiandanPageUI::StopSerachFood()
|
|
|
|
|
|
m_cur_type_id = m_type_id_before_sousuo;
|
|
|
|
|
|
- CLabelUI* pTishi = static_cast<CLabelUI*>(this->FindSubControl(_T("diandan_food_search_tishi")));
|
|
|
- pTishi->SetVisible(true);
|
|
|
-
|
|
|
this->InitFoodShow();
|
|
|
}
|
|
|
|