Commit d26508ec by yuzhenWang

添加未加盟提示

parent c6abb9eb
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
}, { }, {
"path": "pages/applyDropClass/applyDropClass", "path": "pages/applyDropClass/applyDropClass",
"style": { "style": {
"navigationBarTitleText": "申请退", "navigationBarTitleText": "申请退",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, { }, {
......
<template> <template>
<view class="container"> <view class="container">
<!-- #ifdef APP -->
<view class="top"> <view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text> <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text style="font-size: 30rpx;">退单详情</text> <text style="font-size: 30rpx;">退单详情</text>
</view> </view>
<view class="returnCountsContainer"> <!-- #endif -->
<view class="left"> <view class="conentBox">
<h3 style="font-size: 40rpx;">{{courseInfoItem.orderStatusName}}</h3> <view class="returnCountsContainer">
<text style="font-size: 26rpx;">{{courseInfoItem.refundTime}}</text> <view class="left">
</view> <h3 style="font-size: 40rpx;">{{courseInfoItem.orderStatusName}}</h3>
<view class="right"> <text style="font-size: 26rpx;">{{courseInfoItem.refundTime}}</text>
<h3>{{courseInfoItem.refundAmount}}</h3> </view>
<text style="font-size: 26rpx;" @click="goDetail()">到账说明</text> <view class="right">
<h3>{{courseInfoItem.refundAmount}}</h3>
<text style="font-size: 26rpx;" @click="goDetail()">到账说明</text>
</view>
</view> </view>
</view> <!-- 退款进度 -->
<!-- 退款进度 --> <view class="returnProcessContainer">
<view class="returnProcessContainer"> <h4>退款进度</h4>
<h4>退款进度</h4> <view class="stepContainer">
<view class="stepContainer"> <view class="iconContainer">
<view class="iconContainer"> <view v-for="(item,index) in options" :key="index" :class="{'actived':index===processIndex}">
<view v-for="(item,index) in options" :key="index" :class="{'actived':index===processIndex}"> <view class="icon"></view>
<view class="icon"></view> <view class="line"></view>
<view class="line"></view> </view>
</view> </view>
</view> <view class="stepProcessContainer">
<view class="stepProcessContainer"> <view v-for="(item,index) in options" :key="index">
<view v-for="(item,index) in options" :key="index"> <text class="steps__column-title">{{item.title}}</text>
<text class="steps__column-title">{{item.title}}</text> <text class="steps__column-desc">{{item.desc}}</text>
<text class="steps__column-desc">{{item.desc}}</text> <text class="steps__column-desc">{{item.time}}</text>
<text class="steps__column-desc">{{item.time}}</text> </view>
</view> </view>
</view> </view>
</view> </view>
</view> <!-- 退款详情 -->
<!-- 退款详情 --> <view class="returnDetailContainer">
<view class="returnDetailContainer"> <h4>退款详情</h4>
<h4>退款详情</h4> <template v-if="courseInfoItem">
<template v-if="courseInfoItem"> <course-item :thumbnailPath="courseInfoItem.displayImage" :title="courseInfoItem.fileTitle" :summaryBox="courseInfoItem.fileSynopsis" :dataList="{coursePrice:courseInfoItem.coursePrice,salesNumber:courseInfoItem.salesNumber}" :fileLecturerId="courseInfoItem.fileLecturerId"></course-item>
<course-item :thumbnailPath="courseInfoItem.displayImage" :title="courseInfoItem.fileTitle" :summaryBox="courseInfoItem.fileSynopsis" :dataList="{coursePrice:courseInfoItem.coursePrice,salesNumber:courseInfoItem.salesNumber}" :fileLecturerId="courseInfoItem.fileLecturerId"></course-item> </template>
</template> <view class="returnInfoContent">
<view class="returnInfoContent"> <view>
<view> <text>退款单号:</text>
<text>退款单号:</text> <text>{{courseInfoItem.orderNo}}</text>
<text>{{courseInfoItem.orderNo}}</text> </view>
</view> <view>
<view> <text>申请时间:</text>
<text>申请时间:</text> <text>{{courseInfoItem.applyRefundTime}}</text>
<text>{{courseInfoItem.applyRefundTime}}</text> </view>
</view> <view>
<view> <text>退款金额:</text>
<text>退款金额:</text> <text>¥{{courseInfoItem.refundAmount}}</text>
<text>¥{{courseInfoItem.refundAmount}}</text> </view>
</view> <view>
<view> <text>支付违约金:</text>
<text>支付违约金:</text> <text>{{courseInfoItem.breachCommission?'¥':''}}{{courseInfoItem.breachCommission}}</text>
<text>{{courseInfoItem.breachCommission?'¥':''}}{{courseInfoItem.breachCommission}}</text> </view>
</view> <view>
<view> <text>退还积分:</text>
<text>退还积分:</text> <text>{{courseInfoItem.refundIntegralExchange}}</text>
<text>{{courseInfoItem.refundIntegralExchange}}</text> </view>
</view> <view v-if="courseInfoItem.orderRemark">
<view v-if="courseInfoItem.orderRemark"> <text >退款原因:</text>
<text >退款原因:</text> <text>{{courseInfoItem.orderRemark}}</text>
<text>{{courseInfoItem.orderRemark}}</text> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
...@@ -142,7 +147,11 @@ ...@@ -142,7 +147,11 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.container{ .container{
height:100%; height:100%;
padding-bottom: 50rpx; box-sizing: border-box;
.conentBox{
padding: 20rpx;
box-sizing: border-box;
}
.top{ .top{
display: flex; display: flex;
height: 80rpx; height: 80rpx;
...@@ -161,7 +170,7 @@ ...@@ -161,7 +170,7 @@
.returnCountsContainer,.returnProcessContainer,.returnDetailContainer{ .returnCountsContainer,.returnProcessContainer,.returnDetailContainer{
background-color: #fff; background-color: #fff;
padding: 20rpx 40rpx; padding: 20rpx 40rpx;
margin: 20rpx 20rpx; margin-bottom: 20rpx;
border-radius: 10rpx; border-radius: 10rpx;
h4{ h4{
font-size: 32rpx; font-size: 32rpx;
......
...@@ -67,7 +67,14 @@ ...@@ -67,7 +67,14 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.container{ .container{
height: 100%; .noListTip{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin-top: 0%;
padding-top: 20%;
}
.top{ .top{
display: flex; display: flex;
height: 80rpx; height: 80rpx;
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
<view class="container"> <view class="container">
<view style="flex: 1;"> <view style="flex: 1;">
<view class="classInfo" style="padding-top:80rpx"> <view class="classInfo" style="padding-top:80rpx">
<view class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:18rpx"> <!-- #ifdef APP -->
</view> <view class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:18rpx"></view>
<!-- #endif -->
<course-item :thumbnailPath="courseInfoItem.displayImage" :title="courseInfoItem.fileTitle" :summaryBox="courseInfoItem.fileSynopsis" :dataList="{coursePrice:courseInfoItem.coursePrice,salesNumber:courseInfoItem.salesNumber}" :fileLecturerId="courseInfoItem.fileLecturerId"></course-item> <course-item :thumbnailPath="courseInfoItem.displayImage" :title="courseInfoItem.fileTitle" :summaryBox="courseInfoItem.fileSynopsis" :dataList="{coursePrice:courseInfoItem.coursePrice,salesNumber:courseInfoItem.salesNumber}" :fileLecturerId="courseInfoItem.fileLecturerId"></course-item>
</view> </view>
<!-- 订单支付明细 --> <!-- 订单支付明细 -->
......
...@@ -80,6 +80,24 @@ ...@@ -80,6 +80,24 @@
</view> </view>
</view> </view>
<uni-popup ref="joinPopup" type="center" background-color="#fff">
<view class="joinContent">
<view class="joinHeader">
<view class="iconfont icon-hezuo" style="font-size: 35rpx;color: #fff;"></view>
</view>
<view class="joinCon">
<view class="one">
您还未加盟为合伙人
</view>
<view class="two">
成为合伙人后,分享商品,好友购物得收益
</view>
</view>
<view class="joinFotter" @click="gotoApply">
去加盟拿收益
</view>
</view>
</uni-popup>
</view> </view>
</template> </template>
...@@ -111,10 +129,19 @@ ...@@ -111,10 +129,19 @@
integralCount: 0, integralCount: 0,
shareSectionCount: 0 shareSectionCount: 0
}, },
userShareCourses: [] userShareCourses: [],
partnerType:''
} }
}, },
methods: { methods: {
// 去加盟
gotoApply(){
uni.navigateTo({
url: '/pages/application-process/basic-info'
})
this.$refs.joinPopup.close()
},
changeStartTime(obj){ changeStartTime(obj){
this.startDate = obj this.startDate = obj
this.queryDate=`${obj.year}-${obj.month<10?`0${obj.month}`:obj.month}` this.queryDate=`${obj.year}-${obj.month<10?`0${obj.month}`:obj.month}`
...@@ -172,17 +199,21 @@ ...@@ -172,17 +199,21 @@
url: `/pages/commonDetail/commonDetail?fileId=${val}&type=${type}&queryDate=${this.queryDate}` url: `/pages/commonDetail/commonDetail?fileId=${val}&type=${type}&queryDate=${this.queryDate}`
}) })
}, },
// 查看积分 // 查看佣金
viewIntegral() { viewIntegral(){
// uni.navigateTo({ if(this.partnerType == 'undefined'){
// url: `/pages/myPoints/myPoints` this.$refs.joinPopup.open()
// }) return
}
uni.navigateTo({ uni.navigateTo({
url: `/pages/pointsExchange/pointsExchange` url:`/pages/pointsExchange/pointsExchange`
}) })
} },
}, },
onLoad() { onLoad(options) {
if(options.partnerType){
this.partnerType = options.partnerType
}
this.userShareCount(); this.userShareCount();
this.userShareQuery(); this.userShareQuery();
}, },
...@@ -197,6 +228,55 @@ ...@@ -197,6 +228,55 @@
padding-bottom: 20rpx; padding-bottom: 20rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.joinContent{
width: 500rpx;
// height: 300rpx;
border-radius: 30rpx;
background-color: #ffff;
padding: 30rpx;
box-sizing: border-box;
display: flex;
align-items: center;
flex-direction: column;
.joinHeader{
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: rgba(54, 57, 169, 1);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20rpx;
}
.joinCon{
// padding: 20rpx 0;
.one{
font-size: 30rpx;
color: rgba(38, 41, 44, 1);
font-weight: 600;
text-align: center;
}
.two{
color: rgba(145, 144, 148, 1);
font-size: 26rpx;
text-align: center;
margin-top: 10rpx;
margin-bottom: 20rpx;
}
}
.joinFotter{
width: 100%;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 10rpx 0;
background: rgba(54, 57, 169, 1);
border-radius: 60rpx;
font-size: 28rpx;
}
}
.timeSelectContent { .timeSelectContent {
background-color: #fff; background-color: #fff;
padding: 20rpx 0; padding: 20rpx 0;
......
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
url: `${item.link}?levelCode=` + this.customerBasicInfo.levelCode url: `${item.link}?levelCode=` + this.customerBasicInfo.levelCode
}); });
}else{ }else{
item.link = `${item.link}?from=personalCenter` item.link = `${item.link}?from=personalCenter&partnerType=${item.partnerType}`
if(item.isTab){ if(item.isTab){
uni.switchTab({ uni.switchTab({
url:`../../${item.link}` url:`../../${item.link}`
......
...@@ -90,6 +90,24 @@ ...@@ -90,6 +90,24 @@
</view> </view>
</template> </template>
</view> </view>
<uni-popup ref="joinPopup" type="center" background-color="#fff">
<view class="joinContent">
<view class="joinHeader">
<view class="iconfont icon-hezuo" style="font-size: 35rpx;color: #fff;"></view>
</view>
<view class="joinCon">
<view class="one">
您还未加盟为合伙人
</view>
<view class="two">
成为合伙人后,分享商品,好友购物得收益
</view>
</view>
<view class="joinFotter" @click="gotoApply">
去加盟拿收益
</view>
</view>
</uni-popup>
</view> </view>
</template> </template>
...@@ -116,10 +134,19 @@ ...@@ -116,10 +134,19 @@
userShareCourseOrders:[], userShareCourseOrders:[],
userCourseCountNum:0, userCourseCountNum:0,
userShareCourseCount:0, userShareCourseCount:0,
tabType:1 tabType:1,
partnerType:''
} }
}, },
methods: { methods: {
// 去加盟
gotoApply(){
uni.navigateTo({
url: '/pages/application-process/basic-info'
})
this.$refs.joinPopup.close()
},
changeStartTime(obj){ changeStartTime(obj){
this.startDate = obj this.startDate = obj
this.queryDate=`${obj.year}-${obj.month<10?`0${obj.month}`:obj.month}` this.queryDate=`${obj.year}-${obj.month<10?`0${obj.month}`:obj.month}`
...@@ -182,23 +209,22 @@ ...@@ -182,23 +209,22 @@
} }
}, },
// // 查看详情
// goDetail(val){ // 查看佣金
// uni.navigateTo({
// url:`/pages/commonDetail/commonDetail?fileId=${val}&type=1`
// })
// },
// 查看积分
viewIntegral(){ viewIntegral(){
// uni.navigateTo({ if(this.partnerType == 'undefined'){
// url:`/pages/myPoints/myPoints` this.$refs.joinPopup.open()
// }) return
}
uni.navigateTo({ uni.navigateTo({
url:`/pages/pointsExchange/pointsExchange` url:`/pages/pointsExchange/pointsExchange`
}) })
}, },
}, },
onLoad() { onLoad(options) {
if(options.partnerType){
this.partnerType = options.partnerType
}
this.userCourseCount() this.userCourseCount()
this.userCourseList() this.userCourseList()
...@@ -216,6 +242,55 @@ ...@@ -216,6 +242,55 @@
// padding-bottom: 50rpx; // padding-bottom: 50rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.joinContent{
width: 500rpx;
// height: 300rpx;
border-radius: 30rpx;
background-color: #ffff;
padding: 30rpx;
box-sizing: border-box;
display: flex;
align-items: center;
flex-direction: column;
.joinHeader{
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: rgba(54, 57, 169, 1);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20rpx;
}
.joinCon{
// padding: 20rpx 0;
.one{
font-size: 30rpx;
color: rgba(38, 41, 44, 1);
font-weight: 600;
text-align: center;
}
.two{
color: rgba(145, 144, 148, 1);
font-size: 26rpx;
text-align: center;
margin-top: 10rpx;
margin-bottom: 20rpx;
}
}
.joinFotter{
width: 100%;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 10rpx 0;
background: rgba(54, 57, 169, 1);
border-radius: 60rpx;
font-size: 28rpx;
}
}
.top{ .top{
display: flex; display: flex;
align-items: center; align-items: center;
......
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