随笔分类 -  前端/vue

摘要:var data = { area:["1240px","700px"], resize:false, shadeClose:false, shade:false, maxmin:true, zIndex:123456, callback:function(data){ }, min: functi 阅读全文
posted @ 2024-12-29 12:16 温柔的风 阅读(14) 评论(0) 推荐(0) 编辑
摘要:父窗口中操作iframe:window.frames["iframeChild"].document //假如iframe的id为iframeChild 在子窗口中操作父窗口:window.parent.document 那么,用如果想用jquery的方法,我们怎么用jquery来获取iframe呢 阅读全文
posted @ 2024-09-07 17:45 温柔的风 阅读(184) 评论(0) 推荐(0) 编辑
摘要:一、layier.confirm用法 layer.confirm('纳尼?', { title: '<span class="confirm-title-style">操作提示</span>', icon: 0, closeBtn: 2, shade: [0.3, '#000'], shadeClo 阅读全文
posted @ 2024-09-05 10:40 温柔的风 阅读(101) 评论(0) 推荐(0) 编辑
摘要:$(".layui-tab-title li").click(function(){ var my_clue_detail_tab_index = $(this).index(); sessionStorage.setItem("my_clue_detail_tab_index",my_clue_d 阅读全文
posted @ 2024-05-13 11:44 温柔的风 阅读(65) 评论(0) 推荐(0) 编辑
摘要:max-width:160px;white-space:nowrap;overflow: hidden; text-overflow: ellipsis;-o-text-overflow: ellipsis 阅读全文
posted @ 2024-01-06 20:25 温柔的风 阅读(17) 评论(0) 推荐(0) 编辑
摘要:js报错:Uncaught SyntaxError: Unexpected identifier 'Object' (at my_customer_index?addtabs=1:1:28) 开发遇到的是用onmouseover传递对象参数时(easyui传递一行数据时),会报Sncaught Sy 阅读全文
posted @ 2024-01-06 14:55 温柔的风 阅读(1394) 评论(0) 推荐(1) 编辑
摘要:$(".layui-tab-title li").click(function(){ var picTabNum = $(this).index(); sessionStorage.setItem("picTabNum",picTabNum); }); $(function(){ var getPi 阅读全文
posted @ 2023-12-09 09:11 温柔的风 阅读(270) 评论(0) 推荐(0) 编辑
摘要:在浏览器的地址栏里输入 chrome://flags/#unsafely-treat-insecure-origin-as-secure 并回车、然后作如下修改 里面输入你要操作的网址域名即可 阅读全文
posted @ 2023-08-19 23:49 温柔的风 阅读(1075) 评论(0) 推荐(0) 编辑
摘要:一、Html表格table属性设置如下 data-toggle="table" data-url="Url地址" data-pagination="true" data-search="true" data-show-columns="true" data-show-refresh="true" d 阅读全文
posted @ 2023-06-04 08:40 温柔的风 阅读(376) 评论(0) 推荐(0) 编辑
摘要:一、父级属性(容器属性) flex-direction flex-wrap flex-flow justify-content align-items align-content ①:flex-direction属性 (属性决定主轴的方向,即项目的排列方向) .box { flex-directio 阅读全文
posted @ 2021-11-10 11:49 温柔的风 阅读(84) 评论(0) 推荐(0) 编辑
摘要:html部分 //HTML <el-input class="input-item" v-model="formData.cInvoiceNo" size="mini" /> css部分 //CSS .input-item>>>.el-input__inner{ font-size: 12px!im 阅读全文
posted @ 2021-04-15 14:43 温柔的风 阅读(2044) 评论(0) 推荐(0) 编辑
摘要:自定义组件 navbarvue (胶囊底部高度 - 状态栏的高度) + (胶囊顶部高度 - 状态栏内的高度) = 导航栏的高度 <template> <view class="navbar"> <view class="navbar-fixed"> <!-- 状态栏小程序撑起高度 --> <view 阅读全文
posted @ 2021-02-01 16:32 温柔的风 阅读(2417) 评论(0) 推荐(0) 编辑
摘要:/deep/.uni-scroll-view { background-color: #fff; } /deep/.uni-scroll-view::-webkit-scrollbar { /* 隐藏滚动条,但依旧具备可以滚动的功能 */ display: none }加到css style体中 阅读全文
posted @ 2021-01-23 21:40 温柔的风 阅读(1352) 评论(0) 推荐(0) 编辑
摘要:////////一般做项目都会用的css样式(common/free.css) /* 图标 */ .iconfont{ font-family:iconfont; } .view,.text{ font-size:28rpx; line-height:1.8; color:#0E151D; } /* 阅读全文
posted @ 2021-01-23 21:23 温柔的风 阅读(1821) 评论(0) 推荐(0) 编辑
摘要:<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=k1t5GeQivZwSE4vMgPZSxE9UuB2c1b1o&s=1"></script> <!--<script src="https://api 阅读全文
posted @ 2020-12-08 19:23 温柔的风 阅读(597) 评论(0) 推荐(0) 编辑
摘要:为了轻松偷懒,不想从目的项目中开发目标项目中的页面,但目的项目中需要获取老项目中的页面,这里用了iframe跨域链接页面出现了问题 Blocked a frame with origin "http://......" from accessing a cross-origin frame. 出现此 阅读全文
posted @ 2019-07-04 19:26 温柔的风 阅读(54412) 评论(2) 推荐(0) 编辑
摘要:就类似于我们使用共享单车app的时候,可以看到我们周围的空闲单车分布。e代驾在后台管理系统需求里也有此功能,目的是为了实时看到目标城市下的所有司机状态。 一、controller //controller file //$drivers 是拿到当前城市所有的司机信息 foreach($drivers 阅读全文
posted @ 2019-05-28 11:38 温柔的风 阅读(2964) 评论(0) 推荐(0) 编辑
摘要:开启flash 阅读全文
posted @ 2018-10-27 23:06 温柔的风 阅读(533) 评论(0) 推荐(0) 编辑
摘要:FullCalendar提供了丰富的属性设置和方法调用,开发者可以根据FullCalendar提供的API快速完成一个日历日程的开发,本文将FullCalendar的常用属性和方法、回调函数等整理成中文文档,以供参阅。当前版本1.6.4。 最新版本的中文文档请查看:https://www.hello 阅读全文
posted @ 2018-07-17 17:10 温柔的风 阅读(4552) 评论(1) 推荐(0) 编辑
摘要:::-webkit-scrollbar { width: 6px; // y轴滚动条宽度 height: 6px; // x轴滚动条宽度 border-radius: 6px; background-color: #F5F5F5; } ::-webkit-scrollbar-thumb { bord 阅读全文
posted @ 2018-06-14 19:11 温柔的风 阅读(16) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示