Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <template>
  2. <navBar title="补办ETC卡"></navBar>
  3. <view class="oderPage">
  4. <view class="from">
  5. <view class="from_item">
  6. <text>新办单号:</text>
  7. <input type="text" name="" id="" placeholder="请输入">
  8. </view>
  9. <view class="from_item">
  10. <text>订单车牌号:</text>
  11. <input type="text" name="" id="" value="贵A12345">
  12. </view>
  13. <view class="from_item">
  14. <text>原卡号:</text>
  15. <input type="text" name="" id="" placeholder="请输入卡号">
  16. </view>
  17. <view class="from_item">
  18. <text>原卡状态:</text>
  19. <input type="text" name="" id="" placeholder="">
  20. </view>
  21. <view class="from_item">
  22. <text><text style="color: red;">*</text>收货方式:</text>
  23. <u-radio-group v-model="radiovalue1">
  24. <u-radio :customStyle="{marginBottom: '8px'}" activeColor="#2CE242"
  25. v-for="(item, index) in radiolist1" :key="index" :label="item.disabled" :name="item.name"
  26. @change="radioChange">
  27. {{item.name}}
  28. </u-radio>
  29. </u-radio-group>
  30. </view>
  31. <view class="from_item">
  32. <text><text style="color: red;">*</text>自提:</text>
  33. <view style="display: flex;">
  34. <input type="text" name="" id="" placeholder="请选择自提网点">
  35. <u-icon name="arrow-right" style="margin-left: 10px;"></u-icon>
  36. </view>
  37. </view>
  38. <view class="from_item1">
  39. <text><text style="color: red;">*</text>补卡原因:</text>
  40. <textarea name="" id="" placeholder="请输入补卡原因,限制50字以内。"></textarea>
  41. </view>
  42. </view>
  43. <button class="submit">下一步</button>
  44. </view>
  45. </template>
  46. <script setup lang="ts">
  47. import navBar from "../ETCcancellation/components/nav-bar.vue"
  48. import {
  49. ref,
  50. reactive
  51. } from "vue";
  52. // 单选数据列表
  53. const radiolist1 = reactive([{
  54. name: '营业点自提',
  55. disabled: false
  56. },
  57. {
  58. name: '邮寄',
  59. disabled: false
  60. },
  61. ])
  62. let show = ref(false)
  63. // 单选
  64. const radioChange = (n) => {
  65. console.log('radioChange', n);
  66. if (n == '卡退费') {
  67. flag.value = true
  68. console.log(flag.value);
  69. } else {
  70. flag.value = false
  71. console.log(flag.value);
  72. }
  73. }
  74. </script>
  75. <style>
  76. page {
  77. width: 100%;
  78. height: 100%;
  79. display: flex;
  80. flex-direction: column;
  81. background-color: #F3F3F3;
  82. }
  83. </style>
  84. <style lang="scss" scoped>
  85. .oderPage {
  86. flex: 1;
  87. width: 100%;
  88. .from {
  89. background-color: #fff;
  90. margin-top: 20rpx;
  91. .from_item {
  92. display: flex;
  93. flex-wrap: nowrap;
  94. justify-content: space-between;
  95. padding: 20rpx;
  96. border-bottom: #DCDCDC 1px solid;
  97. input {
  98. text-align: right;
  99. }
  100. }
  101. .from_item1 {
  102. display: flex;
  103. flex-wrap: nowrap;
  104. flex-direction: column;
  105. justify-content: space-between;
  106. padding: 20rpx;
  107. border-bottom: #DCDCDC 1px solid;
  108. input {
  109. text-align: right;
  110. }
  111. textarea {
  112. background-color: #F1F1F1;
  113. width: 100%;
  114. border-radius: 20rpx;
  115. margin-top: 10rpx;
  116. text-indent: 1rem;
  117. height: 180rpx;
  118. padding: 20rpx 0;
  119. }
  120. }
  121. }
  122. }
  123. .submit {
  124. background: linear-gradient(to left, #43A1E0 0%, #13E7C1 100%);
  125. width: 670rpx;
  126. height: 80rpx;
  127. line-height: 80rpx;
  128. font-size: 32rpx;
  129. color: #fff;
  130. border-radius: 100rpx;
  131. position: fixed;
  132. bottom: 10%;
  133. left: 50%;
  134. transform: translate(-50%);
  135. }
  136. </style>