-
Notifications
You must be signed in to change notification settings - Fork 0
/
jianshu3.html
121 lines (111 loc) · 5.17 KB
/
jianshu3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<div class="col mb-4">
<div class="card h-100">
<div class="img-box">
<a href="https://www.jianshu.com/p/c7da5610d002" target="_blank">
<img src="./img/img18.jpg" class="card-img-top" alt="img">
</a>
</div>
<div class="card-body">
<a href="https://www.jianshu.com/p/c7da5610d002" target="_blank">
<h5 class="card-title">deepin体验安装</h5>
</a>
</div>
<p class="card-text">装系统狂魔又来了,之前我讲了Ubuntu、黑苹果的安装,这次我就来讲讲一个国产操作系统的安装,这个国产系统是dee...</p>
<p class="card-text"><small class="text-muted">Post time: 2019-05-22 16:44:19 Views: 11023</small></p>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100">
<div class="img-box">
<a href="https://www.jianshu.com/p/65a7685e0bae" target="_blank">
<img src="./img/img19.jpg" class="card-img-top" alt="img">
</a>
</div>
<div class="card-body">
<a href="https://www.jianshu.com/p/65a7685e0bae" target="_blank">
<h5 class="card-title">Mac微信小工具使用体验</h5>
</a>
</div>
<p class="card-text">微信现在已经是国内用户活跃度第一的应用了,随着一代代的更新,微信的功能越来越强大,而今天我要介绍一个小工具给你,能...</p>
<p class="card-text"><small class="text-muted">Post time: 2019-04-07 19:38:20 Views: 1444</small></p>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100">
<div class="img-box">
<a href="https://www.jianshu.com/p/b142703e5a42" target="_blank">
<img src="./img/img20.jpg" class="card-img-top" alt="img">
</a>
</div>
<div class="card-body">
<a href="https://www.jianshu.com/p/b142703e5a42" target="_blank">
<h5 class="card-title">不一样的系统体验</h5>
</a>
</div>
<p class="card-text">现在的人普遍有一个手机,手机上有许多优秀的App,但是手机存在一些明显的不足,比如你编辑一些文档,在手机上尽管可以...</p>
<p class="card-text"><small class="text-muted">Post time: 2019-04-07 14:10:02 Views: 8456</small></p>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100">
<div class="img-box">
<a href="https://www.jianshu.com/p/ad5126db8d3a" target="_blank">
<img src="./img/img21.jpg" class="card-img-top" alt="img">
</a>
</div>
<div class="card-body">
<a href="https://www.jianshu.com/p/ad5126db8d3a" target="_blank">
<h5 class="card-title">如何畅听几乎所有音乐</h5>
</a>
</div>
<p class="card-text">听歌是大家共同的爱好,但是因为版权问题无法在一个网站或App听到所有的歌,因而就又一群人致力于聚合所有歌曲,方便快...</p>
<p class="card-text"><small class="text-muted">Post time: 2019-02-15 16:21:10 Views: 1054</small></p>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100">
<div class="img-box">
<a href="https://www.jianshu.com/p/54d9a3a695cc" target="_blank">
<img src="./img/img22.jpg" class="card-img-top" alt="img">
</a>
</div>
<div class="card-body">
<a href="https://www.jianshu.com/p/54d9a3a695cc" target="_blank">
<h5 class="card-title">Ubuntu18.04/20.04完整新手安装教程</h5>
</a>
</div>
<p class="card-text">近段时间,我装过许多电脑系统,但是最好用、最好安装、成功率最高的就是Ubuntu了,Ubuntu对于电脑的适配可以...</p>
<p class="card-text"><small class="text-muted">Post time: 2019-01-09 12:42:10 Views: 665457</small></p>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100">
<div class="img-box">
<a href="https://www.jianshu.com/p/0188999f0e3d" target="_blank">
<img src="./img/img23.jpg" class="card-img-top" alt="img">
</a>
</div>
<div class="card-body">
<a href="https://www.jianshu.com/p/0188999f0e3d" target="_blank">
<h5 class="card-title">黑苹果安装指南</h5>
</a>
</div>
<p class="card-text">自从苹果的Mac用上Intel的处理器后,普通电脑也能用上MacOS了,前些天我又在电脑上将MacOS装上了,这次...</p>
<p class="card-text"><small class="text-muted">Post time: 2018-12-17 10:13:30 Views: 4712</small></p>
</div>
</div>
</div>
<script>
var aspectRatio = 16 / 9; // 你想要的宽高比(例如,16:9)
var img = $(".content .card img");
var desiredWidth = img.width(); // 设定你想要的宽度
// 根据宽高比计算高度
var desiredHeight = desiredWidth / aspectRatio;
var a_ = $('.content .card .img-box');
a_.css("height", desiredHeight + 'px'); // 设置图片的高度
</script>