diff --git a/src/common/portrait.styl b/src/common/portrait.styl index d5335b6..57bd260 100644 --- a/src/common/portrait.styl +++ b/src/common/portrait.styl @@ -23,6 +23,10 @@ padding: 20px; } +.pt-3 { + padding-top: 12px; +} + .pb-3 { padding-bottom: 12px; } diff --git a/src/views/IncubationPlatform/Children/Services.vue b/src/views/IncubationPlatform/Children/Services.vue index c21e64c..003ae49 100644 --- a/src/views/IncubationPlatform/Children/Services.vue +++ b/src/views/IncubationPlatform/Children/Services.vue @@ -15,19 +15,19 @@
-

{{ item.name }}

-

{{ item.intro }}

-

{{ showList[index] }}

+

{{ item.name }}

+

{{ item.intro }}

+

{{ showList[index] }}

@@ -42,36 +42,94 @@ v-show="total > 8" />
- + - + - + - - + + - +
- + 获取验证码
- +
- 重新发送 {{ interval }} - - 获取验证码 - + 重新发送 {{ interval }} + 获取验证码
- - + + - - 点击上传附件 + + + 点击上传附件 +
@@ -316,6 +382,7 @@ export default { }, showDiv(index) { var divs = document.getElementsByClassName('item-intro'); + console.log('divs: ', divs); let list = ['查看全部', '查看全部', '查看全部', '查看全部']; for (let i = 0; i < divs.length; i++) { if (index === i) { @@ -361,14 +428,8 @@ export default { display: -webkit-box; // -webkit-line-clamp: 3; // -webkit-box-orient: vertical; + text-align: left; height: 90px; overflow: hidden; } - -.see-more { - color: #13acc4; - position: absolute; - right: 0; - bottom: -20px; -}