Browse Source

init

newStyle
wangxiaohua 2 years ago
parent
commit
6d24846f61
2 changed files with 18 additions and 2 deletions
  1. +1
    -2
      src/page/index/tags.vue
  2. +17
    -0
      src/page/index/top/index.vue

+ 1
- 2
src/page/index/tags.vue View File

@@ -120,7 +120,7 @@
this.active = this.tag.value
},
menuTag(value, action) {
if(value=='/wel/index'){return}
if(value=='/wel/index'){return}
if (action === 'remove') {
let { tag, key } = this.findTag(value)
this.$store.commit('DEL_TAG', tag)
@@ -131,7 +131,6 @@
}
},
openTag(item) {
console.log(item,"99999")
let tag
if (item.name) {
tag = this.findTag(item.name).tag


+ 17
- 0
src/page/index/top/index.vue View File

@@ -10,6 +10,7 @@
</div>
</div>
<div class="top-bar__title" style="display: flex;align-items: center;">
<top-menu />
<div @click="goChange" style="line-height: 64px;cursor: pointer; display: flex;align-items: center;height:64px;">
<div class="daili2">
<img class="daili2img" src="/img/qh2.png" alt="" />
@@ -100,6 +101,7 @@
>
<!-- <img id="thumbnail" class="top-bar__img" /> -->
</el-tooltip>

<el-dropdown style="cursor: pointer;">
<span class="el-dropdown-link">
{{ userInfo.username }}
@@ -122,6 +124,7 @@
</el-dropdown>
<top-setting ref="seting" />
</div>

</div>
</template>
<script>
@@ -187,6 +190,20 @@ export default {
handleScreen() {
fullscreenToggel();
},
selectChange(e) {
console.log(e);
this.$emit("selectChange"); //关闭所有
localStorage.setItem("houseId", e);
},
// getHouseList(){
// this.$api.api.queryHouseByUsername()
// .then(res=>{
// // console.log(res);
// this.options=res.data
// this.value=res.data[0].id
// localStorage.setItem('houseId',this.value)
// })
// },
goBack() {
// 判断后退是否退回去选择页面
let idx = localStorage.getItem("orgType");


Loading…
Cancel
Save