上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 55 下一页
  2019年8月1日
摘要: 平常设置或者获取一个View时,用的较多的是setContentView或LayoutInflater#inflate,setContentView内部也是通过调用LayoutInflater#inflate实现(具体调用在AppCompatViewInflater#setContentView(i 阅读全文
posted @ 2019-08-01 19:14 激流勇进1 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 在日常项目中,总会有很多单子,有时候为了方便查找,就做了一个查询功能,但是,这里讲的是一个前一单后一单的点击事件,在单子少的时候查找十分的方便,在查找两个相邻的单子时,很好做对比。 首先要查到所有的单子信息,这个相对于比较简单再查询是维修后单和前单的信息//查询维修单后一单public Action 阅读全文
posted @ 2019-08-01 19:13 激流勇进1 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 最后返回数据到页面中//点击维修单后一单事件$("#HouYiWXD").click(function () {//查询维修单行总数j++;DanShu++;i = shuzu[j];if (j == shuzu.length) {layer.msg(“这是最后一张维修单了!老板”, { icon: 阅读全文
posted @ 2019-08-01 19:13 激流勇进1 阅读(118) 评论(0) 推荐(0) 编辑
摘要: scrapy startproject douban 其中douban是我们的项目名称 2创建爬虫文件 进入到douban 然后创建爬虫文件 scrapy genspider dou douban.com 或者 scrapy genspider -t crawl dou douban.com # 这 阅读全文
posted @ 2019-08-01 19:12 激流勇进1 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 说明: WindowManager在addView时尚未测量完成, 获取宽高都是0。 可以这样测量: view.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);int width = view.getMeasur 阅读全文
posted @ 2019-08-01 19:11 激流勇进1 阅读(262) 评论(0) 推荐(0) 编辑
  2019年7月31日
摘要: 代码演示: using System.Collections;using System.Collections.Generic;using UnityEngine; public class GameObjectFind : MonoBehaviour { private GameObject th 阅读全文
posted @ 2019-07-31 17:49 激流勇进1 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 代码演示: using System.Collections;using System.Collections.Generic;using UnityEngine; public class TransformFind : MonoBehaviour { private Transform m_Tr 阅读全文
posted @ 2019-07-31 17:49 激流勇进1 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 要想实现键盘控制作用,就需要给游戏键盘监听事件利用pygame模块的key.get_pressed()方法,来检测按键是否按下 key_press =pygame.key.get_pressed() if not key_press[K_UP] and ball.rect.bottom < heig 阅读全文
posted @ 2019-07-31 17:48 激流勇进1 阅读(575) 评论(0) 推荐(0) 编辑
摘要: Point center(face_img.cols/2, face_img.rows/2); //cv::Mat rot_mat = cv::getRotationMatrix2D(center, -1 * arctan, 1.0); cv::Mat Rx(3, 3, CV_32FC1); dou 阅读全文
posted @ 2019-07-31 17:47 激流勇进1 阅读(261) 评论(0) 推荐(0) 编辑
摘要: void warp_perspect_3_angle(cv::Mat face, float roll, float yaw, float pitch) { cv::Mat face_img = face.clone(); int imgHeight = face_img.rows; int img 阅读全文
posted @ 2019-07-31 17:47 激流勇进1 阅读(694) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 55 下一页