Commit 94699344 authored by 李维's avatar 李维

Bug fix

parent 1ce96473
......@@ -2771,7 +2771,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "0fMbGJgBVJ87XLMA1ewiul"
"_id": "1b36LVnQtLer2U0KQdPBVn"
},
{
"__type__": "cc.Label",
......@@ -2804,7 +2804,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "35hwbEImhDA4/f7jN7SPTK"
"_id": "95Vai9/kBMypqrPzK+yV7i"
},
{
"__type__": "cc.PrivateNode",
......@@ -2867,7 +2867,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "c9NWT4RL9D5o3c2yQKzmAG"
"_id": "52RXtSBGhGpJPpCm004xLD"
},
{
"__type__": "cc.Label",
......@@ -2900,7 +2900,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "fevxcmlHFGip6IEtIO/btQ"
"_id": "7dPHf5hilJSaw2X1ItXwWl"
},
{
"__type__": "cc.PrivateNode",
......@@ -2963,7 +2963,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "d8/qzi5cdDF4dUIqNKyYkU"
"_id": "22Q+gr0d1MmoaxwjURDcOh"
},
{
"__type__": "cc.Label",
......@@ -2996,7 +2996,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "fc5B09rP5KSbVbLZ1SNWFv"
"_id": "8chqYxSmdEU78OYmb/e7Bf"
},
{
"__type__": "cc.PrivateNode",
......@@ -3059,7 +3059,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "589w1uYjVJWYwOm5jh8Iws"
"_id": "f9HahDb4dFTL/gL12C/EHQ"
},
{
"__type__": "cc.Label",
......@@ -3092,7 +3092,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "0f0GkCb/dETZd6XK5ZKyi6"
"_id": "6bOHwNHcFOl7/QNkF6wJI6"
},
{
"__type__": "cc.PrivateNode",
......@@ -3155,7 +3155,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "19FcQhqllFmKzxDVsRBBHW"
"_id": "85dnLCyq5NLbgY2+Z4okpW"
},
{
"__type__": "cc.Label",
......@@ -3188,7 +3188,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "0d0w+l7npNO5B971BtnKDd"
"_id": "66zXZoV85EXo/H6FsILyef"
},
{
"__type__": "cc.RichText",
......@@ -6369,7 +6369,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "4aL0qutHVHBqZa0hVtbNoB"
"_id": "0e7twjUt1KE6rLk1CwGYEL"
},
{
"__type__": "cc.Label",
......@@ -6402,7 +6402,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "756jCjMipIG57e14FRYEXf"
"_id": "9bn4xajthA17eFmW2MB4Wh"
},
{
"__type__": "cc.PrivateNode",
......@@ -6465,7 +6465,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "0fO+0buchA7IJJY41Xfx/O"
"_id": "cajSVev1pDp7KRd2V9r1cg"
},
{
"__type__": "cc.Label",
......@@ -6498,7 +6498,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "fdzk8KCUlGuZU6oXq9oLAV"
"_id": "d9dqa+/1VE4LtbMzExzFhH"
},
{
"__type__": "cc.PrivateNode",
......@@ -6561,7 +6561,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "a95SYnHbZEZqqu5q5Zk+cN"
"_id": "6cXYhBGWxESaoQwuAOOviH"
},
{
"__type__": "cc.Label",
......@@ -6594,7 +6594,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "e4URzzVNRElbDCE0Dv/ZCh"
"_id": "f9rW1fZxJOEKn/eh52Isin"
},
{
"__type__": "cc.RichText",
......@@ -7073,7 +7073,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "e84Q+tTgpBUKbvsWUcLaSZ"
"_id": "98S5KYnT5OcI+HnDCH3aw3"
},
{
"__type__": "cc.Label",
......@@ -7106,7 +7106,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ce5J+VyUpCw7A0P3U1Pm1D"
"_id": "34LMiTvJRHYq/a4Nb0LP9o"
},
{
"__type__": "cc.PrivateNode",
......@@ -7169,7 +7169,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "25XjoYpFpCm5xsh49kXAyK"
"_id": "9aRMPf5cNBRJb22GDwbhYc"
},
{
"__type__": "cc.Label",
......@@ -7202,7 +7202,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "30YXvXjJNAZo7+Ajtxoa37"
"_id": "a2k/wfTCNAzKejjSvI3WyD"
},
{
"__type__": "cc.PrivateNode",
......@@ -7265,7 +7265,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "47jU4V4qtDPb4MYlCGhwWg"
"_id": "6cFRyJo3BHQq/RNyA8md7u"
},
{
"__type__": "cc.Label",
......@@ -7298,7 +7298,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "1ah3XsE0ZFxZkq4/CePuND"
"_id": "6fhnIdjzJPWIrepGJnSiRb"
},
{
"__type__": "cc.RichText",
......@@ -7588,7 +7588,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "932AYruB5It69kJl0FCnbo"
"_id": "5bemdP2dBBs6mFULt1otFZ"
},
{
"__type__": "cc.Label",
......@@ -7621,7 +7621,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "3eF37iczxKwIxNr2+5CHAE"
"_id": "6880InUfJDFppUqlAIa9dE"
},
{
"__type__": "cc.PrivateNode",
......@@ -7684,7 +7684,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "96P8kqRwtAY5E+DU6KT4vY"
"_id": "6cduOy9ONF8ZhJ8niGrH/j"
},
{
"__type__": "cc.Label",
......@@ -7717,7 +7717,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d87UYDJSpHjadBOPyUfxGf"
"_id": "38vGN4W9VC6Y2s26pLN62V"
},
{
"__type__": "cc.PrivateNode",
......@@ -7780,7 +7780,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "12iA6eeRdOAoIs5T/6y1Zc"
"_id": "58qRPQnspIdJS+TKGC7SEx"
},
{
"__type__": "cc.Label",
......@@ -7813,7 +7813,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "01UCDtJXNPTaObIH+B0rs/"
"_id": "1cMRN1gztCrJksxXumVqll"
},
{
"__type__": "cc.RichText",
......@@ -9238,7 +9238,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "ddWuTomL1DjYd2/fMv25Kr"
"_id": "33Srhh5RlGtpzQYc9IHBEY"
},
{
"__type__": "cc.Label",
......@@ -9271,7 +9271,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "56bbQ2ezdKjL0D028tGA3q"
"_id": "93Y7HuF9JGMbBprjTODA2/"
},
{
"__type__": "cc.PrivateNode",
......@@ -9334,7 +9334,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "70OnthvOpIroTn5csdPPBp"
"_id": "07zV4OajNOBaQrk4RMbAHX"
},
{
"__type__": "cc.Label",
......@@ -9367,7 +9367,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ceURIAnzhNNruim0LCBiZT"
"_id": "9cDRzghJ1Afr4xH7qSrDmZ"
},
{
"__type__": "cc.PrivateNode",
......@@ -9430,7 +9430,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "49XJUOBFRPq67/Y79zbplp"
"_id": "bcLnV675tAuZP3Qs9mrv/s"
},
{
"__type__": "cc.Label",
......@@ -9463,7 +9463,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "705Mhv0W1JdozJ+Y8qX1j6"
"_id": "40YtZbtYBD3qd5LUNN1KiE"
},
{
"__type__": "cc.PrivateNode",
......@@ -9526,7 +9526,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "17IsWpQvpHjKsiPJtnYRWR"
"_id": "8fSV3QdP1GQbzjs/1SbpKP"
},
{
"__type__": "cc.Label",
......@@ -9559,7 +9559,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "e8+zyRm7lFWZ6G1kdozVCs"
"_id": "4c8ZViIi9BxaHBejembto9"
},
{
"__type__": "cc.PrivateNode",
......@@ -9622,7 +9622,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "94CZyQngVPDodIO4qMsWIX"
"_id": "89jTXOavhL/7O3ZL0J0ZiL"
},
{
"__type__": "cc.Label",
......@@ -9655,7 +9655,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "41cOGl6idD6IskXrHp1xPD"
"_id": "ebfKh2+G9DkoYUcCii5zOC"
},
{
"__type__": "cc.PrivateNode",
......@@ -9718,7 +9718,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "9c+n8TtQ9E4pND+GVhtQmi"
"_id": "15uXX0QE1CAa2FpjxpCLAJ"
},
{
"__type__": "cc.Label",
......@@ -9751,7 +9751,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d2N5sQx5VI9Ku0agikuSqs"
"_id": "abNLkFNjlJWr5BNHKLL772"
},
{
"__type__": "cc.PrivateNode",
......@@ -9814,7 +9814,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "02aTVgxo9L9ZdvCiUEU64p"
"_id": "7aOK6BMYNJ3rsu6JGOfQU/"
},
{
"__type__": "cc.Label",
......@@ -9847,7 +9847,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "85n9TPKCJCKZV/VeQoIz2x"
"_id": "38v8LervRB8Jh8Q8iVKxA+"
},
{
"__type__": "cc.RichText",
......@@ -12593,7 +12593,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "77LIG1rKREPYHSJh0+c+dy"
"_id": "91su0YGmRFE5ruHcrskBgc"
},
{
"__type__": "cc.Label",
......@@ -12626,7 +12626,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b2uHA0w7NGbocnNu99SEbR"
"_id": "62pIE6HelHLL0gbCpNb6Ip"
},
{
"__type__": "cc.PrivateNode",
......@@ -12689,7 +12689,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "09HfQng3dHiJSYegRq7Skm"
"_id": "34Fz2X+sNKcJ+n6iPv939+"
},
{
"__type__": "cc.Label",
......@@ -12722,7 +12722,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "1bOhqzIAxBSK0vC0vC3ZV3"
"_id": "d8r4LHd5NBmpWrA2iSfiyg"
},
{
"__type__": "cc.PrivateNode",
......@@ -12785,7 +12785,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "fd/OoDIUZHMLdSrmZ6zBeH"
"_id": "c4oMs9PVdOVa+6FSGCtBCh"
},
{
"__type__": "cc.Label",
......@@ -12818,7 +12818,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "1aXbORFz1Jt4MlV0ahCKeY"
"_id": "9cGQFOxYVMlINax6RxtZK7"
},
{
"__type__": "cc.RichText",
......
......@@ -216,7 +216,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
for (let i = 1; i < 8; i++) {
const index = i;
const value = this.learntimes[i - 1];
date.setDate(date.getDate() - (7 - date.getDay()) + index);
let day = date.getDay()==0 ? 7 : date.getDay();
date.setDate(date.getDate() - day + index);
const xNode = cc.find(`dp${index}/date${index}`, linebg);
const dateStr = date["pattern"]("M月d日");
if (dateStr.split("")[0] != monthNum) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment