摘要: 1.克隆以后 删除package.json中tui-editor:1.3.3 2.\src\components\MarkdownEditor\index.vue文件,将全部import换成下面几个import 'codemirror/lib/codemirror.css'import '@toas 阅读全文
posted @ 2022-10-19 11:13 波吉大王子 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一、引入高德地图和ui库 <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=你的key&plugin=AMap.DistrictSearch"></script> AMap.DistrictSe 阅读全文
posted @ 2021-12-03 17:21 波吉大王子 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 正常情况下,都会使用 -webkit-line-clamp:2; word-break: break-all; text-overflow: ellipsis; display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/ -webkit-box-orient: vertic 阅读全文
posted @ 2018-03-08 12:25 波吉大王子 阅读(1226) 评论(0) 推荐(0) 编辑
摘要: 最近项目中用到了video标签,之前在Pc上的时候,问题虽然参差不齐,但是基本功能还是完善的,在这单独说说它在微信下出现的情况 在微信中,ios下默认是全屏的,得设置 阅读全文
posted @ 2018-01-10 11:04 波吉大王子 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: 我们都知道,前端开发跨域是一个很常见的问题,当然跨域的方法也有很多,现在我就给大家分享一个在vue项目中如何使用webpack做代理,步骤简单,操作方便,本人亲测,巨好使😆 首先,找到你的config文件夹,打开index.js 找到dev下面的 proxyTable proxyTable: { 阅读全文
posted @ 2017-11-21 16:28 波吉大王子 阅读(5461) 评论(0) 推荐(0) 编辑
摘要: 1、for循环更改每个空格为"&nbsp;" 分号必须有!!! 2、将包裹标签更换为<pre></pre> 此方法简单奏效。。 阅读全文
posted @ 2017-09-28 18:02 波吉大王子 阅读(365) 评论(0) 推荐(0) 编辑
摘要: <html xmlns=""><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><script type="text/javascript">// 获取当前时间戳(以s为单位)var timestam 阅读全文
posted @ 2017-08-07 11:19 波吉大王子 阅读(2846) 评论(0) 推荐(0) 编辑
摘要: function getJSONP(url,callback) { var JSONP=document.createElement("script"); JSONP.type="text/javascript"; JSONP.src=url+"&callback="+callback; docum 阅读全文
posted @ 2017-02-23 09:29 波吉大王子 阅读(169) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/article/70638.htm 阅读全文
posted @ 2017-02-21 19:21 波吉大王子 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 43B4A73YYJ-eyJsaWNlbnNlSWQiOiI0M0I0QTczWVlKIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGl 阅读全文
posted @ 2017-01-13 19:32 波吉大王子 阅读(207) 评论(0) 推荐(0) 编辑