Commit 50df2ead by sunchao

团队业绩单数bug修复

parent 3b08473e
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
<span>{{pointItem.areaCenterName }}</span> <span>{{pointItem.areaCenterName }}</span>
</view> </view>
<view class="content-box-title"> <view class="content-box-title">
<span style="color:#FF0000;">{{pointItem.orderNum }}</span> <span style="color:#FF0000;">
&nbsp; {{pointItem.orderNum }} &nbsp;
</span>
</view> </view>
<view class="content-box-title"> <view class="content-box-title">
<span style="color:#FF0000;">{{pointItem.coursePrice}}</span> <span style="color:#FF0000;">{{pointItem.coursePrice}}</span>
...@@ -89,6 +91,7 @@ ...@@ -89,6 +91,7 @@
}; };
}, },
mounted() { mounted() {
console.log(this.dataList)
// this.alist = this.dataList // this.alist = this.dataList
// this.list = JSON.parse(JSON.stringify(this.dataList)) // this.list = JSON.parse(JSON.stringify(this.dataList))
// this.$nextTick(() => { // this.$nextTick(() => {
......
<template> <template>
<view class="top"> <view class="top">
<text class="iconfont icon-youjiantou" @click="goBack()"></text> <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>公告列表</text> <text>公告列表</text>
</view> </view>
<view class="container"> <view class="container">
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
}) })
}, },
goBack(){ goBack(){
uni.navigateTo({ uni.navigateBack({
url:'../index/index' delta:1
}) })
} }
} }
...@@ -76,11 +76,14 @@ ...@@ -76,11 +76,14 @@
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
background: #fff; background: #fff;
.icon-youjiantou{ .zuojiantou{
display: inline-block; display: inline-block;
transform: rotate(180deg); transform: rotate(180deg);
font-size: 30rpx; font-size: 30rpx;
z-index: 1; z-index: 1;
position: absolute;
top: 30rpx;
left: 20rpx;
} }
text:nth-child(2){ text:nth-child(2){
width: 100%; width: 100%;
......
<template> <template>
<view class="top"> <view class="top">
<text class="iconfont icon-youjiantou" @click="goBack()"></text> <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>公告详情</text> <text>公告详情</text>
</view> </view>
<view class="announcement_detail_wrapper container"> <view class="announcement_detail_wrapper container">
...@@ -68,11 +68,14 @@ ...@@ -68,11 +68,14 @@
position: relative; position: relative;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
.icon-youjiantou{ .zuojiantou{
display: inline-block; display: inline-block;
transform: rotate(180deg); transform: rotate(180deg);
font-size: 30rpx; font-size: 30rpx;
z-index: 1; z-index: 1;
position: absolute;
top: 30rpx;
left: 20rpx;
} }
text:nth-child(2){ text:nth-child(2){
width: 100%; width: 100%;
......
<template> <template>
<view class="container"> <view class="container" style="padding-top: 50rpx;background: #fff;">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;" <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"
:style="{top:queryType==1? '16rpx':'-10rpx'}"></text> :style="{top:queryType==1? '16rpx':'-10rpx'}"></text>
<view class="others" v-if="queryType == 2"> <view class="others" v-if="queryType == 2">
...@@ -12,12 +12,14 @@ ...@@ -12,12 +12,14 @@
</view> </view>
</view> </view>
<view class="certifyListContent" v-if="userCertificates?.length>0"> <view class="certifyListContent" v-if="userCertificates?.length>0">
<view class="certifyInfoItem" v-for="item in userCertificates" :key="item?.cerNo"> <view class="certifyListContent" v-if="userCertificates.length>0">
<h4>{{item?.cerName}}</h4> <view class="certifyInfoItem" v-for="item in userCertificates" :key="item.cerNo" @click="previewImg(item)">
<view class="certifyImgBox"> <h4>{{item.cerName}}</h4>
<image :src="item?.cerUrl" mode="widthFix"></image> <view class="certifyImgBox">
<view>认证编号:{{item?.authenticationCode}}</view> <image :src="item.cerUrl" alt="" srcset="" mode="widthFix"></image>
<view>有效期至:{{dateFormat(item?.endDate)}}</view> <view>认证编号:{{item.authenticationCode}}</view>
<view>有效期至:{{dateFormat(item.endDate)}}</view>
</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -57,6 +59,22 @@ ...@@ -57,6 +59,22 @@
delta: 1 delta: 1
}); });
}, },
// 预览图片
previewImg(e){
// 预览图片
uni.previewImage({
urls:[e.cerUrl],
longPressActions: {
itemList: ['发送给朋友', '保存图片'],
success: function(data) {
console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
},
fail: function(err) {
console.log(err.errMsg);
}
}
});
},
getResult(){ getResult(){
const param = { const param = {
queryType:(this.queryType=='null' || this.queryType=='undefined')?undefined:this.queryType, queryType:(this.queryType=='null' || this.queryType=='undefined')?undefined:this.queryType,
...@@ -104,20 +122,27 @@ ...@@ -104,20 +122,27 @@
.certifyListContent{ .certifyListContent{
.certifyInfoItem{ .certifyInfoItem{
background-color: #fff; background-color: #fff;
margin-bottom: 10rpx; // margin-bottom: 10rpx;
border-bottom: 10rpx #FBFBFB solid;
padding: 20rpx 0; padding: 20rpx 0;
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.certifyImgBox{
text-align: center;
}
image{ image{
max-width: 60%; max-width: 100%;
height: auto; height: auto;
margin: 0 auto;
}
.certifyImgBox{
display: flex;
flex-direction: column;
align-items: flex-start;
} }
} }
.certifyInfoItem:last-child{
border-bottom: 0;
}
} }
</style> </style>
\ No newline at end of file
...@@ -101,6 +101,6 @@ ...@@ -101,6 +101,6 @@
padding: 10rpx; padding: 10rpx;
} }
.pad{ .pad{
padding:0 30rpx 100rpx 30rpx; padding:0 30rpx 20rpx 30rpx;
} }
</style> </style>
\ No newline at end of file
...@@ -53,6 +53,9 @@ ...@@ -53,6 +53,9 @@
</view> </view>
</view> </view>
</view> </view>
<view class="" style="text-align: center;color: #666666;font-size: 24rpx;">
由银盾保险经纪有限公司提供技术支持
</view>
<!-- <tabBar :currentPage="currentPage"></tabBar> --> <!-- <tabBar :currentPage="currentPage"></tabBar> -->
</view> </view>
<uni-popup ref="popup" type="top" background-color="#fff"> <uni-popup ref="popup" type="top" background-color="#fff">
...@@ -282,7 +285,7 @@ ...@@ -282,7 +285,7 @@
}, },
announcementQuery() { announcementQuery() {
api.announcementQuery({ api.announcementQuery({
announcementTypeId: 37 announcementTypeId: 686
}).then((res) => { }).then((res) => {
this.announcementInfo = res['data']['announcementInfoList'] ? res['data'][ this.announcementInfo = res['data']['announcementInfoList'] ? res['data'][
'announcementInfoList' 'announcementInfoList'
...@@ -401,8 +404,7 @@ ...@@ -401,8 +404,7 @@
.course_content { .course_content {
background: #fff; background: #fff;
position: relative; position: relative;
padding-bottom: 100rpx; padding-bottom: 30rpx;
.tag { .tag {
padding: 20rpx; padding: 20rpx;
display: flex; display: flex;
......
<template> <template>
<view class="container"> <view class="container">
<!-- <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text> --> <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text>
<view v-for="item in minorMenuLists.filter(v=>v.isShow)" :key="item.title" @click="goteam(item)" class="liBox"> <view v-for="item in minorMenuLists.filter(v=>v.isShow)" :key="item.title" @click="goteam(item)" class="liBox">
<view class="infoBox"> <view class="infoBox">
<!-- <image :src="'/static/moduleIcon/'+item.icon+'.png'" alt="" srcset="" mode="widthFix"></image> --> <!-- <image :src="'/static/moduleIcon/'+item.icon+'.png'" alt="" srcset="" mode="widthFix"></image> -->
...@@ -69,6 +69,6 @@ ...@@ -69,6 +69,6 @@
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
border-bottom:3px transparent solid; border-bottom:3px transparent solid;
// border-image:linear-gradient(to right,#FA882F,#FFCCCC) 0.5 10; border-image:linear-gradient(to right,#FA882F,#FFCCCC) 0.5 10;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<view class="container"> <view class="container">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text>
<!-- <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text> --> <!-- <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text> -->
<!-- tab选项 --> <!-- tab选项 -->
<view class="tabTitle"> <view class="tabTitle">
...@@ -125,7 +126,14 @@ ...@@ -125,7 +126,14 @@
text-align: center; text-align: center;
margin-bottom: 20px; margin-bottom: 20px;
background: #FFFFFF; background: #FFFFFF;
.zuojiantou{
display: inline-block;
transform: rotate(180deg);
font-size: 30rpx;
z-index: 1;
position: absolute;
top: 30rpx;
}
.tabTitle { .tabTitle {
color: #666666; color: #666666;
background-color: #fff; background-color: #fff;
...@@ -155,7 +163,7 @@ ...@@ -155,7 +163,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 0 20rpx;
.direct-team { .direct-team {
width: 223px; width: 223px;
height: 40px; height: 40px;
......
...@@ -159,10 +159,11 @@ ...@@ -159,10 +159,11 @@
if (res['success']) { if (res['success']) {
this.listType = true this.listType = true
this.dataList = res.data.list || []; this.dataList = res.data.list || [];
console.log(this.dataList)
this.totalOrder = res.data.totalOrder ? res.data.totalOrder : '0'; this.totalOrder = res.data.totalOrder ? res.data.totalOrder : '0';
this.totalCoursePrice = res.data.totalCoursePrice ? res.data.totalCoursePrice : '0'; this.totalCoursePrice = res.data.totalCoursePrice ? res.data.totalCoursePrice : '0';
this.totalIncome = res.data.totalIncome ? res.data.totalIncome : '0'; this.totalIncome = res.data.totalIncome ? res.data.totalIncome : '0';
this.sortswitch(); // this.sortswitch();
} }
}) })
}, },
...@@ -275,7 +276,7 @@ ...@@ -275,7 +276,7 @@
.classtotal-box { .classtotal-box {
flex: 1; flex: 1;
padding-top: 40rpx; // padding-top: 40rpx;
text-align: center; text-align: center;
// border: 1rpx solid #20279B; // border: 1rpx solid #20279B;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment