index.vue 483 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view class="" :style="{minHeight:infoHeight+'px'}" :class="$tm.vx.state().tmVuetify.black ? 'grey-darken-6' : 'grey text '">
  3. 3
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. defaultTheme:[],
  11. infoHeight:0
  12. };
  13. },
  14. created() {
  15. this.defaultTheme = [this.$tm.vx.state().tmVuetify.color||'primary']
  16. this.infoHeight = uni.getSystemInfoSync().windowHeight
  17. },
  18. methods: {
  19. },
  20. }
  21. </script>
  22. <style lang="scss">
  23. </style>