zzyhappyzzy
zzyhappyzzy
Thanks for your reply ! Best Regards ! > 在 2016年1月21日,下午9:42,Damian Wojtczak [email protected] 写道: > > It was already explained in other ticket. There is a typo in touchesEnded:withEvent method....
试了下,在data里设置index属性是可以的,下面是我测试的代码 ``` {{title}} Click me to see how 'A' element opens a new world. module.exports = { data: { divlist: [ {'title':'Hello world Jack','index':0, 'pictureUrl':'http://t.cn/RGE3uo9'}, {'title':'Great day!','index':1,'pictureUrl':'http://t.cn/RGE31hq'}, // {'title':'Your name','index':2,'pictureUrl':'http://t.cn/RGE3AJt'}...
突然发现在手机上`slider`能够自适应高度,为什么浏览器必须设置高度才能显示出来。。。 上面的例子,如果在浏览器调试,需要在slider的style新增height属性,如: ``` style="width:{{sliderwidth}};padding-bottom:24;height:220;" ```
又看了下源码,估计是我理解错了。 如果通过index属性指定slider默认的位置,小于2个时确实有问题
@acton393 嗯,``确实会被转为placeHolder 我自己写成了``才导致转换后无法识别 谢谢!
个人感觉有两种思路: 1、图片转为base64字符串,赋值给``的`src` 2、实现WXImgLoaderProtocol协议(IOS端为例,安卓类似) ``` (id)downloadImageWithURL:(NSString *)url imageFrame:(CGRect)imageFrame userInfo:(NSDictionary *)userInfo completed:(void(^)(UIImage *image, NSError *error, BOOL finished))completedBlock ``` 约定``中src的本地图片表现形式(eg:file://xxx),当url的值符合自己约定的本地图片方式时(eg:以file://开头),读取本地图片后completedBlock回传img即可
没怎么看明白。 协议只是约定了一组接口而已(面向接口编程),本身并没有做任何事情。具体的实现方法,都在相应的组件里实现。
不是应该判断response的status么? ``` stream.fetch(params, function (response) { if (response.status === 200) { } } ```
Similar issue === Command ```shell xcodebuild -workspace app.xcworkspace -scheme app -configuration Debug -sdk iphonesimulator clean xcodebuild -workspace app.xcworkspace -scheme app -configuration Debug -sdk iphonesimulator | tee xcodebuild.log xcpretty -r json-compilation-database...
@crespoxiao Currently, I have no solution for this issue.