自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 ShouYe

shouye_fragment.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:l...

2018-11-22 20:02:26 188

原创 购物车布局

add_sub_view.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="80dp" android:layout_height="

2018-11-22 20:01:27 269

原创 分类布局

activity_main.xml <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/r...

2018-11-22 19:50:31 251

转载 数组排序有哪些方式

sort排序 排序的是字母 var arr = [“a”, “b”, “A”, “B”]; arr.sort(); console.log(arr);//[“A”, “B”, “a”, “b”] 因为字母A、B的ASCII值分别为65、66,而a、b的值分别为97、98,所以上面输出的结果是 [“A”, “B”, “a”, “b”] 。 如果数组元素是数字 比较函数接收两个参...

2018-08-02 08:56:37 336

转载 常用的dom的操作方法

1.访问/获取节点 document.getElementById(id);           //返回对拥有指定id的第一个对象进行访问 document.getElementsByName(name);      //返回带有指定名称的节点集合   注意拼写:Elements document.getElementsByTagName(tagname);   //返回带有指定标签名的对...

2018-08-02 08:53:38 230

原创 rgba()和 opacity 的区别

opacity作用于元素,以及元素内的所有内容的透明度, 而rgba()只作用于元素的颜色或其背景色。(设置rgba透明的元素的子元素不会继承透明效果!)

2018-08-02 08:52:32 351

原创 CSS 都有哪些选择器?

id选择器 class选择器 伪类选择器 a:link{ color:#999999; } a:visited{ color:#FFFF00; } a:hover{ color:#006600; } /* IE不支持,用Firefox浏览可以看到效果 */ input:focus{ background:# E0F1F5; } Link表示链接在没有被点击时...

2018-08-02 08:51:31 1351

原创 http常见的状态

200-服务器请求成功 301 – 资源(网页等)被永久转移到其它URL 302-重定向 304-缓存 400-语法错误导致 401-请求需要用户认证 403禁止执行访问 404-页面不存在 500-服务器遇到意外错误 501 未实现Web 服务器不支持实现此请求所需的功能。请检查URL 中的错误,如果问题依然存在,请与 Web服务器的管理员联系。 503-服务器过载,无法...

2018-08-02 08:50:12 88

空空如也

空空如也

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

TA关注的人

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