笔点导航(www.bidianer.com)是一个简洁的网址导航网站。你可以自定义上网常用网址、自定义你需要的工具模块。你还可以发现、收集、分享,Web开发、设计工作中的优质资源、干货。
(0-1)varquality=0.1;varcanvas=document.createElement("canvas");varctx=canvas.getContext("2d");varimg=newImage();img.src=bdata;img.onload=function(){varwidth=img.width;canvas.width=width;canvas.height=width*(img.height/img.width);ctx.drawImage(img,0,0,canvas.width,canvas.height);letdata=...
大家可以直接把官网上的代码clone下来。 git clone git@github.com:didi/cube-ui.gitcd cube-uinpm installnpm run dev# or run document developmentnpm run doc-dev 直接运行就可以看到效果。cube-ui运行后,在手机上查看,效果最佳。
git clone git@github.com:didi/cube-ui.git cd cube-ui npm install npm run dev # or run document development npm run doc-dev Changelog 详细日志请看发布日志。 滴滴开源项目 Mpx: 一款致力于提高小程序开发体验的增强型小程序框架,通过Mpx,我们能够以最先进的web开发体验来开发生产性能深度优化的小程序。
</template> getFocus() { window.addEventListener('focusout',function() { document.body.scrollTop=document.body.scrollHeight; }) }, 就是在每个input上绑定个getFocus事件 亲试好用 感谢 https://www.cnblogs.com/yangwenbo/p/11028005.html
git clone git@github.com:didi/cube-ui.git cd cube-ui npm install npm run dev # or run document development npm run doc-dev Changelog Detailed changes for each release are documented in the release notes. DiDi Open Sources Mpx: An enhanced miniprogram framework with data reactivity and deep ...
#orrundocumentdevelopment npmrundoc-dev ``` Changelog Detailed changes for each release are documented in therelease notes. DiDi Open Sources -Mpx: An enhanced miniprogram framework with data reactivity and deep optimizition. -Chameleon/kəˈmiːlɪən/: Unify all platforms(Web/Weex/Mini...
git clone git@github.com:didi/cube-ui.gitcdcube-ui npm install npm run dev#or run document developmentnpm run doc-dev Changelog Detailed changes for each release are documented in therelease notes. DiDi Open Sources Install npm icube-ui ...
70 cd cube-ui 71 npm install 72 npm run dev 73 # or run document development 74 npm run doc-dev 75 ``` 76 77 ### Changelog 78 79 Detailed changes for each release are documented in the [release notes](https://github.com/didi/cube-ui/releases). ...
jQuery(document).ready(function() { //clean up the row of the mega menu. add css class to each element on bottom row. //only if more than 7 elements. if more than 16, mm-3 jQuery(‘#nav li ul’).each(function(ulindex, ulele){ $total = jQuery(this).children(‘li’).size()...