h5端完成
parent
661d3358f9
commit
1d674009d2
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="content">
|
||||
<div class="content my-content">
|
||||
<!-- 头部 -->
|
||||
<div :class="{'header':true,'scroll white':isScrollTop,'white':true}">
|
||||
<div class="back"></div>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<h3>案例管理</h3>
|
||||
<span @click="addCase()">新增案例</span>
|
||||
</div>
|
||||
<ul class="consultant-case">
|
||||
<ul class="consultant-case" v-if="expertCase.length>1">
|
||||
<li>
|
||||
<span>封面图</span>
|
||||
<span>标题</span>
|
||||
|
@ -51,6 +51,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="feedback-btn" @click="outLogin()">退出登录</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -168,6 +169,13 @@
|
|||
goPage(path) {
|
||||
this.$router.push(path);
|
||||
},
|
||||
|
||||
// 退出登录
|
||||
outLogin(){
|
||||
localStorage.clear();
|
||||
this.$router.push('/login');
|
||||
},
|
||||
|
||||
// 滚动改变样式
|
||||
eventScrollTop() {
|
||||
let scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
|
||||
|
@ -200,5 +208,9 @@
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.feedback-btn{
|
||||
width: 100%;
|
||||
border-bottom: .2rem solid #f1f4f7;
|
||||
border-top: .6rem solid #f1f4f7;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
<div class="addr-select-bg" v-show="isSeekCard" @click="isSeekCard=!isSeekCard"></div>
|
||||
<div class="seek-card" v-show="isSeekCard">
|
||||
<img @click="goPage('/expert')" src="../../../assets/images/user/seekcard.png">
|
||||
<img @click="isSeekCard=!isSeekCard" src="../../../assets/images/user/close.png">
|
||||
<img @click="closeEV()" src="../../../assets/images/user/close.png">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -203,6 +203,11 @@
|
|||
this.getDate();
|
||||
},
|
||||
methods: {
|
||||
// 关闭
|
||||
closeEV(){
|
||||
this.isSeekCard=false;
|
||||
this.$router.push('/index');
|
||||
},
|
||||
// 获取城市列表
|
||||
getAddrData() {
|
||||
let that = this;
|
||||
|
|
|
@ -52,17 +52,16 @@
|
|||
<p>意见和反馈</p>
|
||||
<img src="../../../assets/images/home/expert/arrow-right.png" />
|
||||
</div>
|
||||
<div :class="{ 'my-report': true, open: isOpen }" @click="isOpen = !isOpen">
|
||||
<div :class="{ 'my-report': true, 'open': isOpen }" @click="isOpen = !isOpen">
|
||||
<span><img src="../../../assets/images/user/icon-report.png" alt="" /></span>
|
||||
<p>我的报告</p>
|
||||
<img src="../../../assets/images/home/expert/arrow-right.png" alt="" />
|
||||
</div>
|
||||
<ul :class="{ 'report-list': true, open: isOpen }">
|
||||
<ul :class="{ 'report-list': true, 'open': isOpen }">
|
||||
<li v-for="(item,index) in reportData" :key="index" @click="goReport(item.id)">
|
||||
<p>{{item.title}}</p>
|
||||
<span>{{item.done_at}}</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="feedback-btn" @click="outLogin()">退出登录</div>
|
||||
<tabbar :current="4"></tabbar>
|
||||
|
|
Loading…
Reference in New Issue