本帖最后由 管理员 于 2019-1-29 15:38 编辑
快应用官方微信群交流记录
1.问:ERROR: 组件 `image` 不支持属性 `resize-mode`,支持的属性有 [src, alt, id, style, class, disabled, if, elif, else, for, tid, show] @5:13
答:resize-mode把它写成样式;
2.问:快应用有没有类似 swiper 控件,自动播放banner。
问:swiper里面多个item用什么容器,文档里面没说明
<swiper class="swiper" autoplay="{{autoPlay}}" interval="{{sliderValue}}" indicator="{{indicator}}" duration="{{durationValue}}"
vertical="{{isVertical}}" previousmargin="{{previousMargin}}" nextmargin="{{nextMargin}}" loop="{{loopPlay}}"
indicator-top="{{topValue}}" indicator-left="{{leftValue}}" indicator-right="{{rightValue}}" indicator-bottom="{{bottomValue}}">
<div for="{{pages}}">
<div style="width: 100%;height: 100%;background-color: {{$item.backgroundColor}};flex-direction: column;align-items: center;justify-content: center">
<text style="color: #fff;font-size: 30px">{{$item.text}}</text>
</div>
</div>
</swiper>
问:这样写不会循环播放
答:
<swiper autoplay="true">
<div class="c1">
<text>
hello
</text>
</div>
<div class="c2">
<text>
world
</text>
</div>
</swiper>
问:我用了还是不能循环播放,播放到第二个就不动了,loop=true 这个不起作用。
3.问:在list中使用onswipe事件,可以触发,但是触发几率特别小,想问一下onswipe的逻辑是?
1.问:这不能跳转到网页,为什么?
1.问:快应用能跳转到快应用吗?互相跳转
答:文档里有的 deeplink
问:分享功能快应用预览版返回203os don't support sdk share是什么原因?就是手机自带的引擎可以试试分享的功能 ,但是如果失败的话是不是看不到返回错误信息。
问:工具报这个错:Cannot read property 'port' of null,是什么问题导致的?
问:请教 怎么能不显示 201 user refuse to install ?
联系我们
|