zzp 2 years ago
parent
commit
23cf435f32
3 changed files with 7 additions and 7 deletions
  1. 5 5
      pages/index/index.vue
  2. 1 1
      pages/news/index.vue
  3. 1 1
      pagesMain/leaveLessonsList.vue

+ 5 - 5
pages/index/index.vue

@@ -28,11 +28,11 @@
 		data() {
 			return {
 				cardList: [
-					// {
-					// 	icon: 'iconzu4931',
-					// 	label: '我的补课',
-					// 	path: 'extraLessonsForm'
-					// },
+					 {
+					 	icon: 'iconzu4931',
+					 	label: '我的补课',
+					 	path: 'extraLessonsForm'
+					 },
 					{
 						icon: 'iconwodebanji',
 						label: '我的班级',

+ 1 - 1
pages/news/index.vue

@@ -17,7 +17,7 @@
 							<view class="class-date">{{site.time}}</view>
 						</view>
 						<view class="class-content" slot="body">
-							<view class="class-info-text">{{site.content}}({{ site.type == 0 ? '病假' : '事假' }})</view>
+							<view class="class-info-text">{{site.content}}</view>
 							<!-- type 0病假  4事假-->
 							<view v-if="current == 1 && site.type == 4 && !site.get" style="display: flex;justify-content: flex-end;">
 								<u-button type="warning" :custom-style="{background: mainColor}" size="mini" shape="circle" :ripple="true" @click="handleAgreeClick(site)" >同意</u-button>

+ 1 - 1
pagesMain/leaveLessonsList.vue

@@ -16,7 +16,7 @@
 					</view>
 				</view>
 				<view class="card-content" slot="body">
-					<view class="card-info-text">{{item.leaveReason}}</view>
+					<view class="card-info-text">{{item.leaveReason}}({{item.type==1?'事假':'病假'}})</view>
 				</view>
 				<view class="card-content" slot="foot" style="padding-top: 0;">
 					<view class="card-info-text" style="text-align: right;">{{item.time}}</view>