洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
431 B

10 months ago
  1. <template>
  2. <view class="topNavbar">
  3. <u-navbar
  4. :leftText="title"
  5. :autoBack="true"
  6. :bgColor="bgColor"
  7. :leftIconColor="leftIconColor"
  8. :fixed="false"
  9. >
  10. </u-navbar>
  11. </view>
  12. </template>
  13. <script>
  14. export default {
  15. props: ['title'],
  16. data() {
  17. return {
  18. bgColor: 'transparent',
  19. leftIconColor: '#fff'
  20. }
  21. }
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. .topNavbar {
  26. padding-bottom: 20rpx;
  27. }
  28. </style>