Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

selfDelivery.vue 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <!-- 地区弹窗 -->
  45. <!-- <view>
  46. <u-picker :show="show" ref="uPicker" :columns="columns" @cancel="cancel" @confirm="confirm"
  47. @change="changeHandler">
  48. </u-picker>
  49. </view> -->
  50. </view>
  51. </template>
  52. <script setup lang="ts">
  53. import navBar from "../ETCcancellation/components/nav-bar.vue"
  54. import {
  55. ref,
  56. reactive
  57. } from "vue";
  58. // 单选数据列表
  59. const radiolist1 = reactive([{
  60. name: '营业点自提',
  61. disabled: false
  62. },
  63. {
  64. name: '邮寄',
  65. disabled: false
  66. },
  67. ], )
  68. let show = ref(false)
  69. // 单选
  70. const radioChange = (n) => {
  71. console.log('radioChange', n);
  72. if (n == '卡退费') {
  73. flag.value = true
  74. console.log(flag.value);
  75. } else {
  76. flag.value = false
  77. console.log(flag.value);
  78. }
  79. }
  80. </script>
  81. <style>
  82. page {
  83. width: 100%;
  84. height: 100%;
  85. display: flex;
  86. flex-direction: column;
  87. background-color: #F3F3F3;
  88. }
  89. </style>
  90. <style lang="scss" scoped>
  91. .oderPage {
  92. flex: 1;
  93. width: 100%;
  94. .from {
  95. background-color: #fff;
  96. margin-top: 20rpx;
  97. .from_item {
  98. display: flex;
  99. flex-wrap: nowrap;
  100. justify-content: space-between;
  101. padding: 20rpx;
  102. border-bottom: #DCDCDC 1px solid;
  103. input {
  104. text-align: right;
  105. }
  106. }
  107. .from_item1 {
  108. display: flex;
  109. flex-wrap: nowrap;
  110. flex-direction: column;
  111. justify-content: space-between;
  112. padding: 20rpx;
  113. border-bottom: #DCDCDC 1px solid;
  114. input {
  115. text-align: right;
  116. }
  117. textarea {
  118. background-color: #F1F1F1;
  119. width: 100%;
  120. border-radius: 20rpx;
  121. margin-top: 10rpx;
  122. text-indent: 1rem;
  123. height: 180rpx;
  124. padding: 20rpx 0;
  125. }
  126. }
  127. }
  128. }
  129. .submit {
  130. background: linear-gradient(to left, #43A1E0 0%, #13E7C1 100%);
  131. width: 670rpx;
  132. height: 80rpx;
  133. line-height: 80rpx;
  134. font-size: 32rpx;
  135. color: #fff;
  136. border-radius: 100rpx;
  137. position: fixed;
  138. bottom: 10%;
  139. left:50%;
  140. transform: translate(-50%);
  141. }
  142. </style>