apply-after.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <v-header title="申请售后" backgroundColor="#fff">
  3. <view class="screen_all flex">
  4. <view class="flex-all-1 overflow apply-after-container">
  5. <scroll-view class="screen_all" scroll-y>
  6. <view class="apply-after-screen">
  7. <view class="apply-after-header apply-after-modal">
  8. <view class="apply-after-header-item row aCenter"
  9. v-for="(item,index) in inputData"
  10. :key="index"
  11. @click="openSelectModal(item)"
  12. >
  13. <view class="flex-all-1">{{item.label}}</view>
  14. <view class="line-1 apply-after-header-value">{{item.data[item.value] ? item.data[item.value].label : ''}}</view>
  15. <text class="iconfont iconfont-more apply-after-header-more"></text>
  16. </view>
  17. </view>
  18. <view class="apply-after-modal apply-after-footer">
  19. <view class="row aCenter apply-after-footer-title">
  20. <view class="apply-after-footer-label">{{introduce.target || ''}}金额:</view>
  21. <view class="flex-all-1 overflow">
  22. <view class="line-1">¥{{item.price}}</view>
  23. </view>
  24. </view>
  25. <view class="row aCenter apply-after-footer-title">
  26. <view class="apply-after-footer-label">商品名称:</view>
  27. <view class="flex-all-1 overflow">
  28. <view class="line-1">{{item.name}}</view>
  29. </view>
  30. </view>
  31. <view class="apply-after-footer-title">{{introduce.target || ''}}说明:</view>
  32. <view class="apply-after-textarea">
  33. <textarea class="screen_all" v-model="textarea" maxlength="300" :placeholder="'请说明'+(introduce.targetLabel || introduce.target || '')+'原因'"></textarea>
  34. </view>
  35. <view class="apply-after-footer-title">相关图片:</view>
  36. <view class="apply-after-upload-wrap">
  37. <upload custom :max="5" :row="4" :padding="60" v-model="images">
  38. <view class="screen_all center apply-after-upload relative">
  39. <text class="iconfont iconfont-puls apply-after-upload-puls"></text>
  40. <view class="center absolute apply-after-upload-number">{{images.length}}/5</view>
  41. </view>
  42. </upload>
  43. </view>
  44. </view>
  45. </view>
  46. </scroll-view>
  47. </view>
  48. <view class="apply-after-button-wrap">
  49. <view @click="submit" class="apply-after-button center">提交申请</view>
  50. </view>
  51. </view>
  52. <v-select v-model="select" :data="useSelectItem.data" @change="changeSelect" :select="useSelectItem.value"></v-select>
  53. </v-header>
  54. </template>
  55. <script>
  56. import mixins from './mixins';
  57. import vHeader from '@/components/v-header/main';
  58. import vSelect from '@/components/v-select/main';
  59. import upload from '@/components/upload/main';
  60. export default {
  61. name: "apply-after",
  62. mixins,
  63. components:{
  64. vHeader,
  65. vSelect,
  66. upload
  67. }
  68. }
  69. </script>
  70. <style src="./style.scss" lang="scss">
  71. </style>