paySuccess.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <view class="content">
  3. <text class="success-icon yticon icon-xuanzhong"></text>
  4. <text class="tit">支付成功</text>
  5. <view class="btn-group">
  6. <navigator url="/pages/order/order?state=0" open-type="redirect" class="mix-btn">查看订单</navigator>
  7. <navigator url="/pages/index/index" open-type="switchTab" class="mix-btn hollow">返回首页</navigator>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. }
  16. },
  17. methods: {
  18. }
  19. }
  20. </script>
  21. <style lang='scss'>
  22. .content{
  23. display: flex;
  24. flex-direction: column;
  25. justify-content: center;
  26. align-items: center;
  27. }
  28. .success-icon{
  29. font-size: 160upx;
  30. color: #fa436a;
  31. margin-top: 100upx;
  32. }
  33. .tit{
  34. font-size: 38upx;
  35. color: #303133;
  36. }
  37. .btn-group{
  38. padding-top: 100upx;
  39. }
  40. .mix-btn {
  41. margin-top: 30upx;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. width: 600upx;
  46. height: 80upx;
  47. font-size: $font-lg;
  48. color: #fff;
  49. background-color: $base-color;
  50. border-radius: 10upx;
  51. &.hollow{
  52. background: #fff;
  53. color: #303133;
  54. border: 1px solid #ccc;
  55. }
  56. }
  57. </style>