|
@@ -38,42 +38,11 @@
|
|
|
<text>充值</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="dis a-c j-s money">
|
|
|
- <view class="flex-1" @tap="toBillDetails(1)">
|
|
|
- <text class="d-flex a-center j-center">手续金额</text>
|
|
|
- <text style="color: #0052FF;font-family: DIN, DIN;"
|
|
|
- class="d-flex a-center j-center">¥{{handlingFee.toFixed(2)}}</text>
|
|
|
- </view>
|
|
|
- <view class="flex-1" @tap="toBillDetails(2)">
|
|
|
- <text class="d-flex a-center j-center">跟单金额</text>
|
|
|
- <text style="color: #0052FF; font-family: DIN, DIN;"
|
|
|
- class="d-flex a-center j-center">¥{{documentary.toFixed(2)}}</text>
|
|
|
- </view>
|
|
|
- <view class="flex-1" @tap="toBillDetails(3)">
|
|
|
- <text class="d-flex a-center j-center">推广金额</text>
|
|
|
- <text style="color: #0052FF; font-family: DIN, DIN;"
|
|
|
- class="d-flex a-center j-center">¥{{promotion.toFixed(2)}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 头部信息End -->
|
|
|
- <!-- 我的订单Start -->
|
|
|
- <!-- <scroll-view scroll-x class="my-orders ">
|
|
|
- <view>
|
|
|
- <u-grid :col="4" :border="false" align="center">
|
|
|
- <u-grid-item class="u-grid-iconfont" v-for="(item ,index) in orderTypeList" :index="index"
|
|
|
- :key="index" @click="openOrder">
|
|
|
- <view class="icon iconfont " :class="item.icon" :style="'color:'+item.iconColor"></view>
|
|
|
- <view class="grid-text">{{item.text}}</view>
|
|
|
- </u-grid-item>
|
|
|
- </u-grid>
|
|
|
- </view>
|
|
|
- </scroll-view> -->
|
|
|
- <!-- 我的订单End -->
|
|
|
- <!-- 我的工具Start -->
|
|
|
<view class="my-tools">
|
|
|
<view class="header ">
|
|
|
<text>我的工具</text>
|
|
@@ -212,9 +181,6 @@
|
|
|
popupShow: false, //头像是否展示
|
|
|
mystatusText: "已认证",
|
|
|
prodetIntroShow: true, //显示滚动公告
|
|
|
- handlingFee: 0, // 手续费金额
|
|
|
- documentary: 0, //车险金额
|
|
|
- promotion: 0, //推广费
|
|
|
avatar: "",
|
|
|
orderTypeList: [{
|
|
|
icon: 'icon-jixurenwu',
|
|
@@ -388,7 +354,6 @@
|
|
|
}
|
|
|
},
|
|
|
async onShow() {
|
|
|
- await this.getAdvanceMoney(); //手续费金额
|
|
|
await this.getInsureCount();
|
|
|
if (this.userInfo.sysUser.headSculpture) {
|
|
|
this.avatar = this.$base.baseUrl + this.userInfo.sysUser.headSculpture;
|
|
@@ -403,7 +368,6 @@
|
|
|
}
|
|
|
},
|
|
|
async onload() {
|
|
|
- await this.getAdvanceMoney(); //手续费金额
|
|
|
await this.getInsureCount();
|
|
|
},
|
|
|
onPageScroll(e) {
|
|
@@ -455,27 +419,6 @@
|
|
|
url: "/pages/set/set"
|
|
|
})
|
|
|
},
|
|
|
- //获得订单数量
|
|
|
-
|
|
|
-
|
|
|
- // 预收账户金额查询
|
|
|
- async getAdvanceMoney() {
|
|
|
- let res = await this.$http.get('/sysUserAccount/getSysAllAmount?userid=' + this.userInfo.sysUser.id);
|
|
|
- // 请求失败处理
|
|
|
- if (res.code == 200 && res.data) {
|
|
|
- this.handlingFee = res.data.handlingFee; //手续费
|
|
|
- this.documentary = res.data.documentary; //非跟单
|
|
|
- this.promotion = res.data.promotion; //佣金
|
|
|
- } else {
|
|
|
- this.handlingFee = 0; //手续费
|
|
|
- this.documentary = 0; //非跟单
|
|
|
- this.promotion = 0; //佣金
|
|
|
- }
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
//去工具页面
|
|
|
async toTools(e, listName) {
|
|
|
if (this.userInfo.sysUser.status == '2') {
|