xuqiaoying hace 3 años
padre
commit
06388ea821

+ 9 - 9
components/course/courseChapter.vue

@@ -300,7 +300,7 @@ export default {
                 chapterId +
                 "&orderGoodsId=" +
                 this.orderGoodsId +
-				        "&types=1"
+				        "&type=1"
                 ,
             });
             this.studyLog()
@@ -322,7 +322,7 @@ export default {
                 chapterId +
                 "&orderGoodsId=" +
                 this.orderGoodsId +
-				        "&types=1",
+				        "&type=1",
             });
             this.studyLog()
           } else {
@@ -395,7 +395,7 @@ export default {
                 chapterId +
                 "&orderGoodsId=" +
                 this.orderGoodsId +
-				        "&types=1",
+				        "&type=1",
             });
             this.studyLog()
             //没有答题次数限制
@@ -416,7 +416,7 @@ export default {
                 chapterId +
                 "&orderGoodsId=" +
                 this.orderGoodsId +
-				        "&types=1",
+				        "&type=1",
             });
             this.studyLog()
           } else {
@@ -455,7 +455,7 @@ export default {
               chapterId +
               "&orderGoodsId=" +
               this.orderGoodsId +
-              "&types=1",
+              "&type=1",
           });
           this.studyLog()
           //没有答题次数限制
@@ -476,7 +476,7 @@ export default {
               chapterId +
               "&orderGoodsId=" +
               this.orderGoodsId +
-              "&types=1",
+              "&type=1",
           });
           this.studyLog()
         } else {
@@ -678,10 +678,10 @@ export default {
   text-align: center;
 }
 .eTag {
-  width: 56rpx;
-  height: 42rpx;
+  width: 64rpx;
+  height: 36rpx;
   text-align: center;
-  line-height: 42rpx;
+  line-height: 36rpx;
   font-size: 20rpx;
   background: #007aff;
   border-radius: 8rpx;

+ 8 - 8
components/course/courseModule.vue

@@ -34,10 +34,10 @@
 						"
 					>
 						<view class="exam">
-						<view class="eTag">{{
-							itemM.doType == 1 ? "练习" : "考试"
-						}}</view>
-						<view style="margin-left: 15rpx; flex: 1">{{ itemM.name }}</view>
+							<view class="eTag">{{
+								itemM.doType == 1 ? "练习" : "考试"
+							}}</view>
+							<view style="margin-left: 15rpx; flex: 1">{{ itemM.name }}</view>
 						</view>
 						
 						<view>
@@ -219,7 +219,7 @@ export default {
 				chapterId +
 				"&orderGoodsId=" +
 				this.orderGoodsId +
-				"&types=3",
+				"&type=3",
 			})
 		},
 		
@@ -263,10 +263,10 @@ export default {
 		margin: 20rpx 0;
 	}
 	.eTag {
-		width: 56rpx;
-		height: 42rpx;
+		width: 64rpx;
+		height: 36rpx;
 		text-align: center;
-		line-height: 42rpx;
+		line-height: 36rpx;
 		font-size: 20rpx;
 		background: #007aff;
 		border-radius: 8rpx;

+ 13 - 15
components/course/courseSection.vue

@@ -63,8 +63,10 @@
 				</view>
 			</template>
 
-			<view v-if="checkTest()" class="exercises" @click.stop="toDoSectionExam()">习题</view>
-			
+			<view v-if="checkTest()" class="exercises" @click.stop="toDoSectionExam()">
+				<text class="exe_w">习题</text>
+				<u-icon name="arrow-right" color="#498AFE" size="28"></u-icon>
+			</view>	
 			
 		</view>
 		<view v-if="menuItem.tryListen&&!isBuy" class="tryBox">
@@ -75,9 +77,7 @@
 
 <script>
 import { mapGetters } from 'vuex';
-import eventHub from '@/common/eventHub.js'
 import {WEBVIEW_URL} from '@/common/request.js'
-import { some } from '../../pages3/static/polyv-sdk/common/chat/emotionList';
 export default {
 	name: 'courseSection',
 	props: {
@@ -278,7 +278,7 @@ export default {
                 sectionId +
                 "&orderGoodsId=" +
                 this.orderGoodsId +
-				"&types=2"
+				"&type=2"
                 ,
             });
 		},
@@ -308,7 +308,7 @@ export default {
                 sectionId +
                 "&orderGoodsId=" +
                 this.orderGoodsId +
-				"&types=2"
+				"&type=2"
                 ,
             });
 		},
@@ -770,16 +770,14 @@ export default {
 	.tag{
 		border-radius: 8rpx;
 		font-size: 20rpx;
-		padding: 5rpx;
+		padding: 4rpx 10rpx;
 	}
 	.exercises {
-		width: 56rpx;
-		height: 38rpx;
-		text-align: center;
-		line-height: 38rpx;
-		font-size: 20rpx;
-		background: #007aff;
-		border-radius: 8rpx;
-		color: #ffffff;
+		margin-left: 10rpx;
+		font-size: 26rpx;
+		color: #498AFE;
+		>text {
+			margin-right: 6rpx;
+		}
 	}
 </style>

+ 1 - 1
pages2/class/questionBank.vue

@@ -860,7 +860,7 @@ export default {
     };
   },
   async onLoad(option) {
-    this.examType = option.types
+    this.examType = option.type
     this.id = option.id;
     this.goodsId = option.goodsid;
     this.chapterId = option.chapterId;