心得笔记 css3|h5 vue 学无止境
-
页面的json文件中静态设置
-
设置背景图,渐变背景颜色
background-image: url('../../../assets/images/main_bg.png'); background-size: 130px 130px; background: linear-gradient(#e66465, #9198e5); background: linear-gradient(to bottom right, red, yellow); background: linear-gradient(-10deg,red,yellow); background: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet); //彩虹渐变 background: repeating-linear-gradient(red, yellow 10%, green 20%); //重复的线性渐变
-
阴影设置
-
2d转换
-
动画
@keyframes myfirst { from { background-color: red; } to { background-color: yellow; } } @keyframes myfirst2 { 0% {background: red; left:0px; top:0px;} 25% {background: yellow; left:200px; top:0px;} 50% {background: blue; left:200px; top:200px;} 75% {background: green; left:0px; top:200px;} 100% {background: red; left:0px; top:0px;} } .xx{ animation-name: myfirst; animation-duration: 2s; }
-
快应用唤起deeplink
const deeplink = "openapp.jdmobile://virtual?params={\"category\":\"jump\",\"des\":\"m\",\"url\":\"https://u.jd.com/tq9sMQk\",\"keplerID\":\"0\",\"keplerFrom\":\"1\",\"kepler_param\":{\"source\":\"kepler-open\",\"otherData\":{\"mopenbp7\":\"0\"}},\"union_open\":\"union_cps\"}"; router.push({ uri: deeplink })
-
安卓界面设定值
-
沉浸模式
-
全屏显示
-
adb操作指令
-
应用唤醒