body{ margin: 0 auto; background: #000; font-family: Georgia, Palatino, serif; color: #EEE; line-height: 1; max-width: 960px; padding: 30px; } h1, h2, ...
分类:
其他好文 时间:
2020-06-07 12:52:06
阅读次数:
65
展示页面 效果展示 list.wxml 设置开头以及背景样式,设置固定发布按钮 <block wx:for="{{datalist}}" wx:key="item"> <view class="item-container"> <text class="item-name">上传人:{{item.n ...
分类:
微信 时间:
2020-06-07 12:51:51
阅读次数:
108
一、flex布局 顶部,底部固定,中间自适应(中间左固定,右自适应)。 <body> <div class="container"> <div class="header"></div> <div class="content"> <div class="left"></div> <div clas ...
分类:
Web程序 时间:
2020-06-07 10:59:54
阅读次数:
64
CSS核心基础 CSS样式规则 选择器{属性1:属性值1; 属性2:属性值2; 属性3:属性值3;} CSS代码结构中的特点 CSS样式中的选择器严格区分大小写,属性和值不区分大小写,按照书写习惯一般将“选择器、属性和值”都采用小写的方式。 多个属性之间必须用英文状态下的分号隔开,最后一个属性后的分 ...
分类:
Web程序 时间:
2020-06-06 23:27:19
阅读次数:
99
盒子模型 认识盒子模型 所谓盒子模型就是把HTML页面中的元素看作是一个矩形的盒子,也就是一个盛装内容的容器。每个矩形都由元素的内容、内边距(padding)、边框(border)和外边距(margin)组成。 网页就是多个盒子嵌套排列的结果。 内边距出现在内容区域的周围,当给元素添加背景色或背景图 ...
分类:
其他好文 时间:
2020-06-06 23:25:53
阅读次数:
92
Document <style> * { padding: 0; margin: 0; } div { position: absolute; top: 50px; left: 0; height: 200px; width: 200px; background-color: pink; } spa ...
分类:
其他好文 时间:
2020-06-06 18:58:43
阅读次数:
67
<!-- edit by yunecommerce.com add the countdown timer --> <style>#progress_bar{margin-top:15px}.progressbar.progressbar{background:#ffe8e8;border:0px ...
分类:
移动开发 时间:
2020-06-06 18:48:48
阅读次数:
148
需要的库:matplotlib 用法: import matplotlib.pyplot as plt plt.plot(x, y) #x, y是两个列表 plt.show() 例子: import matplotlib.pyplot as plt x = [1, 2, 3] y = [2, 3, ...
分类:
编程语言 时间:
2020-06-06 18:20:56
阅读次数:
113
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>Ajax</title> <script src="js/jquery-2.1.1.min.js"></script> <style> body{ padding: 50px; fo ...
分类:
Web程序 时间:
2020-06-06 13:08:13
阅读次数:
79
需要抓紧时间的一周。 Algorithm: 215:Kth Largest Element in an Array (Medium) 这道题求第 k 大元素,类似于 top k,可以使用堆 heap,这里需要注意虽然逻辑上需要一个大小为 k 的小顶堆,但是实际上有个技巧是让它可以放下 k + 1 个 ...
分类:
其他好文 时间:
2020-06-06 12:45:10
阅读次数:
51