贵族中心开通贵族按钮调整
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 617 B |
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 815 B |
22
xplan-ios/Assets.xcassets/Mine/Noble/noble_open_btn_bg.imageset/Contents.json
vendored
Normal file
22
xplan-ios/Assets.xcassets/Mine/Noble/noble_open_btn_bg.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "noble_open_btn_bg@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "noble_open_btn_bg@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
xplan-ios/Assets.xcassets/Mine/Noble/noble_open_btn_bg.imageset/noble_open_btn_bg@2x.png
vendored
Normal file
BIN
xplan-ios/Assets.xcassets/Mine/Noble/noble_open_btn_bg.imageset/noble_open_btn_bg@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
xplan-ios/Assets.xcassets/Mine/Noble/noble_open_btn_bg.imageset/noble_open_btn_bg@3x.png
vendored
Normal file
BIN
xplan-ios/Assets.xcassets/Mine/Noble/noble_open_btn_bg.imageset/noble_open_btn_bg@3x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
@@ -200,6 +200,9 @@
|
||||
///获取贵族充值信息成功
|
||||
- (void)onGetNobleRechargeDataSuccess:(NobleRechargeModel *)rechargeInfo {
|
||||
self.rechargeModel = rechargeInfo;
|
||||
RechargeListModel *rechargeModel = [self.rechargeModel.list lookin_safeObjectAtIndex:0];
|
||||
NSString *title = [NSString stringWithFormat:@"%@立刻成为大鹅贵族", rechargeModel.money];
|
||||
[self.openNobleButton setTitle:title forState:UIControlStateNormal];
|
||||
}
|
||||
|
||||
///请求充值id的状态成功
|
||||
@@ -411,6 +414,9 @@
|
||||
if (!_openNobleButton) {
|
||||
_openNobleButton = [[UIButton alloc] init];
|
||||
[_openNobleButton setImage:[UIImage imageNamed:@"noble_open_btn"] forState:UIControlStateNormal];
|
||||
[_openNobleButton setBackgroundImage:[UIImage imageNamed:@"noble_open_btn_bg"] forState:UIControlStateNormal];
|
||||
_openNobleButton.titleLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
|
||||
[_openNobleButton setTitleColor:[ThemeColor mainTextColor] forState:UIControlStateNormal];
|
||||
[_openNobleButton addTarget:self action:@selector(onOpenNobleButtonClick:) forControlEvents:UIControlEventTouchUpInside];
|
||||
_openNobleButton.hidden = YES;
|
||||
}
|
||||
|
Reference in New Issue
Block a user