Commit c073ba8c authored by liujiangnan's avatar liujiangnan

feat:

parent 2ace894a
......@@ -28021,7 +28021,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "9e7wnKfRpI6bQ+vG7NDrWn"
"_id": "72FnlsIn9NQ4pX8j7lryg7"
},
{
"__type__": "cc.Label",
......@@ -28054,7 +28054,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "5fRiMIbxNMCa8KB/Zfdfwn"
"_id": "fdzTx9wnxG0rondI07yB7q"
},
{
"__type__": "cc.PrivateNode",
......@@ -28117,7 +28117,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "bdiaCKfKVJHb3LPqfT5AuV"
"_id": "a2DvPdkcNJi6tyznnw0R9R"
},
{
"__type__": "cc.Label",
......@@ -28150,7 +28150,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "6cZMoM5yFCyIRtZfHkfWiO"
"_id": "76kcqwPWRFmo3KRwNsjXLN"
},
{
"__type__": "cc.PrivateNode",
......@@ -28213,7 +28213,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "665Fqf6gNEBrp3dlqEY53W"
"_id": "85i42hLaNBcYOcsGXkFSXj"
},
{
"__type__": "cc.Label",
......@@ -28246,7 +28246,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "1bRV+70KBNHIo2U4MtxBDo"
"_id": "f3P1KGdOVKTJifk3FyNHq1"
},
{
"__type__": "cc.PrivateNode",
......@@ -28309,7 +28309,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "15ZYwspD9F2IUz5waGmhul"
"_id": "17EYOwAotC5a8SCuQkYBF/"
},
{
"__type__": "cc.Label",
......@@ -28342,7 +28342,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "53fVHKKwtE3r+jL19xTNUl"
"_id": "d4sDD51+ZDTq6C3wr19Wvd"
},
{
"__type__": "cc.PrivateNode",
......@@ -28405,7 +28405,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "98Em2Jee9H1ZrUKU+v2nV6"
"_id": "3bPXx3EMpO87HoIHOdttLs"
},
{
"__type__": "cc.Label",
......@@ -28438,7 +28438,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d8Ur8fwzRCv7bxKaOrFCFn"
"_id": "a70hx8MS9NH5YjADL49BU6"
},
{
"__type__": "cc.RichText",
......@@ -31589,7 +31589,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "56k9IDt6dLNqaCpyuU0hes"
"_id": "4au2+xr7JG9Ii3zP96DWkI"
},
{
"__type__": "cc.Label",
......@@ -31622,7 +31622,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d5OTj/weZCa6MyOYIDX3+X"
"_id": "ceEFHgdvdP6Kb2Ox05bcoY"
},
{
"__type__": "cc.PrivateNode",
......@@ -31685,7 +31685,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "1dki0uGkxE3px/NTwPSPkL"
"_id": "06zV+gHllKJ4iokvyWNjEq"
},
{
"__type__": "cc.Label",
......@@ -31718,7 +31718,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a55J4UtJhAardLt0lC0oQt"
"_id": "5d/5dVQmhFl6bY25f95e0W"
},
{
"__type__": "cc.PrivateNode",
......@@ -31781,7 +31781,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "22KEj90xZGIa/wn3fB92WL"
"_id": "053KxMMVFHiYT05vDVoxTi"
},
{
"__type__": "cc.Label",
......@@ -31814,7 +31814,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "8e14RWFBhB4qUvb+fT+vv7"
"_id": "5bEIQayD5Pk6EshWLvEsot"
},
{
"__type__": "cc.RichText",
......@@ -32293,7 +32293,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "c0WL9N7xFENLKv4G00+p4j"
"_id": "d7yH1fTrpHbat6QjH6zC8/"
},
{
"__type__": "cc.Label",
......@@ -32326,7 +32326,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "41uYATSv1AoLLI2GES5dOt"
"_id": "b11sn1dHFM45cjH6Y5S5AM"
},
{
"__type__": "cc.PrivateNode",
......@@ -32389,7 +32389,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "274nqOAyhM2b1n67GB3XXd"
"_id": "7cnHRFBehANIG2uRysIKBm"
},
{
"__type__": "cc.Label",
......@@ -32422,7 +32422,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b3tgznwbZNJIQUwvyokwTi"
"_id": "feYgSTKtNHrpjqqI8zovIQ"
},
{
"__type__": "cc.PrivateNode",
......@@ -32485,7 +32485,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "c5S589OR5K+JdkYLJt1Pjn"
"_id": "46II+y/OVMsIMo15tGpitN"
},
{
"__type__": "cc.Label",
......@@ -32518,7 +32518,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "29p6w/Qz9JHqg6M4eTXzFy"
"_id": "66KfwT42hLwa3qAF3vtVsi"
},
{
"__type__": "cc.RichText",
......@@ -32808,7 +32808,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "18w0k04T9KAL3jevCZFstV"
"_id": "a7v93NyuFJtbmreSjFs+sZ"
},
{
"__type__": "cc.Label",
......@@ -32841,7 +32841,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "57qiZkbNFENoCZV9p4ugQu"
"_id": "cdj0NrO5FMC7FijR8mfM3p"
},
{
"__type__": "cc.PrivateNode",
......@@ -32904,7 +32904,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "2ev6BV429ImYdiB/23G1gr"
"_id": "e1CPy1hERK0rq9GQ5pE5IY"
},
{
"__type__": "cc.Label",
......@@ -32937,7 +32937,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "f9zhs87UlE5YBV1f5Vtzr4"
"_id": "57RQDGqQZFhJt9J5RL+d7u"
},
{
"__type__": "cc.PrivateNode",
......@@ -33000,7 +33000,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "4cjEZ5ZtBMOoiwUIjFgVq7"
"_id": "d5qjJ4TzhJCIx3DHi73MKs"
},
{
"__type__": "cc.Label",
......@@ -33033,7 +33033,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "87pBC2YyNAe7f5x6NcwgYq"
"_id": "55yj4hl0VJVqtotCVn5jo9"
},
{
"__type__": "cc.RichText",
......@@ -34458,7 +34458,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "64zhrTL3pBmoEbkVWQpNiJ"
"_id": "1a9oUlJFVPu6RRNpoSmbtM"
},
{
"__type__": "cc.Label",
......@@ -34491,7 +34491,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "94gLRjWBtMpL59zBfOrO4O"
"_id": "455d0EtZFOzJPcPeuG69A7"
},
{
"__type__": "cc.PrivateNode",
......@@ -34554,7 +34554,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "125lQjG81EY6Org+WnJDy0"
"_id": "d0m/cxMuNIpZqLT2VsSGrm"
},
{
"__type__": "cc.Label",
......@@ -34587,7 +34587,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "00zVQ7CrJFHo8dGzAtlOZI"
"_id": "a3lO50XMdLgKaT6SlNLe/s"
},
{
"__type__": "cc.PrivateNode",
......@@ -34650,7 +34650,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "a4omdaybdCrpqaka5YEWFj"
"_id": "1cJ+h+7AhNi5whgGTXfeix"
},
{
"__type__": "cc.Label",
......@@ -34683,7 +34683,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "dbcIOeDRlOapo1mgaEP3rx"
"_id": "6ambX0a7hBA6x9WqrlwIuc"
},
{
"__type__": "cc.PrivateNode",
......@@ -34746,7 +34746,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "13RMfDjAtFPKb7gagbf8BU"
"_id": "d5T1GswMlM+amkDDEWDqed"
},
{
"__type__": "cc.Label",
......@@ -34779,7 +34779,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "bbYrllRtpEHrMYVlkQKady"
"_id": "81K6emaTVKVo83bDy6wob4"
},
{
"__type__": "cc.PrivateNode",
......@@ -34842,7 +34842,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "a0QlvUjg9EYYvY2WtW+4gG"
"_id": "d7m/iYNitCXKAZpDwdQZom"
},
{
"__type__": "cc.Label",
......@@ -34875,7 +34875,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d4u/9E0UtJbbOzbRSA8Zns"
"_id": "3bJxb6FHFA2qrirKGRI6ao"
},
{
"__type__": "cc.PrivateNode",
......@@ -34938,7 +34938,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "8bYhm/R5tEHK6r11/m5otX"
"_id": "17o0MAZ25PgLfBQuCDI2tc"
},
{
"__type__": "cc.Label",
......@@ -34971,7 +34971,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "51LrQGs5NEIocwq+EtSoGl"
"_id": "bdXGIn5vFJxrfLdlUAGyE6"
},
{
"__type__": "cc.PrivateNode",
......@@ -35034,7 +35034,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "821pNk7pJIO6sbcO2riIj5"
"_id": "49NKVYnhtIhqJDqGtkW6z0"
},
{
"__type__": "cc.Label",
......@@ -35067,7 +35067,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "07nzael7dPE6HLTEwIqJCa"
"_id": "7bNSmeF7NJXKzqLdjldK1i"
},
{
"__type__": "cc.RichText",
......@@ -37813,7 +37813,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "bbStJ6SxJEa6zls7qEmODQ"
"_id": "94+h4T8NpKtb3RU15MZiHM"
},
{
"__type__": "cc.Label",
......@@ -37846,7 +37846,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "8dFzatMQJCMJd8TYTBjHjQ"
"_id": "e0TYQ1XidNjY7y6H/dfevw"
},
{
"__type__": "cc.PrivateNode",
......@@ -37909,7 +37909,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "27Nu6MEr9GPZjV6h1WI4du"
"_id": "15JZEF4VtJV5n/HxZG2XDg"
},
{
"__type__": "cc.Label",
......@@ -37942,7 +37942,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a5KIETKdpPOoHuG+oEscFU"
"_id": "b5GcWYfSdKFLwc9B6x5+it"
},
{
"__type__": "cc.PrivateNode",
......@@ -38005,7 +38005,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "6e5k6HIF9IP7eWtDZinoj0"
"_id": "f1jImAdpZAwq5d0aaLP7K6"
},
{
"__type__": "cc.Label",
......@@ -38038,7 +38038,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "03RWwUiYJOa4EFtXSyMmh1"
"_id": "90UrQ9H1hP9JdOEZFfYlPF"
},
{
"__type__": "cc.RichText",
import { defaultData } from "../script/defaultData";
import { initDate } from "./common";
export class MyCocosSceneComponent extends cc.Component {
// 生命周期 onLoad
onLoad() {
initDate();
this.initSceneData();
this.initSize();
}
......

export function initDate() {
/**
* 对Date的扩展,将 Date 转化为指定格式的String
* 月(M)、日(d)、12小时(h)、24小时(H)、分(m)、秒(s)、周(E)、季度(q) 可以用 1-2 个占位符
......@@ -94,3 +94,5 @@ Date.prototype.formatString = function formatTime(timeStr) {
}
return result;
};
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "4b91bf82-f7a4-46c4-bb91-fd6af8643571",
"isPlugin": true,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
......
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