Browse Source

init

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


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

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

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

</div> </div>
</template> </template>
<script> <script>
@@ -187,6 +190,20 @@ export default {
handleScreen() { handleScreen() {
fullscreenToggel(); 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() { goBack() {
// 判断后退是否退回去选择页面 // 判断后退是否退回去选择页面
let idx = localStorage.getItem("orgType"); let idx = localStorage.getItem("orgType");


Loading…
Cancel
Save