Commit 4a34dc18 by yuzhenWang

去除h5返回键

parent bf12032e
<template>
<view class="itemContent">
<view class="thumbnailBox">
<image :src="thumbnailPath" alt="" mode="widthFix"></image>
<image :src="thumbnailPath" alt="" mode="widthFix" ></image>
</view>
<view class="courseDetailBox">
<view class="title">
<view style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{title}}</view>
<!-- <text class="detailBtn" @click="viewDetail()" v-if="isNeedViewDetail">订单详情></text> -->
<!-- <text class="iconfont icon-youjiantou " v-if="showDetail"></text> -->
</view>
<view class="summaryBox" v-if="summaryBox">
<view class="text-wrap">{{summaryBox}}</view>
</view>
<view class="dataBox" v-if="dataList">
<view class="price" v-if="dataList.coursePrice != 0" >{{dataList.coursePrice}}</view>
<!-- <text v-if="dataList.coursePrice == 0">免费</text> -->
<text v-if="dataList.coursePrice != 0">{{dataList.salesNumber}}人购买</text>
<view class="price" v-if="dataList.coursePrice != 0" >{{Number(dataList.coursePrice).toFixed(2)}}</view>
<text v-if="dataList.coursePrice != 0 && dataList.salesNumber">{{dataList.salesNumber}}人购买</text>
</view>
<!-- <view class="tagListBox" v-if="tagList || fileLecturerId">
<template v-if="tagList">
<view class="tagItem" v-for="tagItem in tagConcat(tagList.v1,tagList.v2)">{{tagItem}}</view>
</template>
<template v-else-if="_tagList">
<view class="tagItem" v-for="tagItem in tagConcat(_tagList.v1,_tagList.v2)">{{tagItem}}</view>
</template>
</view> -->
</view>
</view>
</template>
......@@ -61,7 +51,11 @@
},
fileId: {
type: Number
}
},
showDetail: { //展示详情箭头
type: Boolean,
default:false
},
},
data() {
return {
......@@ -134,6 +128,8 @@
.title {
// flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
// max-width: 260rpx;
// width: 0;
// flex-basis: 100rpx;
......
......@@ -73,7 +73,7 @@
}, {
"path": "pages/application-process/basic-info",
"style": {
"navigationBarTitleText": "基本资料",
"navigationBarTitleText": "申请加盟-基本资料",
"enablePullDownRefresh": false,
"app-plus": {
"softinputMode": "adjustPan"
......
<template>
<view class="container">
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text style="font-size: 30rpx;">我的售后</text>
</view>
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text style="font-size: 30rpx;">我的售后</text>
</view>
<!-- #endif -->
<h4 class="noListTip" v-if="userCourses.length <=0 ">暂无售后</h4>
<view class="ulBox" v-if="userCourses.length > 0">
<view class="conent">
<view class="liBox" v-for="item in userCourses" :key="item.orderId">
<course-item :thumbnailPath="item.displayImage" :title="item.fileTitle" :summaryBox="item.fileSynopsis" :dataList="{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :fileLecturerId="item.fileLecturerId"></course-item>
<view class="statusBox">
......@@ -14,6 +17,8 @@
</view>
</view>
</view>
</view>
</view>
</template>
......@@ -79,13 +84,15 @@
}
}
.ulBox{
margin-top: 20rpx;
box-sizing: border-box;
padding: 20rpx 20rpx 5rpx 20rpx;
.conent{
border-radius: 10rpx;
}
.liBox{
background-color: #fff;
margin-bottom: 20rpx;
padding: 36rpx 30rpx;
margin: 20rpx;
border-radius: 10rpx;
.statusBox{
display: flex;
......
.container {
font-size: 36rpx;
// background: #fff;
// min-height: 100%;
overflow: auto;
// padding-bottom: 80rpx;
.wrapper{
background: #fff;
}
......
<template>
<view class="container" style="height: 1000rpx;">
<view >
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>申请加盟</text>
</view>
<!-- #endif -->
<view class="page">
<text class="num actived pass">1</text>
<text class="line line_pass"></text>
......
<template>
<view class="container">
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>申请加盟</text>
</view>
<!-- #endif -->
<view class="page">
<text class="num actived">1</text>
<text class="line"></text>
......
<template>
<view class="container">
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>申请加盟</text>
</view>
<!-- #endif -->
<view class="page">
<text class="num actived pass">1</text>
<text class="line line_pass"></text>
......
<template>
<view class="container">
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>申请加盟</text>
</view>
<!-- #endif -->
<view class="page">
<text class="num actived pass">1</text>
<text class="line line_pass"></text>
......@@ -18,8 +21,6 @@
<text class="num">6</text>
<text class="line"></text>
<text class="num">7</text>
<!-- <text class="line"></text>
<text class="num">8</text> -->
</view>
<view class="wrapper">
<view class="title">
......@@ -239,7 +240,7 @@
<style lang="scss" scoped>
@import 'applyCommon.scss';
.content_wrapper {
display: flex;
justify-content: center;
......
<template>
<view class="container">
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>申请加盟</text>
</view>
<!-- #endif -->
<view class="page">
<text class="num actived pass">1</text>
<text class="line line_pass"></text>
......
<template class="sign">
<view class="container" style="margin-bottom: 0;" >
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>申请加盟</text>
</view>
<view class="page">
<!-- #endif -->
<view class="page" >
<text class="num actived pass">1</text>
<text class="line line_pass"></text>
<text class="num actived pass">2</text>
......
<template>
<view>
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" style="top: 20rpx;" @click="goBack()" ></text>
<!-- #endif -->
<template v-if="title">
<view style="padding-top: 50rpx;"><my-list-item :title="title" :lists="lists"></my-list-item></view>
<view v-if="lists.length<=0" style="text-align: center;margin-top: 40rpx;">暂无{{typeName}}记录</view>
......
<template>
<view class="container">
<view class="shareheader" style="" v-if="coursesharing != 1 || deviceType==3">
<view class="iconfont icon-youjiantou" style="margin-left: 30rpx;" @click="goBack()">
</view>
<!-- #ifdef APP -->
<view class="iconfont icon-youjiantou" style="margin-left: 30rpx;" @click="goBack()"></view>
<!-- #endif -->
<view class="share-entrance">
<view style="z-index: 99999;">
<uni-popup ref="share" type="top" safeArea backgroundColor="#F4F2F3" :maskClick='true'
......@@ -1107,7 +1110,12 @@
.shareheader {
background-color: #fff;
display: flex;
/* #ifdef H5 */
justify-content: flex-end;
/* #endif */
/* #ifdef APP */
justify-content: space-between;
/* #endif */
align-items: center;
height: 100rpx;
......
<template>
<view class="padding-top container">
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: 20rpx;"></text>
<!-- #endif -->
<view class="tabTitle">
<text :class="{'actived': tabType===1}" @click="switchTab(1)">基本信息</text>
......
<template>
<view class="container">
<!-- 时间选择 -->
<view class="timeSelectContent">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<CommonTimePicker
:timeData="startDate"
:visible="showTime1"
@confirmDate="changeStartTime"
@closeTime="showTime1=false"
@click="showTime1=true"
/>
</view>
<!-- 分享统计 -->
<view class="shareStatisticalContent">
<view class="statisticItem">
<text>{{coursesCountInfos.shareFrequencyMonth}}</text>
<text>本月分享(频次)</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.integralMonth}}</text>
<text>本月获得积分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.shareSectionMonth}}</text>
<text>本月统计(节)</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.shareFrequencyCount}}</text>
<text>累计分享(频次)</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.integralCount}}</text>
<text>累计获得积分</text>
<view class="">
<!-- 时间选择 -->
<view class="timeSelectContent">
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<!-- #endif -->
<CommonTimePicker
:timeData="startDate"
:visible="showTime1"
@confirmDate="changeStartTime"
@closeTime="showTime1=false"
@click="showTime1=true"
/>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.shareSectionCount}}</text>
<text>累计分享(节)</text>
<!-- 分享统计 -->
<view class="shareStatisticalContent">
<view class="statisticItem">
<text>{{coursesCountInfos.shareFrequencyMonth}}</text>
<text>本月分享(频次)</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.integralMonth}}</text>
<text>本月获得积分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.shareSectionMonth}}</text>
<text>本月统计(节)</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.shareFrequencyCount}}</text>
<text>累计分享(频次)</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.integralCount}}</text>
<text>累计获得积分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.shareSectionCount}}</text>
<text>累计分享(节)</text>
</view>
</view>
</view>
<!-- 分享明细 -->
<view class="shareDetailContent">
<h3 class="shareTitle">分享明细</h3>
<template v-if="userShareCourses && userShareCourses.length > 0">
<view class="shareOrderInfoItem" v-for="item in userShareCourses" :key="item.fileId">
<view class="timeBox">{{item.shareDate}}</view>
<view class="courseInfoContent">
<course-item :thumbnailPath="item.displayImage" :title="item.fileTitle"
:summaryBox="item.fileSynopsis"
:dataList="{coursePrice:item.coursePrice,salesNumber:item.salesNumber}"
:fileLecturerId="item.fileLecturerId"></course-item>
</view>
<view class="countsContent">
<view @click="goDetail(item.fileId,1)">
<i class="iconfont icon-zhuanfa iconStyle"></i>
<text>分享</text>
<text>{{item.shareCount}}</text>
<view class="shareBox">
<h3 class="shareTitle">分享明细</h3>
<template v-if="userShareCourses && userShareCourses.length > 0">
<view class="shareOrderInfoItem" v-for="item in userShareCourses" :key="item.fileId">
<view class="timeBox">{{item.shareDate}}</view>
<view class="courseInfoContent">
<course-item :thumbnailPath="item.displayImage" :title="item.fileTitle"
:summaryBox="item.fileSynopsis"
:dataList="{coursePrice:item.coursePrice,salesNumber:item.salesNumber}"
:fileLecturerId="item.fileLecturerId"></course-item>
</view>
<view @click="goDetail(item.fileId,2)">
<i class="iconfont icon-yidu iconStyle"></i>
<text>阅读</text>
<text>{{item.readCount}}</text>
</view>
<view @click="goDetail(item.fileId,3)">
<i class="iconfont icon-yifukuan iconStyle"></i>
<text>购买</text>
<text>{{item.buyCount}}</text>
<view class="countsContent">
<view @click="goDetail(item.fileId,1)">
<i class="iconfont icon-zhuanfa iconStyle"></i>
<text>分享</text>
<text>{{item.shareCount}}</text>
</view>
<view @click="goDetail(item.fileId,2)">
<i class="iconfont icon-yidu iconStyle"></i>
<text>阅读</text>
<text>{{item.readCount}}</text>
</view>
<view @click="goDetail(item.fileId,3)">
<i class="iconfont icon-yifukuan iconStyle"></i>
<text>购买</text>
<text>{{item.buyCount}}</text>
</view>
</view>
</view>
</view>
</template>
<h4 class="noListTip" v-else>暂无分享记录!</h4>
</template>
<h4 class="noListTip" v-else>暂无分享记录!</h4>
</view>
</view>
</view>
</template>
......@@ -186,7 +194,9 @@
<style lang="scss" scoped>
.container {
padding-bottom: 30rpx;
padding-bottom: 20rpx;
display: flex;
flex-direction: column;
.timeSelectContent {
background-color: #fff;
padding: 20rpx 0;
......@@ -240,35 +250,29 @@
}
.shareDetailContent {
margin-bottom: 50rpx;
flex: 1;
box-sizing: border-box;
background-color: #fff;
margin: 0rpx 20rpx;
padding: 20rpx;
border-radius: 10rpx;
.shareTitle {
margin: 20rpx 20rpx 0 20rpx;
padding: 20rpx;
// margin: 20rpx 20rpx 0 20rpx;
// padding: 20rpx;
border-bottom: 1rpx solid #F2F2F2;
color: #333;
font-size: 36rpx;
position: relative;
background-color: #fff;
border-radius: 10rpx 10rpx 0rpx 0rpx;
// &::before {
// content: '';
// display: block;
// position: absolute;
// left: 2%;
// top: 50%;
// transform: translateY(-50%);
// width: 3rpx;
// height: 50%;
// border-radius: 4rpx;
// background-color: #3639A9;
// }
}
.shareOrderInfoItem {
margin: 0 20rpx;
// margin: 0 20rpx;
background-color: #fff;
box-sizing: border-box;
padding: 20rpx;
padding: 20rpx 10rpx;
.timeBox {
font-size: 28rpx;
color: #999;
......
<template>
<view class="container">
<view style="flex: 1;">
<!-- #ifdef APP -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
</view>
<!-- #endif -->
<!-- 课程详情 -->
<template v-if="courseInfoItem">
<view class="courseItemBox" style="padding-top:80rpx">
<view class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:18rpx">
</view>
<view class="courseItemBox" >
<course-item :thumbnailPath="courseInfoItem.displayImage" :title="courseInfoItem.fileTitle"
:summaryBox="courseInfoItem.fileSynopsis"
:dataList="{coursePrice:courseInfoItem.coursePrice,salesNumber:courseInfoItem.salesNumber}"
......@@ -543,10 +547,29 @@
display: flex;
flex-direction: column;
.backArrow{
box-sizing: border-box;
display: flex;
height: 100rpx;
justify-content: space-between;
align-items: center;
position: relative;
width: 100%;
margin-bottom: 10rpx;
color: #333333;
background-color: #fff;
text:nth-child(2){
width: 100%;
text-align: center;
position: absolute;
}
}
.txtFont{
font-size: 27rpx;
}
.courseItemBox {
margin: 20rpx;
border-radius: 10rpx;
padding: 20rpx 30rpx;
background-color: #fff;
}
......@@ -700,7 +723,7 @@
.paymentMethodContent,
.totalContent {
background-color: #fff;
margin: 0 10rpx;
margin: 0 20rpx;
padding: 20rpx;
border-radius: 10rpx;
}
......
<template>
<view class="container" >
<!-- <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: 16rpx;"></text> -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">订单详情</text>
</view>
<!-- #ifdef APP -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">订单详情</text>
</view>
<!-- #endif -->
<view class="orderInfoContent">
<view class="ulBox">
<view v-for="item in orderInfoList.filter(item=>item.pageArea===1)" :key="item.id" class="liBox">
<text>{{item.name}}:</text>
<text
:style="{color:item.color ? item.color : '#666'}">{{item.type==='currency' && item.value ? '¥' : ''}}{{item.value ? item.value : '/'}}</text>
<view class="conent">
<view v-for="item in orderInfoList.filter(item=>item.pageArea===1)" :key="item.id" class="liBox">
<text>{{item.name}}:</text>
<text
:style="{color:item.color ? item.color : '#666'}">{{item.type==='currency' && item.value ? '¥' : ''}}{{item.value ? item.value : '/'}}</text>
</view>
</view>
</view>
<view class="ulBox">
<view v-for="item in orderInfoList.filter(item=>item.pageArea===2)" :key="item.id" class="liBox">
<text>{{item.name}}:</text>
<text
:style="{color:item.color ? item.color : '#666'}"
>
{{item.type==='currency' && item.value ? '¥' : ''}}{{item.value ? item.value : '/'}}
</text>
<view class="conent">
<view v-for="item in orderInfoList.filter(item=>item.pageArea===2)" :key="item.id" class="liBox">
<text>{{item.name}}:</text>
<text
:style="{color:item.color ? item.color : '#666'}"
>
{{item.type==='currency' && item.value ? '¥' : ''}}{{item.value ? item.value : '/'}}
</text>
</view>
</view>
</view>
<!-- 退课 -->
<view class="dropClassBox" v-if="Withdrawal=='1' && orderDetail.isRefund == '1'&& type == 'drop'">
<!-- <view class="dropClassBox" v-if="Withdrawal=='1' && orderDetail.operationStatus == '1'&& type == 'drop'"> -->
<view class="dropBtn" @click="dropClasses()">退款</view>
</view>
</view>
......@@ -247,7 +253,6 @@
margin-bottom: 10rpx;
color: #333333;
background-color: #fff;
// margin-top: 20rpx;
text:nth-child(2){
width: 100%;
text-align: center;
......@@ -256,10 +261,13 @@
}
.orderInfoContent {
.ulBox {
background-color: #fff;
margin: 20rpx 20rpx;
padding: 20rpx;
border-radius: 10rpx;
box-sizing: border-box;
padding: 20rpx 20rpx 5rpx 20rpx;
.conent{
padding: 20rpx ;
background-color: #fff;
border-radius: 10rpx;
}
.liBox {
margin-bottom: 20rpx;
display: flex;
......
<template>
<view class="container">
<!-- #ifdef APP -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">帮助中心</text>
</view>
<!-- #endif -->
<view class="filterBox">
<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120">
<view
......
<template>
<view class="container">
<view class="myHeader">
<!-- #ifdef APP -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">我的团队</text>
</view>
<!-- #endif -->
<view class="timeBox" v-if="currentBtn == '2'" @click="showTime1 = true">
<CommonTimePicker
:timeData="startDate"
......@@ -14,7 +17,7 @@
@closeTime="showTime1=false"
/>
</view>
<view class="renshu">
<view class="renshu" :style="{marginTop}">
<view class="top">
<view class="left">
<text v-if="currentBtn == '1'">团队有效人数</text>
......@@ -97,7 +100,7 @@
<span class="content-box-title cell">{{pointItem.referrer}}</span>
</view>
</view>
<view v-else-if="currentBtn == '2'&&myTeamAchievementList.length>0">
<view v-else-if="currentBtn == '2'&&currentFilterBtn!=='3'&& myTeamAchievementList.length>0">
<view class="content-sam-box" v-for="(pointItem,index) in myTeamAchievementList" :key="index">
<span class="content-box-title cell">{{pointItem.name}}</span>
<span class="content-box-title cell">{{pointItem.orderNum}}</span>
......@@ -105,6 +108,14 @@
<span class="content-box-title cell" >{{pointItem.monthStandardSales || '0.00'}}</span>
</view>
</view>
<view v-else-if="currentBtn == '2'&& currentFilterBtn=='3'&& myTeamAchievementList.length>0">
<view class="content-sam-box" v-for="(pointItem,index) in myTeamAchievementList" :key="index">
<span class="content-box-title cell">{{pointItem.saleDate}}</span>
<span class="content-box-title cell">{{pointItem.orderNum}}</span>
<span class="content-box-title cell">{{pointItem.coursePrice}}</span>
<span class="content-box-title cell" >{{pointItem.monthStandardSales || '0.00'}}</span>
</view>
</view>
<view class="empty" v-else>
暂无数据
</view>
......@@ -142,7 +153,7 @@
{title:'职级',id:'3'},
{title:'关系',id:'4'},
],
currentTab:'1',
currentTab:'1',
currentBtn:'1', // 1代表团队 2代表业绩
currentFilterBtn:'1',
teamCount:0,//团队总人数,育成团队人数不算
......@@ -162,7 +173,8 @@
totalOrder: '0', //总单数
totalCoursePrice: '0.00', // 总销售额
monthStandardSales:'0.00',//本月团队标准销售额
myTeamAchievementList:[],//我的业绩数据列表
myTeamAchievementList:[],//我的业绩数据列表,
marginTop:'30rpx'
}
},
watch: {
......@@ -176,6 +188,9 @@
{title:'职级',id:'3'},
{title:'关系',id:'4'},
]
// #ifdef H5
this.marginTop = '30rpx'
// #endif
this.getmyseatem()
return
}
......@@ -187,6 +202,9 @@
{title:'标准销售额',id:'4'},
]
this.getqueryTeamAchievement()
// #ifdef H5
this.marginTop = '0rpx'
// #endif
return
}
}
......@@ -214,10 +232,32 @@
this.myTeamList.push( ...this.myTeamData['directList'])
}
}
console.log();
}
},
currentFilterBtn: {
deep: true,
handler(newVal) {
if(newVal == '3'&&this.currentBtn=='2') {
this.tableHeaderList = [
{title:'销售日期',id:'1'},
{title:'单数',id:'2'},
{title:'销售额',id:'3'},
{title:'标准销售额',id:'4'},
]
this.getqueryTeamAchievement()
return
}else {
this.tableHeaderList = [
{title:'成员',id:'1'},
{title:'单数',id:'2'},
{title:'销售额',id:'3'},
{title:'标准销售额',id:'4'},
]
this.getqueryTeamAchievement()
return
}
}
},
},
onLoad(){
this.getmyseatem()
......@@ -352,6 +392,7 @@
}
}
.timeBox{
margin-top: 30rpx;
padding-left: 25rpx;
width: 50%;
}
......
<template>
<view class="container">
<view class="myHeader">
<!-- #ifdef APP -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">育成团队</text>
</view>
<!-- #endif -->
<view class="timeBox" v-if="currentBtn == '2'" @click="showTime1 = true">
<CommonTimePicker
:timeData="startDate"
......@@ -14,7 +17,7 @@
@closeTime="showTime1=false"
/>
</view>
<view class="renshu">
<view class="renshu" :style="{marginTop}">
<view class="top">
<view class="left">
<text v-if="currentBtn == '1'">育成部长数</text>
......@@ -108,8 +111,6 @@
暂无数据
</view>
</view>
</view>
</view>
</template>
......@@ -164,6 +165,7 @@
totalCoursePrice: '0.00', // 总销售额
monthStandardSales:'0.00',//本月团队标准销售额
myTeamAchievementList:[],//我的业绩数据列表
marginTop:'30rpx'
}
},
watch: {
......@@ -177,6 +179,9 @@
{title:'标准销售额',id:'3'},
]
this.getmyseatem()
// #ifdef H5
this.marginTop = '30rpx'
// #endif
return
}
if(newVal == '2') {
......@@ -187,11 +192,37 @@
{title:'标准销售额',id:'4'},
]
this.getqueryTeamAchievement()
// #ifdef H5
this.marginTop = '0rpx'
// #endif
return
}
}
},
// currentFilterBtn: {
// deep: true,
// handler(newVal) {
// if(newVal == '3'&&this.currentBtn=='2') {
// this.tableHeaderList = [
// {title:'销售日期',id:'1'},
// {title:'单数',id:'2'},
// {title:'销售额',id:'3'},
// {title:'标准销售额',id:'4'},
// ]
// this.getqueryTeamAchievement()
// return
// }else {
// this.tableHeaderList = [
// {title:'成员',id:'1'},
// {title:'单数',id:'2'},
// {title:'销售额',id:'3'},
// {title:'标准销售额',id:'4'},
// ]
// this.getqueryTeamAchievement()
// return
// }
// }
// },
},
onLoad(){
......@@ -316,6 +347,7 @@
}
}
.timeBox{
margin-top: 30rpx;
padding-left: 25rpx;
width: 50%;
}
......
<template>
<view class="container" :style="cffpFortuneDateList.length>6?'height:auto':'height:100vh'">
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">佣金</text>
</view>
<view class="" style="padding: 10rpx 20rpx 0 20rpx;">
<!-- #ifdef APP -->
<view class="backArrow">
<text class="iconfont icon-youjiantou zuojiantou" style="left: 5rpx;" @click="goBack()"></text>
<text style="font-size: 30rpx;">佣金</text>
</view>
<!-- #endif -->
<view class="listBox" >
<view class="first">
<view class="top">
<view class="left">
......@@ -120,54 +123,7 @@
<uni-popup ref="timePopup" type="bottom" >
<customDatePop @closePop="closePop" @comfirm="comfirm" :dateParts="dateParts" :currentItem="currentItem" :childData="childData"></customDatePop>
</uni-popup>
<!-- <CustomDatePop ref="customDatePop"></CustomDatePop> -->
<!-- <view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: 20rpx;"></text>
<view>
{{yesExchangeFortune?yesExchangeFortune:0}}
</view>
<view>
可兑换积分
</view>
</view>
<view class="content_wrapper">
<view class="item">
<text>A.可兑换</text>
<text>{{yesExchangeFortune?yesExchangeFortune:0}}积分</text>
</view>
<view class="item">
<text>B.待兑换</text>
<text>{{notExchangeFortune?notExchangeFortune:0}}积分</text>
</view>
<view class="item">
<text>C.兑换中</text>
<text>{{inExchangeFortune?inExchangeFortune:0}}积分</text>
</view>
<view class="item">
<text>D.已兑换</text>
<text>{{alreadyExchangeFortune?alreadyExchangeFortune:0}}积分</text>
</view>
<view class="item">
<text>E.已退款</text>
<text style="color: #0A2F99;" @click="viewDropLists()">{{returnFortune?returnFortune:0}}积分<i class="iconfont icon-youjiantou" style="margin-right: 10rpx;"></i></text>
</view>
</view>
<view class="total">
<view class="description">
<text>总积分:</text>
<text>(A+B+C+D+E)</text>
</view>
<view class="">
{{totalFortune?totalFortune:0}}积分
</view>
</view>
<view class="record" @click="toRecord()">
兑换记录
</view>
<view class="btn" @click="toWithdrawal()" style="bottom: 30rpx;">
去提现
</view> -->
</view>
</template>
......@@ -409,7 +365,11 @@
}
.container{
box-sizing: border-box;
padding-bottom: 50rpx;
/* #ifdef H5 */
padding-top: 15rpx;
/* #endif */
padding-bottom: 20rpx;
.backArrow{
background-color: #fff;
box-sizing: border-box;
......@@ -426,6 +386,10 @@
position: absolute;
}
}
.listBox{
padding: 10rpx 20rpx 0rpx 20rpx;
}
.first{
color: rgba(244, 239, 212, 1);
......
<template>
<view class="container">
<!-- 时间选择 -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text>
<view class="timeSelectContent" @click="showTime1=true">
<CommonTimePicker
:timeData="startDate"
:visible="showTime1"
@confirmDate="changeStartTime"
@closeTime="showTime1=false"
/>
</view>
</view>
<!-- 销售统计 -->
<view class="saleStatisticalContent">
<view class="statisticItem">
<text>{{coursesCountInfos.integralCount}}</text>
<text>累计积分</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.integralDay}}</text>
<text>今日获得积分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.integralMonth}}</text>
<text>本月得分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.orderCount}}</text>
<text>累计订单</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.orderDay}}</text>
<text>今日成交单数</text>
<view>
<!-- 时间选择 -->
<view class="top">
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text>
<!-- #endif -->
<view class="timeSelectContent" @click="showTime1=true">
<CommonTimePicker
:timeData="startDate"
:visible="showTime1"
@confirmDate="changeStartTime"
@closeTime="showTime1=false"
/>
</view>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.orderMonth}}</text>
<text>本月单数</text>
<!-- 销售统计 -->
<view class="saleStatisticalContent">
<view class="statisticItem">
<text>{{coursesCountInfos.integralCount}}</text>
<text>累计积分</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.integralDay}}</text>
<text>今日获得积分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.integralMonth}}</text>
<text>本月得分</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.orderCount}}</text>
<text>累计订单</text>
</view>
<view class="statisticItem" @click="viewIntegral()">
<text class="colorText">{{coursesCountInfos.orderDay}}</text>
<text>今日成交单数</text>
</view>
<view class="statisticItem">
<text>{{coursesCountInfos.orderMonth}}</text>
<text>本月单数</text>
</view>
</view>
</view>
<!-- 分享明细 -->
<view class="saleDetailContent">
<view class="saleDetailContent" :style="{flex:userCourses.length<=0 || userShareCourseOrders.length <=0 ?'1':''}">
<view class="courseTab">
<text :class="{'actived':tabType===1}" @click="switchTab(1)">我的订单</text>
<text :class="{'actived':tabType===2}" @click="switchTab(2)">分享订单</text>
......@@ -50,17 +55,27 @@
<h4 class="noListTip" v-if="!userCourses || userCourses.length<=0 && tabType===1">暂无购买记录!</h4>
<h4 class="noListTip" v-if="!userShareCourseOrders || userShareCourseOrders.length <=0 && tabType===2">暂无分享记录!</h4>
<template v-if="userCourses && tabType===1">
<view class="saleOrderInfoItem" v-for="item in userCourses" :key="item.fileId">
<view class="saleOrderInfoItem" v-for="item in userCourses" :key="item.fileId" >
<view class="courseInfoContent" style="display: flex;justify-content: space-between;">
<view class="" @click="curriculumDetail(item)">
<course-item :thumbnailPath="item.displayImage" :fileId="item.fileId" :title="item.fileTitle" :summaryBox="item.fileSynopsis" :dataList="{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :fileLecturerId="item.fileLecturerId" :orderId="item.orderId"></course-item>
</view>
<view >
<text class="detailBtn" @click="viewDetail(item)" >订单详情</text>
<course-item
:thumbnailPath="item.displayImage"
:fileId="item.fileId"
:title="item.fileTitle"
:summaryBox="item.fileSynopsis"
:dataList="{coursePrice:item.coursePrice}"
:fileLecturerId="item.fileLecturerId"
:orderId="item.orderId"
:showDetail="true"
></course-item>
</view>
</view>
<view class="countsContent">
<text>实际支付:¥{{parseFloat(item.paymentAmount).toFixed(2)}}</text>
<view class="arrowBox" @click="viewDetail(item)">
<text class="detailBtn" >订单详情</text>
</view>
</view>
</view>
</template>
......@@ -198,7 +213,9 @@
<style lang="scss" scoped>
.container{
padding-bottom: 50rpx;
// padding-bottom: 50rpx;
display: flex;
flex-direction: column;
.top{
display: flex;
align-items: center;
......@@ -261,10 +278,15 @@
box-sizing: border-box;
padding: 20rpx 40rpx 0rpx 20rpx;
background-color: #fff;
margin: 0 20rpx;
margin: 0rpx 20rpx 20rpx 20rpx;
border-radius: 10rpx;
.noListTip{
font-size: 30rpx;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.saleOrderInfoItem{
padding: 18rpx 0rpx 18rpx 10rpx;
......@@ -273,21 +295,29 @@
border-bottom: 1rpx solid #F2F2F2;
margin-bottom: 10rpx;
.countsContent{
display: flex;
align-items: center;
justify-content: space-between;
text-align: right;
color: #333;
font-size: 32rpx;
margin-top: 20rpx;
}
.detailBtn{
font-size: 24rpx;
color:#fff;
white-space: nowrap;
background-color: #20269B;
padding: 10rpx 20rpx;
border-radius: 40rpx;
.arrowBox{
display: flex;
align-items: center;
justify-content: center;
.detailBtn{
font-size: 24rpx;
color:#fff;
white-space: nowrap;
background-color: #20269B;
padding: 10rpx 20rpx;
border-radius: 40rpx;
}
}
}
.saleOrderInfoItem:last-child{
border: none;
......
<template>
<view class="container">
<view class="top">
<view class="iconfont icon-youjiantou zuojiantou" @click="goBack()">
</view>
<!-- #ifdef APP -->
<view class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></view>
<view class="commonTitle" style="width: 60%;text-align: right;">
消息列表
</view>
<!-- #endif -->
<view class="clear" @click="oneKeyRead()" >
<text class="iconfont icon-saoba myIcon" ></text>
<text>一键已读</text>
......@@ -131,7 +133,12 @@
.top{
display: flex;
height: 100rpx;
/* #ifdef APP */
justify-content: space-between;
/* #endif */
/* #ifdef H5 */
justify-content: flex-end;
/* #endif */
align-items: center;
position: relative;
background: #fff;
......
<template>
<!-- #ifdef APP -->
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text class="commonTitle">消息详情</text>
</view>
<!-- #endif -->
<view class="announcement_detail_wrapper container">
<view class="content">
<view class="title">
......@@ -84,10 +87,11 @@
font-size: 24rpx;
}
.content{
margin-top: 20rpx;
// margin-top: 20rpx;
padding: 20rpx;
background: #fff;
word-break: break-word;
border-radius: 10rpx;
}
}
</style>
\ No newline at end of file
<template>
<view>
<view class="wrapper">
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: 30rpx;"></text>
<!-- #endif -->
<view class="banner">
<!--头部技术支持组件-->
<!-- <commonHead></commonHead> -->
......
<template>
<view class="wrapper">
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: 30rpx;"></text>
<!-- #endif -->
<view class="banner">
<!--头部技术支持组件-->
<!-- <commonHead></commonHead> -->
......
<template>
<!-- 已关注公众号用户 -->
<view class="content">
<!-- #ifdef APP -->
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: 30rpx;"></text>
<!-- #endif -->
<view class="banner">
<image src="/static/images/policyIrrBanner.png" mode="widthFix"></image>
<!-- 使用说明 -->
......
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