bookExplain.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <view class="app-content">
  3. <view class="rank-top-wrap">
  4. <view class="rank-top-text">
  5. <view class="rank-top-tit">预订说明</view>
  6. </view>
  7. </view>
  8. <view class="rank-bottom-wrap">
  9. <view class="rank-text">
  10. <view>预订时,先付部分花款</view>
  11. <view>到货后,按到货当天价格计算,多退少补</view>
  12. <view>预订下单后不可退款,请确认后再下单哦</view>
  13. </view>
  14. <view style="text-align:center;">
  15. <button style="margin:10upx auto;padding-left:50upx;padding-right:50upx;" class="admin-button-com blue middle" @click="goBack()">返回</button>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. import { mapGetters } from "vuex";
  22. import { getGhsDataApi} from "@/api/ghs/index";
  23. export default {
  24. name: "bookExplain",
  25. components: {
  26. },
  27. data() {
  28. return {
  29. constant: this.$constant,
  30. list: [],
  31. kiloFee:0,
  32. miniKilo:0
  33. };
  34. },
  35. onLoad() {
  36. getGhsDataApi({id: this.option.id}).then(res => {
  37. if(res.code == 1){
  38. this.kiloFee = res.data.kiloFee
  39. this.miniKilo = res.data.miniKilo
  40. }
  41. });
  42. },
  43. computed: {
  44. ...mapGetters({ loginInfo: "getLoginInfo" })
  45. },
  46. methods: {
  47. goBack(){
  48. uni.navigateBack()
  49. }
  50. }
  51. };
  52. </script>
  53. <style lang="scss" scoped>
  54. .rank-top-wrap {
  55. width: 100%;
  56. height: 230upx;
  57. position: relative;
  58. background-color: #191919;
  59. .rank-top-text {
  60. color: #d2d2d2;
  61. padding-top: 60upx;
  62. padding-left: 70upx;
  63. .rank-top-tit {
  64. color: #ffd515;
  65. font-size: 44upx;
  66. }
  67. }
  68. .rank-top-img {
  69. position: absolute;
  70. top: 20upx;
  71. right: 44upx;
  72. width: 232upx;
  73. }
  74. }
  75. .rank-bottom-wrap {
  76. padding: 30upx;
  77. background-color: #fff;
  78. color:#333333;
  79. .rank-text {
  80. font-size:33upx;
  81. margin-bottom: 26upx;
  82. & > view {
  83. margin-bottom:30upx;
  84. }
  85. }
  86. .btn-wrap {
  87. width: calc(100% - 60upx);
  88. margin-top: 50upx;
  89. .button-com {
  90. width: 100%;
  91. }
  92. }
  93. .level-list-wrap {
  94. border: 1px solid #eeeeee;
  95. font-size: 26upx;
  96. .level-list-tit,
  97. .level-list {
  98. @include disFlex(center, space-between);
  99. & > view {
  100. margin: 0 auto;
  101. flex: 1;
  102. @include disFlex(center, center);
  103. height: 70upx;
  104. }
  105. .level-img {
  106. ::v-deep.vip-text {
  107. left: 42upx;
  108. transform: scale(0.8);
  109. }
  110. }
  111. }
  112. .level-list-tit {
  113. color: #fff;
  114. background-color: #d9c096;
  115. & > view {
  116. border-left: 1px solid #fff;
  117. }
  118. & > view:first-child {
  119. border-left: none;
  120. }
  121. }
  122. .level-list {
  123. &:nth-child(2n) {
  124. background-color: #f7f7ed;
  125. }
  126. & > view {
  127. border-left: 1px solid #eeeeee;
  128. }
  129. & > view:first-child {
  130. border-left: none;
  131. }
  132. }
  133. }
  134. }
  135. </style>