Compare commits
2 Commits
65f15df320
...
9571be3940
Author | SHA1 | Date |
---|---|---|
吃肉的饺子 | 9571be3940 | |
吃肉的饺子 | 4109e8348f |
|
@ -38,7 +38,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="disjcac pad-zy20 mar-s30">
|
<view class="disjcac pad-zy20 mar-s30">
|
||||||
<view class="disjbac radius30 width100 pad-sx20 pad-zy30" style="border: 2rpx solid #d9d9d9;box-sizing: border-box;">
|
<view class="disjbac radius30 width100 pad-sx20 pad-zy30" style="border: 2rpx solid #d9d9d9;box-sizing: border-box;">
|
||||||
<textarea class="col9 fon30" style="height: 272rpx;" placeholder="请输入反馈信息"></textarea>
|
<textarea class="col9 fon30" v-model="content" style="height: 272rpx;" placeholder="请输入反馈信息"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="disjcac mar-s70">
|
<view class="disjcac mar-s70">
|
||||||
|
@ -52,7 +52,8 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
typeList:['满意','不满意'],
|
typeList:['满意','不满意'],
|
||||||
typeText:'满意'
|
typeText:'满意',
|
||||||
|
content:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -64,6 +65,18 @@
|
||||||
this.typeText = this.typeList[res.tapIndex];
|
this.typeText = this.typeList[res.tapIndex];
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
// 反馈提交
|
||||||
|
setFeedBack(){
|
||||||
|
let params = {
|
||||||
|
satisfied:this.typeText=="满意"?1:0,
|
||||||
|
content:this.content
|
||||||
|
}
|
||||||
|
this.$requst.post('user/create-feedback').then(res=>{
|
||||||
|
if(res.code==0){
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue