index.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <view class="container">
  3. <!-- #ifdef H5 -->
  4. <view style="color: #fff;">
  5. <tn-nav-bar backgroundColor="#26B3A0" :bottomShadow="false" @rightClick="jumpScoreRed">审核结果
  6. </tn-nav-bar>
  7. <view :style="{ height: tobheight + 'px' }"></view>
  8. </view>
  9. <!-- #endif -->
  10. <view class="content">
  11. <view class="topIcon">
  12. <icon type="success" size="54" color="#26B3A0" />
  13. <view class="txt">
  14. 审核成功
  15. </view>
  16. </view>
  17. <view class="tips">
  18. <icon type="info" color="#26B3A0" size="22" style="margin-right: 20rpx;" />到 <text
  19. style="text-decoration: underline;" @click="jumpYue">账户余额</text>查看佣金信息
  20. </view>
  21. <view class="line">
  22. </view>
  23. <view class="sunTitle">
  24. 反馈内容
  25. </view>
  26. <view class="content2">
  27. {{detail.feedback_reason}}
  28. </view>
  29. <view class="sunTitle">
  30. 反馈图片
  31. </view>
  32. <view class="chooscontainer">
  33. <view class="addpicall" v-for="(item,index) in pic_url" :key="index">
  34. <image style="width: 184rpx;height:186rpx;border-radius: 20rpx;" @click="previewImg(item)"
  35. :src="item" mode="aspectFill"></image>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. import {
  43. myTaskOrderDetail
  44. } from '@/api/my/index.js'
  45. export default {
  46. components: {},
  47. data() {
  48. return {
  49. tobheight: 45,
  50. detail: {}
  51. };
  52. },
  53. computed: {
  54. },
  55. watch: {
  56. },
  57. async onLoad(o) {
  58. let res = await myTaskOrderDetail({
  59. task_order_id: o.id
  60. })
  61. if (res.code == 0) {
  62. this.detail = res.data
  63. this.pic_url = this.detail.feedback_image.split(',')
  64. }
  65. console.log('审核成功--任务详情', this.detail);
  66. },
  67. onReady() {
  68. },
  69. onShow() {
  70. },
  71. onUnload() {
  72. },
  73. methods: {
  74. goPay() {
  75. uni.navigateTo({
  76. url: '/pages/index/scorePaySuc/index'
  77. })
  78. },
  79. jumpYue() {
  80. uni.navigateTo({
  81. url: '/pages/user/commission/commission-log'
  82. })
  83. },
  84. //点击预览图片
  85. previewImg(item) {
  86. uni.previewImage({
  87. current: item,
  88. urls: this.pic_url, //存放图片的数组
  89. loop: true,
  90. indicator: 'default'
  91. })
  92. },
  93. }
  94. };
  95. </script>
  96. <style lang="scss" scoped>
  97. @import './index.scss';
  98. </style>