changeStore.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template>
  2. <view class="box">
  3. <view class="content">
  4. <view class="leftTitle2" style="padding: 24rpx 0; border-bottom: 1rpx solid #EEEEEE;">原服务门店信息</view>
  5. <view class="shopBg">
  6. <view class="leftTitle2">这是门店名称</view>
  7. <view class="addrressBg">
  8. <image src="../../static/img/icon_coordinate.png" mode="" style="width: 22rpx; height: 30rpx;">
  9. </image>
  10. <view style="color: #999999; font-size: 24rpx; margin-left: 20rpx;">江苏省南京市鼓楼区铁路南街233号</view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="content">
  15. <view class="viewBg">
  16. <image src="../../static/img/icon_xinghao.png" mode="" style="width: 14rpx; height: 14rpx;"></image>
  17. <view class="leftTitle">更换门店</view>
  18. <picker class="width70" mode="selector" :range="storeArr" @change="storeChange">
  19. <view class="blackColor" :class="{grayColor: store==''}">{{store?store:'请选择'}}</view>
  20. </picker>
  21. <image src="../../static/img/rightArrow.png" mode="" style="width: 13rpx; height: 23rpx;"></image>
  22. </view>
  23. </view>
  24. <view class="content">
  25. <view class="viewBg" style="border-bottom: 1rpx solid #EEEEEE;">
  26. <image src="../../static/img/icon_xinghao.png" mode="" style="width: 14rpx; height: 14rpx;"></image>
  27. <view class="leftTitle">更换原因</view>
  28. <picker class="width70" mode="selector" :range="reasonArray" @change="reasonChange">
  29. <view class="blackColor" :class="{grayColor: reason==''}">{{reason?reason:'请选择'}}</view>
  30. </picker>
  31. <image src="../../static/img/rightArrow.png" mode="" style="width: 13rpx; height: 23rpx;"></image>
  32. </view>
  33. <view class="viewBg">
  34. <view class="leftTitle">补充描述</view>
  35. <textarea placeholder-style="color:#999999" placeholder="选填,请输入补充描述" v-model="exeContent"
  36. class="textareaCont" maxlength="-1" auto-height="true" @confirm="feedDone" />
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. data() {
  44. return {
  45. store: '',
  46. storeArr: ['1店', '2店'],
  47. reasonArray: ['距离太远', '服务不好'],
  48. reason: '',
  49. exeContent: '',
  50. }
  51. },
  52. methods: {
  53. feedDone(e) {
  54. this.exeContent = e.target.value
  55. },
  56. storeChange(e) {
  57. this.store = this.storeArr[e.detail.value];
  58. },
  59. reasonChange(e) {
  60. this.reason = this.reasonArray[e.detail.value];
  61. }
  62. }
  63. }
  64. </script>
  65. <style scoped>
  66. .box {
  67. min-height: 100vh;
  68. background: #F4F5F7;
  69. padding-top: 20rpx;
  70. }
  71. .content {
  72. background-color: #FFFFFF;
  73. border-radius: 10rpx;
  74. margin: 20rpx 24rpx;
  75. padding: 0 20rpx;
  76. }
  77. .shopBg{
  78. padding: 30rpx 0;
  79. }
  80. .addrressBg{
  81. padding-top: 12rpx;
  82. display: flex;
  83. align-items: center;
  84. }
  85. .viewBg {
  86. display: flex;
  87. align-items: center;
  88. padding: 30rpx 0;
  89. }
  90. .width70 {
  91. width: 70%;
  92. }
  93. .leftTitle2 {
  94. color: #333333;
  95. font-size: 28rpx;
  96. }
  97. .leftTitle {
  98. color: #333333;
  99. font-size: 28rpx;
  100. width: 130rpx;
  101. margin-right: 50rpx;
  102. }
  103. .blackColor {
  104. color: #333333;
  105. font-size: 28rpx;
  106. }
  107. .grayColor {
  108. color: #999999;
  109. font-size: 28rpx;
  110. }
  111. .textareaCont {
  112. width: 70%;
  113. font-size: 28rpx;
  114. color: #333333;
  115. }
  116. </style>