|
@@ -247,15 +247,15 @@
|
|
<button class="send" @click="handleChatInput">发送</button>
|
|
<button class="send" @click="handleChatInput">发送</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <template v-if="isLogin&&videoId">
|
|
|
|
|
|
+ <!-- <template v-if="isLogin&&videoId">
|
|
<integralGift ref="integralGift"></integralGift>
|
|
<integralGift ref="integralGift"></integralGift>
|
|
- </template>
|
|
|
|
|
|
+ </template> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
- import integralGift from "@/components/integralGift.vue"
|
|
|
|
|
|
+ // import integralGift from "@/components/integralGift.vue"
|
|
import ques from "@/components/ques.vue"
|
|
import ques from "@/components/ques.vue"
|
|
import descInfo from "@/components/descInfo.vue"
|
|
import descInfo from "@/components/descInfo.vue"
|
|
import descInfoNav from "@/components/descInfoNav.vue"
|
|
import descInfoNav from "@/components/descInfoNav.vue"
|
|
@@ -285,7 +285,7 @@
|
|
descInfo,
|
|
descInfo,
|
|
commentBox,
|
|
commentBox,
|
|
ques,
|
|
ques,
|
|
- integralGift
|
|
|
|
|
|
+ // integralGift
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -696,11 +696,7 @@
|
|
if(status != this.openCommentStatus) {
|
|
if(status != this.openCommentStatus) {
|
|
this.openCommentStatus = status
|
|
this.openCommentStatus = status
|
|
}
|
|
}
|
|
- if(this.openCommentStatus==1) {
|
|
|
|
- this.currentTab = 0
|
|
|
|
- } else {
|
|
|
|
- this.currentTab = 1
|
|
|
|
- }
|
|
|
|
|
|
+ this.currentTab = 1
|
|
if (!this.player || type == 'error') {
|
|
if (!this.player || type == 'error') {
|
|
this.lineIndex = this.config.defaultLine
|
|
this.lineIndex = this.config.defaultLine
|
|
this.videoUrl = lineList[this.lineIndex]
|
|
this.videoUrl = lineList[this.lineIndex]
|
|
@@ -913,10 +909,12 @@
|
|
url: '/pages/course/reward'
|
|
url: '/pages/course/reward'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- } else if(res.rewardType==2) {
|
|
|
|
- // 积分
|
|
|
|
- this.$refs.integralGift.openPop()
|
|
|
|
- } else {
|
|
|
|
|
|
+ }
|
|
|
|
+ // else if(res.rewardType==2) {
|
|
|
|
+ // // 积分
|
|
|
|
+ // this.$refs.integralGift.openPop()
|
|
|
|
+ // }
|
|
|
|
+ else {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.msg,
|
|
title: res.msg,
|
|
icon: 'none'
|
|
icon: 'none'
|