uniapp初識筆記2

1六、視頻上傳
使用uni的視頻錄製,最多隻能拍攝60s之內的視頻。
若是是上傳到alioss,能夠使用 視頻截幀 來獲取第一幀 做爲video標籤的poster。

1七、下拉刷新 與底部固定元素
微信小程序:安卓端 ,這二者衝突。下拉時,固定元素跟着動。無解。
https://blog.csdn.net/weixin_43930186/article/details/89671946
最後使用的是別人的組件:
https://ext.dcloud.net.cn/plugin?id=443


1八、字體引入
以 ~@ 開頭的絕對路徑
https://uniapp.dcloud.io/frame?id=%E5%AD%97%E4%BD%93%E5%9B%BE%E6%A0%87

1九、包超出最大限制
unpackage 文件夾下,查看分析
https://blog.csdn.net/qq_35790269/article/details/82888252

20、radio設置大小
使用了colorUI 組件庫,進行了縮小處理。

radio.radio[checked]::after,
radio.radio .uni-radio-input-checked::after {
    border-width: 2px !important;
}
radio .wx-radio-input, radio .uni-radio-input, {
    transform: scale(0.5);
}ios

相關文章
相關標籤/搜索