Commit 5ad57a27 by sunerhu

1.修改了一些Bug

parent 4d7426cf
......@@ -5,7 +5,7 @@
</view>
<view class="courseDetailBox">
<view class="title">
<h4>{{title}}</h4>
<h4 @click="curriculumDetail()">{{title}}</h4>
<text class="detailBtn" @click="viewDetail()" v-if="isNeedViewDetail">订单详情></text>
</view>
<view class="summaryBox" v-if="summaryBox">
......@@ -56,6 +56,9 @@
},
tagList:{
type:Object
},
fileId:{
type: String
}
},
data() {
......@@ -80,6 +83,11 @@
url:`/pages/orderDetail/orderDetail?id=${this.orderId}&type=drop`
})
},
curriculumDetail(){
uni.navigateTo({
url:`/pages/courseDetail/courseDetail?fileId=${this.fileId}`
})
},
lecturerQuery(){
api.lecturerQuery({id:this.fileLecturerId}).then(res=>{
if(res['success']){
......
......@@ -379,14 +379,13 @@
}
},
onLoad(option) {
console.log(option, 2255)
this.fileId = option.fileId;
if(option.userId){
this.userId = option.userId
}
let dataForm = uni.getStorageSync('userinfodataForm')
this.realName = dataForm.realName
this.switchTab(1);
// this.switchTab(1);
},
mounted() {
this.switchTab(1);
......
......@@ -158,7 +158,6 @@
},
ckidentity(item){
if(item.identity == true && this.customerBasicInfo.partnerType ==null){
console.log('运行到了这里')
uni.showToast({
title: "您本人尚未加盟,您加盟后可邀请加盟",
duration: 2000,
......
......@@ -46,7 +46,7 @@
<template v-if="userCourses && tabType===1">
<view class="saleOrderInfoItem" v-for="item in userCourses" :key="item.fileId">
<view class="courseInfoContent">
<course-item :thumbnailPath="item.displayImage" :title="item.fileTitle" :summaryBox="item.fileSynopsis" :dataList="{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :fileLecturerId="item.fileLecturerId" :isNeedViewDetail="true" :orderId="item.orderId"></course-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" :isNeedViewDetail="true" :orderId="item.orderId"></course-item>
</view>
<view class="countsContent">
<text>实际支付:¥{{parseFloat(item.paymentAmount).toFixed(2)}}</text>
......
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