123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <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>
|