lhl 3 éve
szülő
commit
7c3255a537
4 módosított fájl, 21 hozzáadás és 17 törlés
  1. 1 1
      pages/category/mall.vue
  2. 1 1
      pages/order/order.vue
  3. 1 1
      pages/user/user.vue
  4. 18 14
      pages/user/withdrawal.vue

+ 1 - 1
pages/category/mall.vue

@@ -16,7 +16,7 @@
 		<swiper class="top-swiper" autoplay="true" duration="400" interval="5000" @change="swiperChange">
 			<swiper-item v-for="(item, index) in carouselList" :key="index" class="carousel-item"
 				@click="bannerNavToUrl(item)">
-				<image src="../../static/img/bargainBg.jpg" />
+				<image :src="item.pic" />
 			</swiper-item>
 		</swiper>
 		<!-- 轮播图 end -->

+ 1 - 1
pages/order/order.vue

@@ -2,7 +2,7 @@
 	<view class="content">
 		<view class="order-title">
 			<view class="body-title">
-				<view class="goback-box" @click="toBack"><image class="goback" src="../../static/icon/fanhui.png" mode=""></image></view>
+				<!-- <view class="goback-box" @click="toBack"><image class="goback" src="../../static/icon/fanhui.png" mode=""></image></view> -->
 				<view class="header">我的订单</view>
 			</view>
 			<view class="roder-content">

+ 1 - 1
pages/user/user.vue

@@ -15,7 +15,7 @@
 						<view class="phone">{{ userInfo.phone }}</view>
 					</view>
 				</view>
-				<view class="kpi">今日KPI:1063</view>
+				<view class="kpi">今日KPI:{{userInfo.kpi|| 0}}</view>
 			</view>
 			<view class="info-right" @click="navTo('/pages/user/myxfjf')">
 				<image class="iright-icon" src="../../static/user/user3.png" mode=""></image>

+ 18 - 14
pages/user/withdrawal.vue

@@ -2,16 +2,16 @@
 	<view class="content">
 		<!-- <uni-notice-bar single="true" text="每月25号到月底可提现上月结算余额"></uni-notice-bar> -->
 		<view class="content-money">
-			<view class="flex ">
+			<view class="flex1 ">
 				<view class="buttom">
 					<view class="icon">{{ money | getMoneyStyle }}</view>
 					<text class="text">可提现金额</text>
 				</view>
-				<view class="interval"></view>
+				<!-- <view class="interval"></view>
 				<view class="buttom">
 					<view class=" icon">{{ freeze | getMoneyStyle }}</view>
 					<text class="text">待审核提现金额</text>
-				</view>
+				</view> -->
 			</view>
 		</view>
 		<view class="row-box">
@@ -118,9 +118,9 @@ export default {
 		// 加载余额信息
 		async loadData() {
 			extractBank({}).then(({ data }) => {
-				this.money = data.moneyCount; //可提现余额
+				this.money = data.brokerage_price; //可提现余额
 				this.minPrice = data.minPrice; //最小提现
-				this.freeze = data.inmoneyCount; //提现中的余额
+				// this.freeze = data.inmoneyCount; //提现中的余额
 			});
 		},
 		// 跳转
@@ -139,17 +139,18 @@ export default {
 				extract_type: this.type, //bank -银行卡 alipay-支付宝 weixin-微信
 				money: this.withdrawal, //金额
 				money_type: 1 //0佣金1余额
-			};
+			};
+			console.log(this.type)
 			if (this.type == 'alipay') {
-				data.name = this.aliData.fullname;
-				data.alipay_code = this.aliData.alino;
+				data.name = this.aliData.name;
+				data.alipay_code = this.aliData.payment;
 			}
 			if (this.type == 'bank') {
-				data.name = this.bankData.fullname;
+				data.name = this.bankData.name;
 				data.bankname = this.bankData.bank;
-				data.cardnum = this.bankData.bankno;
+				data.cardnum = this.bankData.payment;
 			}
-
+			console.log(data)
 			extractCash(data)
 				.then(e => {
 					uni.showToast({
@@ -172,13 +173,16 @@ page {
 }
 .content-money {
 	padding: 30rpx 0;
-	background: #ffffff;
+	background: #ffffff;
+	
 }
-.flex {
+.flex1 {
 	background-color: #ffffff;
 	text-align: center;
 	margin: 0 30rpx;
-	border-radius: $border-radius-sm;
+	border-radius: $border-radius-sm;
+	display: flex;
+	justify-content: center;
 	.buttom {
 		font-size: $font-lg;
 		color: $font-color-dark;