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