Commit 3bdafbb9 authored by Mac's avatar Mac

1

parent c7ce0ff6
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
></video> ></video>
<view class="studybg" v-if="selectcourse.Type==1 && selectcourse.IsPay !=1 && studybg==true"> <view class="studybg" v-if="selectcourse.Type==1 && selectcourse.IsPay !=1 && studybg==true">
<text style="font-size: 13px;color: #FFF;" v-if="studytext=='立即购买'">试看结束</text> <text style="font-size: 13px;color: #FFF;" v-if="studytext=='立即购买'">试看结束</text>
<text style="font-size: 13px;color: #FFF;" v-if="studytext=='立即去支付'">已有订单信息</text>
<view class="studybg-t" @click="trysee()" :style="{'background':mc}"> <view class="studybg-t" @click="trysee()" :style="{'background':mc}">
<text>{{studytext}}</text> <text>{{studytext}}</text>
</view> </view>
...@@ -92,10 +93,10 @@ ...@@ -92,10 +93,10 @@
export default { export default {
components: { components: {
coupon, coupon,
}, },
data(){ data(){
return{ return{
pageTitle:'',
mc:'', mc:'',
pricecolor:'', pricecolor:'',
secondary:'', secondary:'',
...@@ -136,6 +137,9 @@ ...@@ -136,6 +137,9 @@
this.secondary = this.$uiConfig.secondary; this.secondary = this.$uiConfig.secondary;
this.nav = uni.getMenuButtonBoundingClientRect().top; this.nav = uni.getMenuButtonBoundingClientRect().top;
this.paddingHTop = this.nav +'px'; this.paddingHTop = this.nav +'px';
uni.setNavigationBarTitle({
title: this.pageTitle,
});
}, },
onUnload(){//监听页面卸载 onUnload(){//监听页面卸载
if(this.timer) { if(this.timer) {
......
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