123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <template>
- <view class="box">
- <view style="height: 20rpx;"></view>
- <view class="line" v-for="(item,index) in list">
- <view class="linetop">
- <view class="name">提现</view>
- <view class="nickNameBox">
- <view class="amount">¥{{item.money}}</view>
- </view>
- </view>
- <view class="lineCOnt">
- <view class="lineline">
- <view class="lineContLeft">
- <view class="lineContLeftMs">申请时间:{{item.applyTime}}</view>
- </view>
- <view class="lineTIme">{{stateMap[~~item.auditState]}}</view>
- </view>
-
- </view>
- </view>
- <nodata v-if="list.length==0"></nodata>
- </view>
- </template>
- <script>
- import nodata from '../../components/nodata/nodata.vue'
- export default {
- components: {
- nodata
- },
-
- data() {
- return {
- list:'',
- themeColor:'',
- userInfo:'',
- stateMap: ['待审核', '审核通过', '审核拒绝'],
- }
- },
- onLoad(opt) {
- this.themeColor = uni.getStorageSync("themeColor");
- this.userInfo = uni.getStorageSync("userInfo");
- this.getList()
- },
- onShow() {
-
- },
- methods: {
- getList(){
- uni.showLoading({
- title: '加载中'
- })
- this.$http('openMCustomer/getWithdrawalDetail', {
-
- }, 'GET').then(res => {
- uni.hideLoading();
- this.list = res.data;
- //var data=res.data.Items;
- //this.list=this.list.concat(data);
- //console.log('list+=', this.queryShopList);
-
- })
- }
-
- },
- onReachBottom(){
- //this.page++;
- this.getList()
- //console.log("shanglas")
- },
- onPullDownRefresh(){
- //this.page=1;
- //this.list=[];
- this.getList();
- setTimeout(() => {
- uni.stopPullDownRefresh(); // 关闭下拉刷新
- }, 2000);
- }
- }
- </script>
- <style scoped lang="less">
- .box {
- width: 100vw;
- min-height: 100vh;
- background: #F4F5F7;
- }
- .nickNameBox{
- display: flex;
-
- }
- .nickName{
- font-weight: 400;
- color: #999999;
- font-size: 24rpx;
- line-height: 30rpx;
- padding-left: 10rpx;
- }
- .lineContLeftImg{
- width: 30rpx;
- height: 30rpx;
- margin-right: 10rpx;
- }
- .line{
- width: 702rpx;
- background: #FFFFFF;
- border-radius: 10rpx;
- margin-bottom: 20rpx;
- margin-left: 24rpx;
- }
- .linetop{
- display: flex;
- justify-content: space-between;
- font-size: 30rpx;
- padding: 20rpx;
- padding-bottom: 0;
- }
- .lineline{
- display: flex;
- justify-content: space-between;
- padding: 20rpx;
- font-weight: 400;
- color: #999999;
- font-size: 24rpx;
- line-height: 30rpx;
- }
- .lineContLeft{
- display: flex;
- }
- .name{
- font-weight: 500;
- color: #3C3C3C;
- }
- .amount{
- color: #FF0000;
- }
- .nickNameImg{
- width: 30rpx;
- height: 30rpx;
- }
- </style>
|