Quellcode durchsuchen

fix: 空间搜索页面

chenzhen2 vor 2 Jahren
Ursprung
Commit
25834b059d

+ 1 - 1
.env.dev.build

@@ -1,2 +1,2 @@
 NODE_ENV=production
-VUE_APP_BASE_API = '/sgh5'
+VUE_APP_BASE_API = '/borui/'

+ 1 - 1
.env.dev.serve

@@ -1,2 +1,2 @@
 NODE_ENV=development
-VUE_APP_BASE_API = '/sgh5'
+VUE_APP_BASE_API = '/borui/'

+ 1 - 1
.env.prod.build

@@ -1,4 +1,4 @@
 
 NODE_ENV=production
-VUE_APP_BASE_API = '/sgh5'
+VUE_APP_BASE_API = '/borui/'
 

+ 1 - 1
.env.prod.serve

@@ -1,2 +1,2 @@
 NODE_ENV=development
-VUE_APP_BASE_API = '/sgh5'
+VUE_APP_BASE_API = '/borui/'

+ 4 - 0
public/images/search-icon/search-icon.svg

@@ -0,0 +1,4 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M16.416 17.9061L21.1667 22.5229C21.5628 22.9079 22.1959 22.8988 22.5808 22.5028C22.9657 22.1067 22.9566 21.4736 22.5606 21.0887L17.8099 16.4718C17.4138 16.0869 16.7807 16.0959 16.3958 16.492C16.0109 16.8881 16.0199 17.5212 16.416 17.9061Z" fill="#8D9399"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M20.3805 10.4949C20.3805 15.8985 15.9785 20.2767 10.5511 20.2767C5.12367 20.2767 0.72168 15.8985 0.72168 10.4949C0.72168 5.09133 5.12367 0.713074 10.5511 0.713074C15.9785 0.713074 20.3805 5.09133 20.3805 10.4949ZM2.72168 10.4949C2.72168 14.7915 6.22583 18.2767 10.5511 18.2767C14.8764 18.2767 18.3805 14.7915 18.3805 10.4949C18.3805 6.19833 14.8764 2.71307 10.5511 2.71307C6.22583 2.71307 2.72168 6.19833 2.72168 10.4949Z" fill="#1F2429"/>
+</svg>

+ 1 - 1
public/index.html

@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html lang="en">
 <head>
-  <meta base="/sgh5/">
+  <meta base="/borui/">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta http-equiv="Content-Security-Policy" content="">
   <meta name="viewport"

+ 2 - 2
src/config/default/vue.custom.config.js

@@ -1,6 +1,6 @@
 const vueDefaultConfig = {
-  publicPath: '/sgh5/',
-  outputDir: 'dist/sgh5',
+  publicPath: '/borui/',
+  outputDir: 'dist/borui',
   assetsDir: 'static',
   parallel: false,
   lintOnSave: false,

+ 2 - 2
src/constant/key.ts

@@ -7,8 +7,8 @@ class Keys {
   static aseKey = 'vue3-typescript-admin-ase-key'
   static companyKey = '245e7060643811eb934c0237aedb39a6'
   static openid = '602ef709beb64a1f9a4b6af2196d0af7'
-  static pubname = 'sgh5'
-  // static pubname = 'sagacareAndtenantslink'
+  // static pubname = 'ipdh5'
+  static pubname = 'sagacareAndtenantslink'
   static pubname1 = 'sagacareAndtenantslink'
   static storageSpaceKey = 'historySpace'
   static historySearchSpaceKey = 'historySearchSpace'

+ 2 - 0
src/permission.ts

@@ -8,6 +8,8 @@ import { Toast } from 'vant'
 import Cookies from 'js-cookie'
 
 router.beforeEach(async(to: RouteLocationNormalized, _: RouteLocationNormalized, next: any) => {
+  const store = useStore()
+  await store.dispatch(UserActionTypes.ACTION_GET_USER_INFO, undefined)
   next()
   // const store = useStore()
   // const accessToken: any = getUrlaccessToken()

+ 13 - 1
src/router/index.ts

@@ -11,6 +11,7 @@ const EnergyRank: any = () => import('@/views/portrait/energyRank.vue')
 const IntegralDesc: any = () => import('@/views/portrait/integralDesc.vue')
 const Record: any = () => import('@/views/portrait/record.vue')
 const MySpace: any = () => import('@/views/envmonitor/mySpace/index.vue')
+const SetMainSpace: any = () => import('@/views/choiceSpace/setMainSpace.vue')
 
 export const constantRoutes: Array<RouteRecordRaw> = [
   {
@@ -164,6 +165,17 @@ export const constantRoutes: Array<RouteRecordRaw> = [
       color: '#F5F5F5',
       hideHeader: false
     }
+  },
+  {
+    path:'/set-main-space',
+    component:SetMainSpace,
+    name: 'setMainSpace',
+    meta: {
+      title: '设置主空间',
+      title1: '左滑动可删除空间',
+      color: '#F5F5F5',
+      hideHeader: false
+    }
   }
 ]
 
@@ -171,7 +183,7 @@ export const asyncRoutes: Array<RouteRecordRaw> = [
   // ...permissionModules
 ]
 const router = createRouter({
-  history: createWebHistory('/sgh5/'),
+  history: createWebHistory('/borui/'),
   // history: createWebHashHistory('/sgh5/'),
   routes: constantRoutes
 })

+ 3 - 99
src/store/modules/user/actions.ts

@@ -68,13 +68,12 @@ export const actions: ActionTree<UserState, RootState> & Actions = {
     // commit(UserMutationTypes.SET_ROLES, [])
   },
   async [UserActionTypes.ACTION_GET_USER_INFO]({ commit }: AugmentedActionContext) {
-    if (process.env.VUE_APP_BASE_API === '/borui/') {
-      let nowProjectId: any = 'Pj1101080259'
+    let nowProjectId: any = 'Pj1101080259'
       const userInfo: any = {
         userName: '陈珍',
         userPhone: 15321277745,
-        userId: '602ef709beb64a1f9a4b6af2196d0af7'
-        // userId: '9a1ecfbacb6b4f249bf2dd3ec7793ead'
+        // userId: '602ef709beb64a1f9a4b6af2196d0af7'
+        userId: '9a1ecfbacb6b4f249bf2dd3ec7793ead'
         // userId: '1302990695845462811'
       }
       // setCookieUserInfo(JSON.stringify(userInfo))
@@ -84,102 +83,7 @@ export const actions: ActionTree<UserState, RootState> & Actions = {
       commit(UserMutationTypes.SET_USER_ID, userInfo.userId)
       store.commit(UserMutationTypes.SET_PROJECT_ID, nowProjectId)
       let projectId: any = getLocalProjectId()
-      if (projectId) {
-        if (projectId !== nowProjectId) {
-          clearAllLocalData()
-        }
-      } else {
-        setLocalProjectId(nowProjectId)
-      }
-    } else {
-      await getUsersInfo().then((res) => {
-        const resData: any = res
-        if (resData.result === 'success') {
-          const userInfo: any = resData?.data
-          let nowProjectId: any = userInfo.projectId
-          // setCookieUserInfo(JSON.stringify(userInfo))
-          setSessionUserInfo(JSON.stringify(userInfo))
-          commit(UserMutationTypes.SET_USER_NAME, userInfo.name)
-          commit(UserMutationTypes.SET_USER_PHONE, userInfo.phone)
-          commit(UserMutationTypes.SET_USER_ID, userInfo.id)
-          commit(UserMutationTypes.SET_COMPANY_ID, userInfo.companyId)
-          store.commit(UserMutationTypes.SET_PROJECT_ID, nowProjectId)
-          let projectId: any = getLocalProjectId()
-          if (projectId) {
-            if (projectId !== nowProjectId) {
-              clearAllLocalData()
-            }
-          } else {
-            setLocalProjectId(nowProjectId)
-          }
-        } else {
-          clearAllLocalData()
-          removeToken()
-          Toast('登录失效,请退出app重新登录')
-          router.push({ name: 'home' })
-        }
-        // if (process.env.NODE_ENV !== 'development') {
-        //   const userInfo: any = {
-        //     'id': '000847',
-        //     'name': '毛文霞',
-        //     'companyId': 'zhijiang',
-        //     'type': 1,
-        //     'createDate': 1649387179000,
-        //     'updateDate': 1649387179000,
-        //     'status': 2,
-        //     'phone': '13588847656',
-        //     'projectId': 'Pj3301100002'
-        //   }
-        //   const nowProjectId: any = userInfo.projectId
-        //   // debugger
-        //   setCookieUserInfo(JSON.stringify(userInfo))
-        //   commit(UserMutationTypes.SET_USER_NAME, userInfo.name)
-        //   commit(UserMutationTypes.SET_USER_PHONE, userInfo.phone)
-        //   commit(UserMutationTypes.SET_USER_ID, userInfo.id)
-        //   commit(UserMutationTypes.SET_COMPANY_ID, userInfo.companyId)
-        //   store.commit(UserMutationTypes.SET_PROJECT_ID, nowProjectId)
-        //   let projectId: any = getLocalProjectId()
-        //   if (projectId) {
-        //     if (projectId !== nowProjectId) {
-        //       clearAllLocalData()
-        //     }
-        //   } else {
-        //     setLocalProjectId(nowProjectId)
-        //   }
-        // } else {
-        //   if (resData.result === 'success') {
-        //     const userInfo: any = resData?.data
-        //     let nowProjectId: any = userInfo.projectId
-        //     setCookieUserInfo(JSON.stringify(userInfo))
-        //     commit(UserMutationTypes.SET_USER_NAME, userInfo.name)
-        //     commit(UserMutationTypes.SET_USER_PHONE, userInfo.phone)
-        //     commit(UserMutationTypes.SET_USER_ID, userInfo.id)
-        //     commit(UserMutationTypes.SET_COMPANY_ID, userInfo.companyId)
-        //     store.commit(UserMutationTypes.SET_PROJECT_ID, nowProjectId)
-        //     let projectId: any = getLocalProjectId()
-        //     if (projectId) {
-        //       if (projectId !== nowProjectId) {
-        //         clearAllLocalData()
-        //       }
-        //     } else {
-        //       setLocalProjectId(nowProjectId)
-        //     }
-        //   } else {
-        //     clearAllLocalData()
-        //     removeToken()
-        //     Toast('登录失效,请退出app重新登录')
-        //     router.push({ path: '/home' })
-        //   }
-        // }
-      }).catch(() => {
-        clearAllLocalData()
-        removeToken()
-        Toast('登录失效,请退出app重新登录')
-        router.push({ name: 'home' })
-      })
-    }
   },
-
   async [UserActionTypes.ACTION_CHANGE_ROLES](
     { commit }: AugmentedActionContext,
     role: string

+ 3 - 0
src/styles/_variables.scss

@@ -24,6 +24,9 @@ $lightGray: #eee;
 $darkGray:#889aa4;
 $loginBg: #2d3a4b;
 $loginCursorColor: #fff;
+$elActiveColor:#CE9F27;
+$elActiveText:#fff;
+$elDeleteColor:#E5574F;
 
 // The :export directive is the magic sauce for webpack
 // https://mattferderer.com/use-sass-variables-in-typescript-and-javascript

+ 25 - 0
src/styles/comMedia.scss

@@ -0,0 +1,25 @@
+@media screen and (max-width: 414px) and (min-width: 0px) {
+    .space-box {
+      width: 100% !important;
+    }
+  }
+  @media screen and (min-width: 414px) and (max-width: 768px) {
+    .space-box {
+      width: 50% !important;
+    }
+  }
+  @media screen and (min-width: 768px) and (max-width: 1200px) {
+    .space-box {
+      width: 33.33% !important;
+    }
+  }
+  @media screen and (min-width: 1200px) and (max-width: 1440px) {
+    .space-box {
+      width: 25% !important;
+    }
+  }
+  @media screen and (min-width: 1440px){
+    .space-box {
+      width: 20% !important;
+    }
+  }

+ 1 - 1
src/styles/index.scss

@@ -155,7 +155,7 @@ div:focus {
   box-shadow: none;
   background-repeat: repeat;
   border: 2px solid #dfe3ed;
-  background-image: url('/sgh5/images/map-icon/bg_disable.png');
+  background-image: url('/borui/images/map-icon/bg_disable.png');
 }
 
 .popup-content {

+ 1 - 2
src/utils/index.ts

@@ -199,8 +199,7 @@ export function getHours() {
 
 export function parseImgUrl(base: string, img: string) {
   if (img) {
-    // return require(`@/assets/images/${base}/${img}`)
-    return `/sgh5/images/${base}/${img}`
+    return `${process.env.BASE_URL}images/${base}/${img}`
   } else {
     return ''
   }

+ 209 - 21
src/views/choiceSpace/choiceSpace.vue

@@ -1,39 +1,75 @@
 <template>
-  <div class="choice-space content-box">
+  <div class="choice-space">
     <div class="search">
       <div class="search-floor" @click="showPounp">
         <span class="title">位置:</span>
         <span class="title">A栋134</span>
-        <!-- <img :src="parseImgUrl('page-officehome','loading.svg')" alt=""> -->
+        <van-icon class="arrow-down" name="arrow-down" />
       </div>
       <div class="search-space">
-        <van-search class="name" placeholder="请输入搜索关键词" />
+        <div class="com-select">
+          <div class="com-text" @click="showSpaceTypePounp">
+            <span>ddfff</span>
+            <van-icon class="arrow-down" name="arrow-down" />
+          </div>
+        </div>
+        <van-search class="search-box" placeholder="请输入搜索关键词" />
+        <div class="search-icon">
+          <img :src="parseImgUrl('search-icon', 'search-icon.svg')" alt="" />
+        </div>
       </div>
     </div>
-    <van-popup v-model:show="show" position="left">
+    <div class="space-content">
+      <div class="space-box" v-for="(item, index) in 10" :key="'space' + index">
+        <div class="space-item">
+          <span class="item-text"
+            >项目名称项目名称项目名称项目名称项目名称项目名称</span
+          >
+          <van-checkbox
+            class="item-check"
+            v-model="checked"
+            shape="square"
+          ></van-checkbox>
+        </div>
+      </div>
+    </div>
+    <div class="next-btn-box">
+      <button @click="goNext">下一步</button>
+    </div>
+    <!--弹出模块-->
+    <van-popup v-model:show="show" position="bottom">
       <van-tree-select
         v-model:active-id="activeId"
         v-model:main-active-index="activeIndex"
         :items="items"
       />
     </van-popup>
+    <van-popup v-model:show="showSpaceType" position="bottom">
+      <div class="space-type">
+        <span>ddd</span>
+        <span>ddd</span>
+        <span>ddd</span>
+      </div>
+    </van-popup>
   </div>
 </template>
 
 <script lang="ts">
 import { defineComponent, nextTick, onMounted, reactive, toRefs } from "vue";
-import { useRoute, onBeforeRouteUpdate } from "vue-router";
-import { Search, TreeSelect, Popup } from "vant";
-import { parseImgUrl } from '@/utils'
+import { useRoute,useRouter, onBeforeRouteUpdate } from "vue-router";
+import { Search, TreeSelect, Popup, Checkbox } from "vant";
+import { parseImgUrl } from "@/utils";
 
 export default defineComponent({
   components: {
     vanSearch: Search,
     VanPopup: Popup,
     VanTreeSelect: TreeSelect,
+    VanCheckbox: Checkbox,
   },
   setup() {
     const route: any = useRoute();
+    const router: any = useRouter();
     const option1 = [
       { text: "全部商ddddd品", value: 0 },
       { text: "新款商ddd品", value: 1 },
@@ -52,16 +88,10 @@ export default defineComponent({
           { text: "温州", id: 2 },
         ],
       },
-      {
-        text: "江苏",
-        children: [
-          { text: "南京", id: 5 },
-          { text: "无锡", id: 6 },
-        ],
-      },
     ];
     const proxyData = reactive({
-      parseImgUrl:parseImgUrl,
+      parseImgUrl: parseImgUrl,
+      checked: false,
       activeId: 1,
       activeIndex: 0,
       items: items,
@@ -72,9 +102,17 @@ export default defineComponent({
       value2: "a",
       transitionName: "slide-right",
       showHeader: false,
-      show: false,  // 是否展示选择建筑的页面
-      showPounp(){
-        proxyData.show=!proxyData.show
+      showSpaceType: false,
+      show: false, // 是否展示选择建筑的页面
+      showPounp() {
+        proxyData.show = !proxyData.show;
+      },
+      showSpaceTypePounp() {
+        proxyData.showSpaceType = !proxyData.showSpaceType;
+      },
+      // 设置主空间
+      goNext(){
+        router.push({name:'setMainSpace'})
       }
     });
     return {
@@ -84,29 +122,179 @@ export default defineComponent({
 });
 </script>
 <style lang="scss" scoped>
+@import "~@/styles/comMedia.scss";
 .choice-space {
   .search {
     display: flex;
+    padding: 0 20px;
+    .arrow-down {
+      position: absolute;
+      right: 16px;
+      top: 50%;
+      transform: translateY(-50%);
+      color: #8d9399;
+    }
     .search-floor {
-      // position: relative;
+      position: relative;
       width: 226px;
       height: 44px;
-      line-height: 44px;
+      line-height: 42px;
       background: #ffffff;
       border-radius: 22px;
+      padding-left: 10px;
       .title {
         display: inline-block;
         vertical-align: middle;
         padding-left: 10px;
+        font-style: normal;
+        font-weight: 400;
+        font-size: 16px;
+        line-height: 26px;
+        color: #1f2429;
       }
     }
     .search-space {
+      display: flex;
       flex: 1;
+      margin-left: 20px;
+      .com-select {
+        position: relative;
+        width: 150px;
+        height: 44px;
+        // line-height: 44px;
+        border-radius: 22px 0 0 22px;
+        background: #fff;
+        .com-text {
+          height: 44px;
+          line-height: 44px;
+          padding-left: 30px;
+        }
+      }
+      .search-box {
+        flex: 1;
+        height: 44px;
+      }
+      .search-icon {
+        display: inline-block;
+        background: #fff;
+        // height: 44px;
+        // line-height: 44px;
+        // width: 42px;
+        padding-right: 20px;
+        border-radius: 0 22px 22px 0;
+        img {
+          width: 24px;
+          height: 24px;
+          margin-top: 10px;
+        }
+        // height: 22px;
+      }
+    }
+  }
+  .space-content {
+    // display: flex;
+    width: 100%;
+    padding-top: 20px;
+    padding-right: 20px;
+    padding-left: 4px;
+    padding-bottom: 70px;
+    // justify-content: space-between;
+    .space-box {
+      // display: i;
+      display: inline-block;
+      width: 33.33%;
+      height: 100px;
+      // background: #fff;
+      padding-left: 20px;
+      margin-bottom: 20px;
+      .space-item {
+        display: flex;
+        position: relative;
+        width: 100%;
+        height: 100%;
+        // line-height: 100px;
+        // line-height: 1;
+        background: #ffffff;
+        /* divider/down */
+        box-shadow: inset 0px -1px 0px #e4e6e7;
+        border-radius: 25px;
+        background: #fff;
+        .item-text {
+          display: inline-block;
+          width: calc(100% - 60px);
+          padding-left: 20px;
+          position: absolute;
+          left: 0px;
+          top: 50%;
+          transform: translateY(-50%);
+        }
+        .item-check {
+          position: absolute;
+          right: 28px;
+          top: 50%;
+          width: 24px;
+          height: 24px;
+          transform: translateY(-50%);
+        }
+      }
+    }
+  }
+  .space-type {
+    padding: 20px;
+    span {
+      display: block;
+      font-size: 16px;
+      padding: 10px 0;
+    }
+  }
+
+  .next-btn-box {
+    position: fixed;
+    width: 100%;
+    height: 60px;
+    left: 0;
+    bottom: 0%;
+    background: #ffffff;
+    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.05),
+      0px 4px 15px rgba(0, 0, 0, 0.05);
+    text-align: center;
+    button {
+      width: 46%;
+      height: 40px;
+      font-family: "PingFang SC";
+      font-style: normal;
+      font-weight: 500;
+      font-size: 20px;
+      line-height: 24px;
+      color: $elActiveText;
+      margin-top: 10px;
+      background: $elActiveColor;
+      // opacity: 0.8;
+      border-radius: 16px;
+      border: none;
+      &:hover {
+        //  opacity: 0.1;
+        background: $elActiveColor;
+      }
     }
   }
 }
 </style>
 <style lang="scss">
-
+.choice-space {
+  .search-box {
+    .van-search__content {
+      background: transparent;
+      border-left: 1px solid #d9d9d9;
+    }
+    .van-field__left-icon {
+      display: none;
+    }
+  }
+  .van-checkbox__icon--checked .van-icon {
+    background-color: $elActiveColor !important;
+    border-color: $elActiveColor !important;
+  }
+}
 </style>
 

+ 134 - 0
src/views/choiceSpace/setMainSpace.vue

@@ -0,0 +1,134 @@
+<template>
+  <div class="set-main-space content-box">
+    <div
+      class="space-item"
+      @click="checkMainSpace"
+      v-for="(item, index) in 5"
+      :key="'space' + index"
+    >
+      <van-swipe-cell>
+        <van-cell
+          :border="false"
+          title="单元格单元格单元格单元格单元格单元格单元格单元格"
+        />
+        <template #right>
+          <van-button square type="danger" text="删除" />
+        </template>
+      </van-swipe-cell>
+    </div>
+
+    <van-popup v-model:show="show">
+      <div class="tip">
+        正在设置主空间,设置成功后,将关闭弹窗,并且进入空间页面
+      </div>
+    </van-popup>
+  </div>
+</template>
+
+<script lang="ts">
+import {
+  defineComponent,
+  nextTick,
+  onMounted,
+  reactive,
+  toRefs,
+  getCurrentInstance,
+} from "vue";
+import { useRoute, useRouter, onBeforeRouteUpdate } from "vue-router";
+import { SwipeCell, Cell, Popup, Button, Dialog, Loading } from "vant";
+import { parseImgUrl } from "@/utils";
+
+export default defineComponent({
+  components: {
+    VanSwipeCell: SwipeCell,
+    VanCell: Cell,
+    // VanPopup: Popup,
+    VanButton: Button,
+    VanDialog: Dialog,
+  },
+  setup() {
+    const proxyGlobal: any = getCurrentInstance();
+    const router: any = useRouter();
+    const proxyData = reactive({
+      show: false,
+      loaging: false,
+      parseImgUrl: parseImgUrl,
+      // 选择主空间
+      checkMainSpace() {
+        if (!proxyData.loaging) {
+          proxyData.loaging = true;
+          proxyGlobal.proxy.$toast.loading({
+            forbidClick: true,
+            duration: 0, // 如果大于0则不必使用destory方法
+            message: "正在设置主空间...",
+          });
+          proxyData.closeLoading();
+        }
+      },
+      closeLoading() {
+        setTimeout(() => {
+          proxyGlobal.proxy.$toast.clear();
+          router.push({ name: "envmonitor" });
+          proxyData.loaging = false;
+        }, 2000);
+      },
+    });
+    return {
+      ...toRefs(proxyData),
+    };
+  },
+});
+</script>
+<style lang="scss" scoped>
+.set-main-space {
+  .space-item {
+    background: #fff;
+    font-family: "Noto Sans SC";
+    font-style: normal;
+    font-weight: 400;
+    font-size: 16px;
+    line-height: 26px;
+    display: flex;
+    align-items: center;
+    color: #1f2429;
+    border-bottom: 1px solid #e4e6e7;
+  }
+  .tip {
+    width: 200px;
+    padding: 20px;
+    border-radius: 5px;
+  }
+}
+</style>
+<style lang="scss">
+.set-main-space {
+  .van-cell {
+    padding: 0 !important;
+  }
+  .van-swipe-cell {
+    // padding: 20px 0px 20px 28px;
+    width: 100%;
+    padding-left: 20px;
+    line-height: 66px;
+    height: 66px;
+  }
+  .van-cell__title {
+    font-size: 16px;
+    line-height: 66px;
+    height: 66px;
+    padding: 0 !important;
+  }
+  .van-swipe-cell__right {
+    height: 100%;
+    top: -6px;
+  }
+  .van-button--square {
+    height: 100%;
+  }
+  .van-button--danger {
+    background: $elDeleteColor !important;
+    border: 1px solid $elDeleteColor !important;
+  }
+}
+</style>
+

+ 2 - 2
src/views/envmonitor/index.vue

@@ -1354,8 +1354,8 @@ export default defineComponent({
       // 存储当前项目id
     })
     nextTick(() => {
-      proxyData.envmonitorMove()
-      proxyData.envScrollTop()
+      // proxyData.envmonitorMove()
+      // proxyData.envScrollTop()
     })
     onBeforeUnmount(() => {
       if (proxyData.spaceTimer) {