You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pay-page.vue 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <template>
  2. <!-- <navBar title="补办ETC卡"></navBar>
  3. -->
  4. <view class="oderPage">
  5. <view class="addr-box">
  6. <view class="addr-box-left">
  7. <view class="text-image">
  8. </view>
  9. <view class="content">
  10. <view class="">
  11. <text class="item1">林成</text>
  12. <text class="item2">18227756455</text>
  13. <text class="item3">默认</text>
  14. </view>
  15. <view class="">
  16. 贵州省 昆明市 丽华区 XXX街道XXXXX路 201号
  17. </view>
  18. </view>
  19. </view>
  20. <view class="edit">
  21. <image :src="`${$imgUrl}applyCard/edit.png`" mode=""></image>
  22. </view>
  23. </view>
  24. <view class="from">
  25. <view class="content_top">
  26. <image :src="`${$imgUrl}equipmentService/card1.png`" mode=""></image>
  27. <view class="title">
  28. <view class="row1">补增设备</view>
  29. <view class="row2">图片仅供参考,以实际产品为准</view>
  30. </view>
  31. </view>
  32. <view class="from_item">
  33. <text>产品金额</text>
  34. <text class="row2"> <text style="font-size: 25rpx;">¥</text>130<text
  35. style="font-size:25rpx;">.00</text></text>
  36. </view>
  37. <view class="from_item">
  38. <text>运费</text>
  39. <text class="row2"> <text style="font-size: 25rpx;">¥</text>0<text
  40. style="font-size:25rpx;">.00</text></text>
  41. </view>
  42. <view class="from_item" style="margin-bottom: 30rpx;">
  43. <text>优惠卷</text>
  44. <text class="row2" style="font-size: 25rpx;"> 暂无优惠卷</text>
  45. </view>
  46. <view class="from_item" style="margin-bottom: 30rpx;">
  47. <text>积分兑换</text>
  48. <text class="row2" style="font-size: 25rpx;"> 暂无积分</text>
  49. </view>
  50. <view class="hr">
  51. </view>
  52. <view class="from_item" style="margin:30rpx 0 0 0;">
  53. <text>实付款</text>
  54. <text class="row2"> <text style="font-size: 25rpx;">¥</text>198<text
  55. style="font-size:25rpx;">.00</text></text>
  56. </view>
  57. </view>
  58. <button class="submit" @click="submit">支付</button>
  59. </view>
  60. </template>
  61. <script setup lang="ts">
  62. import navBar from "../ETCcancellation/components/nav-bar.vue"
  63. import {
  64. ref,
  65. reactive
  66. } from "vue";
  67. import {
  68. navTo
  69. } from "@/utils/utils"
  70. // 单选数据列表
  71. const radiolist1 = reactive([{
  72. name: '营业点自提',
  73. disabled: false
  74. },
  75. {
  76. name: '邮寄',
  77. disabled: false
  78. },
  79. ], )
  80. let show = ref(false)
  81. const submit = () => {
  82. navTo('/subpackage/after-sale/replace-equipment/result')
  83. }
  84. // 单选
  85. const radioChange = (n) => {
  86. console.log('radioChange', n);
  87. if (n == '卡退费') {
  88. flag.value = true
  89. console.log(flag.value);
  90. } else {
  91. flag.value = false
  92. console.log(flag.value);
  93. }
  94. }
  95. </script>
  96. <style>
  97. page {
  98. width: 100%;
  99. height: 100%;
  100. display: flex;
  101. flex-direction: column;
  102. background-color: #F3F3F3;
  103. }
  104. </style>
  105. <style lang="scss" scoped>
  106. .oderPage {
  107. flex: 1;
  108. width: 100%;
  109. .addr-box {
  110. margin-top: 20rpx;
  111. display: flex;
  112. background: #fff;
  113. padding: 30rpx;
  114. justify-content: space-between;
  115. align-items: center;
  116. .addr-box-left {
  117. display: flex;
  118. .text-image {
  119. width: 68rpx;
  120. height: 68rpx;
  121. background: #00B38B;
  122. border-radius: 50%;
  123. text-align: center;
  124. font-size: 26rpx;
  125. font-family: Microsoft YaHei;
  126. font-weight: 400;
  127. color: #FFFFFF;
  128. line-height: 68rpx;
  129. margin-right: 30rpx
  130. }
  131. .content {
  132. view {
  133. font-size: 26rpx;
  134. font-family: Microsoft YaHei;
  135. font-weight: 400;
  136. color: #333333;
  137. .item1 {
  138. font-size: 30rpx;
  139. font-family: Microsoft YaHei;
  140. font-weight: 400;
  141. color: #333333;
  142. }
  143. .item2 {
  144. font-size: 24rpx;
  145. font-family: Microsoft YaHei;
  146. font-weight: 400;
  147. color: #999999;
  148. margin-left: 10rpx;
  149. }
  150. .item3 {
  151. width: 71rpx;
  152. height: 37rpx;
  153. background: #FFFFFF;
  154. border: 1px solid #FF8000;
  155. border-radius: 6rpx;
  156. font-size: 22rpx;
  157. font-family: Microsoft YaHei;
  158. font-weight: 400;
  159. color: #FF8000;
  160. padding: 3rpx 6rpx;
  161. margin-left: 10rpx;
  162. }
  163. }
  164. }
  165. }
  166. .edit {
  167. image {
  168. width: 50rpx;
  169. height: 50rpx;
  170. }
  171. }
  172. }
  173. .from {
  174. background-color: #fff;
  175. margin-top: 20rpx;
  176. padding: 30rpx;
  177. .content_top {
  178. display: flex;
  179. margin-bottom: 50rpx;
  180. .title {
  181. margin-left: 30rpx;
  182. display: flex;
  183. flex-direction: column;
  184. justify-content: center;
  185. .row1 {
  186. font-size: 30rpx;
  187. font-family: Microsoft YaHei;
  188. font-weight: 400;
  189. color: #333333;
  190. margin-bottom: 20rpx;
  191. }
  192. .row2 {
  193. font-size: 24rpx;
  194. font-family: Microsoft YaHei;
  195. font-weight: 400;
  196. color: #999999;
  197. }
  198. }
  199. image {
  200. width: 140rpx;
  201. height: 130rpx;
  202. }
  203. }
  204. .hr {
  205. width: 100%;
  206. height: 1rpx;
  207. background: #DCDCDC;
  208. }
  209. .from_item {
  210. display: flex;
  211. flex-wrap: nowrap;
  212. justify-content: space-between;
  213. align-items: center;
  214. font-size: 28rpx;
  215. font-family: Microsoft YaHei;
  216. font-weight: 400;
  217. color: #333333;
  218. margin-bottom: 35rpx;
  219. .row2 {
  220. font-size: 32rpx;
  221. font-family: Microsoft YaHei;
  222. font-weight: 600;
  223. color: #000000;
  224. }
  225. }
  226. }
  227. }
  228. .submit {
  229. width: 670rpx;
  230. height: 80rpx;
  231. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  232. box-shadow: 0rpx 4rpx 11rpx 1rpx rgba(223, 223, 223, 0.5);
  233. border-radius: 40rpx;
  234. font-size: 32rpx;
  235. font-family: Microsoft YaHei;
  236. font-weight: 400;
  237. color: #FFFFFF;
  238. line-height: 80rpx;
  239. margin-top: 60rpx;
  240. }
  241. </style>