<style lang="less">
.overflow-wrap {
  width: 100%;
  height: 100%;
  scroll-view {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
}
</style>
</wxs>
<template>
<div class="overflow-wrap">
<div @click="goEnv">
环境控制
</div>
<div @click="goPortrait">
节能评分
</div>
</div>
</template>

<script>
import wepy from '@wepy/core';
import eventHub from '@/common/eventHub';
import { mapState } from '@wepy/x';
import store from '@/store';
import testMixin from '@/mixins/test';

wepy.page({
  store,
  config: {
    navigationBarTitleText: 'test'
  },

  data: {},
  methods: {
    goEnv() {
      wx.navigateTo({
        url: '/packagesEnv/pages/officehome/index?spaceId=Sp1101080259b3510e26e7dd4dd9bf9784f06f3feb68'
      });
    },
    goPortrait() {
      wx.navigateTo({
        url: '/packagesEnv/pages/portrait/home'
      });
    }
  },
  created() {}
});
</script>
<config>
{
navigationBarTitleText: '首页',
usingComponents: {
}
}
</config>
