|
|
@@ -77,10 +77,10 @@
|
|
|
</u-col>
|
|
|
</u-row>
|
|
|
<view style="margin: 10rpx;">
|
|
|
- <view class="tj_box" v-for="(item,index) in list" :key="index">
|
|
|
- <image src="/static/banner.png" style="width: 320rpx;height: 160rpx;"></image>
|
|
|
- <view style="font-size: 24rpx;color: #666666;d">
|
|
|
- 2020年二级建造师继续教...
|
|
|
+ <view class="tj_box" v-for="(item,index) in recommendList" :key="index" @click="jumpDetail(item)">
|
|
|
+ <image :src="$method.splitImgHost(item.coverUrl)" style="width: 320rpx;height: 160rpx;"></image>
|
|
|
+ <view style="font-size: 24rpx;color: #666666;text-align: left;">
|
|
|
+ {{item.name}}
|
|
|
</view>
|
|
|
<view>
|
|
|
<u-row >
|
|
|
@@ -95,7 +95,7 @@
|
|
|
活动价
|
|
|
</text>
|
|
|
<text style="color: #E91313;font-size: 24rpx;font-weight: bold;">
|
|
|
- ¥499
|
|
|
+ ¥{{item.price}}
|
|
|
</text>
|
|
|
</u-col>
|
|
|
</u-row>
|
|
|
@@ -136,16 +136,23 @@
|
|
|
current: 0,
|
|
|
id:0,
|
|
|
detail:{},
|
|
|
- teacherList:[]
|
|
|
+ teacherList:[],
|
|
|
+ recommendList:[]
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
this.id = option.id
|
|
|
this.getDetail()
|
|
|
+ this.noteRecommendList({fileId:this.id})
|
|
|
},
|
|
|
onShow(){
|
|
|
},
|
|
|
methods: {
|
|
|
+ jumpDetail(item) {
|
|
|
+ this.$navTo.togo('/pages2/course/keynote', {
|
|
|
+ id:item.fileId
|
|
|
+ });
|
|
|
+ },
|
|
|
getDetail(){
|
|
|
let self = this
|
|
|
this.$api.noteInfo(this.id).then(res => {
|
|
|
@@ -155,7 +162,6 @@
|
|
|
teacherIds : self.detail.teacherIds
|
|
|
}
|
|
|
self.getTeacherList(param);
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -166,6 +172,13 @@
|
|
|
|
|
|
})
|
|
|
},
|
|
|
+ noteRecommendList(param){
|
|
|
+ let self = this
|
|
|
+ this.$api.noteRecommendList(param).then(res => {
|
|
|
+ self.recommendList = res.data.data
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
change(index) {
|
|
|
this.current = index;
|
|
|
},
|