随笔分类 -  【前端】

【前端】
摘要:js 中计算两个坐标点之间的距离 // 两点间距离lat1, lng1, lat2, lng2 api.getMapDistanceApi = (paramObj)=> { // console.log(paramObj) var lng1 = paramObj.lng1 var lat1 = pa 阅读全文
posted @ 2020-07-31 14:09 林间有风-邓 阅读(8275) 评论(0) 推荐(0) 编辑
摘要:<template> <view> <!-- --> <view style="width: 100%;height: 400rpx;background-color: #007AFF;"></view> <view class="wrapperVue"> <view class="sroll"> 阅读全文
posted @ 2020-05-14 17:21 林间有风-邓 阅读(1384) 评论(0) 推荐(0) 编辑
摘要:1. https://uniapp.dcloud.io/api/plugins/payment 1.微信小程序支付参数: provider: timeStamp:时间戳【String】 nonceStr:随机字符串 package 统一下单接口返回的 prepay_id 参数值,提交格式如:prep 阅读全文
posted @ 2020-05-13 22:22 林间有风-邓 阅读(10426) 评论(0) 推荐(0) 编辑
摘要:珠蜂上万的课程,需要私信我 慕客全网最新的都有 公众号:a柠檬初上 uniapp-使用高德地图组件 1.下载map.js文件https://lbs.amap.com/api/wx/download2. 官网map文档https://uniapp.dcloud.io/api/location/map? 阅读全文
posted @ 2020-05-07 18:31 林间有风-邓 阅读(3444) 评论(0) 推荐(0) 编辑
摘要:1. 颜色搭配 http://www.sohu.com/a/234226326_100112198 #55efc4 #81ecec #74b9ff #a29bfe #dfe6e9 #00b894 #00cec9 #0984e3 #6c5ce7 #b2bec3 #ffeaa7 #fab1a0 #ff7 阅读全文
posted @ 2019-09-05 21:03 林间有风-邓 阅读(250) 评论(0) 推荐(0) 编辑
摘要:1.上顶,下顶flex-wrap: wrap; align-content: flex-start; https://www.runoob.com/try/playit.php?f=playcss_align-content&preval=flex-start https://www.runoob. 阅读全文
posted @ 2019-03-08 00:00 林间有风-邓 阅读(331) 评论(0) 推荐(0) 编辑
摘要:http://layer.layui.com/ 一:下拉选择框 category_list <div class="layui-form-item"> <label class="layui-form-label">所属分类</label> <div class="layui-input-block 阅读全文
posted @ 2018-04-10 11:53 林间有风-邓 阅读(818) 评论(0) 推荐(0) 编辑
摘要:jquery中的ajax方法参数总是记不住,这里记录一下。 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分 阅读全文
posted @ 2018-01-28 11:31 林间有风-邓 阅读(116) 评论(0) 推荐(0) 编辑
摘要:[HTML]: <a href="javascript:void(0);" onclick="chatQQ()">咨询客服</a> [javascript]: function chatQQ(){ /*1234567对应的就是需要聊天的客服*/ window.location.href = "mqq 阅读全文
posted @ 2017-11-16 11:24 林间有风-邓 阅读(302) 评论(0) 推荐(0) 编辑
摘要:var email = $('#email').val();var reg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/;$flog = reg.test(email);if($flog){}else{} f 阅读全文
posted @ 2017-09-17 22:15 林间有风-邓 阅读(2302) 评论(0) 推荐(0) 编辑
摘要:jquery中的ajax方法参数总是记不住,这里记录一下。 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分 阅读全文
posted @ 2017-08-13 20:38 林间有风-邓 阅读(356) 评论(0) 推荐(0) 编辑
摘要:一、Jquery测试题 下面哪种不是jquery的选择器?(单选)A、基本选择器 B、后代选择器 C、类选择器 D、进一步选择器考点:jquery的选择器 (C) 当DOM加载完成后要执行的函数,下面哪个是正确的?(单选)jQuery(expression, [context]) B、jQuery( 阅读全文
posted @ 2017-07-19 14:17 林间有风-邓 阅读(1942) 评论(0) 推荐(0) 编辑
摘要:/* animation */.a-bounce,.a-flip,.a-flash,.a-shake,.a-swing,.a-wobble,.a-ring{-webkit-animation:1s ease;-moz-animation:1s ease;-ms-animation:1s ease;a 阅读全文
posted @ 2017-07-19 09:19 林间有风-邓 阅读(214) 评论(0) 推荐(0) 编辑
摘要:官方网址:https://www.hotapp.cn/shouqian 阅读全文
posted @ 2017-07-17 11:50 林间有风-邓 阅读(603) 评论(1) 推荐(0) 编辑
摘要:【PHP】 http://www.w3school.com.cn/jquery/jquery_ref_events.asp 性别默认选择第一个: <script> function add(){ $('input[ name=sex ]').get(0).checked=ture; } </scri 阅读全文
posted @ 2017-07-07 20:06 林间有风-邓 阅读(167) 评论(0) 推荐(0) 编辑
摘要:— xs — :手机 — sm —:平板 — md ——lg—:电脑 form-group :垂直或基本表单(水平表单) form-inline :内联表单 阅读全文
posted @ 2017-07-03 12:30 林间有风-邓 阅读(122) 评论(0) 推荐(0) 编辑
摘要:配色宝典:设计师教你从零开始学习配色 三原色 : 三原色 所有颜色的来源,是由于光和环境共同作用的结果。大多数的颜色可以通过红、绿、蓝三色按照不同的比例合成产生,而且绝大多数单色光也可以分解成红绿蓝三种色光。因而,红绿蓝即被定义为色光的三原色,也叫三基色。三种基色是相互独立的,任何一种基色都不能有其 阅读全文
posted @ 2017-06-17 13:05 林间有风-邓 阅读(1372) 评论(1) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>邓</title> <link rel="stylesheet" href="../vendor/bootstrap/css/bootstrap.css"/> <link rel= 阅读全文
posted @ 2017-06-14 22:17 林间有风-邓 阅读(435) 评论(0) 推荐(0) 编辑