上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: https://www.cnblogs.com/liuqingxia/p/7844937.html 阅读全文
posted @ 2018-10-22 15:46 金牛座的女孩 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ::-webkit-scrollbar{ width: 0; height: 0; color: transparent; } 阅读全文
posted @ 2018-10-22 14:56 金牛座的女孩 阅读(1080) 评论(1) 推荐(0) 编辑
摘要: wxml <scroll-view scroll-x="true" style="background:black;height:110px; white-space: nowrap;"> <view style="background: red; width: 200px; height: 100 阅读全文
posted @ 2018-10-21 18:43 金牛座的女孩 阅读(267) 评论(0) 推荐(0) 编辑
摘要: tabBar与window、pages并列,pagePath点击进入的页面路径,selectedIconPath点击选中状态 "tabBar": { "color": "#353535", "selectedColor": "#3cc51f", "borderStyle": "white", "ba 阅读全文
posted @ 2018-10-21 17:00 金牛座的女孩 阅读(768) 评论(0) 推荐(0) 编辑
摘要: 如果想让flex-direction:row;起作用,必须加display:flex 阅读全文
posted @ 2018-10-21 15:53 金牛座的女孩 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 将app.json里的navigationStyle设置为navigationStyle:custom。可以在.wxss里通过margin和padding来自定义导航栏。 例如在.wxml里写 <view class="nav">我是汽车维修技师</view> 在.wxss里设置样式 <view c 阅读全文
posted @ 2018-10-20 23:21 金牛座的女孩 阅读(257) 评论(0) 推荐(0) 编辑
摘要: app.json(控制所有页面的窗口表现)配置示例 { "window":{ "navigationBarBackgroundColor": "#ffffff", "navigationBarTextStyle": "black", "navigationBarTitleText": "微信接口功能 阅读全文
posted @ 2018-10-20 23:05 金牛座的女孩 阅读(851) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><body><input type="text" style="width:200px;height:30px;" i 阅读全文
posted @ 2018-10-19 22:39 金牛座的女孩 阅读(5776) 评论(0) 推荐(0) 编辑
摘要: //把一个字符串里的所有单词的第一个字符转换为大写 用到 了字符串方法split slice join charAt toUpperCase var str = 'ni hao ma!' function getUpper(str){ var words = str.split(' '); for( 阅读全文
posted @ 2018-10-19 22:22 金牛座的女孩 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: $(window).scroll(function() { var s =$(window).scrollTop(); console.log(s); var h = document.documentElement.scrollHeight || document.body.scrollHeigh 阅读全文
posted @ 2018-10-18 23:25 金牛座的女孩 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页