自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 vue路由配置

https://router.vuejs.org/zh-cn/1.main.js// The Vue build version to load with the `import` command// (runtime-only or standalone) has been set in webpack.base.conf with an alias.import Vue from

2017-08-31 16:32:54 467

原创 resetcss

/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a,

2017-08-31 13:18:14 461

原创 短信验证码 UI

//获取验证码 UIButton* forgetCodeButton = [[UIButton alloc]init]; [forgetCodeButton setTitle:@"获取验证码" forState:UIControlStateNormal]; //右对齐 [forgetCodeButton setContentHorizontalAlignment:U

2017-08-30 10:54:06 512 2

原创 angular http

1.使用服务首先注册服务($http) module.controller('In_theatersController',['$scope','$http',function ($scope,$http) { $scope.name = '北京电影学院1'; }]);2.使用http服务

2017-08-25 13:48:00 230

原创 angular路由

1.app.js"use strict";(function (angular) { var app = angular.module('moviedog',[ 'ngRoute', 'moviedog.in_theaters', 'moviedog.coming_soon', 'moviedog.top250' ]); app.config(['$routePro

2017-08-25 11:30:50 200

原创 jsonp使用

Title (function () { $jsonp( 'http://api.douban.com/v2/movie/in_theaters', { count:1, start:5 }, function

2017-08-24 14:17:54 192

原创 angularJS使用

table{ margin: 100px auto; } 用户名: 密码: {{message}} // 创

2017-08-23 11:08:28 160

原创 移动端的样式重置

1、连接点击的时候默认有一个背景                    -webkit-tap-highlight-color: rgba(0,0,0,0);                                    2、按钮在ios下都是圆角                    -webkit-appearance: none;        //消除输入框和按钮的

2017-08-16 11:23:18 296

原创 objective-c 实现UICollectionViewCell自适应文字宽度

#pragma mark — 自定义cell#import "SelfSizingCollectCell.h"#import "Masonry.h"#define itemHeight 60@implementation SelfSizingCollectCell- (instancetype)initWithFrame:(CGRect)frame{ self = [super

2017-08-03 09:56:36 9437 1

原创 objective-C block作为参数使用

1. (void(^)())completion  匿名没有返回值block- (void)loadDataWithCompletion:(void(^)())completion failure:(void(^)(NSError *error))failure;- (void)loadDataWithCompletion:(void(^)())completion failure:(vo

2017-08-02 15:07:46 475

原创 objective-C call

#import #import @interface EmergencyRescuePhoneTableView ()@property(nonatomic,strong)CTCallCenter *hwcenter;@end- (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)i

2017-08-02 14:48:23 197

空空如也

空空如也

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

TA关注的人

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