lion 5 months ago
parent c2af027bb5
commit 8a3a2444eb

@ -108,8 +108,8 @@
</view>
</view>
<view class="course-actions">
<u-button type="default" @tap="showDetail = false">关闭</u-button>
<u-button type="primary" @tap="enrollCourse"></u-button>
<!-- <u-button type="default" @tap="showDetail = false">关闭</u-button> -->
<!-- <u-button type="primary" @tap="enrollCourse"></u-button> -->
</view>
</view>
</view>
@ -556,11 +556,11 @@ export default {
border-radius: 8rpx;
}
.info-label {
font-size: 22rpx;
font-size: 28rpx;
color: #6c757d;
}
.info-value {
font-size: 26rpx;
font-size: 28rpx;
font-weight: 500;
color: #2c3e50;
}
@ -572,14 +572,14 @@ export default {
}
.desc-title {
color: #1565c0;
font-size: 26rpx;
font-size: 28rpx;
font-weight: 600;
margin-bottom: 6rpx;
display: block;
}
.desc-content {
color: #333;
font-size: 24rpx;
font-size: 28rpx;
margin-top: 4rpx;
}
.vip-content {
@ -596,6 +596,6 @@ export default {
.course-modal { min-width: 90vw; }
.calendar-container { margin: 4rpx; }
.header { padding: 8rpx 4rpx; }
.school-name { font-size: 24rpx; }
.school-name { font-size: 28rpx; }
}
</style>

@ -35,8 +35,9 @@
<image :src="base.imgHost('mycourse-c3.png')" style="width:19rpx;height:27rpx"></image>
<text>{{item.address}}</text>
</view>
<view class="item-btn" v-if="item.course_content_evaluation && item.course_content_evaluation.status==1">
<view @click="goSurvey(item.id)"></view>
<view class="item-btn">
<view @click="goSign(item.id)"></view>
<view v-if="item.course_content_evaluation && item.course_content_evaluation.status==1" @click="goSurvey(item.id)"></view>
</view>
</view>
</view>
@ -79,6 +80,11 @@
this.getMyCourseContents(options.id)
},
methods: {
goSign(id){
uni.navigateTo({
url:'/packages/sign/index?id='+id
})
},
goSurvey(id){
uni.navigateTo({
url:'/packages/surveyFill/index?id='+id
@ -310,14 +316,16 @@
width: 100%;
position: relative;
padding: 20rpx 0;
display: flex;
justify-content: flex-end;
&>view {
width: 70%;
width: 30%;
text-align: center;
margin: 0 auto;
margin-left:20rpx;
color: #fff;
background: linear-gradient(to right, #5e5fbc, #0d0398);
border-radius: 30rpx;
padding: 20rpx;
padding: 10rpx;
}
}
}

@ -410,7 +410,7 @@
line-height: 1.5;
display: flex;
align-items: center;
margin-top: 40rpx;
// margin-top: 40rpx;
image {
width: 120rpx;
height: 120rpx;

Loading…
Cancel
Save