root.uvue 447 字节
Newer Older
crlfe's avatar
crlfe 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<template>
  <view class="page">
    <view class="row">rootIsApp: <text>{{isApp}}</text></view>
  </view>
</template>

<script lang="ts">
export default {
  data () {
    return {
      isApp: false
    }
  },
  mounted () {
    // this.isApp = this.$root.app
  }
}
</script>

<style>
  .page {
    font-size: 16px;
  }
  .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
  }
</style>