refundResult.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <view class="app-content">
  3. <appResult :title="'提交成功'">
  4. <button class="admin-button-com blue big" @click="goBack">返回</button>
  5. <button class="admin-button-com blue big" @click="gotoDetail">查看详情</button>
  6. <!-- #ifdef MP-WEIXIN -->
  7. <view style="width:690upx;height:25upx;background-color: #f5f5f5;"></view>
  8. <view style="width:690upx;">
  9. <ad-custom unit-id="adunit-b3f48f1b6c1a39ff"></ad-custom>
  10. </view>
  11. <!-- #endif -->
  12. </appResult>
  13. </view>
  14. </template>
  15. <script>
  16. import appResult from "@/components/app-result";
  17. import { CURRENT_ENV } from "@/config";
  18. export default {
  19. name: "refundResult",
  20. components: {
  21. appResult
  22. },
  23. data(){
  24. return {
  25. id:0,
  26. currentEnv:'production'
  27. }
  28. },
  29. methods: {
  30. init(){
  31. //当前环境
  32. this.currentEnv = CURRENT_ENV
  33. },
  34. gotoDetail() {
  35. this.id = this.option.id?this.option.id:0
  36. this.$util.pageTo({url: '/pagesPurchase/refundDetail?id='+this.id,type:2})
  37. },
  38. goBack() {
  39. uni.navigateBack({ delta: 1 })
  40. }
  41. }
  42. };
  43. </script>
  44. <style lang="scss" scoped>
  45. .admin-button-com {
  46. margin-bottom: 40upx;
  47. width: 100%;
  48. }
  49. .zuhe-box{
  50. width: 100%;
  51. padding: 0 20upx;
  52. margin-bottom: 20upx;
  53. background-color: #fff;
  54. .zuhe-remark{
  55. color: #333;
  56. font-size: 32upx;
  57. font-weight: 700;
  58. line-height: 88upx;
  59. }
  60. .zuhe-center{
  61. font-size: 28upx;
  62. height: 90upx;
  63. box-sizing: border-box;
  64. .zuhe-title{
  65. color: #666;
  66. }
  67. &>input{
  68. border: 1px solid #eee!important;
  69. border-radius: 5upx!important;
  70. }
  71. .zuhe-val{
  72. position: relative;
  73. width: 70%;
  74. height: 60upx;
  75. padding: 10upx;
  76. color: #333;
  77. border: 1px solid #868686;
  78. border: none;
  79. &.active:before {
  80. content: ' ';
  81. height: 22upx;
  82. width: 22upx;
  83. border-width: 2upx 2upx 0 0;
  84. border-color: #868686;
  85. border-style: solid;
  86. -webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
  87. transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
  88. position: absolute;
  89. top: 50%;
  90. margin-top: -12upx;
  91. right: 30upx;
  92. }
  93. }
  94. }
  95. }
  96. </style>