<!--
 * @Author: aBin
 * @email: binbin0314@126.com
 * @Date: 2021-07-19 10:09:22
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-07-19 14:49:07
-->
<template>
  <view class="container p-4 bg-gray-100">
    <Title />
    <Globals />
    <!-- <view class="mt-5">
      <u-button type="primary" size="default" @click="$u.route('/pages/plugin-test/plugin-test')">iframe 验证</u-button>
    </view>
    <view class="my-3">
      <u-button type="warning" size="default" class="my-3" @click="$u.route('/pages/rich-text/rich-text')">pinch 事件验证</u-button>
    </view>
    <view class="my-3">
      <u-button type="error" size="default" @click="openPage">pinch 事件验证</u-button>
    </view> -->
  </view>
</template>

<script>
import Globals from 'components/Globals/index.vue';
import Title from 'components/Title/Title.vue';
export default {
  components: { Globals, Title },
  data() {
    return { title: 'Hello' };
  },
  onLoad() {
    console.log(this.$u.config.v);
    // this.openPage();
  },
  methods: {
    openPage() {
      console.log('open');
      this.$u.route('/pages/pinch/pinch');
    },
  },
};
</script>
