result.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <view>
  3. <view class="change-container">
  4. <view class="relative width100 height100">
  5. <image class="width100 height100" :src="resource.ex_money_bg" />
  6. <view class="contain">
  7. <view class="inline-block">
  8. <view class="inline-block" style="font-size: 120rpx">{{ money }}</view>
  9. </view>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. import resource from '@/utils/resource'
  17. export default {
  18. props: {
  19. cakeTotal: Number
  20. },
  21. data() {
  22. return {
  23. resource,
  24. money: ''
  25. }
  26. },
  27. created() {
  28. this.$service.weal.carveUpMoney().then((res) => {
  29. if (res.code === '0') {
  30. this.money = res.data
  31. } else {
  32. this.$message.error(res.msg)
  33. }
  34. })
  35. },
  36. methods: {}
  37. }
  38. </script>
  39. <style lang="scss" scoped>
  40. .change-container {
  41. position: fixed;
  42. bottom: 48rpx;
  43. left: 30rpx;
  44. width: 694rpx;
  45. height: 732rpx;
  46. .contain {
  47. position: absolute;
  48. bottom: 278rpx;
  49. width: 100%;
  50. height: 100rpx;
  51. text-align: center;
  52. color: #fdcd53;
  53. }
  54. }
  55. </style>