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.8KB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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. uni.showModal({
  83. title: '模拟两种情况',
  84. confirmText: '有余额',
  85. cancelText: '无余额',
  86. success: function(res) {
  87. if (res.confirm) {
  88. console.log('用户点击确定');
  89. navTo('/subpackage/after-sale/to-bookkeeping-card/refund')
  90. } else if (res.cancel) {
  91. console.log('用户点击取消');
  92. navTo('/subpackage/after-sale/to-bookkeeping-card/base-change-people')
  93. }
  94. }
  95. });
  96. }
  97. // 单选
  98. const radioChange = (n) => {
  99. console.log('radioChange', n);
  100. if (n == '卡退费') {
  101. flag.value = true
  102. console.log(flag.value);
  103. } else {
  104. flag.value = false
  105. console.log(flag.value);
  106. }
  107. }
  108. </script>
  109. <style>
  110. page {
  111. width: 100%;
  112. height: 100%;
  113. display: flex;
  114. flex-direction: column;
  115. background-color: #F3F3F3;
  116. }
  117. </style>
  118. <style lang="scss" scoped>
  119. .oderPage {
  120. flex: 1;
  121. width: 100%;
  122. .addr-box {
  123. margin-top: 20rpx;
  124. display: flex;
  125. background: #fff;
  126. padding: 30rpx;
  127. justify-content: space-between;
  128. align-items: center;
  129. .addr-box-left {
  130. display: flex;
  131. .text-image {
  132. width: 68rpx;
  133. height: 68rpx;
  134. background: #00B38B;
  135. border-radius: 50%;
  136. text-align: center;
  137. font-size: 26rpx;
  138. font-family: Microsoft YaHei;
  139. font-weight: 400;
  140. color: #FFFFFF;
  141. line-height: 68rpx;
  142. margin-right: 30rpx
  143. }
  144. .content {
  145. view {
  146. font-size: 26rpx;
  147. font-family: Microsoft YaHei;
  148. font-weight: 400;
  149. color: #333333;
  150. .item1 {
  151. font-size: 30rpx;
  152. font-family: Microsoft YaHei;
  153. font-weight: 400;
  154. color: #333333;
  155. }
  156. .item2 {
  157. font-size: 24rpx;
  158. font-family: Microsoft YaHei;
  159. font-weight: 400;
  160. color: #999999;
  161. margin-left: 10rpx;
  162. }
  163. .item3 {
  164. width: 71rpx;
  165. height: 37rpx;
  166. background: #FFFFFF;
  167. border: 1px solid #FF8000;
  168. border-radius: 6rpx;
  169. font-size: 22rpx;
  170. font-family: Microsoft YaHei;
  171. font-weight: 400;
  172. color: #FF8000;
  173. padding: 3rpx 6rpx;
  174. margin-left: 10rpx;
  175. }
  176. }
  177. }
  178. }
  179. .edit {
  180. image {
  181. width: 50rpx;
  182. height: 50rpx;
  183. }
  184. }
  185. }
  186. .from {
  187. background-color: #fff;
  188. margin-top: 20rpx;
  189. padding: 30rpx;
  190. .content_top {
  191. display: flex;
  192. margin-bottom: 50rpx;
  193. .title {
  194. margin-left: 30rpx;
  195. display: flex;
  196. flex-direction: column;
  197. justify-content: center;
  198. .row1 {
  199. font-size: 30rpx;
  200. font-family: Microsoft YaHei;
  201. font-weight: 400;
  202. color: #333333;
  203. margin-bottom: 20rpx;
  204. }
  205. .row2 {
  206. font-size: 24rpx;
  207. font-family: Microsoft YaHei;
  208. font-weight: 400;
  209. color: #999999;
  210. }
  211. }
  212. image {
  213. width: 140rpx;
  214. height: 130rpx;
  215. }
  216. }
  217. .hr {
  218. width: 100%;
  219. height: 1rpx;
  220. background: #DCDCDC;
  221. }
  222. .from_item {
  223. display: flex;
  224. flex-wrap: nowrap;
  225. justify-content: space-between;
  226. align-items: center;
  227. font-size: 28rpx;
  228. font-family: Microsoft YaHei;
  229. font-weight: 400;
  230. color: #333333;
  231. margin-bottom: 35rpx;
  232. .row2 {
  233. font-size: 32rpx;
  234. font-family: Microsoft YaHei;
  235. font-weight: 600;
  236. color: #000000;
  237. }
  238. }
  239. }
  240. }
  241. .submit {
  242. width: 670rpx;
  243. height: 80rpx;
  244. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  245. box-shadow: 0rpx 4rpx 11rpx 1rpx rgba(223, 223, 223, 0.5);
  246. border-radius: 40rpx;
  247. font-size: 32rpx;
  248. font-family: Microsoft YaHei;
  249. font-weight: 400;
  250. color: #FFFFFF;
  251. line-height: 80rpx;
  252. margin-top: 60rpx;
  253. }
  254. </style>