![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
banpu
这个作者很懒,什么都没留下…
展开
-
js 获取当前时间
Date.prototype.showChineseStyle = function(){ var date = this; var dstr = date.getFullYear() + "年" + (date.getMonth() + 1) + "月" + date.getDate() + "日"; dstr += " " + date.getHours() + ":"原创 2018-01-06 21:20:15 · 148 阅读 · 0 评论 -
js 一个页面获取另外一个页面url传过来的参数
js 一个页面获取另外一个页面url传过来的参数例如:<a v-bind:href="'addressEdit.html?addressid='+list.addressId"> 在addressEdit.html页面 获取 list.addressId 方法一: function getQueryString(name) { var reg = new RegExp('(^...原创 2018-03-20 11:29:01 · 16768 阅读 · 4 评论