Lee1203 2022-07-31 17:33:54 +08:00
commit 8a44442b4e
1 changed files with 15 additions and 2 deletions

View File

@ -38,7 +38,7 @@
</view>
<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;">
<textarea class="col9 fon30" style="height: 272rpx;" placeholder="请输入反馈信息"></textarea>
<textarea class="col9 fon30" v-model="content" style="height: 272rpx;" placeholder="请输入反馈信息"></textarea>
</view>
</view>
<view class="disjcac mar-s70">
@ -52,7 +52,8 @@
data() {
return {
typeList:['满意','不满意'],
typeText:'满意'
typeText:'满意',
content:''
}
},
methods: {
@ -64,6 +65,18 @@
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){
}
})
}
}
}