lion 5 months ago
parent c2af027bb5
commit 8a3a2444eb

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

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

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

Loading…
Cancel
Save