陈冉 6 лет назад
Родитель
Сommit
794ae2a534
1 измененных файлов: 26 добавлений и 8 удалений
  1. 26
    8
      src/views/vote/list.vue

+ 26
- 8
src/views/vote/list.vue Просмотреть файл

@@ -69,7 +69,9 @@
69 69
         </van-tab>
70 70
       </van-tabs>
71 71
     </div>
72
+    <div class="btn">
72 73
     <button :class="signupBtn?'signupBtnOne':'signupBtnTwo'" @click="signup">{{ myID > 0 ? '我的上传' : '我要报名'}}</button>
74
+    </div>
73 75
     <toast v-if="show" :url="activity.AfterVote" @close="close" @confirmbtn="tolink"></toast>
74 76
   </div>
75 77
 </template>
@@ -702,6 +704,19 @@ export default {
702 704
       }
703 705
     }
704 706
   }
707
+
708
+  .btn{
709
+        width: 100%;
710
+    height: 0.6rem;
711
+    display: flex;
712
+    justify-content: center;
713
+    align-items: center;
714
+    background: rgba(255,255,255,1);
715
+    position: fixed;
716
+    bottom: 0;
717
+    left: 0;
718
+    z-index: 100;
719
+
705 720
   .signupBtnOne {
706 721
     width: 91%;
707 722
     height: 0.5rem;
@@ -712,10 +727,10 @@ export default {
712 727
     font-weight: bold;
713 728
     color: rgba(255, 255, 255, 1);
714 729
     line-height: 0.28rem;
715
-    position: fixed;
716
-    bottom: 0.19rem;
717
-    left: calc(4.25%);
718
-    z-index: 100;
730
+    // position: fixed;
731
+    // bottom: 0.19rem;
732
+    // left: calc(4.25%);
733
+    // z-index: 100;
719 734
   }
720 735
   .signupBtnTwo {
721 736
     width: 91%;
@@ -727,11 +742,14 @@ export default {
727 742
     font-weight: bold;
728 743
     color: rgba(255, 255, 255, 1);
729 744
     line-height: 0.28rem;
730
-    position: fixed;
731
-    bottom: 0.19rem;
732
-    left: calc(4.25%);
733
-    z-index: 100;
745
+    // position: fixed;
746
+    // bottom: 0.19rem;
747
+    // left: calc(4.25%);
748
+    // z-index: 100;
734 749
   }
750
+
751
+  }
752
+
735 753
 }
736 754
 
737 755
 .theme1 {