|
@@ -2,7 +2,7 @@
|
|
|
<view>
|
|
|
<My_listbox ref="List" @getlist="getList" :bottomHeight="70">
|
|
|
<view class="item-box">
|
|
|
- <navigator :url="'/cloud/feedback/detail?id='+item.sa_feedbackid" class="item" v-for="item in list" :key="item.sa_feedbackid">
|
|
|
+ <navigator @click="itemClick(item,index)" :url="'/cloud/feedback/detail?id='+item.sa_feedbackid" class="item" v-for="(item,index) in list" :key="item.sa_feedbackid">
|
|
|
<view class="header">
|
|
|
<view class="header-left">
|
|
|
<text>{{ item.type }}</text>
|
|
@@ -67,6 +67,12 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ async itemClick (data,index) {
|
|
|
+ this.$Http.setCallCount = function () {
|
|
|
+ let replycount = this.list[index].replycount + 1
|
|
|
+ this.$set(this.list[index],'replycount',replycount)
|
|
|
+ }.bind(this)
|
|
|
+ },
|
|
|
updateList () {
|
|
|
this.$Http.updateList = function(res) {
|
|
|
this.getList(true)
|