YOUFANG1.1 评估报告

This commit is contained in:
zongzhimin
2018-03-30 10:34:10 +08:00
parent 37c1a8ee32
commit deb1d158b1
@@ -16,6 +16,9 @@
<style> <style>
.priceRecovery + .list-block ul:after{height:0;} .priceRecovery + .list-block ul:after{height:0;}
.theme {
background-color: #F18D00;
}
</style> </style>
</head> </head>
@@ -82,8 +85,8 @@
<p><label>估的准吗?</label></p> <p><label>估的准吗?</label></p>
<p><small>您的反馈很重要,是我们努力的动力</small></p> <p><small>您的反馈很重要,是我们努力的动力</small></p>
<div class="row"> <div class="row">
<div class="col-50"><a class="button" v-on:click="feedback(1)">高了</a></div> <div class="col-50"><a class="button" v-on:click="feedback(1,$event)">高了</a></div>
<div class="col-50"><a class="button" v-on:click="feedback(0)">低了</a></div> <div class="col-50"><a class="button" v-on:click="feedback(0,$event)">低了</a></div>
</div> </div>
</div> </div>
<div class="list-block media-list"> <div class="list-block media-list">
@@ -174,11 +177,15 @@ $.config = {router: false}
}, },
methods:{ methods:{
feedback:function(i){ feedback:function(i,event){
axios.post("/rest/evaluate/feedBack",{params:{ if($(event.target).hasClass("theme")){
hid:hid, return;
reason:i }
}}).then(function(response){ return;
axios.post("/rest/evaluate/feedBack",{
hid:hid,
reason:i
}).then(function(response){
}).catch(function(error){console.log(error)}) }).catch(function(error){console.log(error)})
} }