info.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <template>
  2. <view class="center">
  3. <view class="box">
  4. <view class="title">上级用户收款信息(上一级)</view>
  5. <view class="main flex" style="border-bottom: 1px solid #F0F0F0;">
  6. <view class="left flex">
  7. <view class="avtor"><image src="" mode=""></image></view>
  8. <view class="main-info">
  9. <view class="name">111</view>
  10. <view class="phone">111</view>
  11. </view>
  12. </view>
  13. <view class="right">打款金额:¥2000</view>
  14. </view>
  15. <view class="main flex">
  16. <view class="left flex">
  17. <view class="bank"><image src="../../static/img/bank.png" mode=""></image></view>
  18. <view class="main-info">
  19. <view class="name">111</view>
  20. <view class="name">111</view>
  21. </view>
  22. </view>
  23. <view class="right"><view class="right-box" @click="nav('/pages/upload/upload')">上传凭证</view></view>
  24. </view>
  25. </view>
  26. <view class="tishi">
  27. *请线下打款并保存截图相关凭证并上传
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. import { activity } from '@/api/active.js'
  33. export default {
  34. data(){
  35. return {
  36. id:'',
  37. }
  38. },
  39. onLoad(option) {
  40. this.id = option.id;
  41. this.loadData();
  42. },
  43. methods: {
  44. loadData(){
  45. activity({},this.id).then(e =>{
  46. console.log(e)
  47. })
  48. },
  49. nav(url){
  50. uni.navigateTo({
  51. url
  52. })
  53. }
  54. }
  55. }
  56. </script>
  57. <style lang="scss">
  58. .box {
  59. padding-top: 10rpx;
  60. color: #fad6b0;
  61. .title {
  62. color: #fff;
  63. padding: 10rpx 0 10rpx 20rpx;
  64. border-bottom: 1px solid #f0f0f0;
  65. font-size: 28rpx;
  66. font-family: PingFang SC;
  67. font-weight: 500;
  68. color: #ffffff;
  69. }
  70. .main {
  71. width: 90%;
  72. margin: 0 auto;
  73. padding: 20rpx;
  74. align-items: center;
  75. .left {
  76. justify-content: flex-start;
  77. .bank {
  78. margin-left: 10rpx;
  79. width: 48rpx;
  80. height: 40rpx;
  81. image {
  82. width: 100%;
  83. height: 100%;
  84. }
  85. }
  86. .avtor {
  87. background: #fff;
  88. width: 80rpx;
  89. height: 80rpx;
  90. border-radius: 50%;
  91. image {
  92. width: 100%;
  93. height: 100%;
  94. }
  95. }
  96. .main-info {
  97. margin-left: 16rpx;
  98. .name {
  99. font-size: 30rpx;
  100. font-family: PingFang SC;
  101. font-weight: 500;
  102. color: #fad6b0;
  103. }
  104. .phone {
  105. font-size: 22rpx;
  106. font-family: PingFang SC;
  107. font-weight: 400;
  108. color: #fad6b0;
  109. opacity: 0.8;
  110. }
  111. }
  112. }
  113. .right {
  114. font-size: 30rpx;
  115. font-family: PingFang SC;
  116. font-weight: 500;
  117. color: #fad6b0;
  118. .right-box {
  119. width: 188rpx;
  120. height: 56rpx;
  121. background: linear-gradient(-74deg, #ce9c6d, #ffecd6);
  122. border-image: linear-gradient(115deg, #feebd5, #ffffff, #e1ad7d) 1 1;
  123. box-shadow: 3rpx 4rpx 5rpx 0px rgba(151, 118, 74, 0.5);
  124. border-radius: 28rpx;
  125. font-size: 30rpx;
  126. font-family: PingFang SC;
  127. font-weight: 500;
  128. color: #643912;
  129. text-align: center;
  130. line-height: 56rpx;
  131. }
  132. }
  133. }
  134. }
  135. .tishi {
  136. padding: 20rpx 0 0 24rpx;
  137. color: #fff;
  138. font-size: 26rpx;
  139. font-family: PingFang SC;
  140. font-weight: 500;
  141. color: #FFFFFF;
  142. }
  143. </style>