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.

226 lines
4.5 KiB

8 months ago
  1. <template>
  2. <view class="content">
  3. <mNavbar title="分销代理" :leftClick="leftClick" />
  4. <view class="banner" />
  5. <view class="b-relative center font-m">
  6. <image src="/static/ms/w.png" />
  7. <view class="title" style="position: absolute; top: 40rpx; left: 40rpx">
  8. <view style="line-height: 40rpx; font-size: 28rpx">账号余额</view>
  9. <view style="line-height: 60rpx; font-size: 40rpx">{{ belece.money }}</view>
  10. </view>
  11. <view class="font-menu flex flex-sb">
  12. <view @click="toRunningWater(0)">充值记录</view>
  13. <view @click="toRunningWater(1)">提现记录</view>
  14. <view @click="toRunningWater(2)">下单记录</view>
  15. <view @click="toRunningWater(3)">佣金记录</view>
  16. </view>
  17. </view>
  18. <view class="from-body">
  19. <view>我要提现</view>
  20. <view class="from-line">
  21. <input placeholder="请输入提现金额" />
  22. </view>
  23. <view class="from-line">
  24. <input placeholder="请输入姓名" />
  25. </view>
  26. <view class="from-line">
  27. <input placeholder="请输入开户行" />
  28. </view>
  29. <view class="from-line">
  30. <input placeholder="请输入银行卡卡号" />
  31. </view>
  32. <view class="mt56">提现说明</view>
  33. <view style="line-height: 45rpx; font-size: 24rpx;color: #666666;" v-html="notice">
  34. </view>
  35. <!-- <p>1本次提现必须通过银行卡提现暂不支持其他途径</p>
  36. <p>2如若遇到24小时提现未到账请联系客服</p> -->
  37. </view>
  38. <view class="b-fiexd">
  39. <view class="button-submit">提交</view>
  40. </view>
  41. </view>
  42. </template>
  43. <script>
  44. import mNavbar from '../../components/base/m-navbar.vue'
  45. export default {
  46. components: {
  47. mNavbar,
  48. },
  49. data() {
  50. return {
  51. config : [],
  52. notice : '',
  53. form : {
  54. },
  55. userInfo : {},
  56. belece : {}
  57. }
  58. },
  59. onShow() {
  60. this.getUserInfo()
  61. this.getConfig()
  62. },
  63. methods: {
  64. getUserInfo() {
  65. this.$api('giveTenInfo', {}, res => {
  66. if (res.code == 200) {
  67. this.userInfo = res.result.msgTen;
  68. this.belece = res.result.belece;
  69. }
  70. })
  71. },
  72. leftClick() { //返回个人中心
  73. uni.switchTab({
  74. url: '/pages/index/center'
  75. })
  76. },
  77. getConfig() {
  78. this.vid = uni.getStorageSync("ivcode");
  79. this.$api('getConfig', {} ,res => {
  80. if(res.code == 200){
  81. res.result.forEach(n => {
  82. if(n.keyValue == 'orderInstructions'){
  83. this.notice = n.content
  84. }
  85. })
  86. this.config = res.result
  87. }
  88. })
  89. },
  90. submit(){
  91. },
  92. toRunningWater(status) { //跳转流水页面
  93. uni.navigateTo({
  94. url: `/pages/mine/runningWater?status=${status}`
  95. })
  96. }
  97. }
  98. }
  99. </script>
  100. <style scoped>
  101. body {
  102. background-color: #fff;
  103. }
  104. .banner {
  105. width: 100vw;
  106. height: 256rpx;
  107. background: #cfece7;
  108. }
  109. .center {
  110. width: 710rpx;
  111. height: 316rpx;
  112. margin: -204rpx auto 0;
  113. }
  114. .center image {
  115. width: 710rpx;
  116. height: 316rpx;
  117. border-radius: 12rpx;
  118. }
  119. .font-m {
  120. font-family: PingFang SC, PingFang SC-Bold;
  121. font-weight: 700;
  122. text-align: left;
  123. color: #ffffff;
  124. text-shadow: 0 4rpx 6rpx 0 rgba(40, 170, 133, 0.81);
  125. }
  126. .font-menu {
  127. font-size: 24rpx;
  128. font-family: PingFang SC, PingFang SC-Regular;
  129. font-weight: 500;
  130. text-align: center;
  131. color: #ffffff;
  132. line-height: 24rpx;
  133. width: 710rpx;
  134. position: absolute;
  135. left: 0;
  136. bottom: 25rpx;
  137. }
  138. .font-menu view {
  139. width: calc(100% / 4);
  140. border-right: 1rpx solid #fff;
  141. }
  142. .item-line input {
  143. width: 456rpx;
  144. height: 60rpx;
  145. line-height: 60rpx;
  146. background: #f5f5f5;
  147. border-radius: 12rpx;
  148. font-size: 24rpx;
  149. font-family: PingFang SC, PingFang SC-Medium;
  150. font-weight: 500;
  151. text-align: left;
  152. color: #939393;
  153. padding: 0 20rpx;
  154. }
  155. .from-body {
  156. padding: 40rpx 20rpx;
  157. font-size: 28rpx;
  158. font-family: PingFang SC, PingFang SC-Bold;
  159. font-weight: 700;
  160. text-align: left;
  161. color: #333333;
  162. line-height: 40px;
  163. padding-bottom: 160rpx;
  164. }
  165. .from-line {
  166. margin-top: 40rpx;
  167. }
  168. .from-body input {
  169. width: 612rpx;
  170. height: 90rpx;
  171. line-height: 90rpx;
  172. background: #f5f5f5;
  173. border-radius: 46rpx;
  174. padding: 0 50rpx;
  175. font-size: 28rpx;
  176. font-family: PingFang SC, PingFang SC-Regular;
  177. font-weight: 400;
  178. text-align: left;
  179. color: #333;
  180. }
  181. .button-submit {
  182. width: 596rpx;
  183. height: 90rpx;
  184. line-height: 90rpx;
  185. background: linear-gradient(180deg, #6fdfbe, #5ac796);
  186. border-radius: 46rpx;
  187. margin: 20rpx auto;
  188. font-size: 28rpx;
  189. font-family: PingFang SC, PingFang SC-Regular;
  190. font-weight: 400;
  191. text-align: center;
  192. color: #ffffff;
  193. }
  194. </style>