自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 RecyclerView展示数据

/------------工具类--------------///放接口的类public class HttpConfig {    public static String base_url="http://120.27.23.105/";}//MyService-----------public interface MyService {    @FormUrlEncoded    @POST...

2018-04-07 08:11:22 369

原创 MVP框架+Retrofit网络请求

/----HttpConfig -----/public class HttpConfig {//https://www.zhaoapi.cn/product/getProducts?pscid=1    public static String base_url="https://www.zhaoapi.cn/";}/** * Retrofit的工具类 */public class Retrof...

2018-04-07 08:03:06 176

原创 购物车

//需要的依赖//依赖compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'//Retrofit2所需要的包compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'//ConverterFactory的Gson依赖包compile 'com.squareup.retrofit2:...

2018-04-06 23:46:34 284

原创 登录注册+商品列表+商品详情

/--------依赖------------///Recycleview依赖compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'compile 'com.jcodecraeer:xrecyclerview:1.3.2'//GSON依赖compile 'com.google.code.gson:gson:2.2.4'//b...

2018-04-06 23:23:53 5703 1

原创 MVP

//依赖compile 'com.squareup.okhttp3:okhttp:3.2.0'compile 'com.google.code.gson:gson:2.2.4'compile 'com.github.bumptech.glide:glide:3.7.0'compile 'com.nostra13.universalimageloader:universal-image-loa

2018-01-18 23:34:08 293

原创 MVP购物车订单

//依赖compile 'com.squareup.okhttp3:okhttp:3.2.0'compile 'com.google.code.gson:gson:2.2.4'compile 'com.github.bumptech.glide:glide:3.7.0'compile 'com.nostra13.universalimageloader:universal-image

2018-01-18 23:25:43 408

原创 MVP注册登录和XListView刷新加载

//model层(接口和类)public interface ILoginModel { void login(String mobile,String password,ILoginPrestenter iLoginPrestenter);}package lianxi.bawei.com.mvp_login_regin_zhanshi.login.model;im

2018-01-07 23:15:36 179

原创 Angular发货添加验证等

.box{width: 800px;height: 600px;/*background: cyan;*/margin: 20px auto;}.id1{background: deepskyblue;margin-left: 5px;}.id2{background: yellow;}.id3{background:yellowgreen;

2017-12-21 11:00:12 141

原创 Angularjs实现购物车功能(按钮增减数量、添加、全选、删除、批量删除、结算)

.box{width: 1000px;height: 600px;margin: 20px auto;background: yellow;padding-top: 40px;}table{width: 800px;margin: 0px auto;}td{border: 1px solid black;}var myapp=

2017-12-20 20:33:37 961 1

原创 Angularjs购物车删除清空按钮增减数量等操作

table{width: 600px;height: 200px;border: 1px solid darkgrey;text-align: center;}td{border: 1px solid darkgrey;}var myapp=angular.module("dxtapp",[]);myapp.controller("dem

2017-12-20 15:34:05 670

原创 验证添加信息,判断数字,长度等(week3)

table{width: 600px;text-align: center;}td{border: 1px solid black; }form{width: 800px;margin-top: 30px;}form input{margin-top: 15px;}ul li{color:red;}var myapp=an

2017-12-20 09:16:59 398

原创 Angular展示页面、判断纯数字长度,搜索,添加等

table{width: 600px;text-align: center;}td{border: 1px solid black; }form{width: 800px;margin-top: 30px;}form input{margin-top: 15px;}var myapp=angular.module("dxtapp",[

2017-12-19 14:27:49 1550

原创 Angular修改密码,敏感词汇,排序等操作

Title      table{      border-collapse: collapse;    }    th,td{      padding: 10px;      border: 1px solid #000000;    }          var myapp = angular.module("myapp",[]);   

2017-12-18 15:31:03 232

原创 ionic侧滑菜单

var myapp=angular.module("dxtapp",["ionic"]);myapp.controller("demo16",function($scope,$ionicSideMenuDelegate){$scope.toggleLeftSideMenu=function(){$ionicSideMenuDelegate.toggleLeft();};});

2017-12-17 21:00:50 162

原创 ionic对话框

angular.module('ionicApp', ['ionic']).controller('AppCtrl', function($scope, $timeout, $ionicLoading, $ionicPopup) {$ionicLoading.show({content: 'Loading',animation: 'fade-in',showBackdrop:

2017-12-17 20:59:06 303

原创 表单验证(正则表达式)

function add(){var zhanghao = $(".number").val();var pass = $(".pass").val();var pass2 = $(".pass2").val();var nicheng = $(".name").val();var data = $(".data").val();var sex = $(".sex").

2017-12-17 20:56:03 181

原创 Angular添加删除查找排序日期等

table{width: 800px;font-size: 20px;}table tr:nth-child(1){background:#999999 ;}table tr:nth-child(2n){background: #EEEEEE;}var myapp=angular.module("dxtapp",[]);myapp.con

2017-12-17 20:55:12 320

原创 Angular购物车综合题

table{text-align: center;width:600px;}td{border: 1px solid black;height: 30px;}form{width: 400px;background-color: gainsboro;margin-top: 10px;}form input{display: block;}

2017-12-17 20:51:32 229

原创 ionic ActionSheet(上拉菜单)

1、$ionicActionSheet   ionic的上拉菜单由三种按钮组成,点击任何按钮都自动关闭上拉菜单;   取消按钮 - 取消按钮总是位于菜单的底部,用户点击该按钮将关闭。一个上拉菜单 最多有一个取消按钮。   危险选项按钮 - 危险选项按钮文字被标红以明显提示。一个上拉菜单最多有一个 危险选项按钮。   自定义按钮 - 用户定义的任意数量的按钮。2、参数

2017-12-15 14:02:19 732

原创 angular.js 购物车

week                            var app  = angular.module("myapp",[]);                app.controller("myctrl",function($scope){                         $scope.goods = [                   

2017-12-07 14:25:17 190

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除