rem是相对于根元素html的font-size。 1rem = html的font-size 移动端适配通常使用rem。 在开发时,设计稿通常为750px物理像素 ,所以用750设计稿举例对应的iphone6的375px逻辑像素。(物理像素是逻辑像素的2倍) 375 / 7.5 = 50px(37 ...
分类:
移动开发 时间:
2021-06-25 17:04:48
阅读次数:
0
mysql引擎 create table t_mysql ( id Int32, name String, ) engine = MySQL('127.0.0.1:3306', 'test', 't', 'root', '123456'); mysql进行ddl: alter table t mod ...
分类:
其他好文 时间:
2021-06-25 16:44:37
阅读次数:
0
###js var href='http://localhost:8083/datas/dataflow/logicJob?id=CMZJJO2100000001&type=proLook' var urlParams = (function(url){ var result = new Objec ...
分类:
其他好文 时间:
2021-06-25 16:32:45
阅读次数:
0
1 #查询可安装版本 2 [root@localhost ~]# yum list docker-ce --showduplicates | sort -r 3 Repository extras is listed more than once in the configuration 4 doc ...
分类:
其他好文 时间:
2021-06-24 18:31:06
阅读次数:
0
? 通过mycat和mysql的主从复制配合搭建数据库的读写分离,可以实现mysql的高可用性,下面我们来搭建mysql的读写分离。 1、一主一从 1、在node01上修改/etc/my.cnf的文件 #mysql服务唯一id,不同的mysql服务必须拥有全局唯一的id server-id=1 #启 ...
分类:
数据库 时间:
2021-06-24 18:29:36
阅读次数:
0
const db = uniCloud.database(); const collection=db.collection('sblist'); //链表查 var res=await collection.aggregate() .lookup({ from: 'uni-id-users', l ...
分类:
其他好文 时间:
2021-06-24 18:27:17
阅读次数:
0
dataZoom=[ //区域缩放 { id: 'dataZoomX', show:true, //是否显示 组件。如果设置为 false,不会显示,但是数据过滤的功能还存在。 backgroundColor:"rgba(47,69,84,0)", //组件的背景颜色 type: 'slider', ...
分类:
其他好文 时间:
2021-06-24 18:12:17
阅读次数:
0
关于timestamp的两属性CURRENT_TIMESTAMP 和ON UPDATE CURRENT_TIMESTAMP,使用示例如下: CREATE TABLE `upload_table` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', ...
分类:
数据库 时间:
2021-06-24 18:07:30
阅读次数:
0
COCO 的jeson 文件: "images": [{"file_name": "811000171.jpg", "height": 720, "width": 1280, "id": 811000171}, {"file_name": "811000131.jpg", "height": 720 ...
分类:
其他好文 时间:
2021-06-24 18:06:36
阅读次数:
0
{ "category":[ "id":"1", "isleaf":"0", "isshow":"1", "label":"根结点", "name":"根结点", "orderby":1, "parentid":"0", "children":[ { "id":"1-1 ...
分类:
Web程序 时间:
2021-06-24 17:37:47
阅读次数:
0