- 列表中有多个 ad-custom 时,进入一个广告后回来其他广告会自动刷新?
原生广告组件好像会自动刷新,视频里有两个广告位,“众安贷”和“拍拍贷”,点了“拍拍贷”回来之后“众安贷”的广告就被刷掉了。 微信版本:8.0.58 基础库:3.8.6 组件:ad-custom 视频地址:https://m.v.qq.com/x/m/play?vid=r3091ww2st2&cid=&ptag=share_11_11&pageType=immerse&url_from=share&second_share=0&share_from=copy
05-29 - 请问安卓版本的 store-product 是在哪个基础库版本改为半弹层交互的?
因为业务需要,需要知道这个问题。
05-19 - Win小程序对flex的space-evenly兼容性问题?
描述:今天在做兼容性测试,同样的小程序,flex的属性在Win上打开跟在Mac上打开表现不同(在真机上都正常)。 定位问题:在模拟器上测试了一下,如果把 justify-content: space-evenly; 去掉,UI表现就跟Win打开的小程序一样。 总结:测试下来 justify-content: space-evenly; 只在Win的小程序上表现异常。 代码(代码用的Taro+React,写法不同,但是编译完都是一样的。): <View className='tabs'> <View className={classnames('tab', {'act': tabId === 1})} onClick={changeTab.bind(this, 1)} > <Text>今日接诊 ({list1Total})</Text> <View className='act-line' /> </View> <View className={classnames('tab', {'act': tabId === 2})} onClick={changeTab.bind(this, 2)} > <Text>累计接诊 ({list2Total})</Text> <View className='act-line' /> </View> </View> .tabs { display: flex; justify-content: space-evenly; align-items: flex-end; height: 88px; .tab { display: flex; flex-direction: column; align-items: center; font-size: 30px; color: #999; line-height: 46px; .act-line { width: 48px; height: 8px; background: transparent; border-radius: 4px; margin-top: 8px; margin-bottom: 4px; } &.act { color: #333; font-weight: bold; .act-line { background: #06b385; } } } } Win上打开小程序: [图片] [图片] Mac上打开小程序: [图片] [图片]
2021-05-08