|
|
@@ -21,7 +21,10 @@
|
|
|
<li>
|
|
|
<span class="left bz-yuandian"></span>
|
|
|
<span class="left">方式不同吧好像是差不多 </span>
|
|
|
- <img class="right bz-copy" src="/static/img/Triangle Copy 4.png" alt="">
|
|
|
+ <img @click="shows" class="right bz-copy" :class="isrotate ? 'rotates' : 'norotate'" src="/static/img/Triangle Copy 4.png" alt="">
|
|
|
+ <div class="Text-content" :class="isshow ? 'dispays' : 'hides'">
|
|
|
+ <p>警方圣诞快乐JFK的实力积分积分累积角度考虑实际疯狂的世界佛教埃及空军看见反抗类毒素解放就</p>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<span class="left bz-yuandian"></span>
|
|
|
@@ -46,16 +49,64 @@
|
|
|
|
|
|
<script>
|
|
|
export default {
|
|
|
-
|
|
|
+ data(){
|
|
|
+ return {
|
|
|
+ isshow: false,
|
|
|
+ isrotate: false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ shows(){
|
|
|
+ this.isshow = !this.isshow
|
|
|
+ this.isrotate = !this.isrotate
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.dispays {
|
|
|
+ /* display: block; */
|
|
|
+ height: 60px;
|
|
|
+ transition: All 0.4s ease-in-out;
|
|
|
+ -webkit-transition: All 0.4s ease-in-out;
|
|
|
+ -moz-transition: All 0.4s ease-in-out;
|
|
|
+ -o-transition: All 0.4s ease-in-out;
|
|
|
+}
|
|
|
+.hides {
|
|
|
+ /* display: none; */
|
|
|
+ height: 0;
|
|
|
+ margin-bottom: -13px;
|
|
|
+ transition: All 0.4s ease-in-out;
|
|
|
+ -webkit-transition: All 0.4s ease-in-out;
|
|
|
+ -moz-transition: All 0.4s ease-in-out;
|
|
|
+ -o-transition: All 0.4s ease-in-out;
|
|
|
+}
|
|
|
+.Text-content {
|
|
|
+ float: left;
|
|
|
+ width: 90%;
|
|
|
+ margin-left: 4%;
|
|
|
+ margin-top: 2%;
|
|
|
+}
|
|
|
+.rotates {
|
|
|
+ transform: rotate(0deg);
|
|
|
+ -webkit-transform: rotate(0deg);
|
|
|
+ -moz-transform: rotate(0deg);
|
|
|
+ -o-transform: rotate(0deg);
|
|
|
+ -ms-transform: rotate(0deg);
|
|
|
+}
|
|
|
+.norotate {
|
|
|
+ transform: rotate(-90deg);
|
|
|
+ -webkit-transform: rotate(-90deg);
|
|
|
+ -moz-transform: rotate(-90deg);
|
|
|
+ -o-transform: rotate(-90deg);
|
|
|
+ -ms-transform: rotate(-90deg);
|
|
|
+}
|
|
|
.bz-container {
|
|
|
width: 55%;
|
|
|
margin: 0 auto;
|
|
|
font-size: 14px;
|
|
|
- margin-top: 180px;
|
|
|
+ margin-top: 11%;
|
|
|
margin-bottom: 190px;
|
|
|
}
|
|
|
.bz-titlebox {
|
|
|
@@ -78,5 +129,9 @@
|
|
|
.bz-copy {
|
|
|
margin-right: 7px;
|
|
|
cursor: pointer;
|
|
|
+ transition: All 0.4s ease-in-out;
|
|
|
+ -webkit-transition: All 0.4s ease-in-out;
|
|
|
+ -moz-transition: All 0.4s ease-in-out;
|
|
|
+ -o-transition: All 0.4s ease-in-out;
|
|
|
}
|
|
|
</style>
|