p:nth-child(n) 定位p标签下的第一个元素,下标从1开始。 首先是一个标签下有多个相同的元素. 如index_service_cnt js_service_list下有多个class="index_service_cnt_itemWrap"的元素,此时需要定位其中一个 标签为a $('. ...
分类:
Web程序 时间:
2020-06-14 20:52:09
阅读次数:
90
需求场景如下: 指定起止日期,后选的将会受到先选的限制 不同的日期选择器,不过也存在关联关系 实现方法不难,利用了 change 事件,动态改变 picker-options 中的 disableDate 即可。 标签中 <el-form-item label="统计起期" prop="contra ...
分类:
其他好文 时间:
2020-06-14 20:37:11
阅读次数:
246
window10系统,先cmd打开chrome, chrome --remote-debugging-port=9222 执行脚本 from selenium import webdriver from selenium.webdriver.chrome.options import Options ...
分类:
其他好文 时间:
2020-06-14 16:32:39
阅读次数:
221
//数组拼接 var intArray_1 = new int[] { 1, 2, 3 }; var intArray_2 = new int[] { 4, 5, 6 }; var result = intArray_1.Concat(intArray_2); foreach (var item i ...
分类:
编程语言 时间:
2020-06-14 12:59:58
阅读次数:
76
1. USB摄像头取图 由于分辨率越高,处理的像素就越多,导致分析图像的时间变长,这里,我们设定摄像头的取图像素为(240,320): cap = cv2.VideoCapture(0) # 根据电脑连接的情况填入摄像头序号 assert cap.isOpened() # 以下设置显示屏的宽高 ca ...
分类:
其他好文 时间:
2020-06-13 21:31:31
阅读次数:
140
题目描述 请实现一个函数,用来判断一颗二叉树是不是对称的。注意,如果一个二叉树同此二叉树的镜像是同样的,定义其为对称的。 题目链接: https://www.nowcoder.com/practice/ff05d44dfdb04e1d83bdbdab320efbcb?tpId=13&tqId=112 ...
分类:
其他好文 时间:
2020-06-13 17:47:28
阅读次数:
70
redis 的集合是无序的,集合成员是唯一的,不能重复。用户可以快速地对集合执行添加元素操作、移除元素操作以及检查一个元素是否存在于集合中。这里介绍一些常用的集合处理命令,并在 Yii 中的使用。 SADD SADD:SADD key-name item [item …]将一个或多个元素添加到集合里 ...
分类:
其他好文 时间:
2020-06-13 17:28:56
阅读次数:
84
这里使用的FormModel 表单验证,它支持 v-model 检验(版本:1.5.0+) 1.template中: <a-form-model :label-col="{ span: 3 }" :wrapper-col="{ span: 9 }" :rules="rules" :model="ru ...
分类:
其他好文 时间:
2020-06-13 10:32:17
阅读次数:
448
1074 Reversing Linked List (25分) Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For ex ...
分类:
其他好文 时间:
2020-06-13 00:48:49
阅读次数:
54
功能分析 效果图 接口定义 代码orders/Order.vue <template> <div> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item :to="{ path: '/home' }">首页 ...