props.uvue 791 字节
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
<template>
  <view class="page">
    <check-type
        str="abcd"
        :num="12345"
        :bool="true"
    ></check-type>
<!--    <view>简易类型</view>-->
<!--    <simple-->
<!--        str="abcd"-->
<!--        :num="12345"-->
<!--        :bool="true"-->
<!--    ></simple>-->
  </view>
</template>

<script lang="ts">
import checkType from "./check-type.uvue";
// import simple from "./simple.uvue";

export default {
  components: {
    checkType,
    // simple
  }
}
</script>

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