Comments (3)
.wMenuFixRightDataSet(@{@"name":@"金币",@"image":@"f_arrow_upbai"})
.wEventFixedClickSet(^(id anyID, NSInteger index) {
WMZPageNaviBtn *btn = anyID;
[btn setTitle:@"更新" forState:UIControlStateNormal];
})是这样更新右边固定标题的吗?这样写页面会变形
不是这样设置的,重新设置属性 调用更新就行了
self.param.wMenuFixRightDataSet(@{@"name":@"更新",@"image":@"f_arrow_upbai"})
[self updatePageController];
from wmzpagecontroller.
WMZPageParam *param = PageParam()
.wTitleArrSet(@[@"持仓", @"历史"])
.wMenuTitleColorSet([UIColor grayColor])
.wControllersSet(@[[FWFuPositionViewController new], [FWFuHistoryViewController new]])
.wTopSuspensionSet(YES)
.wScrollCanTransferSet(FALSE)
.wMenuImagePositionSet(PageBtnPositionRight)
.wMenuImageMarginSet(8)
.wMenuFixShadowSet(FALSE)
.wMenuFixRightDataSet(@{@"name":@"金币",@"image":@"f_arrow_upbai"})
.wEventFixedClickSet(^(id anyID, NSInteger index) {
self.param.wMenuFixRightDataSet(@{@"name":@"更新",@"image":@"f_arrow_upbai"});
[self updatePageController];
})
我这样设置之后每次点击一下右边按钮,右边按钮都会向左边移动一下。请问是怎么回事
from wmzpagecontroller.
WMZPageParam *param = PageParam()
.wTitleArrSet(@[@"持仓", @"历史"])
.wMenuTitleColorSet([UIColor grayColor])
.wControllersSet(@[[FWFuPositionViewController new], [FWFuHistoryViewController new]])
.wTopSuspensionSet(YES)
.wScrollCanTransferSet(FALSE)
.wMenuImagePositionSet(PageBtnPositionRight)
.wMenuImageMarginSet(8)
.wMenuFixShadowSet(FALSE)
.wMenuFixRightDataSet(@{@"name":@"金币",@"image":@"f_arrow_upbai"})
.wEventFixedClickSet(^(id anyID, NSInteger index) {
self.param.wMenuFixRightDataSet(@{@"name":@"更新",@"image":@"f_arrow_upbai"});
[self updatePageController];
})
我这样设置之后每次点击一下右边按钮,右边按钮都会向左边移动一下。请问是怎么回事
循环 self.upSc.btnArr 找个tag为10086的按钮 直接更新title即可
from wmzpagecontroller.
Related Issues (20)
- 多层嵌套存在滚动手势干扰嵌套问题
- Will members be affected?
- 这种效果可以实现吗? HOT 1
- 导航栏适配 HOT 2
- 怎么动态更新HeadView的高度? HOT 5
- 怎么动态刷新菜单栏标题的颜色以及下面的指示器图片,菜单栏中有自定义的标题 HOT 2
- wViewControllerSet
- 请问使用红点标题类型时,怎么让红点和角标不消失 HOT 2
- 请问想要监听页面上下偏移量应该使用哪个回调
- 当使用了悬浮(导航栏透明度变换)+顶部刷新后,如果在继承的控制器内监听页面偏移量会出现页面无法滚动 HOT 1
- 当WMZPageController不满一屏时,悬浮和内容有问题 HOT 2
- 请问怎么设置自定义menuItem背景图片,我的图片是不规则的
- 怎么重置选中的index呢?
- 菜单栏 按钮右上角的角标 badge 可以自定义Label的属性吗?我这需要改变badgeLabel的背景色和字体大小
- 单独使用WMZPageView + 使用UIView作为底部视图 悬停效果 ,view内的滚动视图上下滚动会影响 总体滚动 HOT 2
- 2层嵌套
- 悬浮状太下的问题
- 两层嵌套时往右滑动会没响应
- 下拉刷新问题
- 显示SVProgressHUD问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wmzpagecontroller.