personal_information.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <template>
  2. <view class="main">
  3. <view class="header-content">
  4. <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/mybanner.png" style="width:100%;height:260rpx;"></image>
  5. </view>
  6. <view class="pr" style="z-index:2">
  7. <view class="plr15">
  8. <view class="bdr4 bg-white" style="margin-top: 38rpx;">
  9. <view class="m-dpflex flex-direction align-center justify-center" style="height: 210rpx;">
  10. <view class="text-bold" style="font-size: 68rpx;">
  11. 52.60
  12. </view>
  13. <view class="" style="font-size: 28rpx;color: #666;">
  14. 总余额(元)
  15. </view>
  16. </view>
  17. <view class="pr m-xcenter plr20 header-box" style="padding: 40rpx 40rpx;background-color: #fff;border-radius: 16rpx;">
  18. <view class="m-flex tl f14 m-ycenter dpb">
  19. <view class="m-gray-big f20 fb pr10">50.00</view>
  20. <view class="m-gray-letter mt5 f12">充值余额(元)</view>
  21. </view>
  22. <view class="m-flex tl f14 m-ycenter">
  23. <view class="m-gray-big f20 fb">2.00</view>
  24. <view class="m-gray-letter mt5 f12">赠送余额(元)</view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. data() {
  35. return {
  36. };
  37. },
  38. methods: {
  39. },
  40. onShow() {
  41. }
  42. };
  43. </script>
  44. <style scoped lang="scss">
  45. @import url("../index/mine.css");
  46. .header-content {
  47. position: absolute;
  48. top: 0;
  49. right: 0;
  50. bottom: 0;
  51. left: 0;
  52. width: 100%;
  53. z-index: -1;
  54. overflow: hidden;
  55. box-sizing: border-box;
  56. }
  57. .header-box {
  58. box-shadow: 0px 8rpx 34rpx -6rpx rgba(248, 151, 164, 0.13);
  59. }
  60. .header-img {
  61. width: 36rpx;
  62. height: 36rpx;
  63. }
  64. .tip {
  65. position: absolute;
  66. top: 0;
  67. right: 20%;
  68. bottom: 0;
  69. background-color: red;
  70. width: 12rpx;
  71. height: 12rpx;
  72. border-radius: 50%;
  73. }
  74. .msg {
  75. top: -3rpx;
  76. right: -9rpx;
  77. }
  78. swiper {
  79. height: 320rpx;
  80. }
  81. .swiper-wrapper {
  82. padding: 0 10rpx;
  83. box-sizing: border-box;
  84. }
  85. .swiper-item {
  86. width: 100%;
  87. height: 300rpx;
  88. box-shadow: 0 26rpx 40rpx 0 rgba(255, 255, 255, 0.31);
  89. background: url("http://file.supermm.me/miniProgram/images/personal/bg_doc.png") no-repeat bottom center;
  90. }
  91. .dots {
  92. position: absolute;
  93. left: 0;
  94. right: 0;
  95. bottom: -40rpx;
  96. display: flex;
  97. justify-content: center;
  98. }
  99. .dots .dot {
  100. margin: 0 8rpx;
  101. width: 14rpx;
  102. height: 14rpx;
  103. background: #E4E4E4;
  104. border-radius: 8rpx;
  105. transition: all .6s;
  106. }
  107. .dots .dot.active {
  108. width: 24rpx;
  109. background: rgb(153, 153, 153);
  110. }
  111. .game-wrap {
  112. position: relative;
  113. width: 100%;
  114. height: 100%;
  115. overflow: hidden;
  116. box-sizing: border-box;
  117. }
  118. .game-item {
  119. height: 100%;
  120. background: url("https://file.supermm.me/h5/wechat-h5/integral/personeBg001.jpg") no-repeat;
  121. background-size: 100% 100%;
  122. background-position: center center;
  123. border-radius: 100rpx;
  124. }
  125. </style>