confirm_success.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <template>
  2. <view>
  3. <view>
  4. <view style="padding: 30rpx;">
  5. <view class="box1">
  6. <view class="box1_t1">
  7. <u-icon name="checkmark-circle" color="#34C759" size="32"></u-icon><text style="margin-left: 8rpx;">您的订单已支付成功!</text></view>
  8. <view style="display: flex;align-items: center;justify-content: center;">
  9. <view class="btn1">
  10. 继续选课
  11. </view>
  12. <view class="btn2">
  13. 我的订单
  14. </view>
  15. </view>
  16. </view>
  17. <view class="box2">
  18. <view class="title2">订单信息</view>
  19. <u-line color="#D6D6DB" />
  20. <view style="padding:10rpx 30rpx;">
  21. <view class="list_item">
  22. <view class="txt_left">商品名称</view>
  23. <view class="txt_right">2020年二建建筑工程管理与实务(实务专题班)</view>
  24. </view>
  25. <view class="list_item">
  26. <view class="txt_left">应付金额</view>
  27. <view class="txt_right_price">¥ 999.00</view>
  28. </view>
  29. <view class="list_item">
  30. <view class="txt_left">订单编号</view>
  31. <view class="txt_right_sn">20211013105634GZ</view>
  32. </view>
  33. <view class="tip">*您可在“我的>我的订单”中查询</view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </template>
  40. <script>
  41. import { mapGetters } from 'vuex';
  42. export default {
  43. components: {
  44. },
  45. data() {
  46. return {
  47. list:[
  48. {
  49. name: '网课'
  50. },
  51. {
  52. name: '题库通'
  53. }
  54. ],
  55. array:['全部','建设工程施工管理','机电全科','机电工程管理与实','机电全科','全科'],
  56. current:0,
  57. menuIndex:0
  58. };
  59. },
  60. onPullDownRefresh(){
  61. },
  62. onLoad(option) {
  63. },
  64. onShow() {
  65. /* if(this.current === 2 && this.$method.isLogin()){
  66. this.$refs.refMy.init();
  67. } */
  68. },
  69. methods: {
  70. radioChange(e) {
  71. // console.log(e);
  72. },
  73. // 选中任一radio时,由radio-group触发
  74. radioGroupChange(e) {
  75. // console.log(e);
  76. },
  77. cMenu(index){
  78. this.menuIndex = index;
  79. },
  80. change(index){
  81. this.current = index;
  82. }
  83. },
  84. onReachBottom() {},
  85. computed: { ...mapGetters(['userInfo']) }
  86. };
  87. </script>
  88. <style >
  89. ::-webkit-scrollbar{
  90. width: 0;
  91. height: 0;
  92. color: transparent
  93. }
  94. page{
  95. background-color: #EAEEF1;
  96. }
  97. </style>
  98. <style scoped>
  99. .btn2{
  100. width: 160rpx;
  101. height: 56rpx;
  102. background: #007AFF;
  103. border-radius: 16rpx;
  104. font-size: 30rpx;
  105. color: #FFFFFF;
  106. margin: 10rpx;
  107. text-align: center;
  108. line-height: 56rpx;
  109. }
  110. .btn1{
  111. width: 160rpx;
  112. height: 56rpx;
  113. background: #F5F5F5;
  114. border-radius: 16rpx;
  115. font-size: 30rpx;
  116. color: #007AFF;
  117. margin: 10rpx;
  118. text-align: center;
  119. line-height: 56rpx;
  120. }
  121. .txt_left_pay{
  122. display: flex;
  123. align-items: center;
  124. height: 64rpx;
  125. font-size: 24rpx;
  126. color: #666666;
  127. }
  128. .pay_icon{
  129. width: 64rpx;
  130. height: 64rpx;
  131. margin-right: 10rpx;
  132. }
  133. .box3{
  134. width: 100%;
  135. background: #FFFFFF;
  136. border-radius: 16rpx;
  137. margin-top: 30rpx;
  138. }
  139. .tip{
  140. font-size: 24rpx;
  141. color: #999999;
  142. height: 40rpx;
  143. line-height: 40rpx;
  144. }
  145. .txt_right_sn{
  146. font-size: 30rpx;
  147. font-weight: bold;
  148. color: #666666;
  149. }
  150. .txt_right_price{
  151. font-size: 30rpx;
  152. font-weight: bold;
  153. color: #FF2D55;
  154. }
  155. .txt_left{
  156. font-size: 24rpx;
  157. color: #666666;
  158. }
  159. .txt_right{
  160. color: #333333;
  161. font-weight: bold;
  162. width: 75%;
  163. }
  164. .list_item{
  165. display: flex;
  166. justify-content: space-between;
  167. height: 90rpx;
  168. align-items: center;
  169. }
  170. .title2{
  171. font-size: 30rpx;
  172. font-weight: bold;
  173. color: #333333;
  174. height: 90rpx;
  175. line-height: 90rpx;
  176. margin-left: 30rpx;
  177. }
  178. .box2{
  179. width: 100%;
  180. background: #FFFFFF;
  181. border-radius: 16rpx;
  182. margin-top: 30rpx;
  183. }
  184. .box1_t2{
  185. font-size: 24rpx;
  186. color: #999999;
  187. text-align: center;
  188. }
  189. .box1_t1{
  190. font-size: 30rpx;
  191. font-weight: bold;
  192. color: #333333;
  193. height: 70rpx;
  194. display: flex;
  195. align-items: center;
  196. justify-content: center;
  197. }
  198. .box1{
  199. width: 100%;
  200. background: #FFFFFF;
  201. border-radius: 16rpx;
  202. padding: 15rpx;
  203. }
  204. .bottomBtn{
  205. position: fixed;
  206. bottom: 0;
  207. width: 100%;
  208. height: 98rpx;
  209. background: linear-gradient(0deg, #015EEA, #00C0FA);
  210. color: #FFFFFF;
  211. text-align: center;
  212. line-height: 98rpx;
  213. font-weight: bold;
  214. font-size: 30rpx;
  215. }
  216. </style>