上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .container-wrap { width: 100%; height: 50px; background-color: rgba(0,0,0,0.8); white-space: nowrap; overflo 阅读全文
posted @ 2019-09-12 17:15 yuan9580 阅读(1399) 评论(0) 推荐(0) 编辑
摘要: 返回顶部 #back-to-top{ position:fixed; display:none; bottom:100px; right:80px; } #back-to-top a{ text-align:center; text-decoration:none; color:#d1d1d1; display:block;... 阅读全文
posted @ 2019-09-12 17:13 yuan9580 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-09-05 16:34 yuan9580 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 在小程序中要实现锚点定位,需要使用到组件 scroll-view 点击查看 scroll-view 组件官网文档 需要用到的是 scroll-into-view 这条属性,这条属性的官网解释是这样的: scroll-into-view String值应为某子元素id(id不能以数字开头)。设置哪个方 阅读全文
posted @ 2019-08-13 09:46 yuan9580 阅读(4100) 评论(0) 推荐(0) 编辑
摘要: 1.wxml布局样式 2.wscc样式 3.js 阅读全文
posted @ 2019-08-13 09:44 yuan9580 阅读(325) 评论(0) 推荐(0) 编辑
摘要: H5开发中使用ajax调用数据接口, 如果接口文件不在同域名下会提示跨域错误(No 'Access-Control-Allow-Origin' header is present on the requested resource.)。 1.兼容IE浏览器的方法,在Ajax请求的时候使用jsonp: 阅读全文
posted @ 2019-08-13 09:38 yuan9580 阅读(147) 评论(0) 推荐(0) 编辑
摘要: html css 阅读全文
posted @ 2019-08-13 09:36 yuan9580 阅读(246) 评论(0) 推荐(0) 编辑
摘要: attr()的用法 attr()获得属性值 通过attr()获得属性时,可以这样$(selector).attr(attrName)。注意,其返回值始终是string型! eg : 通过attr()得到的属性age的值是”23”,属性iswork的值是”true”。 另外需要注意的是,attr()对 阅读全文
posted @ 2019-08-13 09:34 yuan9580 阅读(478) 评论(0) 推荐(0) 编辑
摘要: <?php$conn=mysql_connect("localhost","root","");//链接数据库 mysql_select_db("novel");//选择数据库 mysql_query("set names 'utf8'");//设定字符集 $sql="select * from p 阅读全文
posted @ 2019-08-03 10:57 yuan9580 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 1.getPhoneNumber这个组件通过button来实现(别的标签无效)。将button中的open-type=“getPhoneNumber”,并且绑定bindgetphonenumber事件获取回调。 <input type='text' name='phone' value='{{pho 阅读全文
posted @ 2019-07-19 14:42 yuan9580 阅读(1478) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页