推广小程序前端代码
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.

77 lines
1.4 KiB

2 months ago
  1. <template>
  2. <uv-navbar :leftIconColor="leftIconColor" :autoBack="autoBack" :title="title" :bgColor="bgColor" :leftIconSize="leftIconSize" :height="height" :titleStyle="titleStyle" @leftClick="leftClick"></uv-navbar>
  3. </template>
  4. <script>
  5. export default {
  6. data() {
  7. return {
  8. };
  9. },
  10. props: {
  11. autoBack: {
  12. type: Boolean,
  13. default: false,
  14. required: false
  15. },
  16. title: {
  17. type: String,
  18. default: '',
  19. required: false
  20. },
  21. bgColor: {
  22. type: String,
  23. default: 'transparent',
  24. required: false
  25. },
  26. leftIconSize: {
  27. type: String,
  28. default: '20rpx',
  29. required: false
  30. },
  31. leftIconColor: {
  32. type: String,
  33. default: '',
  34. required: false
  35. },
  36. height: {
  37. type: String,
  38. default: '100rpx',
  39. required: false
  40. },
  41. titleStyle: {
  42. type: Object,
  43. default: {},
  44. required: false
  45. },
  46. autoBack: {
  47. type: Boolean,
  48. default: false,
  49. required: false
  50. },
  51. },
  52. components: {
  53. },
  54. computed: {
  55. },
  56. watch: {
  57. },
  58. created() {
  59. },
  60. mounted() {
  61. },
  62. methods: {
  63. leftClick() {}
  64. }
  65. };
  66. </script>
  67. <style scoped lang="scss">
  68. </style>