<template>
	<view class="box-data">
   <en-nav title="首页" :left-show="false"></en-nav>
    <view class="box-but"><button @click="goToUrl(1)">投资</button> </view>
	</view>

</template>
<script>
import EnNav from "@/components/en-utils/en-nav/en-nav";
  export default {
		components: {
      EnNav

		},
		data() {
			return {

      }

		},
		watch: {

		},
    onLoad(query) {

    },
    mounted() {

		},
		methods: {
      goToUrl(type){
        switch (type) {
          case 1:
            uni.navigateTo({
              'url':'pages/contract/add'
            })
        }
      }

		},
	}
</script>
<style lang="scss" scoped>
.box-data{
min-height: calc(100vh - 100px);
padding-bottom: 50px;
  .box-but{
    padding: 32rpx;
    button{
      background: #3169FA;
      color: #fff;
      font-size: 32rpx;
    }
  }
}



</style>
