上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: this一般情况下指向执行上下文环境。那上下文环境究竟是什么? this的执行上下文环境是调用时的对象,通俗一点就是谁调用它,就指向谁, 箭头函数则指向创建时的对象, call,apply,bind都能改变this指向,bind比较特殊的地方在于是创建的一个新函数,我们必须去手动调用这个函数 阅读全文
posted @ 2020-07-09 14:37 石头记1 阅读(119) 评论(0) 推荐(0)
摘要: <van-col span="12"> <van-field label="载重量:" placeholder="保留2位小数" name="dweight" :value="dweight" v-on:touchend.native.stop="weightkeyPos"></van-field> 阅读全文
posted @ 2020-07-08 15:20 石头记1 阅读(3417) 评论(0) 推荐(0)
摘要: 货物类型,两级分类,每列都要有不限选项,数据里没有不限选项,需要做数据变异,而且选择器是通过索引取值的,比较麻烦的地方就是,修改时获取的是类别id,需要在变异的数据中找到对应项并记录其索引 <van-cell-group> <van-field readonly clickable name="go 阅读全文
posted @ 2020-06-11 17:45 石头记1 阅读(8739) 评论(0) 推荐(0)
摘要: 在_layout.cshtml中引入 <script src="/Scripts/axios.min.js"></script> 在公共main.js中加入 axios.defaults.baseURL = "http://...";//基础路径axios.interceptors.response 阅读全文
posted @ 2020-06-08 10:08 石头记1 阅读(768) 评论(0) 推荐(0)
摘要: let mapProvince = ''; let mapDistrict = ''; let mapCity = ''; let mapStreet = ''; var box = document.getElementById("container"); var center, map, mar 阅读全文
posted @ 2020-06-08 09:58 石头记1 阅读(237) 评论(0) 推荐(0)
摘要: 重点是把从接口得到的数据变异成vant组件规定的格式!! { province_list: { 110000: '北京市', 120000: '天津市' }, city_list: { 110100: '北京市', 110200: '县', 120100: '天津市', 120200: '县' }, 阅读全文
posted @ 2020-06-08 09:54 石头记1 阅读(6257) 评论(0) 推荐(0)
摘要: 外层或者body用 padding-bottom:50px; 按钮用 .butfoot{position: fixed;bottom: 0;width:100%;} 阅读全文
posted @ 2020-05-25 10:29 石头记1 阅读(231) 评论(0) 推荐(0)
摘要: <link href="~/Scripts/Kindeditor/themes/default/default.css" rel="stylesheet" /> <link href="~/Scripts/uploadify/uploadify.css" rel="stylesheet" /> <d 阅读全文
posted @ 2020-05-15 10:04 石头记1 阅读(233) 评论(0) 推荐(0)
摘要: 查找数组中与后面项匹配的(返回的是数组里面的,而不是外面的!!!) function destroyer(...rest){//变为数组的形式传入 //rest.shift()//删除数组第一项,返回值被删除的那一项,原有数组改变 return rest.shift().filter(functio 阅读全文
posted @ 2020-05-14 16:41 石头记1 阅读(216) 评论(0) 推荐(0)
摘要: 刷新: .widgets__icon_refresh{ display:block; float:left; position:relative; width:16px; height:16px; padding:2px; border: 4px solid transparent; cursor: 阅读全文
posted @ 2020-05-08 13:48 石头记1 阅读(358) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页