confirm_success.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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" @click="goAppointment">
  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. goAppointment(){
  71. this.$navTo.togo('/pages2/appointment/appointment_success');
  72. },
  73. radioChange(e) {
  74. // console.log(e);
  75. },
  76. // 选中任一radio时,由radio-group触发
  77. radioGroupChange(e) {
  78. // console.log(e);
  79. },
  80. cMenu(index){
  81. this.menuIndex = index;
  82. },
  83. change(index){
  84. this.current = index;
  85. }
  86. },
  87. onReachBottom() {},
  88. computed: { ...mapGetters(['userInfo']) }
  89. };
  90. </script>
  91. <style >
  92. ::-webkit-scrollbar{
  93. width: 0;
  94. height: 0;
  95. color: transparent
  96. }
  97. page{
  98. background-color: #EAEEF1;
  99. }
  100. </style>
  101. <style scoped>
  102. .btn2{
  103. width: 160rpx;
  104. height: 56rpx;
  105. background: #007AFF;
  106. border-radius: 16rpx;
  107. font-size: 30rpx;
  108. color: #FFFFFF;
  109. margin: 10rpx;
  110. text-align: center;
  111. line-height: 56rpx;
  112. }
  113. .btn1{
  114. width: 160rpx;
  115. height: 56rpx;
  116. background: #F5F5F5;
  117. border-radius: 16rpx;
  118. font-size: 30rpx;
  119. color: #007AFF;
  120. margin: 10rpx;
  121. text-align: center;
  122. line-height: 56rpx;
  123. }
  124. .txt_left_pay{
  125. display: flex;
  126. align-items: center;
  127. height: 64rpx;
  128. font-size: 24rpx;
  129. color: #666666;
  130. }
  131. .pay_icon{
  132. width: 64rpx;
  133. height: 64rpx;
  134. margin-right: 10rpx;
  135. }
  136. .box3{
  137. width: 100%;
  138. background: #FFFFFF;
  139. border-radius: 16rpx;
  140. margin-top: 30rpx;
  141. }
  142. .tip{
  143. font-size: 24rpx;
  144. color: #999999;
  145. height: 40rpx;
  146. line-height: 40rpx;
  147. }
  148. .txt_right_sn{
  149. font-size: 30rpx;
  150. font-weight: bold;
  151. color: #666666;
  152. }
  153. .txt_right_price{
  154. font-size: 30rpx;
  155. font-weight: bold;
  156. color: #FF2D55;
  157. }
  158. .txt_left{
  159. font-size: 24rpx;
  160. color: #666666;
  161. }
  162. .txt_right{
  163. color: #333333;
  164. font-weight: bold;
  165. width: 75%;
  166. }
  167. .list_item{
  168. display: flex;
  169. justify-content: space-between;
  170. height: 90rpx;
  171. align-items: center;
  172. }
  173. .title2{
  174. font-size: 30rpx;
  175. font-weight: bold;
  176. color: #333333;
  177. height: 90rpx;
  178. line-height: 90rpx;
  179. margin-left: 30rpx;
  180. }
  181. .box2{
  182. width: 100%;
  183. background: #FFFFFF;
  184. border-radius: 16rpx;
  185. margin-top: 30rpx;
  186. }
  187. .box1_t2{
  188. font-size: 24rpx;
  189. color: #999999;
  190. text-align: center;
  191. }
  192. .box1_t1{
  193. font-size: 30rpx;
  194. font-weight: bold;
  195. color: #333333;
  196. height: 70rpx;
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. }
  201. .box1{
  202. width: 100%;
  203. background: #FFFFFF;
  204. border-radius: 16rpx;
  205. padding: 15rpx;
  206. }
  207. .bottomBtn{
  208. position: fixed;
  209. bottom: 0;
  210. width: 100%;
  211. height: 98rpx;
  212. background: linear-gradient(0deg, #015EEA, #00C0FA);
  213. color: #FFFFFF;
  214. text-align: center;
  215. line-height: 98rpx;
  216. font-weight: bold;
  217. font-size: 30rpx;
  218. }
  219. </style>