فهرست منبع

style(components/processList): 修改字体样式
style(work): 修改标题栏字体样式
docs(config): 修改下班签退时间配置

wangpx 1 سال پیش
والد
کامیت
4a00b4684d
3فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 4 4
      components/ygoa/processList.vue
  2. 1 1
      config.js
  3. 5 5
      pages/work/index.vue

+ 4 - 4
components/ygoa/processList.vue

@@ -149,7 +149,7 @@ defineExpose({
 
 .content {
 	.icon_container {
-		margin: 50% 0;
+		margin: 45% 0;
 	}
 
 	.process_title {
@@ -159,12 +159,12 @@ defineExpose({
 		overflow: hidden;
 		text-overflow: ellipsis;
 		font-weight: 500;
-		font-size: 1.5rem;
-		margin: 10px 0;
+		font-size: 1.1rem;
+		margin: 5px 0;
 		color: #333;
 	}
 	.process_status {
-		margin: 10px 0;
+		margin: 5px 0;
 		height: 1.5rem;
 		display: flex;
 		align-items: center;

+ 1 - 1
config.js

@@ -6,6 +6,6 @@ export default {
 	logoSrc: 'https://50006360.s21i.huaweicloudsite.cn/4/ABUIABAEGAAg-I3cuQYo6IXe9AQw9AM4Rg.png',
 	mapKey: 'KJBBZ-5JCLZ-3NLXD-742CK-Y26UZ-X7BJN',
 	signInTimeRange:['08:30:00', '09:30:00'],//正常签到时间范围
-	signOutTimeRange:['17:00:00', '20:00:00'],//正常签退时间
+	signOutTimeRange:['17:30:00', '20:00:00'],//正常签退时间
 	lateTimeRange:['09:00:00', '09:30:00'],//迟到时间范围
 }

+ 5 - 5
pages/work/index.vue

@@ -1,8 +1,8 @@
 <template>
 	<view class="work-container">
 		<!-- 宫格组件 -->
-		<view>
-			<uni-section :title="processList.ftypeList[0].typeName" type="line"></uni-section>
+		<view v-if="processList.fList.length != 0">
+			<uni-section :title="processList.ftypeList[0].typeName" titleFontSize="1.3rem" type="line"></uni-section>
 			<view class="grid-body">
 				<uni-grid :column="4" :showBorder="false" @change="changeProcessGrid">
 					<uni-grid-item v-for="(item, index) in processList.fList" :index="index" :key="index">
@@ -51,7 +51,7 @@
 				</uni-grid>
 			</view>
 		</view>
-		<uni-section title="考勤管理" type="line"></uni-section>
+		<uni-section title="考勤管理" titleFontSize="1.3rem" type="line"></uni-section>
 		<view class="grid-body">
 			<uni-grid :column="4" :showBorder="false" @change="changeAttendanceGrid">
 				<uni-grid-item :index="1">
@@ -68,7 +68,7 @@
 				</uni-grid-item>
 			</uni-grid>
 		</view>
-		<uni-section title="日报周报" type="line"></uni-section>
+		<uni-section title="日报周报" titleFontSize="1.3rem" type="line"></uni-section>
 		<view class="grid-body">
 			<uni-grid :column="4" :showBorder="false" @change="changeDiaryGrid">
 				<uni-grid-item :index="1">
@@ -86,7 +86,7 @@
 			</uni-grid>
 		</view>
 
-		<uni-section title="系统工具" type="line"></uni-section>
+		<uni-section title="系统工具" titleFontSize="1.3rem" type="line"></uni-section>
 		<view class="grid-body">
 			<uni-grid :column="4" :showBorder="false" @change="changeToolsGrid">
 				<uni-grid-item :index="1">