爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
770 B

4 weeks ago
  1. <template>
  2. <view class="page">
  3. <!-- 回收去向 -->
  4. <navbar :title="title" leftClick
  5. @leftClick="$utils.navigateBack" />
  6. <view class="content">
  7. <uv-parse :content="detail.details"></uv-parse>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. import navbar from '@/compoent/base/navbar.vue'
  13. export default {
  14. components : {
  15. navbar
  16. },
  17. onLoad({id}) {
  18. this.id = id
  19. this.getDetail()
  20. },
  21. data() {
  22. return {
  23. id : 0,
  24. detail : {},
  25. title : '客服问题',
  26. }
  27. },
  28. methods: {
  29. getDetail(){
  30. this.$api('getQuestionListDetail', {
  31. id : this.id
  32. }).then(res => {
  33. this.detail = res.result
  34. this.title = res.result.title
  35. })
  36. },
  37. }
  38. }
  39. </script>
  40. <style scoped lang="scss">
  41. .content{
  42. padding: 20rpx;
  43. }
  44. </style>