was0107 / mdetailframework Goto Github PK
View Code? Open in Web Editor NEW淘宝商品详情页面控件
License: MIT License
淘宝商品详情页面控件
License: MIT License
请问大神,为什么开源这个代码,却不放开MFullScreenFramework.framework?
详情pageControl的当前颜色在哪里设置,谢谢。
这个问题怎么解决
当页面reload之后,不会再次响应didChangeToSection和willChangeToSection
以下是配置代码:
(UIView *) viewAtTop {
return self.tableView;
}
(NSUInteger ) numberOfSections {
return 1;
}
(NSString *) titleOfSectionAt:(NSUInteger )index {
return @"";
}
(UIView *) viewOfSectionAt:(NSUInteger ) index {
UIWebView *webview = [[UIWebView alloc] initWithFrame:CGRectZero];
webview.delegate = self;
return webview;
}
(void) didChangeToSection:(NSUInteger) index view:(UIView *) view {
if (index == 0) {
NSString *urlString = [NSString stringWithFormat:@"%@%@?goodsId=%@", HOME_URL, GOODS_DETAIL_INFO_URL, self.goodsId];
[(UIWebView *)view loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlString]]];
[(UIWebView *)view reload];
}
NSLog(@"did= %ld %@", index, view);
}
(void) willChangeToSection:(NSUInteger) index view:(UIView *) view {
NSLog(@"will=%ld %@", index, view);
}
你好!
为啥顶部的 imageScrollView 图片有时候会偏移到顶部? 也就是顶到状态栏上边了 . 有时候和顶部会有一定的间隙 ?也就是正常的. 我看了一下, 大部分都是网络慢的时候, 刷新后就会偏移到状态栏上部去了. 网速快的话大部分会正常.
能加我一下吗?qq3310099100。工作中遇到难题,有偿求助
作者 我想请问一下如何取消拖拽滑到底部 就这样流畅滑动并且不隐藏上面的详情
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.