YOUFANG1.1 评估报告
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
|
||||
<style>
|
||||
.priceRecovery + .list-block ul:after{height:0;}
|
||||
.theme {
|
||||
background-color: #F18D00;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
@@ -82,8 +85,8 @@
|
||||
<p><label>估的准吗?</label></p>
|
||||
<p><small>您的反馈很重要,是我们努力的动力</small></p>
|
||||
<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(0)">低了</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,$event)">低了</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-block media-list">
|
||||
@@ -174,11 +177,15 @@ $.config = {router: false}
|
||||
|
||||
},
|
||||
methods:{
|
||||
feedback:function(i){
|
||||
axios.post("/rest/evaluate/feedBack",{params:{
|
||||
hid:hid,
|
||||
reason:i
|
||||
}}).then(function(response){
|
||||
feedback:function(i,event){
|
||||
if($(event.target).hasClass("theme")){
|
||||
return;
|
||||
}
|
||||
return;
|
||||
axios.post("/rest/evaluate/feedBack",{
|
||||
hid:hid,
|
||||
reason:i
|
||||
}).then(function(response){
|
||||
|
||||
}).catch(function(error){console.log(error)})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user