zhengkaixin 2 年之前
父节点
当前提交
b99936b2e9
共有 1 个文件被更改,包括 20 次插入9 次删除
  1. 20 9
      pagesFinance/user/index.vue

+ 20 - 9
pagesFinance/user/index.vue

@@ -26,11 +26,21 @@
 			</view>
 		</view>
 		
-		<view class="userInfo function-menu "  style="padding-top:20rpx ;padding-bottom:60rpx ;margin-bottom:120rpx ;" v-if="home&&accountType8" >
+		<view class="userInfo  "  style="padding-top:20rpx ;padding-bottom:60rpx ;" v-if="home&&accountType8" >
 			
-			<template v-for="(item,i ) in vipPlatformList" >
+			<template v-for="(item,i ) in vipPlatformList">
+				<view class="userInfo-head"  :key="i+'a'" ><p>企业可充电金额
+				<template v-if="vipPlatformList.length>1">
+						({{item.entAccountName}})
+				</template>
+				</p></view>
+				<view class="userInfo-main"  :key="i+'b'">
+					<h2>{{showNumJP(item.entAccountBalance)}}元</h2>
+					<!-- <view class="userInfo-btn" >帐户提现</view> -->
+				</view>
+			</template>
 				
-				<view class=" userInfo-main2" :key="i" >
+			<!-- 	<view class=" userInfo-main" :key="i" >
 					<h2 v-if="vipPlatformList.length>1">
 					
 						{{item.entAccountName}}
@@ -38,11 +48,12 @@
 					<h3>
 						 企业余额:{{showNumJP(item.entAccountBalance)}}元 
 					</h3>
-					<!-- <view class="userInfo-btn" >帐户提现</view> -->
-				</view>
-				
+					
+				</view> -->
 				
-			
+			</view>	
+			<view class="function-menu" v-if="accountType8" >
+			<template v-for="(item,i ) in vipPlatformList" >
 				<view class="item"  :key="'b'+i" 
 				
 				 @click="gotoUrl('pagesFinance/accountType8/personmanage/index?id='+item.id)" >
@@ -50,7 +61,7 @@
 						<i class="ri-folder-user-line"></i>
 					</view>
 					<view class="item-name">
-						员工管理
+						员工管理<br/>{{vipPlatformList.length>1?item.entAccountName:''}}
 					</view>
 					
 				</view>
@@ -61,7 +72,7 @@
 						<img src="../../assets/img/riLine-bus-line.svg" alt="">
 					</view>
 					<view class="item-name">
-						车辆管理
+						车辆管理<br/>{{vipPlatformList.length>1?item.entAccountName:''}}
 					</view>
 					
 				</view>