随笔分类 -  手机网页

jquery mobile、cordova、ionic framework、angularJS
[引]ArkTS 自定义组件
摘要:创建自定义组件-自定义组件-基本语法-学习ArkTS语言-入门-HarmonyOS应用开发 HarmonyOS Developer > 文档 > 指南 > 入门 创建自定义组件 更新时间: 2024-01-15 11:55 分享 添加收藏 在ArkUI中,UI显示的内容均为组件,由框架直接提供的称为 阅读全文

posted @ 2024-03-26 21:47 freeliver54 阅读(532) 评论(1) 推荐(0)

[转]angular 禁止缓存
摘要:本文转自:https://www.cnblogs.com/jonney-wang/p/9797906.html angular 单页面开发,会存在和管理很多HTML和JS文件,缓存有时是个麻烦。 在开发和测试阶段,F12调出调试工具,禁止缓存F5刷新下就好了。 但是在客户那里缓存就体验效果不好,甚至 阅读全文

posted @ 2019-02-03 00:28 freeliver54 阅读(578) 评论(0) 推荐(0)

[转]ng-grid
摘要:本文转自:http://angular-ui.github.io/ui-grid/ Getting Started Steps for getting started (example on right): Add references to jQuery and AngularJS. Add re 阅读全文

posted @ 2016-03-02 14:58 freeliver54 阅读(1090) 评论(2) 推荐(0)

[转]AngularJS fixed header scrollable table directive
摘要:本文转自:http://pointblankdevelopment.com.au/blog/angularjs-fixed-header-scrollable-table-directive This post contains a custom AngularJS directive you ca 阅读全文

posted @ 2016-03-02 14:19 freeliver54 阅读(903) 评论(0) 推荐(0)

[转]how to split the ng-repeat data with three columns using bootstrap
摘要:本文转自:http://stackoverflow.com/questions/21644493/how-to-split-the-ng-repeat-data-with-three-columns-using-bootstrap The most reliable and technically 阅读全文

posted @ 2016-03-02 10:40 freeliver54 阅读(299) 评论(0) 推荐(0)

[转]Ionic系列——CodePen上的优秀Ionic_Demo
摘要:本文转自:http://my.oschina.net/u/1416844/blog/514361?fromerr=bbFC5JIl 案例网站 Slidebox with Dynamic Slides Ionic UL search example Ionic Accordian ion-affix 阅读全文

posted @ 2016-03-02 10:20 freeliver54 阅读(9228) 评论(0) 推荐(0)

[转]ion-slide-box
摘要:本文转自:http://ionicframework.com/docs/api/directive/ionSlideBox/ The Slide Box is a multi-page container where each page can be swiped or dragged betwee 阅读全文

posted @ 2016-03-01 17:28 freeliver54 阅读(861) 评论(0) 推荐(0)

[转]Ionic 实现双击返回键退出功能
摘要:本文转自:http://ionichina.com/topic/5514b539b6421f9166aa5f88 一、准备 Toast插件 插件地址:cordova plugin add https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin. 阅读全文

posted @ 2016-03-01 17:16 freeliver54 阅读(365) 评论(0) 推荐(0)

[转]ionic Accordion list three levels
摘要:简化后的主要代码: $scope.groups = []; for (var i = 0; i < 2; i++) { $scope.groups[i] = { name: i, items: [] }; for (var j = 0; j < 3; j++) { var item = { name 阅读全文

posted @ 2016-02-26 09:44 freeliver54 阅读(656) 评论(3) 推荐(0)

[转]ionic $state.go passed $stateParams
摘要:本文转自:http://stackoverflow.com/questions/19516771/state-go-toparams-not-passed-to-stateparams If you want to pass non-URL state, then you must not use 阅读全文

posted @ 2016-02-25 10:15 freeliver54 阅读(692) 评论(0) 推荐(0)

[转]ionic tab view hide tab bar
摘要:http://stackoverflow.com/questions/23991852/how-do-i-hide-the-tabs-in-ionic-framework ////// tabs.html <ion-tabs ng-class="{'tabs-item-hide': hideTabs 阅读全文

posted @ 2016-02-24 11:36 freeliver54 阅读(375) 评论(1) 推荐(0)

[转]Ionic + AngularJS angular-translate 国际化本地化解决方案
摘要:本文转自:http://www.cnblogs.com/maoyazhi/p/4332362.html 欢迎访问我们的网站,网站上有更多关于技术性的交流:http://www.ncloud.hk/技术分享/ionic-plus-angularjs-angular-translate-国际化本地化解决 阅读全文

posted @ 2016-02-24 09:04 freeliver54 阅读(828) 评论(2) 推荐(0)

[转]Ionic Datepicker
摘要:本文转自:https://market.ionic.io/plugins/ionicdatepicker ##Introduction: This is an ionic-datepicker bower component, which can be used in any Ionic frame 阅读全文

posted @ 2016-02-23 16:01 freeliver54 阅读(3537) 评论(1) 推荐(0)

[转]通过AngularJS directive对bootstrap日期控件的的简单包装
摘要:本文转自:http://www.cnblogs.com/Benoly/p/4109460.html 最近项目上了AngularJS,而原来使用的日期控件的使用方式也需要改变,于是开始了倒腾,看了官方的例子,可以使用AngularJS的directive做简单的处理,这样在html里直接使用申明的的形 阅读全文

posted @ 2016-02-23 14:41 freeliver54 阅读(3460) 评论(1) 推荐(0)

[转]轻松学习Ionic (四) 修改应用图标及添加启动画面(更新官方命令行工具自动生成)
摘要:本文转自:http://blog.csdn.net/zapzqc/article/details/42237935 由于Ionic更新了命令行工具,以后修改应用图标和添加启动画面就简单了,最新方法见最下方: 应用图标: 1.在整个项目所在文件夹下创建res文件夹,里边再分别创建两个文件夹androi 阅读全文

posted @ 2016-02-22 14:35 freeliver54 阅读(368) 评论(0) 推荐(0)

[转]jQuery Mobile: Get data passed to page via changePage mobile.changePage
摘要:本文转自:http://stackoverflow.com/questions/15840611/jquery-mobile-get-data-passed-to-page-via-changepageSolutionSend them like this:$.mobile.changePage('... 阅读全文

posted @ 2014-04-21 18:48 freeliver54 阅读(821) 评论(2) 推荐(0)

[转]Passing data between pages in JQuery Mobile mobile.changePage
摘要:本文转自:http://ramkulkarni.com/blog/passing-data-between-pages-in-jquery-mobile/I am working on a JQuery Mobile application which is based onsingle page ... 阅读全文

posted @ 2014-04-21 18:47 freeliver54 阅读(628) 评论(0) 推荐(0)

[转]iOS WebKit browsers and auto-zooming form controls
摘要:问题描述:https://github.com/jquery/jquery-mobile/issues/2581本文转自:http://www.456bereastreet.com/archive/201212/ios_webkit_browsers_and_auto-zooming_form_controls/One thing about iOS browsers that can be pretty frustrating, both as a developer and as a user, is when you open a site on an iPhone or iPod To 阅读全文

posted @ 2014-04-08 11:02 freeliver54 阅读(444) 评论(0) 推荐(0)

[转]jQuery Mobile动态刷新页面样式
摘要:本文转自:http://blog.csdn.net/zht666/article/details/8560765当我们使用Ajax或者javascript动态在页面上添加元素后,如添加select控件的option元素,添加ul的li元素。添加之后我们会发现,它们显示的样式不是jQuery Mobile的炫酷样式了,而变成了很丑陋的元素样式。如下图所示:代码如下:[html] view plaincopyprint?信息列表信息1 信息列表 信息1 可以看到,jQu... 阅读全文

posted @ 2014-04-03 19:08 freeliver54 阅读(366) 评论(2) 推荐(0)

[转]自适应网页设计(Responsive Web Design)
摘要:本文转自:http://www.ruanyifeng.com/blog/2012/05/responsive_web_design.html作者: 阮一峰日期: 2012年5月 1日随着3G的普及,越来越多的人使用手机上网。 移动设备正超过桌面设备,成为访问互联网的最常见终端。于是,网页设计师不得不面对一个难题:如何才能在不同大小的设备上呈现同样的网页?手机的屏幕比较小,宽度通常在600像素以下;PC的屏幕宽度,一般都在1000像素以上(目前主流宽度是1366×768),有的还达到了2000像素。同样的内容,要在大小迥异的屏幕上,都呈现出满意的效果,并不是一件容易的事。很多网站的解决 阅读全文

posted @ 2014-04-03 09:40 freeliver54 阅读(301) 评论(0) 推荐(0)

导航