putSalt_ok.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <template>
  2. <view class="app-body">
  3. <view class="re-succ-box">
  4. <image class="re-succ-img" src="/static/img/subproof_success.png"></image>
  5. </view>
  6. <view class="re-succ-tite">挂售成功</view>
  7. <view class="btn-box fx-r fx-bc">
  8. <view class="re-succ-btn" @tap="tapHome">返回首页</view>
  9. <view class="go-btn" @tap="utils.navigateBack()">返回订单中心</view>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. import { mapState, mapMutations } from 'vuex';
  15. export default {
  16. data() {
  17. return {}
  18. },
  19. onLoad() {
  20. this.initView();
  21. },
  22. methods: {
  23. initView: function() {
  24. },
  25. tapHome:function(){
  26. uni.reLaunch({
  27. url:"/pages/index/home"
  28. })
  29. }
  30. }
  31. }
  32. </script>
  33. <style>
  34. .re-succ-box{
  35. padding-top: 97px;
  36. display: flex;
  37. flex-direction: column;
  38. align-items: center;
  39. }
  40. .re-succ-box .re-succ-img{
  41. margin-left: -17px;
  42. width: 207px;
  43. height: 153px;
  44. display: block;
  45. }
  46. .re-succ-tite {
  47. margin-top: -14px;
  48. font-size: 22px;
  49. font-weight: 500;
  50. color: #333;
  51. text-align: center;
  52. }
  53. .btn-box {
  54. margin-top: 45px;
  55. padding: 0 28px;
  56. }
  57. .btn-box .re-succ-btn {
  58. height: 45px;
  59. background: linear-gradient(180deg, #fd4646, #ff3535);
  60. border-radius: 22px;
  61. font-size: 20px;
  62. font-weight: 700;
  63. color: #fff;
  64. display: flex;
  65. width: calc(50% - 10px);
  66. margin-right: 8px;
  67. align-items: center;
  68. justify-content: center;
  69. }
  70. .go-btn {
  71. height: 45px;
  72. border: 1px solid #fd4646;
  73. border-radius: 22px;
  74. font-size: 20px;
  75. font-weight: 700;
  76. margin-left: 8px;
  77. color: #fd4646;
  78. width: calc(50% - 10px);
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. </style>