|  | @@ -89,7 +89,7 @@
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  | -        <div class="more">
 | 
	
		
			
				|  |  | +        <div v-if="CourseData.book_list.length > 0" class="more">
 | 
	
		
			
				|  |  |            <div class="moreTitle">
 | 
	
		
			
				|  |  |              配套教材
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -320,15 +320,13 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 处理价格
 | 
	
		
			
				|  |  |      changePrice(type, item) {
 | 
	
		
			
				|  |  | -      if (!item) return;
 | 
	
		
			
				|  |  |        let str = String(item);
 | 
	
		
			
				|  |  | -      if (str.includes('.')) {
 | 
	
		
			
				|  |  | -        if (type === '1') {
 | 
	
		
			
				|  |  | -          return str.split('.')[0];
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        return `.${str.split('.')[1]}`;
 | 
	
		
			
				|  |  | -      } else if (type === '1') {
 | 
	
		
			
				|  |  | -        return str;
 | 
	
		
			
				|  |  | +      if (type === '1') {
 | 
	
		
			
				|  |  | +        return str.includes('.') ? str.split('.')[0] : str;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      if (type === '2') {
 | 
	
		
			
				|  |  | +        return str.includes('.') ? str.split('.')[1] : '.00';
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // 收藏
 |