Browse Source

style

master
maochaoying 2 years ago
parent
commit
ab829cc73f
  1. 2
      index.html
  2. 6
      src/components/CaseCard.vue

2
index.html

@ -19,7 +19,7 @@
var _hmt = _hmt || [] var _hmt = _hmt || []
;(function () { ;(function () {
var hm = document.createElement('script') var hm = document.createElement('script')
hm.src = 'https://hm.baidu.com/hm.js?a816411910778ae002d61596a8ede86a'
hm.src = 'https://hm.baidu.com/hm.js?aead83b1b0f20ee468cdb1a81eb2e9c8'
var s = document.getElementsByTagName('script')[0] var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s) s.parentNode.insertBefore(hm, s)
})() })()

6
src/components/CaseCard.vue

@ -91,14 +91,14 @@ const getImg = id => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 20px 0;
padding: 10px 0;
.icon { .icon {
width: auto; width: auto;
height: 20px; height: 20px;
margin-bottom: 11px; margin-bottom: 11px;
} }
.title { .title {
font-size: 16px;
font-size: 24px;
transform: scale(0.5); transform: scale(0.5);
line-height: 8px; line-height: 8px;
font-family: Alibaba PuHuiTi; font-family: Alibaba PuHuiTi;
@ -126,11 +126,13 @@ const getImg = id => {
justify-content: center; justify-content: center;
flex: 1; flex: 1;
height: 100%; height: 100%;
overflow: hidden;
.img { .img {
width: 90px; width: 90px;
height: 90px; height: 90px;
box-shadow: 0px 2px 7px 0px rgba(8, 69, 71, 0.09); box-shadow: 0px 2px 7px 0px rgba(8, 69, 71, 0.09);
border-radius: 11px; border-radius: 11px;
transform: scale(1.45);
} }
} }
} }

Loading…
Cancel
Save