app.vue <template> <div id="app"> <v-home></v-home> <br> <hr> <br> <v-news></v-news> </div> </template> <script> /*非父子组件传值 1、新建一个js文件 然后引入vue 实例化vue 最 ...
分类:
其他好文 时间:
2020-09-17 16:17:19
阅读次数:
28
1 BOM:浏览器对象模型 2 load等页面全部加载完毕,包含页面dom元素,图片,flash,css等 3 window.onload = function(); // 当页面 DOM 结构中的 js、css、图片,以及 js 异步加载的 js、css 、图片都加载完成之后,才会触发 load ...
分类:
Web程序 时间:
2020-09-17 15:42:30
阅读次数:
31
int* shuffle(int* nums, int numsSize, int n, int* returnSize){ int* arr = (int*)calloc(numsSize, sizeof(int)); int pst = 0; for (int i = 0; i < numsSi ...
分类:
编程语言 时间:
2020-09-17 15:41:19
阅读次数:
21
<style> #Marquee{ height:20px;overflow:hidden; display:inline-block;-webkit-box-flex: 1;-webkit-flex: 1;flex: 1; } #Marquee p{ height:20px;overflow:hi ...
分类:
其他好文 时间:
2020-09-17 15:40:22
阅读次数:
33
Python基础编程 Author : AI菌 【内容讲解】 线程执行任务并传参有两种方式: 元组方式传参(args) :元组方式传参一定要和参数的顺序保持一致; 字典方式传参(kwargs):字典方式传参字典中的key一定要和参数名保持一致。 【代码演示】 """ 线程执行任务并传参有两种方式: ...
分类:
编程语言 时间:
2020-09-17 15:37:13
阅读次数:
18
@media print { .iconClass { background: black !important; -webkit-print-color-adjust: exact; } } ...
分类:
其他好文 时间:
2020-09-17 15:34:51
阅读次数:
50
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title></title> 6 <style type="text/css"> 7 #div1{ 8 width: 200px; 9 height: 138px; 10 ...
分类:
Web程序 时间:
2020-09-17 15:33:39
阅读次数:
38
$cate_info = Capsule::table('zh_app_category')->where('name', $classify)->first(); $cate_info->toSql() $app_ids = Capsule::select('SELECT app_id FROM ...
分类:
数据库 时间:
2020-09-17 15:30:23
阅读次数:
35
SpringBoot可以在数据源创建的同时执行建表语句和数据插入的sql语句: 默认只需要将文件命名为: schema-*.sql、data-*.sql 默认规则:schema.sql,schema-all.sql; 可以使用 schema: - classpath:department.sql 指 ...
分类:
编程语言 时间:
2020-09-17 13:49:57
阅读次数:
35
原文: https://www.zhihu.com/question/23455508 1. 理论计算(数据未压缩)4K显示屏对应的解析度:3840*21604K内容需要的传输速率:3840*2160*8*3*60≈12 Gbps (前提:不考虑数据中的其他信号;数据位数为8 bits/color; ...
分类:
其他好文 时间:
2020-09-17 13:46:22
阅读次数:
23