h5端完成

master
Lee-1203 2022-03-06 16:49:12 +08:00
parent 661d3358f9
commit 1d674009d2
3 changed files with 23 additions and 7 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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>