area.vue 613 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <view class="area-box">
  3. <Navbar title="不发货地区" color="#333"></Navbar>
  4. <view class="content">
  5. 不发货地区: {{area}}
  6. </view>
  7. </view>
  8. </template>
  9. <script lang='ts'>
  10. import {
  11. Component,
  12. Prop,
  13. Vue
  14. } from 'vue-property-decorator';
  15. @Component({})
  16. export default class Area extends Vue {
  17. area: string = '无';
  18. onLoad() {
  19. let area = this.$Route.query.area;
  20. if (area) {
  21. this.area = area || '无';
  22. }
  23. }
  24. }
  25. </script>
  26. <style lang="scss" scoped>
  27. .content {
  28. padding: vw(12) vw(15);
  29. @include word-vw(14, #333);
  30. border-top: vw(1) solid #efefef;
  31. }
  32. </style>