You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

348 lines
6.6 KiB

  1. <template>
  2. <view class="app-container">
  3. <view class="agent-content">
  4. <view class="ag-sign" @click="cashManager">
  5. 提现管理
  6. </view>
  7. <view class="agent-top">
  8. <view class="ag-num">
  9. <view class="au-font">
  10. </view>
  11. <view class="au-num">
  12. {{accountInfo.wallet_balance}}
  13. </view>
  14. </view>
  15. <view class="age-font">
  16. 可提现
  17. </view>
  18. <view class="age-line">
  19. <img src="../../static/index/line-style.png" style="width: 200rpx;height: 2rpx;" alt="" srcset="" />
  20. </view>
  21. <view class="age-wait">
  22. 待入账{{accountInfo.waiting_amount}}
  23. </view>
  24. <view class="divider-style"></view>
  25. <view class="information-id-content">
  26. <view class="content-id-item">
  27. <view class="id-text">
  28. 代理ID
  29. </view>
  30. <view class="id-value">
  31. {{accountInfo.id}}
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="agent-main">
  37. <view class="agm-title">
  38. 提现信息
  39. </view>
  40. <view class="agm-sitem">
  41. <view class="ags-cell u-border-bottom">
  42. <view class="agc-title">
  43. 用户提现流水号
  44. </view>
  45. <view class="agc-detail">
  46. 22398983498
  47. </view>
  48. </view>
  49. <view class="ags-cell u-border-bottom">
  50. <view class="agc-title">
  51. 提现金额
  52. </view>
  53. <view class="agc-detail">
  54. <view class="price">
  55. 458.00
  56. </view>
  57. </view>
  58. </view>
  59. <view class="ags-cell u-border-bottom">
  60. <view class="agc-title">
  61. 分成比例
  62. </view>
  63. <view class="agc-detail">
  64. 5%
  65. </view>
  66. </view>
  67. <view class="ags-cell u-border-bottom">
  68. <view class="agc-title">
  69. 状态
  70. </view>
  71. <view class="agc-detail">
  72. 到账
  73. </view>
  74. </view>
  75. <view class="ags-cell">
  76. <view class="agc-title">
  77. 时间
  78. </view>
  79. <view class="agc-detail">
  80. 2023-11-24 15:45:56
  81. </view>
  82. </view>
  83. <u-gap height="10rpx" bgColor="#F7F7F7"></u-gap>
  84. </view>
  85. <view class="agm-sitem">
  86. <view class="ags-cell u-border-bottom">
  87. <view class="agc-title">
  88. 用户提现流水号
  89. </view>
  90. <view class="agc-detail">
  91. 22398983498
  92. </view>
  93. </view>
  94. <view class="ags-cell u-border-bottom">
  95. <view class="agc-title">
  96. 提现金额
  97. </view>
  98. <view class="agc-detail">
  99. <view class="price">
  100. 458.00
  101. </view>
  102. </view>
  103. </view>
  104. <view class="ags-cell u-border-bottom">
  105. <view class="agc-title">
  106. 分成比例
  107. </view>
  108. <view class="agc-detail">
  109. 5%
  110. </view>
  111. </view>
  112. <view class="ags-cell u-border-bottom">
  113. <view class="agc-title">
  114. 状态
  115. </view>
  116. <view class="agc-detail">
  117. 到账
  118. </view>
  119. </view>
  120. <view class="ags-cell">
  121. <view class="agc-title">
  122. 时间
  123. </view>
  124. <view class="agc-detail">
  125. 2023-11-24 15:45:56
  126. </view>
  127. </view>
  128. <u-gap height="10rpx" bgColor="#F7F7F7"></u-gap>
  129. </view>
  130. <view class="loadmore">
  131. 下拉加载更多
  132. </view>
  133. </view>
  134. </view>
  135. </view>
  136. </template>
  137. <script>
  138. import {
  139. agentAccountInfo
  140. } from '../../common/api.js'
  141. export default {
  142. data() {
  143. return {
  144. accountInfo: {},
  145. }
  146. },
  147. onLoad() {
  148. this.getAccountInfo();
  149. },
  150. methods: {
  151. getAccountInfo() {
  152. agentAccountInfo().then(data => this.accountInfo = data)
  153. },
  154. cashManager() {
  155. uni.navigateTo({
  156. url: '/pages/cash/cash'
  157. });
  158. }
  159. }
  160. }
  161. </script>
  162. <style lang="scss">
  163. .agent-content {
  164. position: relative;
  165. width: 100%;
  166. height: 1400rpx;
  167. padding-left: 30rpx;
  168. padding-right: 30rpx;
  169. background: url(../../static/index/principal-sheet-bg.png) no-repeat top center;
  170. background-size: 100% 100%;
  171. box-sizing: border-box;
  172. .ag-sign {
  173. position: absolute;
  174. right: 0;
  175. top: 0;
  176. width: 150rpx;
  177. height: 60rpx;
  178. line-height: 60rpx;
  179. padding-left: 40rpx;
  180. border-top-left-radius: 30rpx;
  181. border-bottom-left-radius: 30rpx;
  182. color: #fff;
  183. font-size: 12px;
  184. background: #FCC565;
  185. box-sizing: border-box;
  186. cursor: pointer;
  187. }
  188. .agent-top {
  189. text-align: center;
  190. .ag-num {
  191. display: flex;
  192. justify-content: center;
  193. padding-top: 20rpx;
  194. color: #fff;
  195. .au-font {
  196. margin-top: 45rpx;
  197. font-size: 14px;
  198. margin-right: 10rpx;
  199. line-height: 28rpx;
  200. }
  201. .au-num {
  202. font-size: 30px;
  203. font-weight: bold;
  204. }
  205. }
  206. .age-font {
  207. margin-top: 10rpx;
  208. font-size: 16px;
  209. line-height: 1.5;
  210. font-family: PingFangSC-Regular, sans-serif;
  211. font-size: 30rpx;
  212. color: #fff;
  213. font-weight: bold;
  214. }
  215. .age-line {
  216. margin: 20rpx auto 0;
  217. width: 200rpx;
  218. height: 2rpx;
  219. img {
  220. display: block;
  221. margin: 0 auto;
  222. }
  223. }
  224. .age-wait {
  225. margin-top: 20rpx;
  226. font-family: PingFangSC-Regular, sans-serif;
  227. color: #fff;
  228. font-size: 30rpx;
  229. font-weight: bold;
  230. }
  231. }
  232. .agent-main {
  233. margin-top: 30rpx;
  234. padding-top: 30rpx;
  235. padding-bottom: 30rpx;
  236. background: #fff;
  237. border-top-left-radius: 20rpx;
  238. border-top-right-radius: 20rpx;
  239. .agm-title {
  240. padding-left: 30rpx;
  241. margin-left: 30rpx;
  242. color: #454545;
  243. font-weight: normal;
  244. font-size: 30rpx;
  245. line-height: 1.5;
  246. background: url(../../static/index/title-style.png) no-repeat left center;
  247. background-size: 15rpx 19rpx;
  248. }
  249. .agm-sitem {
  250. .ags-cell {
  251. display: flex;
  252. justify-content: space-between;
  253. height: 90rpx;
  254. line-height: 90rpx;
  255. margin-left: 30rpx;
  256. margin-right: 30rpx;
  257. .agc-title {
  258. height: 90rpx;
  259. line-height: 90rpx;
  260. font-size: 12px;
  261. color: #454545;
  262. }
  263. .agc-detail {
  264. height: 90rpx;
  265. line-height: 90rpx;
  266. font-size: 12px;
  267. color: #666;
  268. .price {
  269. color: #F52F3E;
  270. }
  271. }
  272. }
  273. .u-border-bottom {
  274. border-color: #eee !important
  275. }
  276. }
  277. .loadmore {
  278. width: 172rpx;
  279. margin: 30rpx auto;
  280. padding-right: 20rpx;
  281. color: #1783FF;
  282. font-size: 14px;
  283. background: url(../../static/index/down.png) no-repeat right center;
  284. background-size: 17rpx 20rpx;
  285. cursor: pointer;
  286. }
  287. }
  288. }
  289. .divider-style {
  290. width: 720rpx;
  291. height: 1rpx;
  292. background: #9ECBFF;
  293. margin: 20rpx 0;
  294. }
  295. .information-id-content {
  296. display: flex;
  297. justify-content: center;
  298. align-items: center;
  299. }
  300. .content-id-item {
  301. display: flex;
  302. justify-content: center;
  303. align-items: center;
  304. }
  305. .id-text {
  306. font-family: PingFangSC-Regular, sans-serif;
  307. font-size: 24rpx;
  308. color: #fff;
  309. }
  310. .id-value {
  311. font-family: PingFangSC-Regular, sans-serif;
  312. font-size: 24rpx;
  313. color: #fff;
  314. }
  315. </style>