index.vue 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <view class="fixed-btn info-btn">
  3. <button class="detail cu-btn block" @tap="navTo('/pages/contact/index')">
  4. 联系我们 <zd-arrow class="btn-arrow" :color="'#ffffff'"></zd-arrow>
  5. </button>
  6. </view>
  7. </template>
  8. <script>
  9. import ZdArrow from '@/components/zd-arrow/index';
  10. export default {
  11. data() {
  12. return {}
  13. },
  14. components: {
  15. ZdArrow
  16. },
  17. methods: {
  18. navTo(route) {
  19. this.$mRouter.push({
  20. route
  21. })
  22. }
  23. }
  24. }
  25. </script>
  26. <style lang="scss" scoped>
  27. .fixed-btn {
  28. position: fixed;
  29. left: 50%;
  30. bottom: 60upx;
  31. transform: translateX(-50%);
  32. .detail {
  33. width: 532upx;
  34. height: 80upx;
  35. background: #1D2089;
  36. border-radius: 40upx;
  37. font-size: 32upx;
  38. font-family: PingFangSC-Medium, PingFang SC;
  39. font-weight: 500;
  40. color: #FFFFFF;
  41. }
  42. .btn-arrow {
  43. margin-left: 8upx;
  44. }
  45. }
  46. </style>