萌小猫 %!s(int64=3) %!d(string=hai) anos
pai
achega
2982c99ab5

+ 17 - 7
App/components/CalendarCard/CalendarCard.vue

@@ -100,8 +100,16 @@
 		methods: {
 		methods: {
 			//设置日期
 			//设置日期
 			setDate(date){
 			setDate(date){
+				//苹果需要换成/
+				date=this.toChangeSplit(date)
+				
 				this.getCanlendar(new Date(date))
 				this.getCanlendar(new Date(date))
 			},
 			},
+			//苹果需要换成/
+			toChangeSplit(date){
+				console.log('------------',date)
+				return date.replace(/\-/g, '/');
+			},
 			chooseDate(item) {
 			chooseDate(item) {
 				this.$emit('click',item)
 				this.$emit('click',item)
 				let strList = []; //滑动数
 				let strList = []; //滑动数
@@ -122,7 +130,9 @@
 
 
 				this.changeCurrent(current)
 				this.changeCurrent(current)
 			},
 			},
+			//转换毫秒
 			getDateTime(date = '') {
 			getDateTime(date = '') {
+				date=this.toChangeSplit(date)
 				return new Date(date).getTime();
 				return new Date(date).getTime();
 			},
 			},
 
 
@@ -131,11 +141,11 @@
 				let str = '0,1,2,0'; //滑动数
 				let str = '0,1,2,0'; //滑动数
 				if (str.indexOf(this.current + ',' + current) > -1) {
 				if (str.indexOf(this.current + ',' + current) > -1) {
 					console.log('左滑了')
 					console.log('左滑了')
-					this.getCanlendar(new Date(new Date(this.dateList[this.dateList.length - 1].date).getTime() + 24 * 60 *
+					this.getCanlendar(new Date(this.getDateTime(this.dateList[this.dateList.length - 1].date) + 24 * 60 *
 						60 * 1000))
 						60 * 1000))
 				} else if (str.split(',').reverse().join(",").indexOf(this.current + ',' + current) > -1) {
 				} else if (str.split(',').reverse().join(",").indexOf(this.current + ',' + current) > -1) {
 					console.log('右滑了')
 					console.log('右滑了')
-					this.getCanlendar(new Date(new Date(this.dateList[0].date).getTime() - 24 * 60 * 60 * 1000))
+					this.getCanlendar(new Date(this.getDateTime(this.dateList[0].date) - 24 * 60 * 60 * 1000))
 				}
 				}
 				this.current = current;
 				this.current = current;
 			},
 			},
@@ -171,18 +181,18 @@
 					beginDateTime = 0,
 					beginDateTime = 0,
 					beginDateXX = 1;
 					beginDateXX = 1;
 				for (let i = 1; i <= nowMonthDay; i++) {
 				for (let i = 1; i <= nowMonthDay; i++) {
-					let dayxx = new Date(d.yy + '-' + d.mm + '-' + i).getDay() == 0 ? 7 : new Date(d.yy + '-' + d.mm +
-							'-' + i)
+					let dayxx = new Date(d.yy + '/' + d.mm + '/' + i).getDay() == 0 ? 7 : new Date(d.yy + '/' + d.mm +
+							'/' + i)
 						.getDay();
 						.getDay();
 					if (i == 1) {
 					if (i == 1) {
 						beginDateXX = dayxx;
 						beginDateXX = dayxx;
-						beginDateTime = new Date(d.yy + '-' + d.mm + '-' + i).getTime();
+						beginDateTime = new Date(d.yy + '/' + d.mm + '/' + i).getTime();
 					}
 					}
 					if (nowMonthDay == i) {
 					if (nowMonthDay == i) {
 						lastDateXX = dayxx;
 						lastDateXX = dayxx;
-						lastDateTime = new Date(d.yy + '-' + d.mm + '-' + i).getTime();
+						lastDateTime = new Date(d.yy + '/' + d.mm + '/' + i).getTime();
 					}
 					}
-					dateList.push(this.getDateInfo(d.yy + '-' + d.mm + '-' + i))
+					dateList.push(this.getDateInfo(d.yy + '/' + d.mm + '/' + i))
 				}
 				}
 
 
 				//最后一天不是星期日要补
 				//最后一天不是星期日要补

+ 2 - 2
App/manifest.json

@@ -2,8 +2,8 @@
     "name" : "刺兔",
     "name" : "刺兔",
     "appid" : "__UNI__509E9F1",
     "appid" : "__UNI__509E9F1",
     "description" : "",
     "description" : "",
-    "versionName" : "1.2.9",
-    "versionCode" : 1290,
+    "versionName" : "1.3.0",
+    "versionCode" : 1300,
     "transformPx" : false,
     "transformPx" : false,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
App/unpackage/cache/certdataios

@@ -1,3 +1,3 @@
-iosProfile=C:/Users/123/Documents/WeChat Files/biannashihuakai/FileStorage/MsgAttach/c46cfed7214422bb1ccf57b150697961/File/2022-06/ci2.20220606证书/Ci2AppStore2022.mobileprovision
-ioscertFile=C:/Users/123/Documents/WeChat Files/biannashihuakai/FileStorage/MsgAttach/c46cfed7214422bb1ccf57b150697961/File/2022-06/ci2.20220606证书/a393a089360d46c3a47da624e251e438.p12
+iosProfile=E:/WebStorm项目/证书/ci2.20220606证书/Ci2AppStore2022.mobileprovision
+ioscertFile=E:/WebStorm项目/证书/ci2.20220606证书/a393a089360d46c3a47da624e251e438.p12
 ioscertPassword=ZbfkT8VmTbpIA2jOrOGbZg==
 ioscertPassword=ZbfkT8VmTbpIA2jOrOGbZg==

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
App/unpackage/dist/build/app-plus/__uniappscan.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
App/unpackage/dist/build/app-plus/app-config-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
App/unpackage/dist/build/app-plus/app-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
App/unpackage/dist/build/app-plus/app-view.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
App/unpackage/dist/build/app-plus/manifest.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
App/unpackage/dist/build/app-plus/view.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
App/unpackage/dist/build/app-plus/view.umd.min.js


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio