index.vue 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <view :style="{ minHeight: sys.windowHeight + 'px' }"
  3. :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
  4. <tm-menubars title="城市" :shadow="0" :showback="true"></tm-menubars>
  5. <div class="zhuti">
  6. <template>
  7. <view>
  8. <tm-quickCity color="blue" :defaultValue.sync="defaultValue">
  9. <tm-button block theme="bg-gradient-blue-accent">显示快速城市选择</tm-button>
  10. </tm-quickCity>
  11. </view>
  12. </template>
  13. </div>
  14. <!-- 弹出层消息 -->
  15. <tm-message ref="toast"></tm-message>
  16. </view>
  17. </template>
  18. <script>
  19. import{myRequest} from '@/api/request.js'
  20. export default {
  21. data() {
  22. return {
  23. defaultValue:[],
  24. };
  25. },
  26. onLoad() {
  27. },
  28. created() {
  29. this.sys = uni.getSystemInfoSync();
  30. },
  31. methods: {
  32. },
  33. }
  34. </script>
  35. <style lang="scss">
  36. /deep/ .tm-menubars .body{
  37. background-color: #1b1b1b !important;
  38. }
  39. /deep/ .zhuti{padding: 10px 10px;}
  40. /deep/ .kuang{margin:0 !important;padding: 0px !important;}
  41. </style>