Merge branch 'feature/brand' into develop
Showing
2 changed files
with
8 additions
and
11 deletions
@@ -6,8 +6,8 @@ | @@ -6,8 +6,8 @@ | ||
6 | <hr> | 6 | <hr> |
7 | <div v-show="showMore" transition="brand-intro" v-bind:class="{ 'brand-short': !showMore }">{{ brandIntro.brandIntro }}</div> | 7 | <div v-show="showMore" transition="brand-intro" v-bind:class="{ 'brand-short': !showMore }">{{ brandIntro.brandIntro }}</div> |
8 | </div> | 8 | </div> |
9 | - <div class="expand" @click="introTrans()"></div> | ||
10 | - <div class="collapse"></div> | 9 | + <div v-if="!showMore" class="showmore expand" @click="introTrans()"></div> |
10 | + <div v-else class="showmore collapse" @click="introTrans()"></div> | ||
11 | </div> | 11 | </div> |
12 | </template> | 12 | </template> |
13 | <style> | 13 | <style> |
@@ -64,26 +64,23 @@ | @@ -64,26 +64,23 @@ | ||
64 | } | 64 | } |
65 | } | 65 | } |
66 | 66 | ||
67 | - .expand { | 67 | + .showmore { |
68 | width: 60px; | 68 | width: 60px; |
69 | height: 60px; | 69 | height: 60px; |
70 | - background: url("/channel/expand.png") no-repeat; | ||
71 | position: absolute; | 70 | position: absolute; |
72 | bottom: 20px; | 71 | bottom: 20px; |
73 | right: 5%; | 72 | right: 5%; |
74 | } | 73 | } |
75 | 74 | ||
75 | + .expand { | ||
76 | + background: url("/channel/expand.png") no-repeat; | ||
77 | + } | ||
78 | + | ||
76 | .collapse { | 79 | .collapse { |
77 | - width: 60px; | ||
78 | - height: 60px; | ||
79 | background: url("/channel/collapse.png") no-repeat; | 80 | background: url("/channel/collapse.png") no-repeat; |
80 | - position: absolute; | ||
81 | - bottom: 20px; | ||
82 | - right: 5%; | ||
83 | - display: none; | 81 | + |
84 | } | 82 | } |
85 | } | 83 | } |
86 | - | ||
87 | </style> | 84 | </style> |
88 | <script> | 85 | <script> |
89 | const $ = require('yoho-jquery'); | 86 | const $ = require('yoho-jquery'); |
-
Please register or login to post a comment