he2802 %!s(int64=3) %!d(string=hai) anos
pai
achega
98d67a6e7b

+ 1 - 1
common/request.js

@@ -5,7 +5,7 @@ import store from '@/store/index.js'
 import api from './api.js'
 var num = 1
 
-export const BASE_URL = 'http://192.168.1.222:5055'//接口api  http://42.192.164.187:19005
+export const BASE_URL = 'http://42.192.164.187:19005'//接口api  http://42.192.164.187:19005
 
 
 export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'//图片上传api  'https://file.xyyxt.net/

+ 2 - 2
pages/course/index.vue

@@ -48,7 +48,7 @@
 							</view>
 							<view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
 								<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
-								共 <text class="blackFont">6</text> 科 <text class="blackFont">120</text> 节  <text class="blackFont">60</text> 学时</view>
+								共 <text class="blackFont">{{item.subjectNum}}</text> 科   <text class="blackFont">{{item.classHours}}</text> 学时</view>
 								<view class="priceTag">¥ {{item.standPrice}}</view>
 							</view>
 						</view>
@@ -65,7 +65,7 @@
 								<view class="yearTag">{{item.year}}</view>
 								<view class="titleTag">{{item.goodsName}}</view>
 							</view>
-							<view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
+							<view style="display: flex;justify-content: space-between;margin-top: 13rpx;" v-if="false">
 								<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
 								共 <text class="blackFont">6</text> 张卷 <text class="blackFont">120</text>道题  </view>
 								<view class="priceTag">¥ {{item.standPrice}}</view>

+ 1 - 1
pages2/bank/detail.vue

@@ -8,7 +8,7 @@
 						<view class="yearTag">{{goodsData.year}}</view>
 						<view class="titleTag">{{goodsData.goodsName}}</view>
 					</view>
-					<view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
+					<view style="display: flex;justify-content: space-between;margin-top: 13rpx;" v-if="false">
 						<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
 						共 <text class="blackFont">{{goodsData.updateTime}}</text> 张卷 <text class="blackFont">1200</text> 道题  </view>
 						

+ 5 - 3
pages2/bank/question_detail.vue

@@ -10,7 +10,7 @@
 								<text>总进度</text>
 							</view>
 							<view class="percent">
-								{{goodsCount.doNum/goodsCount.totalNum * 100}}
+								{{goodsCount.totalNum>0?(goodsCount.doNum/goodsCount.totalNum * 100):0}}
 								<text class="per">%</text>
 							</view>
 						</view>
@@ -117,7 +117,9 @@ export default {
 			goodsData:{},
 			bankList:[],
 			id:'',
-			goodsCount:{}
+			goodsCount:{
+				totalNum:0
+			}
 		};
 	},
 	onUnload() {
@@ -446,7 +448,7 @@ export default {
 					height:80rpx;
 					display: flex;
 					align-items: center;
-					margin-left:72rpx;
+					
 					font-size: 24rpx;
 					color: #666666;
 					border-bottom: 1rpx solid #EEEEEE;

+ 3 - 0
pages2/class/detail.vue

@@ -1120,6 +1120,9 @@ page {
 	font-family: PingFang SC;
 	font-weight: bold;
 	color: #333333;
+	overflow: hidden;
+	text-overflow:ellipsis;
+	white-space: nowrap;
 }
 .video_t1_t {
 	display: flex;

+ 4 - 1
pages2/course/detail.vue

@@ -28,7 +28,7 @@
 					</view>
 					<view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
 						<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
-						共 <text class="blackFont">6</text> 科 <text class="blackFont">120</text> 节  <text class="blackFont">60</text> 学时</view>
+						共 <text class="blackFont">{{detail.subjectNum}}</text> 科 {{detail.classHours}}</text> 学时</view>
 						
 					</view>
 				</view>
@@ -309,6 +309,9 @@ export default {
 		font-family: PingFang SC;
 		font-weight: bold;
 		color: #333333;
+		overflow: hidden;
+		text-overflow:ellipsis;
+		white-space: nowrap;
 	}
 	.video_t1_t {
 		display: flex;