Explorar el Código

ltb 2020年12月2日09:10:26
首页前去登录字体样式
排班记录页周数据优化

老狐\25396 hace 4 años
padre
commit
30ccaa1fcd
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 1 1
      pages/index/index.vue
  2. 2 1
      pages/old_Scheduling.vue

+ 1 - 1
pages/index/index.vue

xqd
@@ -25,7 +25,7 @@
 								<view style="color:#666666 ;" v-if="hasLogin">
 									{{docterInfo.sign}}
 								</view>
-								<view v-else @click="judgerenzheng">
+								<view v-else @click="judgerenzheng" style="color: #007AFF;">
 									前去登录
 								</view>
 							</view>

+ 2 - 1
pages/old_Scheduling.vue

xqd xqd
@@ -56,6 +56,7 @@
 				</view>
 			</view>
 		</view>
+		<view style="height: 200rpx;"></view>
 		<!-- 保存 -->
 		<view class="bottomButton" @click="paiban" v-if="!old">
 			排班设置
@@ -254,7 +255,7 @@
 					// mon.setTime()
 					let	sun = new Date(mon.getTime() + oneDayTime* 6)
 					this.oldlist.push({
-						label: mon.toLocaleDateString() + "-" + sun.toLocaleDateString(),
+						label: mon.getFullYear()+'/'+(mon.getMonth()+1)+'/'+mon.getDate() + "-" + sun.getFullYear()+'/'+(sun.getMonth()+1)+'/'+sun.getDate(),
 						value: i
 					})
 					mon.setTime(mon.getTime() + oneDayTime)