diff --git a/gin_test/.gitignore b/gin_test/.gitignore deleted file mode 100644 index cbe2226..0000000 --- a/gin_test/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -*.exe -*.exe~ -*.dll -*.so -*.dylib - -.DS_Store - -/tmp diff --git a/gin_test/LICENSE b/gin_test/LICENSE deleted file mode 100644 index 8ab70c0..0000000 --- a/gin_test/LICENSE +++ /dev/null @@ -1 +0,0 @@ -MIT \ No newline at end of file diff --git a/gin_test/go.mod b/gin_test/go.mod deleted file mode 100644 index 03d24a7..0000000 --- a/gin_test/go.mod +++ /dev/null @@ -1,41 +0,0 @@ -module web - -go 1.23.2 - -require ( - filippo.io/edwards25519 v1.1.0 // indirect - github.com/bytedance/sonic v1.13.3 // indirect - github.com/bytedance/sonic/loader v0.2.4 // indirect - github.com/cloudwego/base64x v0.1.5 // indirect - github.com/cloudwego/iasm v0.2.0 // indirect - github.com/gabriel-vasile/mimetype v1.4.9 // indirect - github.com/gin-contrib/sse v1.1.0 // indirect - github.com/gin-gonic/gin v1.10.1 // indirect - github.com/go-playground/locales v0.14.1 // indirect - github.com/go-playground/universal-translator v0.18.1 // indirect - github.com/go-playground/validator/v10 v10.26.0 // indirect - github.com/go-sql-driver/mysql v1.9.2 // indirect - github.com/goccy/go-json v0.10.5 // indirect - github.com/jinzhu/inflection v1.0.0 // indirect - github.com/jinzhu/now v1.1.5 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/cpuid/v2 v2.2.10 // indirect - github.com/leodido/go-urn v1.4.0 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-sqlite3 v1.14.28 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/pelletier/go-toml/v2 v2.2.4 // indirect - github.com/twitchyliquid64/golang-asm v0.15.1 // indirect - github.com/ugorji/go/codec v1.2.14 // indirect - golang.org/x/arch v0.17.0 // indirect - golang.org/x/crypto v0.38.0 // indirect - golang.org/x/net v0.40.0 // indirect - golang.org/x/sys v0.33.0 // indirect - golang.org/x/text v0.25.0 // indirect - google.golang.org/protobuf v1.36.6 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - gorm.io/driver/mysql v1.5.7 // indirect - gorm.io/driver/sqlite v1.5.7 // indirect - gorm.io/gorm v1.30.0 // indirect -) diff --git a/gin_test/go.sum b/gin_test/go.sum deleted file mode 100644 index 6295e3b..0000000 --- a/gin_test/go.sum +++ /dev/null @@ -1,93 +0,0 @@ -filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= -filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= -github.com/bytedance/sonic v1.13.3 h1:MS8gmaH16Gtirygw7jV91pDCN33NyMrPbN7qiYhEsF0= -github.com/bytedance/sonic v1.13.3/go.mod h1:o68xyaF9u2gvVBuGHPlUVCy+ZfmNNO5ETf1+KgkJhz4= -github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= -github.com/bytedance/sonic/loader v0.2.4 h1:ZWCw4stuXUsn1/+zQDqeE7JKP+QO47tz7QCNan80NzY= -github.com/bytedance/sonic/loader v0.2.4/go.mod h1:N8A3vUdtUebEY2/VQC0MyhYeKUFosQU6FxH2JmUe6VI= -github.com/cloudwego/base64x v0.1.5 h1:XPciSp1xaq2VCSt6lF0phncD4koWyULpl5bUxbfCyP4= -github.com/cloudwego/base64x v0.1.5/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= -github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg= -github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY= -github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok= -github.com/gin-contrib/sse v1.1.0 h1:n0w2GMuUpWDVp7qSpvze6fAu9iRxJY4Hmj6AmBOU05w= -github.com/gin-contrib/sse v1.1.0/go.mod h1:hxRZ5gVpWMT7Z0B0gSNYqqsSCNIJMjzvm6fqCz9vjwM= -github.com/gin-gonic/gin v1.10.1 h1:T0ujvqyCSqRopADpgPgiTT63DUQVSfojyME59Ei63pQ= -github.com/gin-gonic/gin v1.10.1/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y= -github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= -github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= -github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= -github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= -github.com/go-playground/validator/v10 v10.26.0 h1:SP05Nqhjcvz81uJaRfEV0YBSSSGMc/iMaVtFbr3Sw2k= -github.com/go-playground/validator/v10 v10.26.0/go.mod h1:I5QpIEbmr8On7W0TktmJAumgzX4CA1XNl4ZmDuVHKKo= -github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= -github.com/go-sql-driver/mysql v1.9.2 h1:4cNKDYQ1I84SXslGddlsrMhc8k4LeDVj6Ad6WRjiHuU= -github.com/go-sql-driver/mysql v1.9.2/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU= -github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= -github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= -github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= -github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.10 h1:tBs3QSyvjDyFTq3uoc/9xFpCuOsJQFNPiAhYdw2skhE= -github.com/klauspost/cpuid/v2 v2.2.10/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0= -github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= -github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= -github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= -github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-sqlite3 v1.14.28 h1:ThEiQrnbtumT+QMknw63Befp/ce/nUPgBPMlRFEum7A= -github.com/mattn/go-sqlite3 v1.14.28/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= -github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= -github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= -github.com/ugorji/go/codec v1.2.14 h1:yOQvXCBc3Ij46LRkRoh4Yd5qK6LVOgi0bYOXfb7ifjw= -github.com/ugorji/go/codec v1.2.14/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= -golang.org/x/arch v0.17.0 h1:4O3dfLzd+lQewptAHqjewQZQDyEdejz3VwgeYwkZneU= -golang.org/x/arch v0.17.0/go.mod h1:bdwinDaKcfZUGpH09BB7ZmOfhalA8lQdzl62l8gGWsk= -golang.org/x/crypto v0.38.0 h1:jt+WWG8IZlBnVbomuhg2Mdq0+BBQaHbtqHEFEigjUV8= -golang.org/x/crypto v0.38.0/go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw= -golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY= -golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= -golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4= -golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= -google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= -google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gorm.io/driver/mysql v1.5.7 h1:MndhOPYOfEp2rHKgkZIhJ16eVUIRf2HmzgoPmh7FCWo= -gorm.io/driver/mysql v1.5.7/go.mod h1:sEtPWMiqiN1N1cMXoXmBbd8C6/l+TESwriotuRRpkDM= -gorm.io/driver/sqlite v1.5.7 h1:8NvsrhP0ifM7LX9G4zPB97NwovUakUxc+2V2uuf3Z1I= -gorm.io/driver/sqlite v1.5.7/go.mod h1:U+J8craQU6Fzkcvu8oLeAQmi50TkwPEhHDEjQZXDah4= -gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= -gorm.io/gorm v1.30.0 h1:qbT5aPv1UH8gI99OsRlvDToLxW5zR7FzS9acZDOZcgs= -gorm.io/gorm v1.30.0/go.mod h1:8Z33v652h4//uMA76KjeDH8mJXPm1QNCYrMeatR0DOE= -nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/gin_test/main.go b/gin_test/main.go deleted file mode 100644 index 4ea2f32..0000000 --- a/gin_test/main.go +++ /dev/null @@ -1,16 +0,0 @@ -package main - -import ( - "fmt" - - "github.com/gin-gonic/gin" -) - -func main() { - - r := gin.Default() - - fmt.Println("http://" + "127.0.0.1:8080") - r.Run("127.0.0.1:8080") - -} diff --git a/gin_test/models/fs.go b/gin_test/models/fs.go deleted file mode 100644 index 61974be..0000000 --- a/gin_test/models/fs.go +++ /dev/null @@ -1,12 +0,0 @@ -package models - -import "os" - -// 判断文件是否存在 -func File_exists(path string) bool { - _, err := os.Stat(path) - if err != nil { - return !os.IsNotExist(err) - } - return true -} diff --git a/uniapp/.gitignore b/uniapp/.gitignore deleted file mode 100644 index 8c45c81..0000000 --- a/uniapp/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -node_modules/ -.project -unpackage/ -.DS_Store \ No newline at end of file diff --git a/uniapp/App.vue b/uniapp/App.vue deleted file mode 100644 index 2e53208..0000000 --- a/uniapp/App.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - diff --git a/uniapp/components/business-settings/business-settings.vue b/uniapp/components/business-settings/business-settings.vue deleted file mode 100644 index 0a07ba7..0000000 --- a/uniapp/components/business-settings/business-settings.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/components/datatime-picker-for-fullCalendar/datatime-picker-for-fullCalendar.vue b/uniapp/components/datatime-picker-for-fullCalendar/datatime-picker-for-fullCalendar.vue deleted file mode 100644 index 2337dde..0000000 --- a/uniapp/components/datatime-picker-for-fullCalendar/datatime-picker-for-fullCalendar.vue +++ /dev/null @@ -1,400 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/components/datetime-picker/calendar-item.vue b/uniapp/components/datetime-picker/calendar-item.vue deleted file mode 100644 index dba9887..0000000 --- a/uniapp/components/datetime-picker/calendar-item.vue +++ /dev/null @@ -1,177 +0,0 @@ - - - - - diff --git a/uniapp/components/datetime-picker/calendar.vue b/uniapp/components/datetime-picker/calendar.vue deleted file mode 100644 index 1fae4c6..0000000 --- a/uniapp/components/datetime-picker/calendar.vue +++ /dev/null @@ -1,954 +0,0 @@ - - - - - diff --git a/uniapp/components/datetime-picker/datetime-picker.vue b/uniapp/components/datetime-picker/datetime-picker.vue deleted file mode 100644 index 8bcf641..0000000 --- a/uniapp/components/datetime-picker/datetime-picker.vue +++ /dev/null @@ -1,1066 +0,0 @@ - - - - diff --git a/uniapp/components/datetime-picker/i18n/en.json b/uniapp/components/datetime-picker/i18n/en.json deleted file mode 100644 index 024f22f..0000000 --- a/uniapp/components/datetime-picker/i18n/en.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "uni-datetime-picker.selectDate": "select date", - "uni-datetime-picker.selectTime": "select time", - "uni-datetime-picker.selectDateTime": "select date and time", - "uni-datetime-picker.startDate": "start date", - "uni-datetime-picker.endDate": "end date", - "uni-datetime-picker.startTime": "start time", - "uni-datetime-picker.endTime": "end time", - "uni-datetime-picker.ok": "ok", - "uni-datetime-picker.clear": "clear", - "uni-datetime-picker.cancel": "cancel", - "uni-datetime-picker.year": "-", - "uni-datetime-picker.month": "", - "uni-calender.MON": "MON", - "uni-calender.TUE": "TUE", - "uni-calender.WED": "WED", - "uni-calender.THU": "THU", - "uni-calender.FRI": "FRI", - "uni-calender.SAT": "SAT", - "uni-calender.SUN": "SUN", - "uni-calender.confirm": "confirm" -} diff --git a/uniapp/components/datetime-picker/i18n/index.js b/uniapp/components/datetime-picker/i18n/index.js deleted file mode 100644 index de7509c..0000000 --- a/uniapp/components/datetime-picker/i18n/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import en from './en.json' -import zhHans from './zh-Hans.json' -import zhHant from './zh-Hant.json' -export default { - en, - 'zh-Hans': zhHans, - 'zh-Hant': zhHant -} diff --git a/uniapp/components/datetime-picker/i18n/zh-Hans.json b/uniapp/components/datetime-picker/i18n/zh-Hans.json deleted file mode 100644 index d2df5e7..0000000 --- a/uniapp/components/datetime-picker/i18n/zh-Hans.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "uni-datetime-picker.selectDate": "选择日期", - "uni-datetime-picker.selectTime": "选择时间", - "uni-datetime-picker.selectDateTime": "选择日期时间", - "uni-datetime-picker.startDate": "开始日期", - "uni-datetime-picker.endDate": "结束日期", - "uni-datetime-picker.startTime": "开始时间", - "uni-datetime-picker.endTime": "结束时间", - "uni-datetime-picker.ok": "确定", - "uni-datetime-picker.clear": "清除", - "uni-datetime-picker.cancel": "取消", - "uni-datetime-picker.year": "年", - "uni-datetime-picker.month": "月", - "uni-calender.SUN": "日", - "uni-calender.MON": "一", - "uni-calender.TUE": "二", - "uni-calender.WED": "三", - "uni-calender.THU": "四", - "uni-calender.FRI": "五", - "uni-calender.SAT": "六", - "uni-calender.confirm": "确认" -} \ No newline at end of file diff --git a/uniapp/components/datetime-picker/i18n/zh-Hant.json b/uniapp/components/datetime-picker/i18n/zh-Hant.json deleted file mode 100644 index d23fa3c..0000000 --- a/uniapp/components/datetime-picker/i18n/zh-Hant.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "uni-datetime-picker.selectDate": "選擇日期", - "uni-datetime-picker.selectTime": "選擇時間", - "uni-datetime-picker.selectDateTime": "選擇日期時間", - "uni-datetime-picker.startDate": "開始日期", - "uni-datetime-picker.endDate": "結束日期", - "uni-datetime-picker.startTime": "開始时间", - "uni-datetime-picker.endTime": "結束时间", - "uni-datetime-picker.ok": "確定", - "uni-datetime-picker.clear": "清除", - "uni-datetime-picker.cancel": "取消", - "uni-datetime-picker.year": "年", - "uni-datetime-picker.month": "月", - "uni-calender.SUN": "日", - "uni-calender.MON": "一", - "uni-calender.TUE": "二", - "uni-calender.WED": "三", - "uni-calender.THU": "四", - "uni-calender.FRI": "五", - "uni-calender.SAT": "六", - "uni-calender.confirm": "確認" -} \ No newline at end of file diff --git a/uniapp/components/datetime-picker/time-picker.vue b/uniapp/components/datetime-picker/time-picker.vue deleted file mode 100644 index 1817692..0000000 --- a/uniapp/components/datetime-picker/time-picker.vue +++ /dev/null @@ -1,940 +0,0 @@ - - - - - diff --git a/uniapp/components/datetime-picker/util.js b/uniapp/components/datetime-picker/util.js deleted file mode 100644 index 6b2bcf1..0000000 --- a/uniapp/components/datetime-picker/util.js +++ /dev/null @@ -1,430 +0,0 @@ -class Calendar { - constructor({ - selected, - startDate, - endDate, - range, - } = {}) { - // 当前日期 - this.date = this.getDateObj(new Date()) // 当前初入日期 - // 打点信息 - this.selected = selected || []; - // 起始时间 - this.startDate = startDate - // 终止时间 - this.endDate = endDate - // 是否范围选择 - this.range = range - // 多选状态 - this.cleanMultipleStatus() - // 每周日期 - this.weeks = {} - this.lastHover = false - } - /** - * 设置日期 - * @param {Object} date - */ - setDate(date) { - const selectDate = this.getDateObj(date) - this.getWeeks(selectDate.fullDate) - } - - /** - * 清理多选状态 - */ - cleanMultipleStatus() { - this.multipleStatus = { - before: '', - after: '', - data: [] - } - } - - setStartDate(startDate) { - this.startDate = startDate - } - - setEndDate(endDate) { - this.endDate = endDate - } - - getPreMonthObj(date) { - date = fixIosDateFormat(date) - date = new Date(date) - - const oldMonth = date.getMonth() - date.setMonth(oldMonth - 1) - const newMonth = date.getMonth() - if (oldMonth !== 0 && newMonth - oldMonth === 0) { - date.setMonth(newMonth - 1) - } - return this.getDateObj(date) - } - getNextMonthObj(date) { - date = fixIosDateFormat(date) - date = new Date(date) - - const oldMonth = date.getMonth() - date.setMonth(oldMonth + 1) - const newMonth = date.getMonth() - if (newMonth - oldMonth > 1) { - date.setMonth(newMonth - 1) - } - return this.getDateObj(date) - } - - /** - * 获取指定格式Date对象 - */ - getDateObj(date) { - date = fixIosDateFormat(date) - date = new Date(date) - - return { - fullDate: getDate(date), - year: date.getFullYear(), - month: addZero(date.getMonth() + 1), - date: addZero(date.getDate()), - day: date.getDay() - } - } - - /** - * 获取上一个月日期集合 - */ - getPreMonthDays(amount, dateObj) { - console.log(amount) - - //dateObj.setDate(dateObj.getDate()-1); - - console.log(dateObj) - - const result = [] - for (let i = amount - 1; i >= 0; i--) { - const month = dateObj.month - 1 - result.push({ - - date: new Date(dateObj.year, month, -i).getDate(), - month, - disable: true - }) - } - return result - } - /** - * 获取本月日期集合 - */ - getCurrentMonthDays(amount, dateObj) { - console.log(amount) - const result = [] - const fullDate = this.date.fullDate - for (let i = 1; i <= amount; i++) { - const currentDate = `${dateObj.year}-${dateObj.month}-${addZero(i)}` - const isToday = fullDate === currentDate - // 获取打点信息 - const info = this.selected && this.selected.find((item) => { - if (this.dateEqual(currentDate, item.date)) { - return item - } - }) - - // 日期禁用 - let disableBefore = true - let disableAfter = true - if (this.startDate) { - disableBefore = dateCompare(this.startDate, currentDate) - } - - if (this.endDate) { - disableAfter = dateCompare(currentDate, this.endDate) - } - - let multiples = this.multipleStatus.data - let multiplesStatus = -1 - if (this.range && multiples) { - multiplesStatus = multiples.findIndex((item) => { - return this.dateEqual(item, currentDate) - }) - } - const checked = multiplesStatus !== -1 - - result.push({ - fullDate: currentDate, - year: dateObj.year, - date: i, - multiple: this.range ? checked : false, - beforeMultiple: this.isLogicBefore(currentDate, this.multipleStatus.before, this.multipleStatus.after), - afterMultiple: this.isLogicAfter(currentDate, this.multipleStatus.before, this.multipleStatus.after), - month: dateObj.month, - disable: (this.startDate && !dateCompare(this.startDate, currentDate)) || (this.endDate && !dateCompare( - currentDate, this.endDate)), - isToday, - userChecked: false, - extraInfo: info - }) - } - return result - } - /** - * 获取下一个月日期集合 - */ - _getNextMonthDays(amount, dateObj) { - console.log(amount) - const result = [] - const month = dateObj.month + 1 - for (let i = 1; i <= amount; i++) { - result.push({ - date: i, - month, - disable: true - }) - } - return result - } - - /** - * 获取当前日期详情 - * @param {Object} date - */ - getInfo(date) { - if (!date) { - date = new Date() - } - const res = this.calendar.find(item => item.fullDate === this.getDateObj(date).fullDate) - return res ? res : this.getDateObj(date) - } - - /** - * 比较时间是否相等 - */ - dateEqual(before, after) { - before = new Date(fixIosDateFormat(before)) - after = new Date(fixIosDateFormat(after)) - return before.valueOf() === after.valueOf() - } - - /** - * 比较真实起始日期 - */ - - isLogicBefore(currentDate, before, after) { - let logicBefore = before - if (before && after) { - logicBefore = dateCompare(before, after) ? before : after - } - return this.dateEqual(logicBefore, currentDate) - } - - isLogicAfter(currentDate, before, after) { - let logicAfter = after - if (before && after) { - logicAfter = dateCompare(before, after) ? after : before - } - return this.dateEqual(logicAfter, currentDate) - } - - /** - * 获取日期范围内所有日期 - * @param {Object} begin - * @param {Object} end - */ - geDateAll(begin, end) { - var arr = [] - var ab = begin.split('-') - var ae = end.split('-') - var db = new Date() - db.setFullYear(ab[0], ab[1] - 1, ab[2]) - var de = new Date() - de.setFullYear(ae[0], ae[1] - 1, ae[2]) - var unixDb = db.getTime() - 24 * 60 * 60 * 1000 - var unixDe = de.getTime() - 24 * 60 * 60 * 1000 - for (var k = unixDb; k <= unixDe;) { - k = k + 24 * 60 * 60 * 1000 - arr.push(this.getDateObj(new Date(parseInt(k))).fullDate) - } - return arr - } - - /** - * 获取多选状态 - */ - setMultiple(fullDate) { - if (!this.range) return - - let { - before, - after - } = this.multipleStatus - if (before && after) { - if (!this.lastHover) { - this.lastHover = true - return - } - this.multipleStatus.before = fullDate - this.multipleStatus.after = '' - this.multipleStatus.data = [] - this.multipleStatus.fulldate = '' - this.lastHover = false - } else { - if (!before) { - this.multipleStatus.before = fullDate - this.multipleStatus.after = undefined; - this.lastHover = false - } else { - this.multipleStatus.after = fullDate - if (dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus - .after); - } else { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus - .before); - } - this.lastHover = true - } - } - this.getWeeks(fullDate) - } - - /** - * 鼠标 hover 更新多选状态 - */ - setHoverMultiple(fullDate) { - //抖音小程序点击会触发hover事件,需要避免一下 - // #ifndef MP-TOUTIAO - if (!this.range || this.lastHover) return - const { - before - } = this.multipleStatus - - if (!before) { - this.multipleStatus.before = fullDate - } else { - this.multipleStatus.after = fullDate - if (dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after); - } else { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before); - } - } - this.getWeeks(fullDate) - // #endif - - } - - /** - * 更新默认值多选状态 - */ - setDefaultMultiple(before, after) { - this.multipleStatus.before = before - this.multipleStatus.after = after - if (before && after) { - if (dateCompare(before, after)) { - this.multipleStatus.data = this.geDateAll(before, after); - this.getWeeks(after) - } else { - this.multipleStatus.data = this.geDateAll(after, before); - this.getWeeks(before) - } - } - } - - /** - * 获取每周数据 - * @param {Object} dateData - */ - getWeeks(dateData) { - const { - year, - month, - } = this.getDateObj(dateData) - - const preMonthDayAmount = new Date(year, month - 1, 1).getDay() - const preMonthDays = this.getPreMonthDays(preMonthDayAmount, this.getDateObj(dateData)) - - const currentMonthDayAmount = new Date(year, month, 0).getDate() - const currentMonthDays = this.getCurrentMonthDays(currentMonthDayAmount, this.getDateObj(dateData)) - - const nextMonthDayAmount = 42 - preMonthDayAmount - currentMonthDayAmount - const nextMonthDays = this._getNextMonthDays(nextMonthDayAmount, this.getDateObj(dateData)) - - const calendarDays = [...preMonthDays, ...currentMonthDays, ...nextMonthDays] - - const weeks = new Array(6) - for (let i = 0; i < calendarDays.length; i++) { - const index = Math.floor(i / 7) - if (!weeks[index]) { - weeks[index] = new Array(7) - } - weeks[index][i % 7] = calendarDays[i] - } - - this.calendar = calendarDays - this.weeks = weeks - } -} - -function getDateTime(date, hideSecond) { - return `${getDate(date)} ${getTime(date, hideSecond)}` -} - -function getDate(date) { - date = fixIosDateFormat(date) - date = new Date(date) - const year = date.getFullYear() - const month = date.getMonth() + 1 - const day = date.getDate() - return `${year}-${addZero(month)}-${addZero(day)}` -} - -function getTime(date, hideSecond) { - date = fixIosDateFormat(date) - date = new Date(date) - const hour = date.getHours() - const minute = date.getMinutes() - const second = date.getSeconds() - return hideSecond ? `${addZero(hour)}:${addZero(minute)}` : `${addZero(hour)}:${addZero(minute)}:${addZero(second)}` -} - -function addZero(num) { - if (num < 10) { - num = `0${num}` - } - return num -} - -function getDefaultSecond(hideSecond) { - return hideSecond ? '00:00' : '00:00:00' -} - -function dateCompare(startDate, endDate) { - startDate = new Date(fixIosDateFormat(startDate)) - endDate = new Date(fixIosDateFormat(endDate)) - return startDate <= endDate -} - -function checkDate(date) { - const dateReg = /((19|20)\d{2})(-|\/)\d{1,2}(-|\/)\d{1,2}/g - return date.match(dateReg) -} -//ios低版本15及以下,无法匹配 没有 ’秒‘ 时的情况,所以需要在末尾 秒 加上 问号 -const dateTimeReg = /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])( [0-5]?[0-9]:[0-5]?[0-9](:[0-5]?[0-9])?)?$/; - -function fixIosDateFormat(value) { - if (typeof value === 'string' && dateTimeReg.test(value)) { - value = value.replace(/-/g, '/') - } - return value -} - -export { - Calendar, - getDateTime, - getDate, - getTime, - addZero, - getDefaultSecond, - dateCompare, - checkDate, - fixIosDateFormat -} diff --git a/uniapp/components/tabler-footer/tabler-footer.vue b/uniapp/components/tabler-footer/tabler-footer.vue deleted file mode 100644 index b6a3a6a..0000000 --- a/uniapp/components/tabler-footer/tabler-footer.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/components/tabler-header/tabler-header.vue b/uniapp/components/tabler-header/tabler-header.vue deleted file mode 100644 index f403b4c..0000000 --- a/uniapp/components/tabler-header/tabler-header.vue +++ /dev/null @@ -1,232 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/components/test_components/test_components.vue b/uniapp/components/test_components/test_components.vue deleted file mode 100644 index 2356c41..0000000 --- a/uniapp/components/test_components/test_components.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/uniapp/index.html b/uniapp/index.html deleted file mode 100644 index c3ff205..0000000 --- a/uniapp/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - -
- - - diff --git a/uniapp/main.js b/uniapp/main.js deleted file mode 100644 index c1caf36..0000000 --- a/uniapp/main.js +++ /dev/null @@ -1,22 +0,0 @@ -import App from './App' - -// #ifndef VUE3 -import Vue from 'vue' -import './uni.promisify.adaptor' -Vue.config.productionTip = false -App.mpType = 'app' -const app = new Vue({ - ...App -}) -app.$mount() -// #endif - -// #ifdef VUE3 -import { createSSRApp } from 'vue' -export function createApp() { - const app = createSSRApp(App) - return { - app - } -} -// #endif \ No newline at end of file diff --git a/uniapp/manifest.json b/uniapp/manifest.json deleted file mode 100644 index a7faf8f..0000000 --- a/uniapp/manifest.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name" : "ems_vue", - "appid" : "__UNI__EFA7B7F", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : {}, - /* SDK配置 */ - "sdkConfigs" : {} - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "3" -} diff --git a/uniapp/package-lock.json b/uniapp/package-lock.json deleted file mode 100644 index 9673628..0000000 --- a/uniapp/package-lock.json +++ /dev/null @@ -1,619 +0,0 @@ -{ - "name": "ems_vue", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "dependencies": { - "@dcloudio/uni-ui": "^1.5.7", - "@fullcalendar/core": "^6.1.15", - "@fullcalendar/daygrid": "^6.1.15", - "@fullcalendar/interaction": "^6.1.15", - "@fullcalendar/timegrid": "^6.1.15", - "@fullcalendar/vue3": "^6.1.15", - "@tabler/core": "^1.0.0-beta21", - "save": "^2.9.0", - "screenfull": "^6.0.2" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", - "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/types": "^7.26.0" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/types": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", - "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@dcloudio/uni-ui": { - "version": "1.5.7", - "resolved": "https://registry.npmjs.org/@dcloudio/uni-ui/-/uni-ui-1.5.7.tgz", - "integrity": "sha512-DugxSIrQrze1FLdUOj9a+JEQ0bHGjnJTcGUK1mN/MivKg7nuKJBRWk5Ipa9sUdoBznX6ndz5h2e7Uao6x1CdCw==", - "license": "Apache-2.0" - }, - "node_modules/@fullcalendar/core": { - "version": "6.1.15", - "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.15.tgz", - "integrity": "sha512-BuX7o6ALpLb84cMw1FCB9/cSgF4JbVO894cjJZ6kP74jzbUZNjtwffwRdA+Id8rrLjT30d/7TrkW90k4zbXB5Q==", - "license": "MIT", - "dependencies": { - "preact": "~10.12.1" - } - }, - "node_modules/@fullcalendar/daygrid": { - "version": "6.1.15", - "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.15.tgz", - "integrity": "sha512-j8tL0HhfiVsdtOCLfzK2J0RtSkiad3BYYemwQKq512cx6btz6ZZ2RNc/hVnIxluuWFyvx5sXZwoeTJsFSFTEFA==", - "license": "MIT", - "peerDependencies": { - "@fullcalendar/core": "~6.1.15" - } - }, - "node_modules/@fullcalendar/interaction": { - "version": "6.1.15", - "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.15.tgz", - "integrity": "sha512-DOTSkofizM7QItjgu7W68TvKKvN9PSEEvDJceyMbQDvlXHa7pm/WAVtAc6xSDZ9xmB1QramYoWGLHkCYbTW1rQ==", - "license": "MIT", - "peerDependencies": { - "@fullcalendar/core": "~6.1.15" - } - }, - "node_modules/@fullcalendar/timegrid": { - "version": "6.1.15", - "resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.15.tgz", - "integrity": "sha512-61ORr3A148RtxQ2FNG7JKvacyA/TEVZ7z6I+3E9Oeu3dqTf6M928bFcpehRTIK6zIA6Yifs7BeWHgOE9dFnpbw==", - "license": "MIT", - "dependencies": { - "@fullcalendar/daygrid": "~6.1.15" - }, - "peerDependencies": { - "@fullcalendar/core": "~6.1.15" - } - }, - "node_modules/@fullcalendar/vue3": { - "version": "6.1.15", - "resolved": "https://registry.npmjs.org/@fullcalendar/vue3/-/vue3-6.1.15.tgz", - "integrity": "sha512-ctfTICGrNEIj7gmLHQcUYe0WzDTSW5Vd9hyOnVChxPU75AZU9WqdDMkHwJYnfNxNhT6QQuiMHq/qsRRd5zQwOw==", - "license": "MIT", - "peerDependencies": { - "@fullcalendar/core": "~6.1.15", - "vue": "^3.0.11" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", - "license": "MIT", - "peer": true - }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/@tabler/core": { - "version": "1.0.0-beta21", - "resolved": "https://registry.npmjs.org/@tabler/core/-/core-1.0.0-beta21.tgz", - "integrity": "sha512-9ZKu38BScc0eHruhX/SlVDSiXenBFSgBp2WDq6orkuC8J/1yutKDt7CdXuJpBwkiADEk5yqYV31Ku+CnhwOc3Q==", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.11.8", - "@tabler/icons": "^3.14.0", - "bootstrap": "5.3.3" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/codecalm" - }, - "peerDependencies": { - "@melloware/coloris": "^0.19.1", - "apexcharts": "^3.40.0", - "autosize": "^6.0.1", - "choices.js": "^10.2.0", - "countup.js": "^2.6.2", - "dropzone": "^6.0.0-beta.2", - "flatpickr": "^4.6.13", - "fslightbox": "^3.4.1", - "imask": "^6.6.1", - "jsvectormap": "^1.5.3", - "list.js": "^2.3.1", - "litepicker": "^2.0.12", - "nouislider": "^15.7.0", - "plyr": "^3.7.8", - "star-rating.js": "^4.3.0", - "tinymce": "^6.4.2 || ^7.0.0", - "tom-select": "^2.2.2" - }, - "peerDependenciesMeta": { - "@melloware/coloris": { - "optional": true - }, - "apexcharts": { - "optional": true - }, - "autosize": { - "optional": true - }, - "choices.js": { - "optional": true - }, - "countup.js": { - "optional": true - }, - "dropzone": { - "optional": true - }, - "flatpickr": { - "optional": true - }, - "fslightbox": { - "optional": true - }, - "imask": { - "optional": true - }, - "jsvectormap": { - "optional": true - }, - "list.js": { - "optional": true - }, - "litepicker": { - "optional": true - }, - "nouislider": { - "optional": true - }, - "plyr": { - "optional": true - }, - "star-rating.js": { - "optional": true - }, - "tinymce": { - "optional": true - }, - "tom-select": { - "optional": true - } - } - }, - "node_modules/@tabler/icons": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.22.0.tgz", - "integrity": "sha512-IfgGzhFph5OBr2wTieWL/hyAs0FThnq9O155a6kfGYxqx7h5LQw91wnRswhEaGhXCcfmR7ZVDUr9H+x4b9Pb8g==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/codecalm" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.13.tgz", - "integrity": "sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/parser": "^7.25.3", - "@vue/shared": "3.5.13", - "entities": "^4.5.0", - "estree-walker": "^2.0.2", - "source-map-js": "^1.2.0" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.13.tgz", - "integrity": "sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/compiler-core": "3.5.13", - "@vue/shared": "3.5.13" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.13.tgz", - "integrity": "sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/parser": "^7.25.3", - "@vue/compiler-core": "3.5.13", - "@vue/compiler-dom": "3.5.13", - "@vue/compiler-ssr": "3.5.13", - "@vue/shared": "3.5.13", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.11", - "postcss": "^8.4.48", - "source-map-js": "^1.2.0" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.13.tgz", - "integrity": "sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/compiler-dom": "3.5.13", - "@vue/shared": "3.5.13" - } - }, - "node_modules/@vue/reactivity": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.13.tgz", - "integrity": "sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/shared": "3.5.13" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.13.tgz", - "integrity": "sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/reactivity": "3.5.13", - "@vue/shared": "3.5.13" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.13.tgz", - "integrity": "sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/reactivity": "3.5.13", - "@vue/runtime-core": "3.5.13", - "@vue/shared": "3.5.13", - "csstype": "^3.1.3" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.13.tgz", - "integrity": "sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/compiler-ssr": "3.5.13", - "@vue/shared": "3.5.13" - }, - "peerDependencies": { - "vue": "3.5.13" - } - }, - "node_modules/@vue/shared": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.13.tgz", - "integrity": "sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==", - "license": "MIT", - "peer": true - }, - "node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "license": "MIT" - }, - "node_modules/bootstrap": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz", - "integrity": "sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ], - "license": "MIT", - "peerDependencies": { - "@popperjs/core": "^2.11.8" - } - }, - "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "license": "MIT", - "peer": true - }, - "node_modules/duplexer": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", - "license": "MIT" - }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "license": "BSD-2-Clause", - "peer": true, - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "license": "MIT", - "peer": true - }, - "node_modules/event-stream": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-4.0.1.tgz", - "integrity": "sha512-qACXdu/9VHPBzcyhdOWR5/IahhGMf0roTeZJfzz077GwylcDd90yOHLouhmv7GJ5XzPi6ekaQWd8AvPP2nOvpA==", - "license": "MIT", - "dependencies": { - "duplexer": "^0.1.1", - "from": "^0.1.7", - "map-stream": "0.0.7", - "pause-stream": "^0.0.11", - "split": "^1.0.1", - "stream-combiner": "^0.2.2", - "through": "^2.3.8" - } - }, - "node_modules/from": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", - "integrity": "sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==", - "license": "MIT" - }, - "node_modules/lodash.assign": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", - "integrity": "sha512-hFuH8TY+Yji7Eja3mGiuAxBqLagejScbG8GbG0j6o9vzn0YL14My+ktnqtZgFTosKymC9/44wP6s7xyuLfnClw==", - "license": "MIT" - }, - "node_modules/magic-string": { - "version": "0.30.13", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.13.tgz", - "integrity": "sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==", - "license": "MIT", - "peer": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" - } - }, - "node_modules/map-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz", - "integrity": "sha512-C0X0KQmGm3N2ftbTGBhSyuydQ+vV1LC3f3zPvT3RXHXNZrvfPZcoXp/N5DOa8vedX/rTMm2CjTtivFg2STJMRQ==", - "license": "MIT" - }, - "node_modules/mingo": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/mingo/-/mingo-6.5.3.tgz", - "integrity": "sha512-jp8AhCM871cDUZLTXt9jTsA5rwW74Zp+mYnbMO97PZCpVKI2UOhAamszpZp1wuXJOBnKiEQfkpGsEHj4AmadOg==", - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "peer": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/pause-stream": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", - "integrity": "sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==", - "license": [ - "MIT", - "Apache2" - ], - "dependencies": { - "through": "~2.3" - } - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "license": "ISC", - "peer": true - }, - "node_modules/postcss": { - "version": "8.4.49", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", - "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "peer": true, - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/preact": { - "version": "10.12.1", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.12.1.tgz", - "integrity": "sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/preact" - } - }, - "node_modules/save": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/save/-/save-2.9.0.tgz", - "integrity": "sha512-eg8+g8CjvehE/2C6EbLdtK1pINVD27pcJLj4M9PjWWhoeha/y5bWf4dp/0RF+OzbKTcG1bae9qi3PAqiR8CJTg==", - "license": "ISC", - "dependencies": { - "async": "^3.2.2", - "event-stream": "^4.0.1", - "lodash.assign": "^4.2.0", - "mingo": "^6.1.0" - } - }, - "node_modules/screenfull": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-6.0.2.tgz", - "integrity": "sha512-AQdy8s4WhNvUZ6P8F6PB21tSPIYKniic+Ogx0AacBMjKP1GUHN2E9URxQHtCusiwxudnCKkdy4GrHXPPJSkCCw==", - "license": "MIT", - "engines": { - "node": "^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "license": "BSD-3-Clause", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "license": "MIT", - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } - }, - "node_modules/stream-combiner": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", - "integrity": "sha512-6yHMqgLYDzQDcAkL+tjJDC5nSNuNIx0vZtRZeiPh7Saef7VHX9H5Ijn9l2VIol2zaNYlYEX6KyuT/237A58qEQ==", - "license": "MIT", - "dependencies": { - "duplexer": "~0.1.1", - "through": "~2.3.4" - } - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "license": "MIT" - }, - "node_modules/vue": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.13.tgz", - "integrity": "sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==", - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/compiler-dom": "3.5.13", - "@vue/compiler-sfc": "3.5.13", - "@vue/runtime-dom": "3.5.13", - "@vue/server-renderer": "3.5.13", - "@vue/shared": "3.5.13" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - } - } -} diff --git a/uniapp/package.json b/uniapp/package.json deleted file mode 100644 index 096d95c..0000000 --- a/uniapp/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "dependencies": { - "@dcloudio/uni-ui": "^1.5.7", - "@fullcalendar/core": "^6.1.15", - "@fullcalendar/daygrid": "^6.1.15", - "@fullcalendar/interaction": "^6.1.15", - "@fullcalendar/timegrid": "^6.1.15", - "@fullcalendar/vue3": "^6.1.15", - "@tabler/core": "^1.0.0-beta21", - "save": "^2.9.0", - "screenfull": "^6.0.2" - } -} diff --git a/uniapp/pages.json b/uniapp/pages.json deleted file mode 100644 index c9a214b..0000000 --- a/uniapp/pages.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "uni-app" - } - }, - { - "path" : "pages/MA/MA", - "style" : - { - "navigationBarTitleText" : "Monthly Activities" - } - }, - { - "path" : "pages/test/test", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/test2/test2", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/login/login", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/settings/profile", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/qa/qa", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/qa/edit_a", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/qa/add_q", - "style" : - { - "navigationBarTitleText" : "" - } - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "uniIdRouter": {} -} diff --git a/uniapp/pages/MA/MA.vue b/uniapp/pages/MA/MA.vue deleted file mode 100644 index c1db42f..0000000 --- a/uniapp/pages/MA/MA.vue +++ /dev/null @@ -1,750 +0,0 @@ - - - - - diff --git a/uniapp/pages/index/index.vue b/uniapp/pages/index/index.vue deleted file mode 100644 index dfea0d6..0000000 --- a/uniapp/pages/index/index.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - - - diff --git a/uniapp/pages/login/login.vue b/uniapp/pages/login/login.vue deleted file mode 100644 index 76eba0b..0000000 --- a/uniapp/pages/login/login.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - - - diff --git a/uniapp/pages/qa/add_q.vue b/uniapp/pages/qa/add_q.vue deleted file mode 100644 index 0e95977..0000000 --- a/uniapp/pages/qa/add_q.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/uniapp/pages/qa/edit_a.vue b/uniapp/pages/qa/edit_a.vue deleted file mode 100644 index 1d51893..0000000 --- a/uniapp/pages/qa/edit_a.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/uniapp/pages/qa/qa.vue b/uniapp/pages/qa/qa.vue deleted file mode 100644 index d5d76fc..0000000 --- a/uniapp/pages/qa/qa.vue +++ /dev/null @@ -1,247 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/pages/settings/profile.vue b/uniapp/pages/settings/profile.vue deleted file mode 100644 index 6daaedf..0000000 --- a/uniapp/pages/settings/profile.vue +++ /dev/null @@ -1,291 +0,0 @@ - - - - - diff --git a/uniapp/pages/test/test.vue b/uniapp/pages/test/test.vue deleted file mode 100644 index 33a8b80..0000000 --- a/uniapp/pages/test/test.vue +++ /dev/null @@ -1,1426 +0,0 @@ - - - diff --git a/uniapp/pages/test2/test2.vue b/uniapp/pages/test2/test2.vue deleted file mode 100644 index 27f2933..0000000 --- a/uniapp/pages/test2/test2.vue +++ /dev/null @@ -1,377 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/public_js.js b/uniapp/public_js.js deleted file mode 100644 index a1a9bc1..0000000 --- a/uniapp/public_js.js +++ /dev/null @@ -1,22 +0,0 @@ - -export const public_func={ - baseUrl:"http://test.ems.local/", - - formatDate(date) { - var year = date.getFullYear(); - var month = (date.getMonth() + 1).toString().padStart(2, '0'); - var day = date.getDate().toString().padStart(2, '0'); - return `${year}-${month}-${day}`; - }, - test(tttt) - { - console.log(tttt) - }, - isValidEmail(email) - { - // 定义邮箱的正则表达式 - const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; - // 使用正则表达式测试邮箱 - return emailRegex.test(email); - } -} \ No newline at end of file diff --git a/uniapp/static/R.png b/uniapp/static/R.png deleted file mode 100644 index 1b5f768..0000000 Binary files a/uniapp/static/R.png and /dev/null differ diff --git a/uniapp/static/illustrations/undraw_bug_fixing_oc7a.svg b/uniapp/static/illustrations/undraw_bug_fixing_oc7a.svg deleted file mode 100644 index 49eb330..0000000 --- a/uniapp/static/illustrations/undraw_bug_fixing_oc7a.svg +++ /dev/null @@ -1 +0,0 @@ -bug fixing \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_joyride_hnno.svg b/uniapp/static/illustrations/undraw_joyride_hnno.svg deleted file mode 100644 index 66fec2d..0000000 --- a/uniapp/static/illustrations/undraw_joyride_hnno.svg +++ /dev/null @@ -1 +0,0 @@ -joyride \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_medicine_b1ol.svg b/uniapp/static/illustrations/undraw_medicine_b1ol.svg deleted file mode 100644 index 9cf293e..0000000 --- a/uniapp/static/illustrations/undraw_medicine_b1ol.svg +++ /dev/null @@ -1 +0,0 @@ -medicine \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_mobile_application_mr4r.svg b/uniapp/static/illustrations/undraw_mobile_application_mr4r.svg deleted file mode 100644 index 43e2df2..0000000 --- a/uniapp/static/illustrations/undraw_mobile_application_mr4r.svg +++ /dev/null @@ -1 +0,0 @@ -Mobile_application \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_posting_photo_v65l.svg b/uniapp/static/illustrations/undraw_posting_photo_v65l.svg deleted file mode 100644 index 47cb4fc..0000000 --- a/uniapp/static/illustrations/undraw_posting_photo_v65l.svg +++ /dev/null @@ -1 +0,0 @@ -posting photo \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_printing_invoices_5r4r.svg b/uniapp/static/illustrations/undraw_printing_invoices_5r4r.svg deleted file mode 100644 index 3c7a0b6..0000000 --- a/uniapp/static/illustrations/undraw_printing_invoices_5r4r.svg +++ /dev/null @@ -1 +0,0 @@ -printing invoices \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_quitting_time_dm8t.svg b/uniapp/static/illustrations/undraw_quitting_time_dm8t.svg deleted file mode 100644 index 6209538..0000000 --- a/uniapp/static/illustrations/undraw_quitting_time_dm8t.svg +++ /dev/null @@ -1 +0,0 @@ -quitting time \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_secure_login_pdn4.svg b/uniapp/static/illustrations/undraw_secure_login_pdn4.svg deleted file mode 100644 index 7c919b2..0000000 --- a/uniapp/static/illustrations/undraw_secure_login_pdn4.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_sign_in_e6hj.svg b/uniapp/static/illustrations/undraw_sign_in_e6hj.svg deleted file mode 100644 index e867d51..0000000 --- a/uniapp/static/illustrations/undraw_sign_in_e6hj.svg +++ /dev/null @@ -1 +0,0 @@ -sign_in \ No newline at end of file diff --git a/uniapp/static/illustrations/undraw_work_together_h63l.svg b/uniapp/static/illustrations/undraw_work_together_h63l.svg deleted file mode 100644 index 9f4768a..0000000 --- a/uniapp/static/illustrations/undraw_work_together_h63l.svg +++ /dev/null @@ -1 +0,0 @@ -work_together \ No newline at end of file diff --git a/uniapp/static/logo.png b/uniapp/static/logo.png deleted file mode 100644 index b5771e2..0000000 Binary files a/uniapp/static/logo.png and /dev/null differ diff --git a/uniapp/uni.promisify.adaptor.js b/uniapp/uni.promisify.adaptor.js deleted file mode 100644 index 5fec4f3..0000000 --- a/uniapp/uni.promisify.adaptor.js +++ /dev/null @@ -1,13 +0,0 @@ -uni.addInterceptor({ - returnValue (res) { - if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { - return res; - } - return new Promise((resolve, reject) => { - res.then((res) => { - if (!res) return resolve(res) - return res[0] ? reject(res[0]) : resolve(res[1]) - }); - }); - }, -}); \ No newline at end of file diff --git a/uniapp/uni.scss b/uniapp/uni.scss deleted file mode 100644 index b9249e9..0000000 --- a/uniapp/uni.scss +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ - -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ - -/* 颜色变量 */ - -/* 行为相关颜色 */ -$uni-color-primary: #007aff; -$uni-color-success: #4cd964; -$uni-color-warning: #f0ad4e; -$uni-color-error: #dd524d; - -/* 文字基本颜色 */ -$uni-text-color:#333;//基本色 -$uni-text-color-inverse:#fff;//反色 -$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 -$uni-text-color-placeholder: #808080; -$uni-text-color-disable:#c0c0c0; - -/* 背景颜色 */ -$uni-bg-color:#ffffff; -$uni-bg-color-grey:#f8f8f8; -$uni-bg-color-hover:#f1f1f1;//点击状态颜色 -$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 - -/* 边框颜色 */ -$uni-border-color:#c8c7cc; - -/* 尺寸变量 */ - -/* 文字尺寸 */ -$uni-font-size-sm:12px; -$uni-font-size-base:14px; -$uni-font-size-lg:16px; - -/* 图片尺寸 */ -$uni-img-size-sm:20px; -$uni-img-size-base:26px; -$uni-img-size-lg:40px; - -/* Border Radius */ -$uni-border-radius-sm: 2px; -$uni-border-radius-base: 3px; -$uni-border-radius-lg: 6px; -$uni-border-radius-circle: 50%; - -/* 水平间距 */ -$uni-spacing-row-sm: 5px; -$uni-spacing-row-base: 10px; -$uni-spacing-row-lg: 15px; - -/* 垂直间距 */ -$uni-spacing-col-sm: 4px; -$uni-spacing-col-base: 8px; -$uni-spacing-col-lg: 12px; - -/* 透明度 */ -$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 - -/* 文章场景相关 */ -$uni-color-title: #2C405A; // 文章标题颜色 -$uni-font-size-title:20px; -$uni-color-subtitle: #555555; // 二级标题颜色 -$uni-font-size-subtitle:26px; -$uni-color-paragraph: #3F536E; // 文章段落颜色 -$uni-font-size-paragraph:15px; diff --git a/uniapp/uni_modules/hl-calendar/changelog.md b/uniapp/uni_modules/hl-calendar/changelog.md deleted file mode 100644 index 0cf8771..0000000 --- a/uniapp/uni_modules/hl-calendar/changelog.md +++ /dev/null @@ -1,2 +0,0 @@ -## 1.0.0(2024-05-10) -项目初始化,根据日历选择日期,第一版较为简介 diff --git a/uniapp/uni_modules/hl-calendar/components/hl-calendar/config/index.js b/uniapp/uni_modules/hl-calendar/components/hl-calendar/config/index.js deleted file mode 100644 index e69de29..0000000 diff --git a/uniapp/uni_modules/hl-calendar/components/hl-calendar/hl-calendar.vue b/uniapp/uni_modules/hl-calendar/components/hl-calendar/hl-calendar.vue deleted file mode 100644 index babba31..0000000 --- a/uniapp/uni_modules/hl-calendar/components/hl-calendar/hl-calendar.vue +++ /dev/null @@ -1,251 +0,0 @@ - - - \ No newline at end of file diff --git a/uniapp/uni_modules/hl-calendar/package.json b/uniapp/uni_modules/hl-calendar/package.json deleted file mode 100644 index b4d856f..0000000 --- a/uniapp/uni_modules/hl-calendar/package.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "id": "hl-calendar", - "displayName": "日历 日期选择 选择年月日 全面支持各类小程序", - "version": "1.0.0", - "description": "日历组件 日期选择", - "keywords": [ - "日历", - "日期选择", - "calendar", - "时间" -], - "repository": "", - "engines": { - "HBuilderX": "^3.8.0" - }, - "dcloudext": { - "type": "component-vue", - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "插件不采集任何数据", - "permissions": "无" - }, - "npmurl": "" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y", - "alipay": "y" - }, - "client": { - "Vue": { - "vue2": "y", - "vue3": "y" - }, - "App": { - "app-vue": "y", - "app-nvue": "u", - "app-uvue": "u" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "u", - "Edge": "u", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y", - "钉钉": "y", - "快手": "y", - "飞书": "y", - "京东": "y" - }, - "快应用": { - "华为": "u", - "联盟": "u" - } - } - } - } -} \ No newline at end of file diff --git a/uniapp/uni_modules/hl-calendar/readme.md b/uniapp/uni_modules/hl-calendar/readme.md deleted file mode 100644 index 3b26336..0000000 --- a/uniapp/uni_modules/hl-calendar/readme.md +++ /dev/null @@ -1 +0,0 @@ -# hl-calendar \ No newline at end of file diff --git a/uniapp/uni_modules/l-calendar/changelog.md b/uniapp/uni_modules/l-calendar/changelog.md deleted file mode 100644 index 1e20611..0000000 --- a/uniapp/uni_modules/l-calendar/changelog.md +++ /dev/null @@ -1,8 +0,0 @@ -## 1.0.3(2023-05-31) -1.0.3 -## 1.0.2(2023-05-20) -1.0.2 -## 1.0.1(2023-05-19) -1.0.1 -## 1.0.0(2023-05-19) -1.0.0 diff --git a/uniapp/uni_modules/l-calendar/components/l-calendar/calendar.js b/uniapp/uni_modules/l-calendar/components/l-calendar/calendar.js deleted file mode 100644 index 72b0e2b..0000000 --- a/uniapp/uni_modules/l-calendar/components/l-calendar/calendar.js +++ /dev/null @@ -1,562 +0,0 @@ -/** - * @1900-2100区间内的公历、农历互转 - * @公历转农历:solar2lunar - * @农历转公历:lunar2solar - */ -let calendar = { - /** - * 农历1900-2100的润大小信息表 - * @Array Of Property - * @return Hex - */ - lunarInfo: [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, //1900-1909 - 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, //1910-1919 - 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, //1920-1929 - 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, //1930-1939 - 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, //1940-1949 - 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, //1950-1959 - 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, //1960-1969 - 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, //1970-1979 - 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, //1980-1989 - 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x055c0, 0x0ab60, 0x096d5, 0x092e0, //1990-1999 - 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, //2000-2009 - 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, //2010-2019 - 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, //2020-2029 - 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, //2030-2039 - 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, //2040-2049 - 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, //2050-2059 - 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, //2060-2069 - 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, //2070-2079 - 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, //2080-2089 - 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, //2090-2099 - 0x0d520 - ], //2100 - /** - * 公历每个月份的天数普通表 - * @Array Of Property - * @return Number - */ - solarMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], - /** - * 天干地支之天干速查表 - * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"] - * @return Cn string - */ - Gan: ["\u7532", "\u4e59", "\u4e19", "\u4e01", "\u620a", "\u5df1", "\u5e9a", "\u8f9b", "\u58ec", "\u7678"], - /** - * 天干地支之地支速查表 - * @Array Of Property - * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"] - * @return Cn string - */ - Zhi: ["\u5b50", "\u4e11", "\u5bc5", "\u536f", "\u8fb0", "\u5df3", "\u5348", "\u672a", "\u7533", "\u9149", "\u620c", - "\u4ea5" - ], - /** - * 天干地支之地支速查表<=>生肖 - * @Array Of Property - * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"] - * @return Cn string - */ - Animals: ["\u9f20", "\u725b", "\u864e", "\u5154", "\u9f99", "\u86c7", "\u9a6c", "\u7f8a", "\u7334", "\u9e21", - "\u72d7", "\u732a" - ], - /** - * 24节气速查表 - * @Array Of Property - * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"] - * @return Cn string - */ - solarTerm: ["\u5c0f\u5bd2", "\u5927\u5bd2", "\u7acb\u6625", "\u96e8\u6c34", "\u60ca\u86f0", "\u6625\u5206", - "\u6e05\u660e", "\u8c37\u96e8", "\u7acb\u590f", "\u5c0f\u6ee1", "\u8292\u79cd", "\u590f\u81f3", "\u5c0f\u6691", - "\u5927\u6691", "\u7acb\u79cb", "\u5904\u6691", "\u767d\u9732", "\u79cb\u5206", "\u5bd2\u9732", "\u971c\u964d", - "\u7acb\u51ac", "\u5c0f\u96ea", "\u5927\u96ea", "\u51ac\u81f3" - ], - /** - * 1900-2100各年的24节气日期速查表 - * @Array Of Property - * @return 0x string For splice - */ - sTermInfo: ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', - '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', - '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', - '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', - 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', - '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', - '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', - '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', - '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', - '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', - '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', - '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', - '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', - '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', - '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', - '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', - '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', - '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', - '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', - '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', - '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', - '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', - '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', - '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', - '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', - '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', - '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', - '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', - '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', - '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', - '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', - '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', - '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', - '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', - '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', - '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', - '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', - '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', - '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', - '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', - '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', - '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', - '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', - '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', - '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', - '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', - '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', - '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', - '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', - '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', - '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', - '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', - '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', - '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', - '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', - '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', - '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', - '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', - '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', - '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', - '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', - '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', - '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', - '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', - '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', - '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', - '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722' - ], - /** - * 数字转中文速查表 - * @Array Of Property - * @trans ['日','一','二','三','四','五','六','七','八','九','十'] - * @return Cn string - */ - nStr1: ["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d", "\u4e03", "\u516b", "\u4e5d", "\u5341"], - /** - * 日期转农历称呼速查表 - * @Array Of Property - * @trans ['初','十','廿','卅'] - * @return Cn string - */ - nStr2: ["\u521d", "\u5341", "\u5eff", "\u5345"], - /** - * 月份转农历称呼速查表 - * @Array Of Property - * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊'] - * @return Cn string - */ - nStr3: ["\u6b63", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d", "\u4e03", "\u516b", "\u4e5d", "\u5341", "\u51ac", - "\u814a" - ], - /** - * 返回农历y年一整年的总天数 - * @param lunar Year - * @return Number - * @eg:let count = calendar.lYearDays(1987) ;//count=387 - */ - lYearDays: function(y) { - let i, sum = 348; - for (i = 0x8000; i > 0x8; i >>= 1) { - sum += (calendar.lunarInfo[y - 1900] & i) ? 1 : 0; - } - return (sum + calendar.leapDays(y)); - }, - /** - * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0 - * @param lunar Year - * @return Number (0-12) - * @eg:let leapMonth = calendar.leapMonth(1987) ;//leapMonth=6 - */ - leapMonth: function(y) { //闰字编码 \u95f0 - return (calendar.lunarInfo[y - 1900] & 0xf); - }, - /** - * 返回农历y年闰月的天数 若该年没有闰月则返回0 - * @param lunar Year - * @return Number (0、29、30) - * @eg:let leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29 - */ - leapDays: function(y) { - if (calendar.leapMonth(y)) { - return ((calendar.lunarInfo[y - 1900] & 0x10000) ? 30 : 29); - } - return (0); - }, - /** - * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法 - * @param lunar Year - * @return Number (-1、29、30) - * @eg:let MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29 - */ - monthDays: function(y, m) { - if (m > 12 || m < 1) { - return -1 - } //月份参数从1至12,参数错误返回-1 - return ((calendar.lunarInfo[y - 1900] & (0x10000 >> m)) ? 30 : 29); - }, - /** - * 返回公历(!)y年m月的天数 - * @param solar Year - * @return Number (-1、28、29、30、31) - * @eg:let solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30 - */ - solarDays: function(y, m) { - if (m > 12 || m < 1) { - return -1 - } //若参数错误 返回-1 - let ms = m - 1; - if (ms == 1) { //2月份的闰平规律测算后确认返回28或29 - return (((y % 4 == 0) && (y % 100 != 0) || (y % 400 == 0)) ? 29 : 28); - } else { - return (calendar.solarMonth[ms]); - } - }, - /** - * 农历年份转换为干支纪年 - * @param lYear 农历年的年份数 - * @return Cn string - */ - toGanZhiYear: function(lYear) { - let ganKey = (lYear - 3) % 10; - let zhiKey = (lYear - 3) % 12; - if (ganKey == 0) ganKey = 10; //如果余数为0则为最后一个天干 - if (zhiKey == 0) zhiKey = 12; //如果余数为0则为最后一个地支 - return calendar.Gan[ganKey - 1] + calendar.Zhi[zhiKey - 1]; - }, - /** - * 公历月、日判断所属星座 - * @param cMonth [description] - * @param cDay [description] - * @return Cn string - */ - toAstro: function(cMonth, cDay) { - let s = - "\u9b54\u7faf\u6c34\u74f6\u53cc\u9c7c\u767d\u7f8a\u91d1\u725b\u53cc\u5b50\u5de8\u87f9\u72ee\u5b50\u5904\u5973\u5929\u79e4\u5929\u874e\u5c04\u624b\u9b54\u7faf"; - let arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22]; - return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + "\u5ea7"; //座 - }, - /** - * 传入offset偏移量返回干支 - * @param offset 相对甲子的偏移量 - * @return Cn string - */ - toGanZhi: function(offset) { - return calendar.Gan[offset % 10] + calendar.Zhi[offset % 12]; - }, - /** - * 传入公历(!)y年获得该年第n个节气的公历日期 - * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起 - * @return day Number - * @eg:let _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春 - */ - getTerm: function(y, n) { - if (y < 1900 || y > 2100) { - return -1; - } - if (n < 1 || n > 24) { - return -1; - } - let _table = calendar.sTermInfo[y - 1900]; - let _info = [ - parseInt('0x' + _table.substr(0, 5)).toString(), - parseInt('0x' + _table.substr(5, 5)).toString(), - parseInt('0x' + _table.substr(10, 5)).toString(), - parseInt('0x' + _table.substr(15, 5)).toString(), - parseInt('0x' + _table.substr(20, 5)).toString(), - parseInt('0x' + _table.substr(25, 5)).toString() - ]; - let _calday = [ - _info[0].substr(0, 1), - _info[0].substr(1, 2), - _info[0].substr(3, 1), - _info[0].substr(4, 2), - _info[1].substr(0, 1), - _info[1].substr(1, 2), - _info[1].substr(3, 1), - _info[1].substr(4, 2), - _info[2].substr(0, 1), - _info[2].substr(1, 2), - _info[2].substr(3, 1), - _info[2].substr(4, 2), - _info[3].substr(0, 1), - _info[3].substr(1, 2), - _info[3].substr(3, 1), - _info[3].substr(4, 2), - _info[4].substr(0, 1), - _info[4].substr(1, 2), - _info[4].substr(3, 1), - _info[4].substr(4, 2), - _info[5].substr(0, 1), - _info[5].substr(1, 2), - _info[5].substr(3, 1), - _info[5].substr(4, 2), - ]; - return parseInt(_calday[n - 1]); - }, - /** - * 传入农历数字月份返回汉语通俗表示法 - * @param lunar month - * @return Cn string - * @eg:let cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月' - */ - toChinaMonth: function(m) { // 月 => \u6708 - if (m > 12 || m < 1) { - return -1 - } //若参数错误 返回-1 - let s = calendar.nStr3[m - 1]; - s += "\u6708"; //加上月字 - return s; - }, - /** - * 传入农历日期数字返回汉字表示法 - * @param lunar day - * @return Cn string - * @eg:let cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一' - */ - toChinaDay: function(d) { //日 => \u65e5 - let s; - switch (d) { - case 10: - s = '\u521d\u5341'; - break; - case 20: - s = '\u4e8c\u5341'; - break; - break; - case 30: - s = '\u4e09\u5341'; - break; - break; - default: - s = calendar.nStr2[Math.floor(d / 10)]; - s += calendar.nStr1[d % 10]; - } - return (s); - }, - /** - * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春” - * @param y year - * @return Cn string - * @eg:let animal = calendar.getAnimal(1987) ;//animal='兔' - */ - getAnimal: function(y) { - return calendar.Animals[(y - 4) % 12] - }, - /** - * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON - * @param y solar year - * @param m solar month - * @param d solar day - * @return JSON object - * @eg:console.log(calendar.solar2lunar(1987,11,01)); - */ - solar2lunar: function(y, m, d) { //参数区间1900.1.31~2100.12.31 - if (y < 1900 || y > 2100) { - return -1; - } //年份限定、上限 - if (y == 1900 && m == 1 && d < 31) { - return -1; - } //下限 - let objDate; - if (!y) { //未传参 获得当天 - objDate = new Date(); - } else { - objDate = new Date(y, parseInt(m) - 1, d) - } - let i, leap = 0, - temp = 0; - //修正ymd参数 - y = objDate.getFullYear(); - m = objDate.getMonth() + 1; - d = objDate.getDate(); - let offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / - 86400000; - for (i = 1900; i < 2101 && offset > 0; i++) { - temp = calendar.lYearDays(i); - offset -= temp; - } - if (offset < 0) { - offset += temp; - i--; - } - //是否今天 - let isTodayObj = new Date(), - isToday = false; - if (isTodayObj.getFullYear() == y && isTodayObj.getMonth() + 1 == m && isTodayObj.getDate() == d) { - isToday = true; - } - //星期几 - let nWeek = objDate.getDay(), - cWeek = calendar.nStr1[nWeek]; - if (nWeek == 0) { - nWeek = 7; - } //数字表示周几顺应天朝周一开始的惯例 - //农历年 - let year = i; - leap = calendar.leapMonth(i); //闰哪个月 - let isLeap = false; - //效验闰月 - for (i = 1; i < 13 && offset > 0; i++) { - //闰月 - if (leap > 0 && i == (leap + 1) && isLeap == false) { - --i; - isLeap = true; - temp = calendar.leapDays(year); //计算农历闰月天数 - } else { - temp = calendar.monthDays(year, i); //计算农历普通月天数 - } - //解除闰月 - if (isLeap == true && i == (leap + 1)) { - isLeap = false; - } - offset -= temp; - } - if (offset == 0 && leap > 0 && i == leap + 1) - if (isLeap) { - isLeap = false; - } else { - isLeap = true; - --i; - } - if (offset < 0) { - offset += temp; - --i; - } - //农历月 - let month = i; - //农历日 - let day = offset + 1; - //天干地支处理 - let sm = m - 1; - let gzY = calendar.toGanZhiYear(year); - //月柱 1900年1月小寒以前为 丙子月(60进制12) - let firstNode = calendar.getTerm(year, (m * 2 - 1)); //返回当月「节」为几日开始 - let secondNode = calendar.getTerm(year, (m * 2)); //返回当月「节」为几日开始 - //依据12节气修正干支月 - let gzM = calendar.toGanZhi((y - 1900) * 12 + m + 11); - if (d >= firstNode) { - gzM = calendar.toGanZhi((y - 1900) * 12 + m + 12); - } - //传入的日期的节气与否 - let isTerm = false; - let Term = null; - if (firstNode == d) { - isTerm = true; - Term = calendar.solarTerm[m * 2 - 2]; - } - if (secondNode == d) { - isTerm = true; - Term = calendar.solarTerm[m * 2 - 1]; - } - //日柱 当月一日与 1900/1/1 相差天数 - let dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10; - let gzD = calendar.toGanZhi(dayCyclical + d - 1); - //该日期所属的星座 - let astro = calendar.toAstro(m, d); - return { - 'lYear': year, - 'lMonth': month, - 'lDay': day, - 'Animal': calendar.getAnimal(year), - 'IMonthCn': (isLeap ? "\u95f0" : '') + calendar.toChinaMonth(month), - 'IDayCn': calendar.toChinaDay(day), - 'cYear': y, - 'cMonth': m, - 'cDay': d, - 'gzYear': gzY, - 'gzMonth': gzM, - 'gzDay': gzD, - 'isToday': isToday, - 'isLeap': isLeap, - 'nWeek': nWeek, - 'ncWeek': "\u661f\u671f" + cWeek, - 'isTerm': isTerm, - 'Term': Term, - 'astro': astro - }; - }, - /** - * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON - * @param y lunar year - * @param m lunar month - * @param d lunar day - * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可] - * @return JSON object - * @eg:console.log(calendar.lunar2solar(1987,9,10)); - */ - lunar2solar: function(y, m, d, isLeapMonth) { //参数区间1900.1.31~2100.12.1 - isLeapMonth = !!isLeapMonth; - let leapOffset = 0; - let leapMonth = calendar.leapMonth(y); - let leapDay = calendar.leapDays(y); - if (isLeapMonth && (leapMonth != m)) { - return -1; - } //传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同 - if (y == 2100 && m == 12 && d > 1 || y == 1900 && m == 1 && d < 31) { - return -1; - } //超出了最大极限值 - let day = calendar.monthDays(y, m); - let _day = day; - //bugFix 2016-9-25 - //if month is leap, _day use leapDays method - if (isLeapMonth) { - _day = calendar.leapDays(y, m); - } - if (y < 1900 || y > 2100 || d > _day) { - return -1; - } //参数合法性效验 - //计算农历的时间差 - let offset = 0; - for (let i = 1900; i < y; i++) { - offset += calendar.lYearDays(i); - } - let leap = 0, - isAdd = false; - for (let i = 1; i < m; i++) { - leap = calendar.leapMonth(y); - if (!isAdd) { //处理闰月 - if (leap <= i && leap > 0) { - offset += calendar.leapDays(y); - isAdd = true; - } - } - offset += calendar.monthDays(y, i); - } - //转换闰月农历 需补充该年闰月的前一个月的时差 - if (isLeapMonth) { - offset += day; - } - //1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点) - let stmap = Date.UTC(1900, 1, 30, 0, 0, 0); - let calObj = new Date((offset + d - 31) * 86400000 + stmap); - let cY = calObj.getUTCFullYear(); - let cM = calObj.getUTCMonth() + 1; - let cD = calObj.getUTCDate(); - return calendar.solar2lunar(cY, cM, cD); - } -}; - -export default { - solar2lunar: calendar.solar2lunar, - lunar2solar: calendar.lunar2solar -}; \ No newline at end of file diff --git a/uniapp/uni_modules/l-calendar/components/l-calendar/l-calendar.vue b/uniapp/uni_modules/l-calendar/components/l-calendar/l-calendar.vue deleted file mode 100644 index 341860a..0000000 --- a/uniapp/uni_modules/l-calendar/components/l-calendar/l-calendar.vue +++ /dev/null @@ -1,832 +0,0 @@ - - - - diff --git a/uniapp/uni_modules/l-calendar/package.json b/uniapp/uni_modules/l-calendar/package.json deleted file mode 100644 index 7a0b99d..0000000 --- a/uniapp/uni_modules/l-calendar/package.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "id": "l-calendar", - "displayName": "日历 日期选择 选择年月日", - "version": "1.0.3", - "description": "日历 日期选择 选择年月日 仅测过小程序其他自测", - "keywords": [ - "日历", - "日期选择", - "选择年月日", - "年月日", - "l-calendar" -], - "repository": "", -"engines": { - }, - "dcloudext": { - "type": "component-vue", - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "插件不采集任何数据", - "permissions": "无" - }, - "npmurl": "" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y" - }, - "client": { - "Vue": { - "vue2": "y", - "vue3": "y" - }, - "App": { - "app-vue": "y", - "app-nvue": "y" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y", - "钉钉": "y", - "快手": "y", - "飞书": "y", - "京东": "y" - }, - "快应用": { - "华为": "y", - "联盟": "y" - } - } - } - } -} \ No newline at end of file diff --git a/uniapp/uni_modules/l-calendar/readme.md b/uniapp/uni_modules/l-calendar/readme.md deleted file mode 100644 index 6b5f408..0000000 --- a/uniapp/uni_modules/l-calendar/readme.md +++ /dev/null @@ -1,40 +0,0 @@ -# l-calendar - -# ## 使用方法 -配置easycom规则后,自动按需引入,无需`import`组件,直接引用即可。 - -```html - -``` -## 组件属性 - -| 属性 | 类型 | 默认值 | 说明 | -|:---:|:---:|:---:|---| -| value | Boolean | false | v-module 双向绑定的值 | -| isRange | Boolean | false | 是否选择范围 true是 false选择单个日期 | -| maxYear | Number | 2100 | 可切换最大年份 | -| minYear | Number | 1920 | 可切换最小年份 | -| minDate | String | '1920-01-01' | 最小可选日期 不在范围内日期禁选 | -| maxDate | String | '2100-1-1' | 最大可选日期 不在范围内日期禁选 | -| title | String | '日期选择' | 组件标题 | -| monthChangeColor | String | #999 | 月份切换箭头颜色 | -| yearChangeColor | String | '#bfbfbf' | 年份切换箭头颜色 | -| color | String | #333 | 默认日期字体颜色 | -| activeColor | String | '#fff' | 选中日期字体颜色 | -| activeBgColor | String | '#55BBF9' | 选中日期背景色 | -| rangeBgColor | String | rgba(85, 187, 249, 0.1) | 范围内日期背景色 | -| startText | String | 开始 | 范围选择时生效 开始日期自定义文字 | -| endText | String | 结束 | 范围选择时生效 结束日期自定义文字 | -| lunar | Boolean | true | 是否显示农历 | -| initStartDate | String | '' | 初始化开始选中日期 格式: 2020-06-06 或 2020/06/06 | -| initEndDate | String | '' | 初始化开始选中日期 格式: 2020-06-06 或 2020/06/06 | - - -## 组件事件 - -| 名称 | 触发时机 | -|:---:|---| -| change | 点击确定按钮选择日期 | - diff --git a/uniapp/uni_modules/uni-breadcrumb/changelog.md b/uniapp/uni_modules/uni-breadcrumb/changelog.md deleted file mode 100644 index 016e6ce..0000000 --- a/uniapp/uni_modules/uni-breadcrumb/changelog.md +++ /dev/null @@ -1,6 +0,0 @@ -## 0.1.2(2022-06-08) -- 修复 微信小程序 separator 不显示问题 -## 0.1.1(2022-06-02) -- 新增 支持 uni.scss 修改颜色 -## 0.1.0(2022-04-21) -- 初始化 diff --git a/uniapp/uni_modules/uni-breadcrumb/components/uni-breadcrumb-item/uni-breadcrumb-item.vue b/uniapp/uni_modules/uni-breadcrumb/components/uni-breadcrumb-item/uni-breadcrumb-item.vue deleted file mode 100644 index b9edbd6..0000000 --- a/uniapp/uni_modules/uni-breadcrumb/components/uni-breadcrumb-item/uni-breadcrumb-item.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - diff --git a/uniapp/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue b/uniapp/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue deleted file mode 100644 index 94493a2..0000000 --- a/uniapp/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/uniapp/uni_modules/uni-breadcrumb/package.json b/uniapp/uni_modules/uni-breadcrumb/package.json deleted file mode 100644 index e5f33e8..0000000 --- a/uniapp/uni_modules/uni-breadcrumb/package.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "id": "uni-breadcrumb", - "displayName": "uni-breadcrumb 面包屑", - "version": "0.1.2", - "description": "Breadcrumb 面包屑", - "keywords": [ - "uni-breadcrumb", - "breadcrumb", - "uni-ui", - "面包屑导航", - "面包屑" -], - "repository": "", - "engines": { - "HBuilderX": "^3.1.0" - }, - "dcloudext": { - "category": [ - "前端组件", - "通用组件" - ], - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y" - }, - "client": { - "Vue": { - "vue2": "y", - "vue3": "y" - }, - "App": { - "app-vue": "y", - "app-nvue": "n" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "u", - "百度": "u", - "字节跳动": "u", - "QQ": "u", - "京东": "u" - }, - "快应用": { - "华为": "u", - "联盟": "u" - } - } - } - } -} diff --git a/uniapp/uni_modules/uni-breadcrumb/readme.md b/uniapp/uni_modules/uni-breadcrumb/readme.md deleted file mode 100644 index 6976b8d..0000000 --- a/uniapp/uni_modules/uni-breadcrumb/readme.md +++ /dev/null @@ -1,66 +0,0 @@ - -## breadcrumb 面包屑导航 -> **组件名:uni-breadcrumb** -> 代码块: `ubreadcrumb` - -显示当前页面的路径,快速返回之前的任意页面。 - -### 安装方式 - -本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。 - -如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55) - -### 基本用法 - -在 ``template`` 中使用组件 - -```html - - {{route.name}} - -``` - -```js -export default { - name: "uni-stat-breadcrumb", - data() { - return { - routes: [{ - to: '/A', - name: 'A页面' - }, { - to: '/B', - name: 'B页面' - }, { - to: '/C', - name: 'C页面' - }] - }; - } - } -``` - - -## API - -### Breadcrumb Props - -|属性名 |类型 |默认值 |说明 | -|:-: |:-: |:-: |:-: | -|separator |String |斜杠'/' |分隔符 | -|separatorClass |String | |图标分隔符 class | - -### Breadcrumb Item Props - -|属性名 |类型 |默认值 |说明 | -|:-: |:-: |:-: |:-: | -|to |String | |路由跳转页面路径 | -|replace|Boolean | |在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录(仅 h5 支持) | - - - - -## 组件示例 - -点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/breadcrumb/breadcrumb](https://hellouniapp.dcloud.net.cn/pages/extUI/breadcrumb/breadcrumb) \ No newline at end of file diff --git a/uniapp/uni_modules/uni-datetime-picker/changelog.md b/uniapp/uni_modules/uni-datetime-picker/changelog.md deleted file mode 100644 index 102ddb1..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/changelog.md +++ /dev/null @@ -1,168 +0,0 @@ -## 2.2.38(2024-10-15) -- 修复 微信小程序中的getSystemInfo警告 -## 2.2.37(2024-10-12) -- 修复 微信小程序中的getSystemInfo警告 -## 2.2.36(2024-10-12) -- 修复 微信小程序中的getSystemInfo警告 -## 2.2.35(2024-09-21) -- 修复 没有选中日期时点击确定直接报错的Bug [详情](https://ask.dcloud.net.cn/question/198168) -## 2.2.34(2024-04-24) -- 新增 日期点击事件,在点击日期时会触发该事件。 -## 2.2.33(2024-04-15) -- 修复 抖音小程序事件传递失效bug -## 2.2.32(2024-02-20) -- 修复 日历的close事件触发异常的bug [详情](https://github.com/dcloudio/uni-ui/issues/844) -## 2.2.31(2024-02-20) -- 修复 h5平台 右边日历的月份默认+1的bug [详情](https://github.com/dcloudio/uni-ui/issues/841) -## 2.2.30(2024-01-31) -- 修复 隐藏“秒”时,在IOS15及以下版本时出现 结束时间在开始时间之前 的bug [详情](https://github.com/dcloudio/uni-ui/issues/788) -## 2.2.29(2024-01-20) -- 新增 show事件,弹窗弹出时触发该事件 [详情](https://github.com/dcloudio/uni-app/issues/4694) -## 2.2.28(2024-01-18) -- 去除 noChange事件,当进行日期范围选择时,若只选了一天,则开始结束日期都为同一天 [详情](https://github.com/dcloudio/uni-ui/issues/815) -## 2.2.27(2024-01-10) -- 优化 增加noChange事件,当进行日期范围选择时,若有空值,则触发该事件 [详情](https://github.com/dcloudio/uni-ui/issues/815) -## 2.2.26(2024-01-08) -- 修复 字节小程序时间选择范围器失效问题 [详情](https://github.com/dcloudio/uni-ui/issues/834) -## 2.2.25(2023-10-18) -- 修复 PC端初次修改时间,开始时间未更新的Bug [详情](https://github.com/dcloudio/uni-ui/issues/737) -## 2.2.24(2023-06-02) -- 修复 部分情况修改时间,开始、结束时间显示异常的Bug [详情](https://ask.dcloud.net.cn/question/171146) -- 优化 当前月可以选择上月、下月的日期的Bug -## 2.2.23(2023-05-02) -- 修复 部分情况修改时间,开始时间未更新的Bug [详情](https://github.com/dcloudio/uni-ui/issues/737) -- 修复 部分平台及设备第一次点击无法显示弹框的Bug -- 修复 ios 日期格式未补零显示及使用异常的Bug [详情](https://ask.dcloud.net.cn/question/162979) -## 2.2.22(2023-03-30) -- 修复 日历 picker 修改年月后,自动选中当月1日的Bug [详情](https://ask.dcloud.net.cn/question/165937) -- 修复 小程序端 低版本 ios NaN的Bug [详情](https://ask.dcloud.net.cn/question/162979) -## 2.2.21(2023-02-20) -- 修复 firefox 浏览器显示区域点击无法拉起日历弹框的Bug [详情](https://ask.dcloud.net.cn/question/163362) -## 2.2.20(2023-02-17) -- 优化 值为空依然选中当天问题 -- 优化 提供 default-value 属性支持配置选择器打开时默认显示的时间 -- 优化 非范围选择未选择日期时间,点击确认按钮选中当前日期时间 -- 优化 字节小程序日期时间范围选择,底部日期换行的Bug -## 2.2.19(2023-02-09) -- 修复 2.2.18 引起范围选择配置 end 选择无效的Bug [详情](https://github.com/dcloudio/uni-ui/issues/686) -## 2.2.18(2023-02-08) -- 修复 移动端范围选择change事件触发异常的Bug [详情](https://github.com/dcloudio/uni-ui/issues/684) -- 优化 PC端输入日期格式错误时返回当前日期时间 -- 优化 PC端输入日期时间超出 start、end 限制的Bug -- 优化 移动端日期时间范围用法时间展示不完整问题 -## 2.2.17(2023-02-04) -- 修复 小程序端绑定 Date 类型报错的Bug [详情](https://github.com/dcloudio/uni-ui/issues/679) -- 修复 vue3 time-picker 无法显示绑定时分秒的Bug -## 2.2.16(2023-02-02) -- 修复 字节小程序报错的Bug -## 2.2.15(2023-02-02) -- 修复 某些情况切换月份错误的Bug -## 2.2.14(2023-01-30) -- 修复 某些情况切换月份错误的Bug [详情](https://ask.dcloud.net.cn/question/162033) -## 2.2.13(2023-01-10) -- 修复 多次加载组件造成内存占用的Bug -## 2.2.12(2022-12-01) -- 修复 vue3 下 i18n 国际化初始值不正确的Bug -## 2.2.11(2022-09-19) -- 修复 支付宝小程序样式错乱的Bug [详情](https://github.com/dcloudio/uni-app/issues/3861) -## 2.2.10(2022-09-19) -- 修复 反向选择日期范围,日期显示异常的Bug [详情](https://ask.dcloud.net.cn/question/153401?item_id=212892&rf=false) -## 2.2.9(2022-09-16) -- 可以使用 uni-scss 控制主题色 -## 2.2.8(2022-09-08) -- 修复 close事件无效的Bug -## 2.2.7(2022-09-05) -- 修复 移动端 maskClick 无效的Bug [详情](https://ask.dcloud.net.cn/question/140824) -## 2.2.6(2022-06-30) -- 优化 组件样式,调整了组件图标大小、高度、颜色等,与uni-ui风格保持一致 -## 2.2.5(2022-06-24) -- 修复 日历顶部年月及底部确认未国际化的Bug -## 2.2.4(2022-03-31) -- 修复 Vue3 下动态赋值,单选类型未响应的Bug -## 2.2.3(2022-03-28) -- 修复 Vue3 下动态赋值未响应的Bug -## 2.2.2(2021-12-10) -- 修复 clear-icon 属性在小程序平台不生效的Bug -## 2.2.1(2021-12-10) -- 修复 日期范围选在小程序平台,必须多点击一次才能取消选中状态的Bug -## 2.2.0(2021-11-19) -- 优化 组件UI,并提供设计资源 [详情](https://uniapp.dcloud.io/component/uniui/resource) -- 文档迁移 [https://uniapp.dcloud.io/component/uniui/uni-datetime-picker](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker) -## 2.1.5(2021-11-09) -- 新增 提供组件设计资源,组件样式调整 -## 2.1.4(2021-09-10) -- 修复 hide-second 在移动端的Bug -- 修复 单选赋默认值时,赋值日期未高亮的Bug -- 修复 赋默认值时,移动端未正确显示时间的Bug -## 2.1.3(2021-09-09) -- 新增 hide-second 属性,支持只使用时分,隐藏秒 -## 2.1.2(2021-09-03) -- 优化 取消选中时(范围选)直接开始下一次选择, 避免多点一次 -- 优化 移动端支持清除按钮,同时支持通过 ref 调用组件的 clear 方法 -- 优化 调整字号大小,美化日历界面 -- 修复 因国际化导致的 placeholder 失效的Bug -## 2.1.1(2021-08-24) -- 新增 支持国际化 -- 优化 范围选择器在 pc 端过宽的问题 -## 2.1.0(2021-08-09) -- 新增 适配 vue3 -## 2.0.19(2021-08-09) -- 新增 支持作为 uni-forms 子组件相关功能 -- 修复 在 uni-forms 中使用时,选择时间报 NAN 错误的Bug -## 2.0.18(2021-08-05) -- 修复 type 属性动态赋值无效的Bug -- 修复 ‘确认’按钮被 tabbar 遮盖 bug -- 修复 组件未赋值时范围选左、右日历相同的Bug -## 2.0.17(2021-08-04) -- 修复 范围选未正确显示当前值的Bug -- 修复 h5 平台(移动端)报错 'cale' of undefined 的Bug -## 2.0.16(2021-07-21) -- 新增 return-type 属性支持返回 date 日期对象 -## 2.0.15(2021-07-14) -- 修复 单选日期类型,初始赋值后不在当前日历的Bug -- 新增 clearIcon 属性,显示框的清空按钮可配置显示隐藏(仅 pc 有效) -- 优化 移动端移除显示框的清空按钮,无实际用途 -## 2.0.14(2021-07-14) -- 修复 组件赋值为空,界面未更新的Bug -- 修复 start 和 end 不能动态赋值的Bug -- 修复 范围选类型,用户选择后再次选择右侧日历(结束日期)显示不正确的Bug -## 2.0.13(2021-07-08) -- 修复 范围选择不能动态赋值的Bug -## 2.0.12(2021-07-08) -- 修复 范围选择的初始时间在一个月内时,造成无法选择的bug -## 2.0.11(2021-07-08) -- 优化 弹出层在超出视窗边缘定位不准确的问题 -## 2.0.10(2021-07-08) -- 修复 范围起始点样式的背景色与今日样式的字体前景色融合,导致日期字体看不清的Bug -- 优化 弹出层在超出视窗边缘被遮盖的问题 -## 2.0.9(2021-07-07) -- 新增 maskClick 事件 -- 修复 特殊情况日历 rpx 布局错误的Bug,rpx -> px -- 修复 范围选择时清空返回值不合理的bug,['', ''] -> [] -## 2.0.8(2021-07-07) -- 新增 日期时间显示框支持插槽 -## 2.0.7(2021-07-01) -- 优化 添加 uni-icons 依赖 -## 2.0.6(2021-05-22) -- 修复 图标在小程序上不显示的Bug -- 优化 重命名引用组件,避免潜在组件命名冲突 -## 2.0.5(2021-05-20) -- 优化 代码目录扁平化 -## 2.0.4(2021-05-12) -- 新增 组件示例地址 -## 2.0.3(2021-05-10) -- 修复 ios 下不识别 '-' 日期格式的Bug -- 优化 pc 下弹出层添加边框和阴影 -## 2.0.2(2021-05-08) -- 修复 在 admin 中获取弹出层定位错误的bug -## 2.0.1(2021-05-08) -- 修复 type 属性向下兼容,默认值从 date 变更为 datetime -## 2.0.0(2021-04-30) -- 支持日历形式的日期+时间的范围选择 - > 注意:此版本不向后兼容,不再支持单独时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker) -## 1.0.6(2021-03-18) -- 新增 hide-second 属性,时间支持仅选择时、分 -- 修复 选择跟显示的日期不一样的Bug -- 修复 chang事件触发2次的Bug -- 修复 分、秒 end 范围错误的Bug -- 优化 更好的 nvue 适配 diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue deleted file mode 100644 index dba9887..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue +++ /dev/null @@ -1,177 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue deleted file mode 100644 index 0f9e121..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue +++ /dev/null @@ -1,947 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json deleted file mode 100644 index 024f22f..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "uni-datetime-picker.selectDate": "select date", - "uni-datetime-picker.selectTime": "select time", - "uni-datetime-picker.selectDateTime": "select date and time", - "uni-datetime-picker.startDate": "start date", - "uni-datetime-picker.endDate": "end date", - "uni-datetime-picker.startTime": "start time", - "uni-datetime-picker.endTime": "end time", - "uni-datetime-picker.ok": "ok", - "uni-datetime-picker.clear": "clear", - "uni-datetime-picker.cancel": "cancel", - "uni-datetime-picker.year": "-", - "uni-datetime-picker.month": "", - "uni-calender.MON": "MON", - "uni-calender.TUE": "TUE", - "uni-calender.WED": "WED", - "uni-calender.THU": "THU", - "uni-calender.FRI": "FRI", - "uni-calender.SAT": "SAT", - "uni-calender.SUN": "SUN", - "uni-calender.confirm": "confirm" -} diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js deleted file mode 100644 index de7509c..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import en from './en.json' -import zhHans from './zh-Hans.json' -import zhHant from './zh-Hant.json' -export default { - en, - 'zh-Hans': zhHans, - 'zh-Hant': zhHant -} diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json deleted file mode 100644 index d2df5e7..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "uni-datetime-picker.selectDate": "选择日期", - "uni-datetime-picker.selectTime": "选择时间", - "uni-datetime-picker.selectDateTime": "选择日期时间", - "uni-datetime-picker.startDate": "开始日期", - "uni-datetime-picker.endDate": "结束日期", - "uni-datetime-picker.startTime": "开始时间", - "uni-datetime-picker.endTime": "结束时间", - "uni-datetime-picker.ok": "确定", - "uni-datetime-picker.clear": "清除", - "uni-datetime-picker.cancel": "取消", - "uni-datetime-picker.year": "年", - "uni-datetime-picker.month": "月", - "uni-calender.SUN": "日", - "uni-calender.MON": "一", - "uni-calender.TUE": "二", - "uni-calender.WED": "三", - "uni-calender.THU": "四", - "uni-calender.FRI": "五", - "uni-calender.SAT": "六", - "uni-calender.confirm": "确认" -} \ No newline at end of file diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json deleted file mode 100644 index d23fa3c..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "uni-datetime-picker.selectDate": "選擇日期", - "uni-datetime-picker.selectTime": "選擇時間", - "uni-datetime-picker.selectDateTime": "選擇日期時間", - "uni-datetime-picker.startDate": "開始日期", - "uni-datetime-picker.endDate": "結束日期", - "uni-datetime-picker.startTime": "開始时间", - "uni-datetime-picker.endTime": "結束时间", - "uni-datetime-picker.ok": "確定", - "uni-datetime-picker.clear": "清除", - "uni-datetime-picker.cancel": "取消", - "uni-datetime-picker.year": "年", - "uni-datetime-picker.month": "月", - "uni-calender.SUN": "日", - "uni-calender.MON": "一", - "uni-calender.TUE": "二", - "uni-calender.WED": "三", - "uni-calender.THU": "四", - "uni-calender.FRI": "五", - "uni-calender.SAT": "六", - "uni-calender.confirm": "確認" -} \ No newline at end of file diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue deleted file mode 100644 index 1817692..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue +++ /dev/null @@ -1,940 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue deleted file mode 100644 index 6843e80..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue +++ /dev/null @@ -1,1064 +0,0 @@ - - - - diff --git a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js b/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js deleted file mode 100644 index 6e9f47d..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js +++ /dev/null @@ -1,421 +0,0 @@ -class Calendar { - constructor({ - selected, - startDate, - endDate, - range, - } = {}) { - // 当前日期 - this.date = this.getDateObj(new Date()) // 当前初入日期 - // 打点信息 - this.selected = selected || []; - // 起始时间 - this.startDate = startDate - // 终止时间 - this.endDate = endDate - // 是否范围选择 - this.range = range - // 多选状态 - this.cleanMultipleStatus() - // 每周日期 - this.weeks = {} - this.lastHover = false - } - /** - * 设置日期 - * @param {Object} date - */ - setDate(date) { - const selectDate = this.getDateObj(date) - this.getWeeks(selectDate.fullDate) - } - - /** - * 清理多选状态 - */ - cleanMultipleStatus() { - this.multipleStatus = { - before: '', - after: '', - data: [] - } - } - - setStartDate(startDate) { - this.startDate = startDate - } - - setEndDate(endDate) { - this.endDate = endDate - } - - getPreMonthObj(date) { - date = fixIosDateFormat(date) - date = new Date(date) - - const oldMonth = date.getMonth() - date.setMonth(oldMonth - 1) - const newMonth = date.getMonth() - if (oldMonth !== 0 && newMonth - oldMonth === 0) { - date.setMonth(newMonth - 1) - } - return this.getDateObj(date) - } - getNextMonthObj(date) { - date = fixIosDateFormat(date) - date = new Date(date) - - const oldMonth = date.getMonth() - date.setMonth(oldMonth + 1) - const newMonth = date.getMonth() - if (newMonth - oldMonth > 1) { - date.setMonth(newMonth - 1) - } - return this.getDateObj(date) - } - - /** - * 获取指定格式Date对象 - */ - getDateObj(date) { - date = fixIosDateFormat(date) - date = new Date(date) - - return { - fullDate: getDate(date), - year: date.getFullYear(), - month: addZero(date.getMonth() + 1), - date: addZero(date.getDate()), - day: date.getDay() - } - } - - /** - * 获取上一个月日期集合 - */ - getPreMonthDays(amount, dateObj) { - const result = [] - for (let i = amount - 1; i >= 0; i--) { - const month = dateObj.month - 1 - result.push({ - date: new Date(dateObj.year, month, -i).getDate(), - month, - disable: true - }) - } - return result - } - /** - * 获取本月日期集合 - */ - getCurrentMonthDays(amount, dateObj) { - const result = [] - const fullDate = this.date.fullDate - for (let i = 1; i <= amount; i++) { - const currentDate = `${dateObj.year}-${dateObj.month}-${addZero(i)}` - const isToday = fullDate === currentDate - // 获取打点信息 - const info = this.selected && this.selected.find((item) => { - if (this.dateEqual(currentDate, item.date)) { - return item - } - }) - - // 日期禁用 - let disableBefore = true - let disableAfter = true - if (this.startDate) { - disableBefore = dateCompare(this.startDate, currentDate) - } - - if (this.endDate) { - disableAfter = dateCompare(currentDate, this.endDate) - } - - let multiples = this.multipleStatus.data - let multiplesStatus = -1 - if (this.range && multiples) { - multiplesStatus = multiples.findIndex((item) => { - return this.dateEqual(item, currentDate) - }) - } - const checked = multiplesStatus !== -1 - - result.push({ - fullDate: currentDate, - year: dateObj.year, - date: i, - multiple: this.range ? checked : false, - beforeMultiple: this.isLogicBefore(currentDate, this.multipleStatus.before, this.multipleStatus.after), - afterMultiple: this.isLogicAfter(currentDate, this.multipleStatus.before, this.multipleStatus.after), - month: dateObj.month, - disable: (this.startDate && !dateCompare(this.startDate, currentDate)) || (this.endDate && !dateCompare( - currentDate, this.endDate)), - isToday, - userChecked: false, - extraInfo: info - }) - } - return result - } - /** - * 获取下一个月日期集合 - */ - _getNextMonthDays(amount, dateObj) { - const result = [] - const month = dateObj.month + 1 - for (let i = 1; i <= amount; i++) { - result.push({ - date: i, - month, - disable: true - }) - } - return result - } - - /** - * 获取当前日期详情 - * @param {Object} date - */ - getInfo(date) { - if (!date) { - date = new Date() - } - const res = this.calendar.find(item => item.fullDate === this.getDateObj(date).fullDate) - return res ? res : this.getDateObj(date) - } - - /** - * 比较时间是否相等 - */ - dateEqual(before, after) { - before = new Date(fixIosDateFormat(before)) - after = new Date(fixIosDateFormat(after)) - return before.valueOf() === after.valueOf() - } - - /** - * 比较真实起始日期 - */ - - isLogicBefore(currentDate, before, after) { - let logicBefore = before - if (before && after) { - logicBefore = dateCompare(before, after) ? before : after - } - return this.dateEqual(logicBefore, currentDate) - } - - isLogicAfter(currentDate, before, after) { - let logicAfter = after - if (before && after) { - logicAfter = dateCompare(before, after) ? after : before - } - return this.dateEqual(logicAfter, currentDate) - } - - /** - * 获取日期范围内所有日期 - * @param {Object} begin - * @param {Object} end - */ - geDateAll(begin, end) { - var arr = [] - var ab = begin.split('-') - var ae = end.split('-') - var db = new Date() - db.setFullYear(ab[0], ab[1] - 1, ab[2]) - var de = new Date() - de.setFullYear(ae[0], ae[1] - 1, ae[2]) - var unixDb = db.getTime() - 24 * 60 * 60 * 1000 - var unixDe = de.getTime() - 24 * 60 * 60 * 1000 - for (var k = unixDb; k <= unixDe;) { - k = k + 24 * 60 * 60 * 1000 - arr.push(this.getDateObj(new Date(parseInt(k))).fullDate) - } - return arr - } - - /** - * 获取多选状态 - */ - setMultiple(fullDate) { - if (!this.range) return - - let { - before, - after - } = this.multipleStatus - if (before && after) { - if (!this.lastHover) { - this.lastHover = true - return - } - this.multipleStatus.before = fullDate - this.multipleStatus.after = '' - this.multipleStatus.data = [] - this.multipleStatus.fulldate = '' - this.lastHover = false - } else { - if (!before) { - this.multipleStatus.before = fullDate - this.multipleStatus.after = undefined; - this.lastHover = false - } else { - this.multipleStatus.after = fullDate - if (dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus - .after); - } else { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus - .before); - } - this.lastHover = true - } - } - this.getWeeks(fullDate) - } - - /** - * 鼠标 hover 更新多选状态 - */ - setHoverMultiple(fullDate) { - //抖音小程序点击会触发hover事件,需要避免一下 - // #ifndef MP-TOUTIAO - if (!this.range || this.lastHover) return - const { - before - } = this.multipleStatus - - if (!before) { - this.multipleStatus.before = fullDate - } else { - this.multipleStatus.after = fullDate - if (dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after); - } else { - this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before); - } - } - this.getWeeks(fullDate) - // #endif - - } - - /** - * 更新默认值多选状态 - */ - setDefaultMultiple(before, after) { - this.multipleStatus.before = before - this.multipleStatus.after = after - if (before && after) { - if (dateCompare(before, after)) { - this.multipleStatus.data = this.geDateAll(before, after); - this.getWeeks(after) - } else { - this.multipleStatus.data = this.geDateAll(after, before); - this.getWeeks(before) - } - } - } - - /** - * 获取每周数据 - * @param {Object} dateData - */ - getWeeks(dateData) { - const { - year, - month, - } = this.getDateObj(dateData) - - const preMonthDayAmount = new Date(year, month - 1, 1).getDay() - const preMonthDays = this.getPreMonthDays(preMonthDayAmount, this.getDateObj(dateData)) - - const currentMonthDayAmount = new Date(year, month, 0).getDate() - const currentMonthDays = this.getCurrentMonthDays(currentMonthDayAmount, this.getDateObj(dateData)) - - const nextMonthDayAmount = 42 - preMonthDayAmount - currentMonthDayAmount - const nextMonthDays = this._getNextMonthDays(nextMonthDayAmount, this.getDateObj(dateData)) - - const calendarDays = [...preMonthDays, ...currentMonthDays, ...nextMonthDays] - - const weeks = new Array(6) - for (let i = 0; i < calendarDays.length; i++) { - const index = Math.floor(i / 7) - if (!weeks[index]) { - weeks[index] = new Array(7) - } - weeks[index][i % 7] = calendarDays[i] - } - - this.calendar = calendarDays - this.weeks = weeks - } -} - -function getDateTime(date, hideSecond) { - return `${getDate(date)} ${getTime(date, hideSecond)}` -} - -function getDate(date) { - date = fixIosDateFormat(date) - date = new Date(date) - const year = date.getFullYear() - const month = date.getMonth() + 1 - const day = date.getDate() - return `${year}-${addZero(month)}-${addZero(day)}` -} - -function getTime(date, hideSecond) { - date = fixIosDateFormat(date) - date = new Date(date) - const hour = date.getHours() - const minute = date.getMinutes() - const second = date.getSeconds() - return hideSecond ? `${addZero(hour)}:${addZero(minute)}` : `${addZero(hour)}:${addZero(minute)}:${addZero(second)}` -} - -function addZero(num) { - if (num < 10) { - num = `0${num}` - } - return num -} - -function getDefaultSecond(hideSecond) { - return hideSecond ? '00:00' : '00:00:00' -} - -function dateCompare(startDate, endDate) { - startDate = new Date(fixIosDateFormat(startDate)) - endDate = new Date(fixIosDateFormat(endDate)) - return startDate <= endDate -} - -function checkDate(date) { - const dateReg = /((19|20)\d{2})(-|\/)\d{1,2}(-|\/)\d{1,2}/g - return date.match(dateReg) -} -//ios低版本15及以下,无法匹配 没有 ’秒‘ 时的情况,所以需要在末尾 秒 加上 问号 -const dateTimeReg = /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])( [0-5]?[0-9]:[0-5]?[0-9](:[0-5]?[0-9])?)?$/; - -function fixIosDateFormat(value) { - if (typeof value === 'string' && dateTimeReg.test(value)) { - value = value.replace(/-/g, '/') - } - return value -} - -export { - Calendar, - getDateTime, - getDate, - getTime, - addZero, - getDefaultSecond, - dateCompare, - checkDate, - fixIosDateFormat -} diff --git a/uniapp/uni_modules/uni-datetime-picker/package.json b/uniapp/uni_modules/uni-datetime-picker/package.json deleted file mode 100644 index a886f1b..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "id": "uni-datetime-picker", - "displayName": "uni-datetime-picker 日期选择器", - "version": "2.2.38", - "description": "uni-datetime-picker 日期时间选择器,支持日历,支持范围选择", - "keywords": [ - "uni-datetime-picker", - "uni-ui", - "uniui", - "日期时间选择器", - "日期时间" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "" - }, - "directories": { - "example": "../../temps/example_temps" - }, -"dcloudext": { - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", - "type": "component-vue" - }, - "uni_modules": { - "dependencies": [ - "uni-scss", - "uni-icons" - ], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y", - "alipay": "n" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "n" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} diff --git a/uniapp/uni_modules/uni-datetime-picker/readme.md b/uniapp/uni_modules/uni-datetime-picker/readme.md deleted file mode 100644 index 162fbef..0000000 --- a/uniapp/uni_modules/uni-datetime-picker/readme.md +++ /dev/null @@ -1,21 +0,0 @@ - - -> `重要通知:组件升级更新 2.0.0 后,支持日期+时间范围选择,组件 ui 将使用日历选择日期,ui 变化较大,同时支持 PC 和 移动端。此版本不向后兼容,不再支持单独的时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)。若仍需使用旧版本,可在插件市场下载*非uni_modules版本*,旧版本将不再维护` - -## DatetimePicker 时间选择器 - -> **组件名:uni-datetime-picker** -> 代码块: `uDatetimePicker` - - -该组件的优势是,支持**时间戳**输入和输出(起始时间、终止时间也支持时间戳),可**同时选择**日期和时间。 - -若只是需要单独选择日期和时间,不需要时间戳输入和输出,可使用原生的 picker 组件。 - -**_点击 picker 默认值规则:_** - -- 若设置初始值 value, 会显示在 picker 显示框中 -- 若无初始值 value,则初始值 value 为当前本地时间 Date.now(), 但不会显示在 picker 显示框中 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file diff --git a/uniapp/uni_modules/uni-easyinput/changelog.md b/uniapp/uni_modules/uni-easyinput/changelog.md deleted file mode 100644 index 84c72eb..0000000 --- a/uniapp/uni_modules/uni-easyinput/changelog.md +++ /dev/null @@ -1,115 +0,0 @@ -## 1.1.19(2024-07-18) -- 修复 初始值传入 null 导致input报错的bug -## 1.1.18(2024-04-11) -- 修复 easyinput组件双向绑定问题 -## 1.1.17(2024-03-28) -- 修复 在头条小程序下丢失事件绑定的问题 -## 1.1.16(2024-03-20) -- 修复 在密码输入情况下 清除和小眼睛覆盖bug 在edge浏览器下显示双眼睛bug -## 1.1.15(2024-02-21) -- 新增 左侧插槽:left -## 1.1.14(2024-02-19) -- 修复 onBlur的emit传值错误 -## 1.1.12(2024-01-29) -- 补充 adjust-position文档属性补充 -## 1.1.11(2024-01-29) -- 补充 adjust-position属性传递值:(Boolean)当键盘弹起时,是否自动上推页面 -## 1.1.10(2024-01-22) -- 去除 移除无用的log输出 -## 1.1.9(2023-04-11) -- 修复 vue3 下 keyboardheightchange 事件报错的bug -## 1.1.8(2023-03-29) -- 优化 trim 属性默认值 -## 1.1.7(2023-03-29) -- 新增 cursor-spacing 属性 -## 1.1.6(2023-01-28) -- 新增 keyboardheightchange 事件,可监听键盘高度变化 -## 1.1.5(2022-11-29) -- 优化 主题样式 -## 1.1.4(2022-10-27) -- 修复 props 中背景颜色无默认值的bug -## 1.1.0(2022-06-30) - -- 新增 在 uni-forms 1.4.0 中使用可以在 blur 时校验内容 -- 新增 clear 事件,点击右侧叉号图标触发 -- 新增 change 事件 ,仅在输入框失去焦点或用户按下回车时触发 -- 优化 组件样式,组件获取焦点时高亮显示,图标颜色调整等 - -## 1.0.5(2022-06-07) - -- 优化 clearable 显示策略 - -## 1.0.4(2022-06-07) - -- 优化 clearable 显示策略 - -## 1.0.3(2022-05-20) - -- 修复 关闭图标某些情况下无法取消的 bug - -## 1.0.2(2022-04-12) - -- 修复 默认值不生效的 bug - -## 1.0.1(2022-04-02) - -- 修复 value 不能为 0 的 bug - -## 1.0.0(2021-11-19) - -- 优化 组件 UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) -- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-easyinput](https://uniapp.dcloud.io/component/uniui/uni-easyinput) - -## 0.1.4(2021-08-20) - -- 修复 在 uni-forms 的动态表单中默认值校验不通过的 bug - -## 0.1.3(2021-08-11) - -- 修复 在 uni-forms 中重置表单,错误信息无法清除的问题 - -## 0.1.2(2021-07-30) - -- 优化 vue3 下事件警告的问题 - -## 0.1.1 - -- 优化 errorMessage 属性支持 Boolean 类型 - -## 0.1.0(2021-07-13) - -- 组件兼容 vue3,如何创建 vue3 项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) - -## 0.0.16(2021-06-29) - -- 修复 confirmType 属性(仅 type="text" 生效)导致多行文本框无法换行的 bug - -## 0.0.15(2021-06-21) - -- 修复 passwordIcon 属性拼写错误的 bug - -## 0.0.14(2021-06-18) - -- 新增 passwordIcon 属性,当 type=password 时是否显示小眼睛图标 -- 修复 confirmType 属性不生效的问题 - -## 0.0.13(2021-06-04) - -- 修复 disabled 状态可清出内容的 bug - -## 0.0.12(2021-05-12) - -- 新增 组件示例地址 - -## 0.0.11(2021-05-07) - -- 修复 input-border 属性不生效的问题 - -## 0.0.10(2021-04-30) - -- 修复 ios 遮挡文字、显示一半的问题 - -## 0.0.9(2021-02-05) - -- 调整为 uni_modules 目录规范 -- 优化 兼容 nvue 页面 diff --git a/uniapp/uni_modules/uni-easyinput/components/uni-easyinput/common.js b/uniapp/uni_modules/uni-easyinput/components/uni-easyinput/common.js deleted file mode 100644 index fde8d3c..0000000 --- a/uniapp/uni_modules/uni-easyinput/components/uni-easyinput/common.js +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @desc 函数防抖 - * @param func 目标函数 - * @param wait 延迟执行毫秒数 - * @param immediate true - 立即执行, false - 延迟执行 - */ -export const debounce = function(func, wait = 1000, immediate = true) { - let timer; - return function() { - let context = this, - args = arguments; - if (timer) clearTimeout(timer); - if (immediate) { - let callNow = !timer; - timer = setTimeout(() => { - timer = null; - }, wait); - if (callNow) func.apply(context, args); - } else { - timer = setTimeout(() => { - func.apply(context, args); - }, wait) - } - } -} -/** - * @desc 函数节流 - * @param func 函数 - * @param wait 延迟执行毫秒数 - * @param type 1 使用表时间戳,在时间段开始的时候触发 2 使用表定时器,在时间段结束的时候触发 - */ -export const throttle = (func, wait = 1000, type = 1) => { - let previous = 0; - let timeout; - return function() { - let context = this; - let args = arguments; - if (type === 1) { - let now = Date.now(); - - if (now - previous > wait) { - func.apply(context, args); - previous = now; - } - } else if (type === 2) { - if (!timeout) { - timeout = setTimeout(() => { - timeout = null; - func.apply(context, args) - }, wait) - } - } - } -} diff --git a/uniapp/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue b/uniapp/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue deleted file mode 100644 index 93506d6..0000000 --- a/uniapp/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue +++ /dev/null @@ -1,676 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/uni_modules/uni-easyinput/package.json b/uniapp/uni_modules/uni-easyinput/package.json deleted file mode 100644 index 2939256..0000000 --- a/uniapp/uni_modules/uni-easyinput/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "id": "uni-easyinput", - "displayName": "uni-easyinput 增强输入框", - "version": "1.1.19", - "description": "Easyinput 组件是对原生input组件的增强", - "keywords": [ - "uni-ui", - "uniui", - "input", - "uni-easyinput", - "输入框" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "" - }, - "directories": { - "example": "../../temps/example_temps" - }, -"dcloudext": { - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", - "type": "component-vue" - }, - "uni_modules": { - "dependencies": [ - "uni-scss", - "uni-icons" - ], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y", - "alipay": "n" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "y" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} \ No newline at end of file diff --git a/uniapp/uni_modules/uni-easyinput/readme.md b/uniapp/uni_modules/uni-easyinput/readme.md deleted file mode 100644 index f1faf8f..0000000 --- a/uniapp/uni_modules/uni-easyinput/readme.md +++ /dev/null @@ -1,11 +0,0 @@ - - -### Easyinput 增强输入框 -> **组件名:uni-easyinput** -> 代码块: `uEasyinput` - - -easyinput 组件是对原生input组件的增强 ,是专门为配合表单组件[uni-forms](https://ext.dcloud.net.cn/plugin?id=2773)而设计的,easyinput 内置了边框,图标等,同时包含 input 所有功能 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-easyinput) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file diff --git a/uniapp/uni_modules/uni-fav/changelog.md b/uniapp/uni_modules/uni-fav/changelog.md deleted file mode 100644 index d8a08d4..0000000 --- a/uniapp/uni_modules/uni-fav/changelog.md +++ /dev/null @@ -1,19 +0,0 @@ -## 1.2.1(2022-05-30) -- 新增 stat 属性 ,是否开启uni统计功能 -## 1.2.0(2021-11-19) -- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) -- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-fav](https://uniapp.dcloud.io/component/uniui/uni-fav) -## 1.1.1(2021-08-24) -- 新增 支持国际化 -## 1.1.0(2021-07-13) -- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) -## 1.0.6(2021-05-12) -- 新增 组件示例地址 -## 1.0.5(2021-04-21) -- 优化 添加依赖 uni-icons, 导入后自动下载依赖 -## 1.0.4(2021-02-05) -- 优化 组件引用关系,通过uni_modules引用组件 -## 1.0.3(2021-02-05) -- 优化 组件引用关系,通过uni_modules引用组件 -## 1.0.2(2021-02-05) -- 调整为uni_modules目录规范 diff --git a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/en.json b/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/en.json deleted file mode 100644 index 9a0759e..0000000 --- a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/en.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "uni-fav.collect": "collect", - "uni-fav.collected": "collected" -} diff --git a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/index.js b/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/index.js deleted file mode 100644 index de7509c..0000000 --- a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import en from './en.json' -import zhHans from './zh-Hans.json' -import zhHant from './zh-Hant.json' -export default { - en, - 'zh-Hans': zhHans, - 'zh-Hant': zhHant -} diff --git a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json b/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json deleted file mode 100644 index 67c89bf..0000000 --- a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "uni-fav.collect": "收藏", - "uni-fav.collected": "已收藏" -} diff --git a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json b/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json deleted file mode 100644 index 67c89bf..0000000 --- a/uniapp/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "uni-fav.collect": "收藏", - "uni-fav.collected": "已收藏" -} diff --git a/uniapp/uni_modules/uni-fav/components/uni-fav/uni-fav.vue b/uniapp/uni_modules/uni-fav/components/uni-fav/uni-fav.vue deleted file mode 100644 index d2c58df..0000000 --- a/uniapp/uni_modules/uni-fav/components/uni-fav/uni-fav.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-fav/package.json b/uniapp/uni_modules/uni-fav/package.json deleted file mode 100644 index cc14697..0000000 --- a/uniapp/uni_modules/uni-fav/package.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "id": "uni-fav", - "displayName": "uni-fav 收藏按钮", - "version": "1.2.1", - "description": " Fav 收藏组件,可自定义颜色、大小。", - "keywords": [ - "fav", - "uni-ui", - "uniui", - "收藏" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "" - }, - "directories": { - "example": "../../temps/example_temps" - }, - "dcloudext": { - "category": [ - "前端组件", - "通用组件" - ], - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" - }, - "uni_modules": { - "dependencies": [ - "uni-scss", - "uni-icons" - ], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "y" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} diff --git a/uniapp/uni_modules/uni-fav/readme.md b/uniapp/uni_modules/uni-fav/readme.md deleted file mode 100644 index 4de125d..0000000 --- a/uniapp/uni_modules/uni-fav/readme.md +++ /dev/null @@ -1,10 +0,0 @@ - - -## Fav 收藏按钮 -> **组件名:uni-fav** -> 代码块: `uFav` - -用于收藏功能,可点击切换选中、不选中的状态。 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-fav) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file diff --git a/uniapp/uni_modules/uni-icons/changelog.md b/uniapp/uni_modules/uni-icons/changelog.md deleted file mode 100644 index 0261131..0000000 --- a/uniapp/uni_modules/uni-icons/changelog.md +++ /dev/null @@ -1,42 +0,0 @@ -## 2.0.10(2024-06-07) -- 优化 uni-app x 中,size 属性的类型 -## 2.0.9(2024-01-12) -fix: 修复图标大小默认值错误的问题 -## 2.0.8(2023-12-14) -- 修复 项目未使用 ts 情况下,打包报错的bug -## 2.0.7(2023-12-14) -- 修复 size 属性为 string 时,不加单位导致尺寸异常的bug -## 2.0.6(2023-12-11) -- 优化 兼容老版本icon类型,如 top ,bottom 等 -## 2.0.5(2023-12-11) -- 优化 兼容老版本icon类型,如 top ,bottom 等 -## 2.0.4(2023-12-06) -- 优化 uni-app x 下示例项目图标排序 -## 2.0.3(2023-12-06) -- 修复 nvue下引入组件报错的bug -## 2.0.2(2023-12-05) --优化 size 属性支持单位 -## 2.0.1(2023-12-05) -- 新增 uni-app x 支持定义图标 -## 1.3.5(2022-01-24) -- 优化 size 属性可以传入不带单位的字符串数值 -## 1.3.4(2022-01-24) -- 优化 size 支持其他单位 -## 1.3.3(2022-01-17) -- 修复 nvue 有些图标不显示的bug,兼容老版本图标 -## 1.3.2(2021-12-01) -- 优化 示例可复制图标名称 -## 1.3.1(2021-11-23) -- 优化 兼容旧组件 type 值 -## 1.3.0(2021-11-19) -- 新增 更多图标 -- 优化 自定义图标使用方式 -- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) -- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-icons](https://uniapp.dcloud.io/component/uniui/uni-icons) -## 1.1.7(2021-11-08) -## 1.2.0(2021-07-30) -- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) -## 1.1.5(2021-05-12) -- 新增 组件示例地址 -## 1.1.4(2021-02-05) -- 调整为uni_modules目录规范 diff --git a/uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue b/uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue deleted file mode 100644 index 8740559..0000000 --- a/uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue +++ /dev/null @@ -1,91 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.vue b/uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.vue deleted file mode 100644 index 7da5356..0000000 --- a/uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons.css b/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons.css deleted file mode 100644 index 0a6b6fe..0000000 --- a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons.css +++ /dev/null @@ -1,664 +0,0 @@ - -.uniui-cart-filled:before { - content: "\e6d0"; -} - -.uniui-gift-filled:before { - content: "\e6c4"; -} - -.uniui-color:before { - content: "\e6cf"; -} - -.uniui-wallet:before { - content: "\e6b1"; -} - -.uniui-settings-filled:before { - content: "\e6ce"; -} - -.uniui-auth-filled:before { - content: "\e6cc"; -} - -.uniui-shop-filled:before { - content: "\e6cd"; -} - -.uniui-staff-filled:before { - content: "\e6cb"; -} - -.uniui-vip-filled:before { - content: "\e6c6"; -} - -.uniui-plus-filled:before { - content: "\e6c7"; -} - -.uniui-folder-add-filled:before { - content: "\e6c8"; -} - -.uniui-color-filled:before { - content: "\e6c9"; -} - -.uniui-tune-filled:before { - content: "\e6ca"; -} - -.uniui-calendar-filled:before { - content: "\e6c0"; -} - -.uniui-notification-filled:before { - content: "\e6c1"; -} - -.uniui-wallet-filled:before { - content: "\e6c2"; -} - -.uniui-medal-filled:before { - content: "\e6c3"; -} - -.uniui-fire-filled:before { - content: "\e6c5"; -} - -.uniui-refreshempty:before { - content: "\e6bf"; -} - -.uniui-location-filled:before { - content: "\e6af"; -} - -.uniui-person-filled:before { - content: "\e69d"; -} - -.uniui-personadd-filled:before { - content: "\e698"; -} - -.uniui-arrowthinleft:before { - content: "\e6d2"; -} - -.uniui-arrowthinup:before { - content: "\e6d3"; -} - -.uniui-arrowthindown:before { - content: "\e6d4"; -} - -.uniui-back:before { - content: "\e6b9"; -} - -.uniui-forward:before { - content: "\e6ba"; -} - -.uniui-arrow-right:before { - content: "\e6bb"; -} - -.uniui-arrow-left:before { - content: "\e6bc"; -} - -.uniui-arrow-up:before { - content: "\e6bd"; -} - -.uniui-arrow-down:before { - content: "\e6be"; -} - -.uniui-arrowthinright:before { - content: "\e6d1"; -} - -.uniui-down:before { - content: "\e6b8"; -} - -.uniui-bottom:before { - content: "\e6b8"; -} - -.uniui-arrowright:before { - content: "\e6d5"; -} - -.uniui-right:before { - content: "\e6b5"; -} - -.uniui-up:before { - content: "\e6b6"; -} - -.uniui-top:before { - content: "\e6b6"; -} - -.uniui-left:before { - content: "\e6b7"; -} - -.uniui-arrowup:before { - content: "\e6d6"; -} - -.uniui-eye:before { - content: "\e651"; -} - -.uniui-eye-filled:before { - content: "\e66a"; -} - -.uniui-eye-slash:before { - content: "\e6b3"; -} - -.uniui-eye-slash-filled:before { - content: "\e6b4"; -} - -.uniui-info-filled:before { - content: "\e649"; -} - -.uniui-reload:before { - content: "\e6b2"; -} - -.uniui-micoff-filled:before { - content: "\e6b0"; -} - -.uniui-map-pin-ellipse:before { - content: "\e6ac"; -} - -.uniui-map-pin:before { - content: "\e6ad"; -} - -.uniui-location:before { - content: "\e6ae"; -} - -.uniui-starhalf:before { - content: "\e683"; -} - -.uniui-star:before { - content: "\e688"; -} - -.uniui-star-filled:before { - content: "\e68f"; -} - -.uniui-calendar:before { - content: "\e6a0"; -} - -.uniui-fire:before { - content: "\e6a1"; -} - -.uniui-medal:before { - content: "\e6a2"; -} - -.uniui-font:before { - content: "\e6a3"; -} - -.uniui-gift:before { - content: "\e6a4"; -} - -.uniui-link:before { - content: "\e6a5"; -} - -.uniui-notification:before { - content: "\e6a6"; -} - -.uniui-staff:before { - content: "\e6a7"; -} - -.uniui-vip:before { - content: "\e6a8"; -} - -.uniui-folder-add:before { - content: "\e6a9"; -} - -.uniui-tune:before { - content: "\e6aa"; -} - -.uniui-auth:before { - content: "\e6ab"; -} - -.uniui-person:before { - content: "\e699"; -} - -.uniui-email-filled:before { - content: "\e69a"; -} - -.uniui-phone-filled:before { - content: "\e69b"; -} - -.uniui-phone:before { - content: "\e69c"; -} - -.uniui-email:before { - content: "\e69e"; -} - -.uniui-personadd:before { - content: "\e69f"; -} - -.uniui-chatboxes-filled:before { - content: "\e692"; -} - -.uniui-contact:before { - content: "\e693"; -} - -.uniui-chatbubble-filled:before { - content: "\e694"; -} - -.uniui-contact-filled:before { - content: "\e695"; -} - -.uniui-chatboxes:before { - content: "\e696"; -} - -.uniui-chatbubble:before { - content: "\e697"; -} - -.uniui-upload-filled:before { - content: "\e68e"; -} - -.uniui-upload:before { - content: "\e690"; -} - -.uniui-weixin:before { - content: "\e691"; -} - -.uniui-compose:before { - content: "\e67f"; -} - -.uniui-qq:before { - content: "\e680"; -} - -.uniui-download-filled:before { - content: "\e681"; -} - -.uniui-pyq:before { - content: "\e682"; -} - -.uniui-sound:before { - content: "\e684"; -} - -.uniui-trash-filled:before { - content: "\e685"; -} - -.uniui-sound-filled:before { - content: "\e686"; -} - -.uniui-trash:before { - content: "\e687"; -} - -.uniui-videocam-filled:before { - content: "\e689"; -} - -.uniui-spinner-cycle:before { - content: "\e68a"; -} - -.uniui-weibo:before { - content: "\e68b"; -} - -.uniui-videocam:before { - content: "\e68c"; -} - -.uniui-download:before { - content: "\e68d"; -} - -.uniui-help:before { - content: "\e679"; -} - -.uniui-navigate-filled:before { - content: "\e67a"; -} - -.uniui-plusempty:before { - content: "\e67b"; -} - -.uniui-smallcircle:before { - content: "\e67c"; -} - -.uniui-minus-filled:before { - content: "\e67d"; -} - -.uniui-micoff:before { - content: "\e67e"; -} - -.uniui-closeempty:before { - content: "\e66c"; -} - -.uniui-clear:before { - content: "\e66d"; -} - -.uniui-navigate:before { - content: "\e66e"; -} - -.uniui-minus:before { - content: "\e66f"; -} - -.uniui-image:before { - content: "\e670"; -} - -.uniui-mic:before { - content: "\e671"; -} - -.uniui-paperplane:before { - content: "\e672"; -} - -.uniui-close:before { - content: "\e673"; -} - -.uniui-help-filled:before { - content: "\e674"; -} - -.uniui-paperplane-filled:before { - content: "\e675"; -} - -.uniui-plus:before { - content: "\e676"; -} - -.uniui-mic-filled:before { - content: "\e677"; -} - -.uniui-image-filled:before { - content: "\e678"; -} - -.uniui-locked-filled:before { - content: "\e668"; -} - -.uniui-info:before { - content: "\e669"; -} - -.uniui-locked:before { - content: "\e66b"; -} - -.uniui-camera-filled:before { - content: "\e658"; -} - -.uniui-chat-filled:before { - content: "\e659"; -} - -.uniui-camera:before { - content: "\e65a"; -} - -.uniui-circle:before { - content: "\e65b"; -} - -.uniui-checkmarkempty:before { - content: "\e65c"; -} - -.uniui-chat:before { - content: "\e65d"; -} - -.uniui-circle-filled:before { - content: "\e65e"; -} - -.uniui-flag:before { - content: "\e65f"; -} - -.uniui-flag-filled:before { - content: "\e660"; -} - -.uniui-gear-filled:before { - content: "\e661"; -} - -.uniui-home:before { - content: "\e662"; -} - -.uniui-home-filled:before { - content: "\e663"; -} - -.uniui-gear:before { - content: "\e664"; -} - -.uniui-smallcircle-filled:before { - content: "\e665"; -} - -.uniui-map-filled:before { - content: "\e666"; -} - -.uniui-map:before { - content: "\e667"; -} - -.uniui-refresh-filled:before { - content: "\e656"; -} - -.uniui-refresh:before { - content: "\e657"; -} - -.uniui-cloud-upload:before { - content: "\e645"; -} - -.uniui-cloud-download-filled:before { - content: "\e646"; -} - -.uniui-cloud-download:before { - content: "\e647"; -} - -.uniui-cloud-upload-filled:before { - content: "\e648"; -} - -.uniui-redo:before { - content: "\e64a"; -} - -.uniui-images-filled:before { - content: "\e64b"; -} - -.uniui-undo-filled:before { - content: "\e64c"; -} - -.uniui-more:before { - content: "\e64d"; -} - -.uniui-more-filled:before { - content: "\e64e"; -} - -.uniui-undo:before { - content: "\e64f"; -} - -.uniui-images:before { - content: "\e650"; -} - -.uniui-paperclip:before { - content: "\e652"; -} - -.uniui-settings:before { - content: "\e653"; -} - -.uniui-search:before { - content: "\e654"; -} - -.uniui-redo-filled:before { - content: "\e655"; -} - -.uniui-list:before { - content: "\e644"; -} - -.uniui-mail-open-filled:before { - content: "\e63a"; -} - -.uniui-hand-down-filled:before { - content: "\e63c"; -} - -.uniui-hand-down:before { - content: "\e63d"; -} - -.uniui-hand-up-filled:before { - content: "\e63e"; -} - -.uniui-hand-up:before { - content: "\e63f"; -} - -.uniui-heart-filled:before { - content: "\e641"; -} - -.uniui-mail-open:before { - content: "\e643"; -} - -.uniui-heart:before { - content: "\e639"; -} - -.uniui-loop:before { - content: "\e633"; -} - -.uniui-pulldown:before { - content: "\e632"; -} - -.uniui-scan:before { - content: "\e62a"; -} - -.uniui-bars:before { - content: "\e627"; -} - -.uniui-checkbox:before { - content: "\e62b"; -} - -.uniui-checkbox-filled:before { - content: "\e62c"; -} - -.uniui-shop:before { - content: "\e62f"; -} - -.uniui-headphones:before { - content: "\e630"; -} - -.uniui-cart:before { - content: "\e631"; -} diff --git a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons.ttf b/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons.ttf deleted file mode 100644 index 14696d0..0000000 Binary files a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons.ttf and /dev/null differ diff --git a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts b/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts deleted file mode 100644 index 98e93aa..0000000 --- a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts +++ /dev/null @@ -1,664 +0,0 @@ - -export type IconsData = { - id : string - name : string - font_family : string - css_prefix_text : string - description : string - glyphs : Array -} - -export type IconsDataItem = { - font_class : string - unicode : string -} - - -export const fontData = [ - { - "font_class": "arrow-down", - "unicode": "\ue6be" - }, - { - "font_class": "arrow-left", - "unicode": "\ue6bc" - }, - { - "font_class": "arrow-right", - "unicode": "\ue6bb" - }, - { - "font_class": "arrow-up", - "unicode": "\ue6bd" - }, - { - "font_class": "auth", - "unicode": "\ue6ab" - }, - { - "font_class": "auth-filled", - "unicode": "\ue6cc" - }, - { - "font_class": "back", - "unicode": "\ue6b9" - }, - { - "font_class": "bars", - "unicode": "\ue627" - }, - { - "font_class": "calendar", - "unicode": "\ue6a0" - }, - { - "font_class": "calendar-filled", - "unicode": "\ue6c0" - }, - { - "font_class": "camera", - "unicode": "\ue65a" - }, - { - "font_class": "camera-filled", - "unicode": "\ue658" - }, - { - "font_class": "cart", - "unicode": "\ue631" - }, - { - "font_class": "cart-filled", - "unicode": "\ue6d0" - }, - { - "font_class": "chat", - "unicode": "\ue65d" - }, - { - "font_class": "chat-filled", - "unicode": "\ue659" - }, - { - "font_class": "chatboxes", - "unicode": "\ue696" - }, - { - "font_class": "chatboxes-filled", - "unicode": "\ue692" - }, - { - "font_class": "chatbubble", - "unicode": "\ue697" - }, - { - "font_class": "chatbubble-filled", - "unicode": "\ue694" - }, - { - "font_class": "checkbox", - "unicode": "\ue62b" - }, - { - "font_class": "checkbox-filled", - "unicode": "\ue62c" - }, - { - "font_class": "checkmarkempty", - "unicode": "\ue65c" - }, - { - "font_class": "circle", - "unicode": "\ue65b" - }, - { - "font_class": "circle-filled", - "unicode": "\ue65e" - }, - { - "font_class": "clear", - "unicode": "\ue66d" - }, - { - "font_class": "close", - "unicode": "\ue673" - }, - { - "font_class": "closeempty", - "unicode": "\ue66c" - }, - { - "font_class": "cloud-download", - "unicode": "\ue647" - }, - { - "font_class": "cloud-download-filled", - "unicode": "\ue646" - }, - { - "font_class": "cloud-upload", - "unicode": "\ue645" - }, - { - "font_class": "cloud-upload-filled", - "unicode": "\ue648" - }, - { - "font_class": "color", - "unicode": "\ue6cf" - }, - { - "font_class": "color-filled", - "unicode": "\ue6c9" - }, - { - "font_class": "compose", - "unicode": "\ue67f" - }, - { - "font_class": "contact", - "unicode": "\ue693" - }, - { - "font_class": "contact-filled", - "unicode": "\ue695" - }, - { - "font_class": "down", - "unicode": "\ue6b8" - }, - { - "font_class": "bottom", - "unicode": "\ue6b8" - }, - { - "font_class": "download", - "unicode": "\ue68d" - }, - { - "font_class": "download-filled", - "unicode": "\ue681" - }, - { - "font_class": "email", - "unicode": "\ue69e" - }, - { - "font_class": "email-filled", - "unicode": "\ue69a" - }, - { - "font_class": "eye", - "unicode": "\ue651" - }, - { - "font_class": "eye-filled", - "unicode": "\ue66a" - }, - { - "font_class": "eye-slash", - "unicode": "\ue6b3" - }, - { - "font_class": "eye-slash-filled", - "unicode": "\ue6b4" - }, - { - "font_class": "fire", - "unicode": "\ue6a1" - }, - { - "font_class": "fire-filled", - "unicode": "\ue6c5" - }, - { - "font_class": "flag", - "unicode": "\ue65f" - }, - { - "font_class": "flag-filled", - "unicode": "\ue660" - }, - { - "font_class": "folder-add", - "unicode": "\ue6a9" - }, - { - "font_class": "folder-add-filled", - "unicode": "\ue6c8" - }, - { - "font_class": "font", - "unicode": "\ue6a3" - }, - { - "font_class": "forward", - "unicode": "\ue6ba" - }, - { - "font_class": "gear", - "unicode": "\ue664" - }, - { - "font_class": "gear-filled", - "unicode": "\ue661" - }, - { - "font_class": "gift", - "unicode": "\ue6a4" - }, - { - "font_class": "gift-filled", - "unicode": "\ue6c4" - }, - { - "font_class": "hand-down", - "unicode": "\ue63d" - }, - { - "font_class": "hand-down-filled", - "unicode": "\ue63c" - }, - { - "font_class": "hand-up", - "unicode": "\ue63f" - }, - { - "font_class": "hand-up-filled", - "unicode": "\ue63e" - }, - { - "font_class": "headphones", - "unicode": "\ue630" - }, - { - "font_class": "heart", - "unicode": "\ue639" - }, - { - "font_class": "heart-filled", - "unicode": "\ue641" - }, - { - "font_class": "help", - "unicode": "\ue679" - }, - { - "font_class": "help-filled", - "unicode": "\ue674" - }, - { - "font_class": "home", - "unicode": "\ue662" - }, - { - "font_class": "home-filled", - "unicode": "\ue663" - }, - { - "font_class": "image", - "unicode": "\ue670" - }, - { - "font_class": "image-filled", - "unicode": "\ue678" - }, - { - "font_class": "images", - "unicode": "\ue650" - }, - { - "font_class": "images-filled", - "unicode": "\ue64b" - }, - { - "font_class": "info", - "unicode": "\ue669" - }, - { - "font_class": "info-filled", - "unicode": "\ue649" - }, - { - "font_class": "left", - "unicode": "\ue6b7" - }, - { - "font_class": "link", - "unicode": "\ue6a5" - }, - { - "font_class": "list", - "unicode": "\ue644" - }, - { - "font_class": "location", - "unicode": "\ue6ae" - }, - { - "font_class": "location-filled", - "unicode": "\ue6af" - }, - { - "font_class": "locked", - "unicode": "\ue66b" - }, - { - "font_class": "locked-filled", - "unicode": "\ue668" - }, - { - "font_class": "loop", - "unicode": "\ue633" - }, - { - "font_class": "mail-open", - "unicode": "\ue643" - }, - { - "font_class": "mail-open-filled", - "unicode": "\ue63a" - }, - { - "font_class": "map", - "unicode": "\ue667" - }, - { - "font_class": "map-filled", - "unicode": "\ue666" - }, - { - "font_class": "map-pin", - "unicode": "\ue6ad" - }, - { - "font_class": "map-pin-ellipse", - "unicode": "\ue6ac" - }, - { - "font_class": "medal", - "unicode": "\ue6a2" - }, - { - "font_class": "medal-filled", - "unicode": "\ue6c3" - }, - { - "font_class": "mic", - "unicode": "\ue671" - }, - { - "font_class": "mic-filled", - "unicode": "\ue677" - }, - { - "font_class": "micoff", - "unicode": "\ue67e" - }, - { - "font_class": "micoff-filled", - "unicode": "\ue6b0" - }, - { - "font_class": "minus", - "unicode": "\ue66f" - }, - { - "font_class": "minus-filled", - "unicode": "\ue67d" - }, - { - "font_class": "more", - "unicode": "\ue64d" - }, - { - "font_class": "more-filled", - "unicode": "\ue64e" - }, - { - "font_class": "navigate", - "unicode": "\ue66e" - }, - { - "font_class": "navigate-filled", - "unicode": "\ue67a" - }, - { - "font_class": "notification", - "unicode": "\ue6a6" - }, - { - "font_class": "notification-filled", - "unicode": "\ue6c1" - }, - { - "font_class": "paperclip", - "unicode": "\ue652" - }, - { - "font_class": "paperplane", - "unicode": "\ue672" - }, - { - "font_class": "paperplane-filled", - "unicode": "\ue675" - }, - { - "font_class": "person", - "unicode": "\ue699" - }, - { - "font_class": "person-filled", - "unicode": "\ue69d" - }, - { - "font_class": "personadd", - "unicode": "\ue69f" - }, - { - "font_class": "personadd-filled", - "unicode": "\ue698" - }, - { - "font_class": "personadd-filled-copy", - "unicode": "\ue6d1" - }, - { - "font_class": "phone", - "unicode": "\ue69c" - }, - { - "font_class": "phone-filled", - "unicode": "\ue69b" - }, - { - "font_class": "plus", - "unicode": "\ue676" - }, - { - "font_class": "plus-filled", - "unicode": "\ue6c7" - }, - { - "font_class": "plusempty", - "unicode": "\ue67b" - }, - { - "font_class": "pulldown", - "unicode": "\ue632" - }, - { - "font_class": "pyq", - "unicode": "\ue682" - }, - { - "font_class": "qq", - "unicode": "\ue680" - }, - { - "font_class": "redo", - "unicode": "\ue64a" - }, - { - "font_class": "redo-filled", - "unicode": "\ue655" - }, - { - "font_class": "refresh", - "unicode": "\ue657" - }, - { - "font_class": "refresh-filled", - "unicode": "\ue656" - }, - { - "font_class": "refreshempty", - "unicode": "\ue6bf" - }, - { - "font_class": "reload", - "unicode": "\ue6b2" - }, - { - "font_class": "right", - "unicode": "\ue6b5" - }, - { - "font_class": "scan", - "unicode": "\ue62a" - }, - { - "font_class": "search", - "unicode": "\ue654" - }, - { - "font_class": "settings", - "unicode": "\ue653" - }, - { - "font_class": "settings-filled", - "unicode": "\ue6ce" - }, - { - "font_class": "shop", - "unicode": "\ue62f" - }, - { - "font_class": "shop-filled", - "unicode": "\ue6cd" - }, - { - "font_class": "smallcircle", - "unicode": "\ue67c" - }, - { - "font_class": "smallcircle-filled", - "unicode": "\ue665" - }, - { - "font_class": "sound", - "unicode": "\ue684" - }, - { - "font_class": "sound-filled", - "unicode": "\ue686" - }, - { - "font_class": "spinner-cycle", - "unicode": "\ue68a" - }, - { - "font_class": "staff", - "unicode": "\ue6a7" - }, - { - "font_class": "staff-filled", - "unicode": "\ue6cb" - }, - { - "font_class": "star", - "unicode": "\ue688" - }, - { - "font_class": "star-filled", - "unicode": "\ue68f" - }, - { - "font_class": "starhalf", - "unicode": "\ue683" - }, - { - "font_class": "trash", - "unicode": "\ue687" - }, - { - "font_class": "trash-filled", - "unicode": "\ue685" - }, - { - "font_class": "tune", - "unicode": "\ue6aa" - }, - { - "font_class": "tune-filled", - "unicode": "\ue6ca" - }, - { - "font_class": "undo", - "unicode": "\ue64f" - }, - { - "font_class": "undo-filled", - "unicode": "\ue64c" - }, - { - "font_class": "up", - "unicode": "\ue6b6" - }, - { - "font_class": "top", - "unicode": "\ue6b6" - }, - { - "font_class": "upload", - "unicode": "\ue690" - }, - { - "font_class": "upload-filled", - "unicode": "\ue68e" - }, - { - "font_class": "videocam", - "unicode": "\ue68c" - }, - { - "font_class": "videocam-filled", - "unicode": "\ue689" - }, - { - "font_class": "vip", - "unicode": "\ue6a8" - }, - { - "font_class": "vip-filled", - "unicode": "\ue6c6" - }, - { - "font_class": "wallet", - "unicode": "\ue6b1" - }, - { - "font_class": "wallet-filled", - "unicode": "\ue6c2" - }, - { - "font_class": "weibo", - "unicode": "\ue68b" - }, - { - "font_class": "weixin", - "unicode": "\ue691" - } -] as IconsDataItem[] - -// export const fontData = JSON.parse(fontDataJson) diff --git a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js b/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js deleted file mode 100644 index 1cd11e1..0000000 --- a/uniapp/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js +++ /dev/null @@ -1,649 +0,0 @@ - -export const fontData = [ - { - "font_class": "arrow-down", - "unicode": "\ue6be" - }, - { - "font_class": "arrow-left", - "unicode": "\ue6bc" - }, - { - "font_class": "arrow-right", - "unicode": "\ue6bb" - }, - { - "font_class": "arrow-up", - "unicode": "\ue6bd" - }, - { - "font_class": "auth", - "unicode": "\ue6ab" - }, - { - "font_class": "auth-filled", - "unicode": "\ue6cc" - }, - { - "font_class": "back", - "unicode": "\ue6b9" - }, - { - "font_class": "bars", - "unicode": "\ue627" - }, - { - "font_class": "calendar", - "unicode": "\ue6a0" - }, - { - "font_class": "calendar-filled", - "unicode": "\ue6c0" - }, - { - "font_class": "camera", - "unicode": "\ue65a" - }, - { - "font_class": "camera-filled", - "unicode": "\ue658" - }, - { - "font_class": "cart", - "unicode": "\ue631" - }, - { - "font_class": "cart-filled", - "unicode": "\ue6d0" - }, - { - "font_class": "chat", - "unicode": "\ue65d" - }, - { - "font_class": "chat-filled", - "unicode": "\ue659" - }, - { - "font_class": "chatboxes", - "unicode": "\ue696" - }, - { - "font_class": "chatboxes-filled", - "unicode": "\ue692" - }, - { - "font_class": "chatbubble", - "unicode": "\ue697" - }, - { - "font_class": "chatbubble-filled", - "unicode": "\ue694" - }, - { - "font_class": "checkbox", - "unicode": "\ue62b" - }, - { - "font_class": "checkbox-filled", - "unicode": "\ue62c" - }, - { - "font_class": "checkmarkempty", - "unicode": "\ue65c" - }, - { - "font_class": "circle", - "unicode": "\ue65b" - }, - { - "font_class": "circle-filled", - "unicode": "\ue65e" - }, - { - "font_class": "clear", - "unicode": "\ue66d" - }, - { - "font_class": "close", - "unicode": "\ue673" - }, - { - "font_class": "closeempty", - "unicode": "\ue66c" - }, - { - "font_class": "cloud-download", - "unicode": "\ue647" - }, - { - "font_class": "cloud-download-filled", - "unicode": "\ue646" - }, - { - "font_class": "cloud-upload", - "unicode": "\ue645" - }, - { - "font_class": "cloud-upload-filled", - "unicode": "\ue648" - }, - { - "font_class": "color", - "unicode": "\ue6cf" - }, - { - "font_class": "color-filled", - "unicode": "\ue6c9" - }, - { - "font_class": "compose", - "unicode": "\ue67f" - }, - { - "font_class": "contact", - "unicode": "\ue693" - }, - { - "font_class": "contact-filled", - "unicode": "\ue695" - }, - { - "font_class": "down", - "unicode": "\ue6b8" - }, - { - "font_class": "bottom", - "unicode": "\ue6b8" - }, - { - "font_class": "download", - "unicode": "\ue68d" - }, - { - "font_class": "download-filled", - "unicode": "\ue681" - }, - { - "font_class": "email", - "unicode": "\ue69e" - }, - { - "font_class": "email-filled", - "unicode": "\ue69a" - }, - { - "font_class": "eye", - "unicode": "\ue651" - }, - { - "font_class": "eye-filled", - "unicode": "\ue66a" - }, - { - "font_class": "eye-slash", - "unicode": "\ue6b3" - }, - { - "font_class": "eye-slash-filled", - "unicode": "\ue6b4" - }, - { - "font_class": "fire", - "unicode": "\ue6a1" - }, - { - "font_class": "fire-filled", - "unicode": "\ue6c5" - }, - { - "font_class": "flag", - "unicode": "\ue65f" - }, - { - "font_class": "flag-filled", - "unicode": "\ue660" - }, - { - "font_class": "folder-add", - "unicode": "\ue6a9" - }, - { - "font_class": "folder-add-filled", - "unicode": "\ue6c8" - }, - { - "font_class": "font", - "unicode": "\ue6a3" - }, - { - "font_class": "forward", - "unicode": "\ue6ba" - }, - { - "font_class": "gear", - "unicode": "\ue664" - }, - { - "font_class": "gear-filled", - "unicode": "\ue661" - }, - { - "font_class": "gift", - "unicode": "\ue6a4" - }, - { - "font_class": "gift-filled", - "unicode": "\ue6c4" - }, - { - "font_class": "hand-down", - "unicode": "\ue63d" - }, - { - "font_class": "hand-down-filled", - "unicode": "\ue63c" - }, - { - "font_class": "hand-up", - "unicode": "\ue63f" - }, - { - "font_class": "hand-up-filled", - "unicode": "\ue63e" - }, - { - "font_class": "headphones", - "unicode": "\ue630" - }, - { - "font_class": "heart", - "unicode": "\ue639" - }, - { - "font_class": "heart-filled", - "unicode": "\ue641" - }, - { - "font_class": "help", - "unicode": "\ue679" - }, - { - "font_class": "help-filled", - "unicode": "\ue674" - }, - { - "font_class": "home", - "unicode": "\ue662" - }, - { - "font_class": "home-filled", - "unicode": "\ue663" - }, - { - "font_class": "image", - "unicode": "\ue670" - }, - { - "font_class": "image-filled", - "unicode": "\ue678" - }, - { - "font_class": "images", - "unicode": "\ue650" - }, - { - "font_class": "images-filled", - "unicode": "\ue64b" - }, - { - "font_class": "info", - "unicode": "\ue669" - }, - { - "font_class": "info-filled", - "unicode": "\ue649" - }, - { - "font_class": "left", - "unicode": "\ue6b7" - }, - { - "font_class": "link", - "unicode": "\ue6a5" - }, - { - "font_class": "list", - "unicode": "\ue644" - }, - { - "font_class": "location", - "unicode": "\ue6ae" - }, - { - "font_class": "location-filled", - "unicode": "\ue6af" - }, - { - "font_class": "locked", - "unicode": "\ue66b" - }, - { - "font_class": "locked-filled", - "unicode": "\ue668" - }, - { - "font_class": "loop", - "unicode": "\ue633" - }, - { - "font_class": "mail-open", - "unicode": "\ue643" - }, - { - "font_class": "mail-open-filled", - "unicode": "\ue63a" - }, - { - "font_class": "map", - "unicode": "\ue667" - }, - { - "font_class": "map-filled", - "unicode": "\ue666" - }, - { - "font_class": "map-pin", - "unicode": "\ue6ad" - }, - { - "font_class": "map-pin-ellipse", - "unicode": "\ue6ac" - }, - { - "font_class": "medal", - "unicode": "\ue6a2" - }, - { - "font_class": "medal-filled", - "unicode": "\ue6c3" - }, - { - "font_class": "mic", - "unicode": "\ue671" - }, - { - "font_class": "mic-filled", - "unicode": "\ue677" - }, - { - "font_class": "micoff", - "unicode": "\ue67e" - }, - { - "font_class": "micoff-filled", - "unicode": "\ue6b0" - }, - { - "font_class": "minus", - "unicode": "\ue66f" - }, - { - "font_class": "minus-filled", - "unicode": "\ue67d" - }, - { - "font_class": "more", - "unicode": "\ue64d" - }, - { - "font_class": "more-filled", - "unicode": "\ue64e" - }, - { - "font_class": "navigate", - "unicode": "\ue66e" - }, - { - "font_class": "navigate-filled", - "unicode": "\ue67a" - }, - { - "font_class": "notification", - "unicode": "\ue6a6" - }, - { - "font_class": "notification-filled", - "unicode": "\ue6c1" - }, - { - "font_class": "paperclip", - "unicode": "\ue652" - }, - { - "font_class": "paperplane", - "unicode": "\ue672" - }, - { - "font_class": "paperplane-filled", - "unicode": "\ue675" - }, - { - "font_class": "person", - "unicode": "\ue699" - }, - { - "font_class": "person-filled", - "unicode": "\ue69d" - }, - { - "font_class": "personadd", - "unicode": "\ue69f" - }, - { - "font_class": "personadd-filled", - "unicode": "\ue698" - }, - { - "font_class": "personadd-filled-copy", - "unicode": "\ue6d1" - }, - { - "font_class": "phone", - "unicode": "\ue69c" - }, - { - "font_class": "phone-filled", - "unicode": "\ue69b" - }, - { - "font_class": "plus", - "unicode": "\ue676" - }, - { - "font_class": "plus-filled", - "unicode": "\ue6c7" - }, - { - "font_class": "plusempty", - "unicode": "\ue67b" - }, - { - "font_class": "pulldown", - "unicode": "\ue632" - }, - { - "font_class": "pyq", - "unicode": "\ue682" - }, - { - "font_class": "qq", - "unicode": "\ue680" - }, - { - "font_class": "redo", - "unicode": "\ue64a" - }, - { - "font_class": "redo-filled", - "unicode": "\ue655" - }, - { - "font_class": "refresh", - "unicode": "\ue657" - }, - { - "font_class": "refresh-filled", - "unicode": "\ue656" - }, - { - "font_class": "refreshempty", - "unicode": "\ue6bf" - }, - { - "font_class": "reload", - "unicode": "\ue6b2" - }, - { - "font_class": "right", - "unicode": "\ue6b5" - }, - { - "font_class": "scan", - "unicode": "\ue62a" - }, - { - "font_class": "search", - "unicode": "\ue654" - }, - { - "font_class": "settings", - "unicode": "\ue653" - }, - { - "font_class": "settings-filled", - "unicode": "\ue6ce" - }, - { - "font_class": "shop", - "unicode": "\ue62f" - }, - { - "font_class": "shop-filled", - "unicode": "\ue6cd" - }, - { - "font_class": "smallcircle", - "unicode": "\ue67c" - }, - { - "font_class": "smallcircle-filled", - "unicode": "\ue665" - }, - { - "font_class": "sound", - "unicode": "\ue684" - }, - { - "font_class": "sound-filled", - "unicode": "\ue686" - }, - { - "font_class": "spinner-cycle", - "unicode": "\ue68a" - }, - { - "font_class": "staff", - "unicode": "\ue6a7" - }, - { - "font_class": "staff-filled", - "unicode": "\ue6cb" - }, - { - "font_class": "star", - "unicode": "\ue688" - }, - { - "font_class": "star-filled", - "unicode": "\ue68f" - }, - { - "font_class": "starhalf", - "unicode": "\ue683" - }, - { - "font_class": "trash", - "unicode": "\ue687" - }, - { - "font_class": "trash-filled", - "unicode": "\ue685" - }, - { - "font_class": "tune", - "unicode": "\ue6aa" - }, - { - "font_class": "tune-filled", - "unicode": "\ue6ca" - }, - { - "font_class": "undo", - "unicode": "\ue64f" - }, - { - "font_class": "undo-filled", - "unicode": "\ue64c" - }, - { - "font_class": "up", - "unicode": "\ue6b6" - }, - { - "font_class": "top", - "unicode": "\ue6b6" - }, - { - "font_class": "upload", - "unicode": "\ue690" - }, - { - "font_class": "upload-filled", - "unicode": "\ue68e" - }, - { - "font_class": "videocam", - "unicode": "\ue68c" - }, - { - "font_class": "videocam-filled", - "unicode": "\ue689" - }, - { - "font_class": "vip", - "unicode": "\ue6a8" - }, - { - "font_class": "vip-filled", - "unicode": "\ue6c6" - }, - { - "font_class": "wallet", - "unicode": "\ue6b1" - }, - { - "font_class": "wallet-filled", - "unicode": "\ue6c2" - }, - { - "font_class": "weibo", - "unicode": "\ue68b" - }, - { - "font_class": "weixin", - "unicode": "\ue691" - } -] - -// export const fontData = JSON.parse(fontDataJson) diff --git a/uniapp/uni_modules/uni-icons/package.json b/uniapp/uni_modules/uni-icons/package.json deleted file mode 100644 index 6b681b4..0000000 --- a/uniapp/uni_modules/uni-icons/package.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "id": "uni-icons", - "displayName": "uni-icons 图标", - "version": "2.0.10", - "description": "图标组件,用于展示移动端常见的图标,可自定义颜色、大小。", - "keywords": [ - "uni-ui", - "uniui", - "icon", - "图标" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "^3.2.14" - }, - "directories": { - "example": "../../temps/example_temps" - }, -"dcloudext": { - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", - "type": "component-vue" - }, - "uni_modules": { - "dependencies": ["uni-scss"], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y", - "alipay": "n" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "y", - "app-uvue": "y" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y", - "钉钉": "y", - "快手": "y", - "飞书": "y", - "京东": "y" - }, - "快应用": { - "华为": "y", - "联盟": "y" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} diff --git a/uniapp/uni_modules/uni-icons/readme.md b/uniapp/uni_modules/uni-icons/readme.md deleted file mode 100644 index 86234ba..0000000 --- a/uniapp/uni_modules/uni-icons/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -## Icons 图标 -> **组件名:uni-icons** -> 代码块: `uIcons` - -用于展示 icons 图标 。 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-icons) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 diff --git a/uniapp/uni_modules/uni-popup/changelog.md b/uniapp/uni_modules/uni-popup/changelog.md deleted file mode 100644 index f559715..0000000 --- a/uniapp/uni_modules/uni-popup/changelog.md +++ /dev/null @@ -1,92 +0,0 @@ -## 1.9.5(2024-10-15) -- 修复 微信小程序中的getSystemInfo警告 -## 1.9.4(2024-10-12) -- 修复 微信小程序中的getSystemInfo警告 -## 1.9.3(2024-10-12) -- 修复 微信小程序中的getSystemInfo警告 -## 1.9.2(2024-09-21) -- 修复 uni-popup在android上的重复点击弹出位置不正确的bug -## 1.9.1(2024-04-02) -- 修复 uni-popup-dialog vue3下使用value无法进行绑定的bug(双向绑定兼容旧写法) -## 1.9.0(2024-03-28) -- 修复 uni-popup-dialog 双向绑定时初始化逻辑修正 -## 1.8.9(2024-03-20) -- 修复 uni-popup-dialog 数据输入时修正为双向绑定 -## 1.8.8(2024-02-20) -- 修复 uni-popup 在微信小程序下出现文字向上闪动的bug -## 1.8.7(2024-02-02) -- 新增 uni-popup-dialog 新增属性focus:input模式下,是否自动自动聚焦 -## 1.8.6(2024-01-30) -- 新增 uni-popup-dialog 新增属性maxLength:限制输入框字数 -## 1.8.5(2024-01-26) -- 新增 uni-popup-dialog 新增属性showClose:控制关闭按钮的显示 -## 1.8.4(2023-11-15) -- 新增 uni-popup 支持uni-app-x 注意暂时仅支持 `maskClick` `@open` `@close` -## 1.8.3(2023-04-17) -- 修复 uni-popup 重复打开时的 bug -## 1.8.2(2023-02-02) -- uni-popup-dialog 组件新增 inputType 属性 -## 1.8.1(2022-12-01) -- 修复 nvue 下 v-show 报错 -## 1.8.0(2022-11-29) -- 优化 主题样式 -## 1.7.9(2022-04-02) -- 修复 弹出层内部无法滚动的bug -## 1.7.8(2022-03-28) -- 修复 小程序中高度错误的bug -## 1.7.7(2022-03-17) -- 修复 快速调用open出现问题的Bug -## 1.7.6(2022-02-14) -- 修复 safeArea 属性不能设置为false的bug -## 1.7.5(2022-01-19) -- 修复 isMaskClick 失效的bug -## 1.7.4(2022-01-19) -- 新增 cancelText \ confirmText 属性 ,可自定义文本 -- 新增 maskBackgroundColor 属性 ,可以修改蒙版颜色 -- 优化 maskClick属性 更新为 isMaskClick ,解决微信小程序警告的问题 -## 1.7.3(2022-01-13) -- 修复 设置 safeArea 属性不生效的bug -## 1.7.2(2021-11-26) -- 优化 组件示例 -## 1.7.1(2021-11-26) -- 修复 vuedoc 文字错误 -## 1.7.0(2021-11-19) -- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) -- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-popup](https://uniapp.dcloud.io/component/uniui/uni-popup) -## 1.6.2(2021-08-24) -- 新增 支持国际化 -## 1.6.1(2021-07-30) -- 优化 vue3下事件警告的问题 -## 1.6.0(2021-07-13) -- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) -## 1.5.0(2021-06-23) -- 新增 mask-click 遮罩层点击事件 -## 1.4.5(2021-06-22) -- 修复 nvue 平台中间弹出后,点击内容,再点击遮罩无法关闭的Bug -## 1.4.4(2021-06-18) -- 修复 H5平台中间弹出后,点击内容,再点击遮罩无法关闭的Bug -## 1.4.3(2021-06-08) -- 修复 错误的 watch 字段 -- 修复 safeArea 属性不生效的问题 -- 修复 点击内容,再点击遮罩无法关闭的Bug -## 1.4.2(2021-05-12) -- 新增 组件示例地址 -## 1.4.1(2021-04-29) -- 修复 组件内放置 input 、textarea 组件,无法聚焦的问题 -## 1.4.0 (2021-04-29) -- 新增 type 属性的 left\right 值,支持左右弹出 -- 新增 open(String:type) 方法参数 ,可以省略 type 属性 ,直接传入类型打开指定弹窗 -- 新增 backgroundColor 属性,可定义主窗口背景色,默认不显示背景色 -- 新增 safeArea 属性,是否适配底部安全区 -- 修复 App\h5\微信小程序底部安全区占位不对的Bug -- 修复 App 端弹出等待的Bug -- 优化 提升低配设备性能,优化动画卡顿问题 -- 优化 更简单的组件自定义方式 -## 1.2.9(2021-02-05) -- 优化 组件引用关系,通过uni_modules引用组件 -## 1.2.8(2021-02-05) -- 调整为uni_modules目录规范 -## 1.2.7(2021-02-05) -- 调整为uni_modules目录规范 -- 新增 支持 PC 端 -- 新增 uni-popup-message 、uni-popup-dialog扩展组件支持 PC 端 diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js b/uniapp/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js deleted file mode 100644 index 6ef26a2..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js +++ /dev/null @@ -1,45 +0,0 @@ -// #ifdef H5 -export default { - name: 'Keypress', - props: { - disable: { - type: Boolean, - default: false - } - }, - mounted () { - const keyNames = { - esc: ['Esc', 'Escape'], - tab: 'Tab', - enter: 'Enter', - space: [' ', 'Spacebar'], - up: ['Up', 'ArrowUp'], - left: ['Left', 'ArrowLeft'], - right: ['Right', 'ArrowRight'], - down: ['Down', 'ArrowDown'], - delete: ['Backspace', 'Delete', 'Del'] - } - const listener = ($event) => { - if (this.disable) { - return - } - const keyName = Object.keys(keyNames).find(key => { - const keyName = $event.key - const value = keyNames[key] - return value === keyName || (Array.isArray(value) && value.includes(keyName)) - }) - if (keyName) { - // 避免和其他按键事件冲突 - setTimeout(() => { - this.$emit(keyName, {}) - }, 0) - } - } - document.addEventListener('keyup', listener) - this.$once('hook:beforeDestroy', () => { - document.removeEventListener('keyup', listener) - }) - }, - render: () => {} -} -// #endif diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue b/uniapp/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue deleted file mode 100644 index 08707d4..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue +++ /dev/null @@ -1,316 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue b/uniapp/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue deleted file mode 100644 index 91370a8..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - - diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue b/uniapp/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue deleted file mode 100644 index f7e667c..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/en.json b/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/en.json deleted file mode 100644 index 7f1bd06..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/en.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "uni-popup.cancel": "cancel", - "uni-popup.ok": "ok", - "uni-popup.placeholder": "pleace enter", - "uni-popup.title": "Hint", - "uni-popup.shareTitle": "Share to" -} diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/index.js b/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/index.js deleted file mode 100644 index de7509c..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import en from './en.json' -import zhHans from './zh-Hans.json' -import zhHant from './zh-Hant.json' -export default { - en, - 'zh-Hans': zhHans, - 'zh-Hant': zhHant -} diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json b/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json deleted file mode 100644 index 5e3003c..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "uni-popup.cancel": "取消", - "uni-popup.ok": "确定", - "uni-popup.placeholder": "请输入", - "uni-popup.title": "提示", - "uni-popup.shareTitle": "分享到" -} diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json b/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json deleted file mode 100644 index 13e39eb..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "uni-popup.cancel": "取消", - "uni-popup.ok": "確定", - "uni-popup.placeholder": "請輸入", - "uni-popup.title": "提示", - "uni-popup.shareTitle": "分享到" -} diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/keypress.js b/uniapp/uni_modules/uni-popup/components/uni-popup/keypress.js deleted file mode 100644 index 62dda46..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/keypress.js +++ /dev/null @@ -1,45 +0,0 @@ -// #ifdef H5 -export default { - name: 'Keypress', - props: { - disable: { - type: Boolean, - default: false - } - }, - mounted () { - const keyNames = { - esc: ['Esc', 'Escape'], - tab: 'Tab', - enter: 'Enter', - space: [' ', 'Spacebar'], - up: ['Up', 'ArrowUp'], - left: ['Left', 'ArrowLeft'], - right: ['Right', 'ArrowRight'], - down: ['Down', 'ArrowDown'], - delete: ['Backspace', 'Delete', 'Del'] - } - const listener = ($event) => { - if (this.disable) { - return - } - const keyName = Object.keys(keyNames).find(key => { - const keyName = $event.key - const value = keyNames[key] - return value === keyName || (Array.isArray(value) && value.includes(keyName)) - }) - if (keyName) { - // 避免和其他按键事件冲突 - setTimeout(() => { - this.$emit(keyName, {}) - }, 0) - } - } - document.addEventListener('keyup', listener) - // this.$once('hook:beforeDestroy', () => { - // document.removeEventListener('keyup', listener) - // }) - }, - render: () => {} -} -// #endif diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/popup.js b/uniapp/uni_modules/uni-popup/components/uni-popup/popup.js deleted file mode 100644 index c4e5781..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/popup.js +++ /dev/null @@ -1,26 +0,0 @@ - -export default { - data() { - return { - - } - }, - created(){ - this.popup = this.getParent() - }, - methods:{ - /** - * 获取父元素实例 - */ - getParent(name = 'uniPopup') { - let parent = this.$parent; - let parentName = parent.$options.name; - while (parentName !== name) { - parent = parent.$parent; - if (!parent) return false - parentName = parent.$options.name; - } - return parent; - }, - } -} diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue b/uniapp/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue deleted file mode 100644 index 5eb8d5b..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - \ No newline at end of file diff --git a/uniapp/uni_modules/uni-popup/components/uni-popup/uni-popup.vue b/uniapp/uni_modules/uni-popup/components/uni-popup/uni-popup.vue deleted file mode 100644 index 5af55e0..0000000 --- a/uniapp/uni_modules/uni-popup/components/uni-popup/uni-popup.vue +++ /dev/null @@ -1,518 +0,0 @@ - - - - diff --git a/uniapp/uni_modules/uni-popup/package.json b/uniapp/uni_modules/uni-popup/package.json deleted file mode 100644 index 2750803..0000000 --- a/uniapp/uni_modules/uni-popup/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "id": "uni-popup", - "displayName": "uni-popup 弹出层", - "version": "1.9.5", - "description": " Popup 组件,提供常用的弹层", - "keywords": [ - "uni-ui", - "弹出层", - "弹窗", - "popup", - "弹框" - ], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "" - }, - "directories": { - "example": "../../temps/example_temps" - }, - "dcloudext": { - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", - "type": "component-vue" - }, - "uni_modules": { - "dependencies": [ - "uni-scss", - "uni-transition" - ], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y", - "alipay": "n" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "y" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} diff --git a/uniapp/uni_modules/uni-popup/readme.md b/uniapp/uni_modules/uni-popup/readme.md deleted file mode 100644 index fdad4b3..0000000 --- a/uniapp/uni_modules/uni-popup/readme.md +++ /dev/null @@ -1,17 +0,0 @@ - - -## Popup 弹出层 -> **组件名:uni-popup** -> 代码块: `uPopup` -> 关联组件:`uni-transition` - - -弹出层组件,在应用中弹出一个消息提示窗口、提示框等 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-popup) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 - - - - - diff --git a/uniapp/uni_modules/uni-scss/changelog.md b/uniapp/uni_modules/uni-scss/changelog.md deleted file mode 100644 index b863bb0..0000000 --- a/uniapp/uni_modules/uni-scss/changelog.md +++ /dev/null @@ -1,8 +0,0 @@ -## 1.0.3(2022-01-21) -- 优化 组件示例 -## 1.0.2(2021-11-22) -- 修复 / 符号在 vue 不同版本兼容问题引起的报错问题 -## 1.0.1(2021-11-22) -- 修复 vue3中scss语法兼容问题 -## 1.0.0(2021-11-18) -- init diff --git a/uniapp/uni_modules/uni-scss/index.scss b/uniapp/uni_modules/uni-scss/index.scss deleted file mode 100644 index 1744a5f..0000000 --- a/uniapp/uni_modules/uni-scss/index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './styles/index.scss'; diff --git a/uniapp/uni_modules/uni-scss/package.json b/uniapp/uni_modules/uni-scss/package.json deleted file mode 100644 index 7cc0ccb..0000000 --- a/uniapp/uni_modules/uni-scss/package.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "id": "uni-scss", - "displayName": "uni-scss 辅助样式", - "version": "1.0.3", - "description": "uni-sass是uni-ui提供的一套全局样式 ,通过一些简单的类名和sass变量,实现简单的页面布局操作,比如颜色、边距、圆角等。", - "keywords": [ - "uni-scss", - "uni-ui", - "辅助样式" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "^3.1.0" - }, - "dcloudext": { - "category": [ - "JS SDK", - "通用 SDK" - ], - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "u" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y" - }, - "快应用": { - "华为": "n", - "联盟": "n" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} diff --git a/uniapp/uni_modules/uni-scss/readme.md b/uniapp/uni_modules/uni-scss/readme.md deleted file mode 100644 index b7d1c25..0000000 --- a/uniapp/uni_modules/uni-scss/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -`uni-sass` 是 `uni-ui`提供的一套全局样式 ,通过一些简单的类名和`sass`变量,实现简单的页面布局操作,比如颜色、边距、圆角等。 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-sass) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file diff --git a/uniapp/uni_modules/uni-scss/styles/index.scss b/uniapp/uni_modules/uni-scss/styles/index.scss deleted file mode 100644 index ffac4fe..0000000 --- a/uniapp/uni_modules/uni-scss/styles/index.scss +++ /dev/null @@ -1,7 +0,0 @@ -@import './setting/_variables.scss'; -@import './setting/_border.scss'; -@import './setting/_color.scss'; -@import './setting/_space.scss'; -@import './setting/_radius.scss'; -@import './setting/_text.scss'; -@import './setting/_styles.scss'; diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_border.scss b/uniapp/uni_modules/uni-scss/styles/setting/_border.scss deleted file mode 100644 index 12a11c3..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_border.scss +++ /dev/null @@ -1,3 +0,0 @@ -.uni-border { - border: 1px $uni-border-1 solid; -} \ No newline at end of file diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_color.scss b/uniapp/uni_modules/uni-scss/styles/setting/_color.scss deleted file mode 100644 index 1ededd9..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_color.scss +++ /dev/null @@ -1,66 +0,0 @@ - -// TODO 暂时不需要 class ,需要用户使用变量实现 ,如果使用类名其实并不推荐 -// @mixin get-styles($k,$c) { -// @if $k == size or $k == weight{ -// font-#{$k}:#{$c} -// }@else{ -// #{$k}:#{$c} -// } -// } -$uni-ui-color:( - // 主色 - primary: $uni-primary, - primary-disable: $uni-primary-disable, - primary-light: $uni-primary-light, - // 辅助色 - success: $uni-success, - success-disable: $uni-success-disable, - success-light: $uni-success-light, - warning: $uni-warning, - warning-disable: $uni-warning-disable, - warning-light: $uni-warning-light, - error: $uni-error, - error-disable: $uni-error-disable, - error-light: $uni-error-light, - info: $uni-info, - info-disable: $uni-info-disable, - info-light: $uni-info-light, - // 中性色 - main-color: $uni-main-color, - base-color: $uni-base-color, - secondary-color: $uni-secondary-color, - extra-color: $uni-extra-color, - // 背景色 - bg-color: $uni-bg-color, - // 边框颜色 - border-1: $uni-border-1, - border-2: $uni-border-2, - border-3: $uni-border-3, - border-4: $uni-border-4, - // 黑色 - black:$uni-black, - // 白色 - white:$uni-white, - // 透明 - transparent:$uni-transparent -) !default; -@each $key, $child in $uni-ui-color { - .uni-#{"" + $key} { - color: $child; - } - .uni-#{"" + $key}-bg { - background-color: $child; - } -} -.uni-shadow-sm { - box-shadow: $uni-shadow-sm; -} -.uni-shadow-base { - box-shadow: $uni-shadow-base; -} -.uni-shadow-lg { - box-shadow: $uni-shadow-lg; -} -.uni-mask { - background-color:$uni-mask; -} diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_radius.scss b/uniapp/uni_modules/uni-scss/styles/setting/_radius.scss deleted file mode 100644 index 9a0428b..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_radius.scss +++ /dev/null @@ -1,55 +0,0 @@ -@mixin radius($r,$d:null ,$important: false){ - $radius-value:map-get($uni-radius, $r) if($important, !important, null); - // Key exists within the $uni-radius variable - @if (map-has-key($uni-radius, $r) and $d){ - @if $d == t { - border-top-left-radius:$radius-value; - border-top-right-radius:$radius-value; - }@else if $d == r { - border-top-right-radius:$radius-value; - border-bottom-right-radius:$radius-value; - }@else if $d == b { - border-bottom-left-radius:$radius-value; - border-bottom-right-radius:$radius-value; - }@else if $d == l { - border-top-left-radius:$radius-value; - border-bottom-left-radius:$radius-value; - }@else if $d == tl { - border-top-left-radius:$radius-value; - }@else if $d == tr { - border-top-right-radius:$radius-value; - }@else if $d == br { - border-bottom-right-radius:$radius-value; - }@else if $d == bl { - border-bottom-left-radius:$radius-value; - } - }@else{ - border-radius:$radius-value; - } -} - -@each $key, $child in $uni-radius { - @if($key){ - .uni-radius-#{"" + $key} { - @include radius($key) - } - }@else{ - .uni-radius { - @include radius($key) - } - } -} - -@each $direction in t, r, b, l,tl, tr, br, bl { - @each $key, $child in $uni-radius { - @if($key){ - .uni-radius-#{"" + $direction}-#{"" + $key} { - @include radius($key,$direction,false) - } - }@else{ - .uni-radius-#{$direction} { - @include radius($key,$direction,false) - } - } - } -} diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_space.scss b/uniapp/uni_modules/uni-scss/styles/setting/_space.scss deleted file mode 100644 index 3c89528..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_space.scss +++ /dev/null @@ -1,56 +0,0 @@ - -@mixin fn($space,$direction,$size,$n) { - @if $n { - #{$space}-#{$direction}: #{$size*$uni-space-root}px - } @else { - #{$space}-#{$direction}: #{-$size*$uni-space-root}px - } -} -@mixin get-styles($direction,$i,$space,$n){ - @if $direction == t { - @include fn($space, top,$i,$n); - } - @if $direction == r { - @include fn($space, right,$i,$n); - } - @if $direction == b { - @include fn($space, bottom,$i,$n); - } - @if $direction == l { - @include fn($space, left,$i,$n); - } - @if $direction == x { - @include fn($space, left,$i,$n); - @include fn($space, right,$i,$n); - } - @if $direction == y { - @include fn($space, top,$i,$n); - @include fn($space, bottom,$i,$n); - } - @if $direction == a { - @if $n { - #{$space}:#{$i*$uni-space-root}px; - } @else { - #{$space}:#{-$i*$uni-space-root}px; - } - } -} - -@each $orientation in m,p { - $space: margin; - @if $orientation == m { - $space: margin; - } @else { - $space: padding; - } - @for $i from 0 through 16 { - @each $direction in t, r, b, l, x, y, a { - .uni-#{$orientation}#{$direction}-#{$i} { - @include get-styles($direction,$i,$space,true); - } - .uni-#{$orientation}#{$direction}-n#{$i} { - @include get-styles($direction,$i,$space,false); - } - } - } -} \ No newline at end of file diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_styles.scss b/uniapp/uni_modules/uni-scss/styles/setting/_styles.scss deleted file mode 100644 index 689afec..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_styles.scss +++ /dev/null @@ -1,167 +0,0 @@ -/* #ifndef APP-NVUE */ - -$-color-white:#fff; -$-color-black:#000; -@mixin base-style($color) { - color: #fff; - background-color: $color; - border-color: mix($-color-black, $color, 8%); - &:not([hover-class]):active { - background: mix($-color-black, $color, 10%); - border-color: mix($-color-black, $color, 20%); - color: $-color-white; - outline: none; - } -} -@mixin is-color($color) { - @include base-style($color); - &[loading] { - @include base-style($color); - &::before { - margin-right:5px; - } - } - &[disabled] { - &, - &[loading], - &:not([hover-class]):active { - color: $-color-white; - border-color: mix(darken($color,10%), $-color-white); - background-color: mix($color, $-color-white); - } - } - -} -@mixin base-plain-style($color) { - color:$color; - background-color: mix($-color-white, $color, 90%); - border-color: mix($-color-white, $color, 70%); - &:not([hover-class]):active { - background: mix($-color-white, $color, 80%); - color: $color; - outline: none; - border-color: mix($-color-white, $color, 50%); - } -} -@mixin is-plain($color){ - &[plain] { - @include base-plain-style($color); - &[loading] { - @include base-plain-style($color); - &::before { - margin-right:5px; - } - } - &[disabled] { - &, - &:active { - color: mix($-color-white, $color, 40%); - background-color: mix($-color-white, $color, 90%); - border-color: mix($-color-white, $color, 80%); - } - } - } -} - - -.uni-btn { - margin: 5px; - color: #393939; - border:1px solid #ccc; - font-size: 16px; - font-weight: 200; - background-color: #F9F9F9; - // TODO 暂时处理边框隐藏一边的问题 - overflow: visible; - &::after{ - border: none; - } - - &:not([type]),&[type=default] { - color: #999; - &[loading] { - background: none; - &::before { - margin-right:5px; - } - } - - - - &[disabled]{ - color: mix($-color-white, #999, 60%); - &, - &[loading], - &:active { - color: mix($-color-white, #999, 60%); - background-color: mix($-color-white,$-color-black , 98%); - border-color: mix($-color-white, #999, 85%); - } - } - - &[plain] { - color: #999; - background: none; - border-color: $uni-border-1; - &:not([hover-class]):active { - background: none; - color: mix($-color-white, $-color-black, 80%); - border-color: mix($-color-white, $-color-black, 90%); - outline: none; - } - &[disabled]{ - &, - &[loading], - &:active { - background: none; - color: mix($-color-white, #999, 60%); - border-color: mix($-color-white, #999, 85%); - } - } - } - } - - &:not([hover-class]):active { - color: mix($-color-white, $-color-black, 50%); - } - - &[size=mini] { - font-size: 16px; - font-weight: 200; - border-radius: 8px; - } - - - - &.uni-btn-small { - font-size: 14px; - } - &.uni-btn-mini { - font-size: 12px; - } - - &.uni-btn-radius { - border-radius: 999px; - } - &[type=primary] { - @include is-color($uni-primary); - @include is-plain($uni-primary) - } - &[type=success] { - @include is-color($uni-success); - @include is-plain($uni-success) - } - &[type=error] { - @include is-color($uni-error); - @include is-plain($uni-error) - } - &[type=warning] { - @include is-color($uni-warning); - @include is-plain($uni-warning) - } - &[type=info] { - @include is-color($uni-info); - @include is-plain($uni-info) - } -} -/* #endif */ diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_text.scss b/uniapp/uni_modules/uni-scss/styles/setting/_text.scss deleted file mode 100644 index a34d08f..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_text.scss +++ /dev/null @@ -1,24 +0,0 @@ -@mixin get-styles($k,$c) { - @if $k == size or $k == weight{ - font-#{$k}:#{$c} - }@else{ - #{$k}:#{$c} - } -} - -@each $key, $child in $uni-headings { - /* #ifndef APP-NVUE */ - .uni-#{$key} { - @each $k, $c in $child { - @include get-styles($k,$c) - } - } - /* #endif */ - /* #ifdef APP-NVUE */ - .container .uni-#{$key} { - @each $k, $c in $child { - @include get-styles($k,$c) - } - } - /* #endif */ -} diff --git a/uniapp/uni_modules/uni-scss/styles/setting/_variables.scss b/uniapp/uni_modules/uni-scss/styles/setting/_variables.scss deleted file mode 100644 index 557d3d7..0000000 --- a/uniapp/uni_modules/uni-scss/styles/setting/_variables.scss +++ /dev/null @@ -1,146 +0,0 @@ -// @use "sass:math"; -@import '../tools/functions.scss'; -// 间距基础倍数 -$uni-space-root: 2 !default; -// 边框半径默认值 -$uni-radius-root:5px !default; -$uni-radius: () !default; -// 边框半径断点 -$uni-radius: map-deep-merge( - ( - 0: 0, - // TODO 当前版本暂时不支持 sm 属性 - // 'sm': math.div($uni-radius-root, 2), - null: $uni-radius-root, - 'lg': $uni-radius-root * 2, - 'xl': $uni-radius-root * 6, - 'pill': 9999px, - 'circle': 50% - ), - $uni-radius -); -// 字体家族 -$body-font-family: 'Roboto', sans-serif !default; -// 文本 -$heading-font-family: $body-font-family !default; -$uni-headings: () !default; -$letterSpacing: -0.01562em; -$uni-headings: map-deep-merge( - ( - 'h1': ( - size: 32px, - weight: 300, - line-height: 50px, - // letter-spacing:-0.01562em - ), - 'h2': ( - size: 28px, - weight: 300, - line-height: 40px, - // letter-spacing: -0.00833em - ), - 'h3': ( - size: 24px, - weight: 400, - line-height: 32px, - // letter-spacing: normal - ), - 'h4': ( - size: 20px, - weight: 400, - line-height: 30px, - // letter-spacing: 0.00735em - ), - 'h5': ( - size: 16px, - weight: 400, - line-height: 24px, - // letter-spacing: normal - ), - 'h6': ( - size: 14px, - weight: 500, - line-height: 18px, - // letter-spacing: 0.0125em - ), - 'subtitle': ( - size: 12px, - weight: 400, - line-height: 20px, - // letter-spacing: 0.00937em - ), - 'body': ( - font-size: 14px, - font-weight: 400, - line-height: 22px, - // letter-spacing: 0.03125em - ), - 'caption': ( - 'size': 12px, - 'weight': 400, - 'line-height': 20px, - // 'letter-spacing': 0.03333em, - // 'text-transform': false - ) - ), - $uni-headings -); - - - -// 主色 -$uni-primary: #2979ff !default; -$uni-primary-disable:lighten($uni-primary,20%) !default; -$uni-primary-light: lighten($uni-primary,25%) !default; - -// 辅助色 -// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 -$uni-success: #18bc37 !default; -$uni-success-disable:lighten($uni-success,20%) !default; -$uni-success-light: lighten($uni-success,25%) !default; - -$uni-warning: #f3a73f !default; -$uni-warning-disable:lighten($uni-warning,20%) !default; -$uni-warning-light: lighten($uni-warning,25%) !default; - -$uni-error: #e43d33 !default; -$uni-error-disable:lighten($uni-error,20%) !default; -$uni-error-light: lighten($uni-error,25%) !default; - -$uni-info: #8f939c !default; -$uni-info-disable:lighten($uni-info,20%) !default; -$uni-info-light: lighten($uni-info,25%) !default; - -// 中性色 -// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 -$uni-main-color: #3a3a3a !default; // 主要文字 -$uni-base-color: #6a6a6a !default; // 常规文字 -$uni-secondary-color: #909399 !default; // 次要文字 -$uni-extra-color: #c7c7c7 !default; // 辅助说明 - -// 边框颜色 -$uni-border-1: #F0F0F0 !default; -$uni-border-2: #EDEDED !default; -$uni-border-3: #DCDCDC !default; -$uni-border-4: #B9B9B9 !default; - -// 常规色 -$uni-black: #000000 !default; -$uni-white: #ffffff !default; -$uni-transparent: rgba($color: #000000, $alpha: 0) !default; - -// 背景色 -$uni-bg-color: #f7f7f7 !default; - -/* 水平间距 */ -$uni-spacing-sm: 8px !default; -$uni-spacing-base: 15px !default; -$uni-spacing-lg: 30px !default; - -// 阴影 -$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5) !default; -$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2) !default; -$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5) !default; - -// 蒙版 -$uni-mask: rgba($color: #000000, $alpha: 0.4) !default; diff --git a/uniapp/uni_modules/uni-scss/styles/tools/functions.scss b/uniapp/uni_modules/uni-scss/styles/tools/functions.scss deleted file mode 100644 index ac6f63e..0000000 --- a/uniapp/uni_modules/uni-scss/styles/tools/functions.scss +++ /dev/null @@ -1,19 +0,0 @@ -// 合并 map -@function map-deep-merge($parent-map, $child-map){ - $result: $parent-map; - @each $key, $child in $child-map { - $parent-has-key: map-has-key($result, $key); - $parent-value: map-get($result, $key); - $parent-type: type-of($parent-value); - $child-type: type-of($child); - $parent-is-map: $parent-type == map; - $child-is-map: $child-type == map; - - @if (not $parent-has-key) or ($parent-type != $child-type) or (not ($parent-is-map and $child-is-map)){ - $result: map-merge($result, ( $key: $child )); - }@else { - $result: map-merge($result, ( $key: map-deep-merge($parent-value, $child) )); - } - } - @return $result; -}; diff --git a/uniapp/uni_modules/uni-scss/theme.scss b/uniapp/uni_modules/uni-scss/theme.scss deleted file mode 100644 index 80ee62f..0000000 --- a/uniapp/uni_modules/uni-scss/theme.scss +++ /dev/null @@ -1,31 +0,0 @@ -// 间距基础倍数 -$uni-space-root: 2; -// 边框半径默认值 -$uni-radius-root:5px; -// 主色 -$uni-primary: #2979ff; -// 辅助色 -$uni-success: #4cd964; -// 警告色 -$uni-warning: #f0ad4e; -// 错误色 -$uni-error: #dd524d; -// 描述色 -$uni-info: #909399; -// 中性色 -$uni-main-color: #303133; -$uni-base-color: #606266; -$uni-secondary-color: #909399; -$uni-extra-color: #C0C4CC; -// 背景色 -$uni-bg-color: #f5f5f5; -// 边框颜色 -$uni-border-1: #DCDFE6; -$uni-border-2: #E4E7ED; -$uni-border-3: #EBEEF5; -$uni-border-4: #F2F6FC; - -// 常规色 -$uni-black: #000000; -$uni-white: #ffffff; -$uni-transparent: rgba($color: #000000, $alpha: 0); diff --git a/uniapp/uni_modules/uni-scss/variables.scss b/uniapp/uni_modules/uni-scss/variables.scss deleted file mode 100644 index 1c062d4..0000000 --- a/uniapp/uni_modules/uni-scss/variables.scss +++ /dev/null @@ -1,62 +0,0 @@ -@import './styles/setting/_variables.scss'; -// 间距基础倍数 -$uni-space-root: 2; -// 边框半径默认值 -$uni-radius-root:5px; - -// 主色 -$uni-primary: #2979ff; -$uni-primary-disable:mix(#fff,$uni-primary,50%); -$uni-primary-light: mix(#fff,$uni-primary,80%); - -// 辅助色 -// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 -$uni-success: #18bc37; -$uni-success-disable:mix(#fff,$uni-success,50%); -$uni-success-light: mix(#fff,$uni-success,80%); - -$uni-warning: #f3a73f; -$uni-warning-disable:mix(#fff,$uni-warning,50%); -$uni-warning-light: mix(#fff,$uni-warning,80%); - -$uni-error: #e43d33; -$uni-error-disable:mix(#fff,$uni-error,50%); -$uni-error-light: mix(#fff,$uni-error,80%); - -$uni-info: #8f939c; -$uni-info-disable:mix(#fff,$uni-info,50%); -$uni-info-light: mix(#fff,$uni-info,80%); - -// 中性色 -// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 -$uni-main-color: #3a3a3a; // 主要文字 -$uni-base-color: #6a6a6a; // 常规文字 -$uni-secondary-color: #909399; // 次要文字 -$uni-extra-color: #c7c7c7; // 辅助说明 - -// 边框颜色 -$uni-border-1: #F0F0F0; -$uni-border-2: #EDEDED; -$uni-border-3: #DCDCDC; -$uni-border-4: #B9B9B9; - -// 常规色 -$uni-black: #000000; -$uni-white: #ffffff; -$uni-transparent: rgba($color: #000000, $alpha: 0); - -// 背景色 -$uni-bg-color: #f7f7f7; - -/* 水平间距 */ -$uni-spacing-sm: 8px; -$uni-spacing-base: 15px; -$uni-spacing-lg: 30px; - -// 阴影 -$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5); -$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2); -$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5); - -// 蒙版 -$uni-mask: rgba($color: #000000, $alpha: 0.4); diff --git a/uniapp/uni_modules/uni-transition/changelog.md b/uniapp/uni_modules/uni-transition/changelog.md deleted file mode 100644 index faaf336..0000000 --- a/uniapp/uni_modules/uni-transition/changelog.md +++ /dev/null @@ -1,24 +0,0 @@ -## 1.3.3(2024-04-23) -- 修复 当元素会受变量影响自动隐藏的bug -## 1.3.2(2023-05-04) -- 修复 NVUE 平台报错的问题 -## 1.3.1(2021-11-23) -- 修复 init 方法初始化问题 -## 1.3.0(2021-11-19) -- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) -- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-transition](https://uniapp.dcloud.io/component/uniui/uni-transition) -## 1.2.1(2021-09-27) -- 修复 init 方法不生效的 Bug -## 1.2.0(2021-07-30) -- 组件兼容 vue3,如何创建 vue3 项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) -## 1.1.1(2021-05-12) -- 新增 示例地址 -- 修复 示例项目缺少组件的 Bug -## 1.1.0(2021-04-22) -- 新增 通过方法自定义动画 -- 新增 custom-class 非 NVUE 平台支持自定义 class 定制样式 -- 优化 动画触发逻辑,使动画更流畅 -- 优化 支持单独的动画类型 -- 优化 文档示例 -## 1.0.2(2021-02-05) -- 调整为 uni_modules 目录规范 diff --git a/uniapp/uni_modules/uni-transition/components/uni-transition/createAnimation.js b/uniapp/uni_modules/uni-transition/components/uni-transition/createAnimation.js deleted file mode 100644 index 8f89b18..0000000 --- a/uniapp/uni_modules/uni-transition/components/uni-transition/createAnimation.js +++ /dev/null @@ -1,131 +0,0 @@ -// const defaultOption = { -// duration: 300, -// timingFunction: 'linear', -// delay: 0, -// transformOrigin: '50% 50% 0' -// } -// #ifdef APP-NVUE -const nvueAnimation = uni.requireNativePlugin('animation') -// #endif -class MPAnimation { - constructor(options, _this) { - this.options = options - // 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误 - this.animation = uni.createAnimation({ - ...options - }) - this.currentStepAnimates = {} - this.next = 0 - this.$ = _this - - } - - _nvuePushAnimates(type, args) { - let aniObj = this.currentStepAnimates[this.next] - let styles = {} - if (!aniObj) { - styles = { - styles: {}, - config: {} - } - } else { - styles = aniObj - } - if (animateTypes1.includes(type)) { - if (!styles.styles.transform) { - styles.styles.transform = '' - } - let unit = '' - if(type === 'rotate'){ - unit = 'deg' - } - styles.styles.transform += `${type}(${args+unit}) ` - } else { - styles.styles[type] = `${args}` - } - this.currentStepAnimates[this.next] = styles - } - _animateRun(styles = {}, config = {}) { - let ref = this.$.$refs['ani'].ref - if (!ref) return - return new Promise((resolve, reject) => { - nvueAnimation.transition(ref, { - styles, - ...config - }, res => { - resolve() - }) - }) - } - - _nvueNextAnimate(animates, step = 0, fn) { - let obj = animates[step] - if (obj) { - let { - styles, - config - } = obj - this._animateRun(styles, config).then(() => { - step += 1 - this._nvueNextAnimate(animates, step, fn) - }) - } else { - this.currentStepAnimates = {} - typeof fn === 'function' && fn() - this.isEnd = true - } - } - - step(config = {}) { - // #ifndef APP-NVUE - this.animation.step(config) - // #endif - // #ifdef APP-NVUE - this.currentStepAnimates[this.next].config = Object.assign({}, this.options, config) - this.currentStepAnimates[this.next].styles.transformOrigin = this.currentStepAnimates[this.next].config.transformOrigin - this.next++ - // #endif - return this - } - - run(fn) { - // #ifndef APP-NVUE - this.$.animationData = this.animation.export() - this.$.timer = setTimeout(() => { - typeof fn === 'function' && fn() - }, this.$.durationTime) - // #endif - // #ifdef APP-NVUE - this.isEnd = false - let ref = this.$.$refs['ani'] && this.$.$refs['ani'].ref - if(!ref) return - this._nvueNextAnimate(this.currentStepAnimates, 0, fn) - this.next = 0 - // #endif - } -} - - -const animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d', - 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY', - 'translateZ' -] -const animateTypes2 = ['opacity', 'backgroundColor'] -const animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom'] -animateTypes1.concat(animateTypes2, animateTypes3).forEach(type => { - MPAnimation.prototype[type] = function(...args) { - // #ifndef APP-NVUE - this.animation[type](...args) - // #endif - // #ifdef APP-NVUE - this._nvuePushAnimates(type, args) - // #endif - return this - } -}) - -export function createAnimation(option, _this) { - if(!_this) return - clearTimeout(_this.timer) - return new MPAnimation(option, _this) -} diff --git a/uniapp/uni_modules/uni-transition/components/uni-transition/uni-transition.vue b/uniapp/uni_modules/uni-transition/components/uni-transition/uni-transition.vue deleted file mode 100644 index f3ddd1f..0000000 --- a/uniapp/uni_modules/uni-transition/components/uni-transition/uni-transition.vue +++ /dev/null @@ -1,286 +0,0 @@ - - - - - diff --git a/uniapp/uni_modules/uni-transition/package.json b/uniapp/uni_modules/uni-transition/package.json deleted file mode 100644 index d5c20e1..0000000 --- a/uniapp/uni_modules/uni-transition/package.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "id": "uni-transition", - "displayName": "uni-transition 过渡动画", - "version": "1.3.3", - "description": "元素的简单过渡动画", - "keywords": [ - "uni-ui", - "uniui", - "动画", - "过渡", - "过渡动画" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "" - }, - "directories": { - "example": "../../temps/example_temps" - }, -"dcloudext": { - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", - "type": "component-vue" - }, - "uni_modules": { - "dependencies": ["uni-scss"], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y", - "alipay": "n" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "y" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "y", - "百度": "y", - "字节跳动": "y", - "QQ": "y" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} \ No newline at end of file diff --git a/uniapp/uni_modules/uni-transition/readme.md b/uniapp/uni_modules/uni-transition/readme.md deleted file mode 100644 index 2f8a77e..0000000 --- a/uniapp/uni_modules/uni-transition/readme.md +++ /dev/null @@ -1,11 +0,0 @@ - - -## Transition 过渡动画 -> **组件名:uni-transition** -> 代码块: `uTransition` - - -元素过渡动画 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-transition) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file diff --git a/uniapp/user_func.js b/uniapp/user_func.js deleted file mode 100644 index afdd005..0000000 --- a/uniapp/user_func.js +++ /dev/null @@ -1,4 +0,0 @@ -export const user_func={ - - -} \ No newline at end of file