上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: 货物类型,两级分类,每列都要有不限选项,数据里没有不限选项,需要做数据变异,而且选择器是通过索引取值的,比较麻烦的地方就是,修改时获取的是类别id,需要在变异的数据中找到对应项并记录其索引 <van-cell-group> <van-field readonly clickable name="go 阅读全文
posted @ 2020-06-11 17:45 石头记1 阅读(8734) 评论(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 阅读(767) 评论(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 阅读(236) 评论(0) 推荐(0)
摘要: 重点是把从接口得到的数据变异成vant组件规定的格式!! { province_list: { 110000: '北京市', 120000: '天津市' }, city_list: { 110100: '北京市', 110200: '县', 120100: '天津市', 120200: '县' }, 阅读全文
posted @ 2020-06-08 09:54 石头记1 阅读(6248) 评论(0) 推荐(0)
摘要: 外层或者body用 padding-bottom:50px; 按钮用 .butfoot{position: fixed;bottom: 0;width:100%;} 阅读全文
posted @ 2020-05-25 10:29 石头记1 阅读(230) 评论(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 阅读(231) 评论(0) 推荐(0)
摘要: 查找数组中与后面项匹配的(返回的是数组里面的,而不是外面的!!!) function destroyer(...rest){//变为数组的形式传入 //rest.shift()//删除数组第一项,返回值被删除的那一项,原有数组改变 return rest.shift().filter(functio 阅读全文
posted @ 2020-05-14 16:41 石头记1 阅读(212) 评论(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 阅读(356) 评论(0) 推荐(0)
摘要: <select id="bank" style="width:70.5%;height:30px;" onchange="changeBank(value)"> </select> <input type="text" id="account" value="" readonly style="wi 阅读全文
posted @ 2020-04-29 10:59 石头记1 阅读(198) 评论(0) 推荐(0)
摘要: /^(([1-9](\.\d{2})?)|10|10.0)$/.test() 验证最多2位小数 /^(([1-9]{1}\d*)|(0{1}))(\.\d{1,2})?$/.test(str) 阅读全文
posted @ 2020-04-28 09:31 石头记1 阅读(2189) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页