commit 8c118b4ec5f81c5fc32da59f73e456cb439ea651 Author: liaoxinyu Date: Fri Nov 22 17:39:32 2024 +0800 初始化项目 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4f7eaf --- /dev/null +++ b/.gitignore @@ -0,0 +1,47 @@ +# ---> Node +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directory +# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git +#node_modules +dist + +.idea +.vscode +.buildpath +.project +.settings +.DS_Store +.hbuilderx +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? +Thumbs.db +yarn.lock +#package-lock.json +src/unpackage diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..472524f --- /dev/null +++ b/App.vue @@ -0,0 +1,1136 @@ + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..8741bf2 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# zhiwei-front + +知味日记-前端 + +## 接口域名 + +- https://zhiwei.kingfarming.cn/ 生产环境 +- https://dev.lansoft.shop 开发环境 + +## 小程序 + +- 知味日志AppID(小程序ID) wx3c09cbc4619152de + +## 多商城配置 + +修改`siteinfo.js`里面的uniacid为对应的商城ID + +- 知味日志 1 diff --git a/activity/collage/buy.vue b/activity/collage/buy.vue new file mode 100644 index 0000000..ea7dd82 --- /dev/null +++ b/activity/collage/buy.vue @@ -0,0 +1,732 @@ + + + + \ No newline at end of file diff --git a/activity/collage/commentlist.vue b/activity/collage/commentlist.vue new file mode 100644 index 0000000..0e50316 --- /dev/null +++ b/activity/collage/commentlist.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/activity/collage/index.vue b/activity/collage/index.vue new file mode 100644 index 0000000..61fe8aa --- /dev/null +++ b/activity/collage/index.vue @@ -0,0 +1,168 @@ + + + + \ No newline at end of file diff --git a/activity/collage/orderdetail.vue b/activity/collage/orderdetail.vue new file mode 100644 index 0000000..34e0020 --- /dev/null +++ b/activity/collage/orderdetail.vue @@ -0,0 +1,341 @@ + + + + \ No newline at end of file diff --git a/activity/collage/orderlist.vue b/activity/collage/orderlist.vue new file mode 100644 index 0000000..59ada84 --- /dev/null +++ b/activity/collage/orderlist.vue @@ -0,0 +1,235 @@ + + + + \ No newline at end of file diff --git a/activity/collage/product.vue b/activity/collage/product.vue new file mode 100644 index 0000000..d03c757 --- /dev/null +++ b/activity/collage/product.vue @@ -0,0 +1,628 @@ + + + \ No newline at end of file diff --git a/activity/collage/refund.vue b/activity/collage/refund.vue new file mode 100644 index 0000000..5c27be1 --- /dev/null +++ b/activity/collage/refund.vue @@ -0,0 +1,99 @@ + + + + \ No newline at end of file diff --git a/activity/collage/team.vue b/activity/collage/team.vue new file mode 100644 index 0000000..83fac47 --- /dev/null +++ b/activity/collage/team.vue @@ -0,0 +1,413 @@ + + + + \ No newline at end of file diff --git a/activity/express/address.vue b/activity/express/address.vue new file mode 100644 index 0000000..abdbb66 --- /dev/null +++ b/activity/express/address.vue @@ -0,0 +1,165 @@ + + + + \ No newline at end of file diff --git a/activity/express/addressadd.vue b/activity/express/addressadd.vue new file mode 100644 index 0000000..7ae8115 --- /dev/null +++ b/activity/express/addressadd.vue @@ -0,0 +1,261 @@ + + + \ No newline at end of file diff --git a/activity/express/common.css b/activity/express/common.css new file mode 100644 index 0000000..bdf3c75 --- /dev/null +++ b/activity/express/common.css @@ -0,0 +1,12 @@ +.tabbar{height: auto; position: relative;} +.tabbar-icon {width: 50rpx;height: 50rpx;} +.tabbar-bar {display: flex;flex-direction: row;width: 100%;height:100rpx;position: fixed;bottom: 0;padding:10rpx 0 0 0;background: #fff;font-size: 24rpx;color: #999;border-top: 1px solid #e5e5e5;z-index: 8;box-sizing:content-box} +.tabbar-item {flex: 1;text-align: center;overflow: hidden;} +.tabbar-image-box {height: 54rpx;margin-bottom: 4rpx;} +.tabbar-text {line-height: 30rpx;font-size: 24rpx;color:#222222} +.tabbar-text.active{color:#06A051} +.tabbar-bot{height:110rpx;width:100%;box-sizing:content-box} +@supports(bottom: env(safe-area-inset-bottom)){ + .tabbar-bot{padding-bottom:env(safe-area-inset-bottom);} + .tabbar-bar{padding-bottom:env(safe-area-inset-bottom);} +} \ No newline at end of file diff --git a/activity/express/index.vue b/activity/express/index.vue new file mode 100644 index 0000000..aeee5c3 --- /dev/null +++ b/activity/express/index.vue @@ -0,0 +1,230 @@ + + + \ No newline at end of file diff --git a/activity/express/kddetail.vue b/activity/express/kddetail.vue new file mode 100644 index 0000000..d099772 --- /dev/null +++ b/activity/express/kddetail.vue @@ -0,0 +1,219 @@ + + + + \ No newline at end of file diff --git a/activity/express/logistics.vue b/activity/express/logistics.vue new file mode 100644 index 0000000..1109e78 --- /dev/null +++ b/activity/express/logistics.vue @@ -0,0 +1,159 @@ + + + + \ No newline at end of file diff --git a/activity/express/mail.vue b/activity/express/mail.vue new file mode 100644 index 0000000..ebdab2c --- /dev/null +++ b/activity/express/mail.vue @@ -0,0 +1,358 @@ + + + \ No newline at end of file diff --git a/activity/ggk/index.vue b/activity/ggk/index.vue new file mode 100644 index 0000000..6ef48dd --- /dev/null +++ b/activity/ggk/index.vue @@ -0,0 +1,394 @@ + + + + \ No newline at end of file diff --git a/activity/ggk/myprize.vue b/activity/ggk/myprize.vue new file mode 100644 index 0000000..59ba4e9 --- /dev/null +++ b/activity/ggk/myprize.vue @@ -0,0 +1,260 @@ + + + + \ No newline at end of file diff --git a/activity/hongbaoEveryday/eduLog.vue b/activity/hongbaoEveryday/eduLog.vue new file mode 100644 index 0000000..805f268 --- /dev/null +++ b/activity/hongbaoEveryday/eduLog.vue @@ -0,0 +1,144 @@ + + + + \ No newline at end of file diff --git a/activity/hongbaoEveryday/index.vue b/activity/hongbaoEveryday/index.vue new file mode 100644 index 0000000..9d127d2 --- /dev/null +++ b/activity/hongbaoEveryday/index.vue @@ -0,0 +1,265 @@ + + + + \ No newline at end of file diff --git a/activity/hongbaoEveryday/log.vue b/activity/hongbaoEveryday/log.vue new file mode 100644 index 0000000..5108b75 --- /dev/null +++ b/activity/hongbaoEveryday/log.vue @@ -0,0 +1,157 @@ + + + + \ No newline at end of file diff --git a/activity/hongbaoEveryday/withdraw.vue b/activity/hongbaoEveryday/withdraw.vue new file mode 100644 index 0000000..960c442 --- /dev/null +++ b/activity/hongbaoEveryday/withdraw.vue @@ -0,0 +1,202 @@ + + + + \ No newline at end of file diff --git a/activity/kanjia/buy.vue b/activity/kanjia/buy.vue new file mode 100644 index 0000000..1bf47f3 --- /dev/null +++ b/activity/kanjia/buy.vue @@ -0,0 +1,654 @@ + + + + \ No newline at end of file diff --git a/activity/kecheng/complete.vue b/activity/kecheng/complete.vue new file mode 100644 index 0000000..05ea787 --- /dev/null +++ b/activity/kecheng/complete.vue @@ -0,0 +1,102 @@ + + + + \ No newline at end of file diff --git a/activity/kecheng/error.vue b/activity/kecheng/error.vue new file mode 100644 index 0000000..6567cd0 --- /dev/null +++ b/activity/kecheng/error.vue @@ -0,0 +1,164 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/commentlist.vue b/activity/luckycollage/commentlist.vue new file mode 100644 index 0000000..ac3bd8d --- /dev/null +++ b/activity/luckycollage/commentlist.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/index.vue b/activity/luckycollage/index.vue new file mode 100644 index 0000000..9168a79 --- /dev/null +++ b/activity/luckycollage/index.vue @@ -0,0 +1,183 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/orderdetail.vue b/activity/luckycollage/orderdetail.vue new file mode 100644 index 0000000..1ea79d4 --- /dev/null +++ b/activity/luckycollage/orderdetail.vue @@ -0,0 +1,340 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/orderlist.vue b/activity/luckycollage/orderlist.vue new file mode 100644 index 0000000..2241ba5 --- /dev/null +++ b/activity/luckycollage/orderlist.vue @@ -0,0 +1,233 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/product.vue b/activity/luckycollage/product.vue new file mode 100644 index 0000000..c3904e9 --- /dev/null +++ b/activity/luckycollage/product.vue @@ -0,0 +1,653 @@ + + + \ No newline at end of file diff --git a/activity/luckycollage/product2.vue b/activity/luckycollage/product2.vue new file mode 100644 index 0000000..f629eb2 --- /dev/null +++ b/activity/luckycollage/product2.vue @@ -0,0 +1,718 @@ + + + \ No newline at end of file diff --git a/activity/luckycollage/prolist.vue b/activity/luckycollage/prolist.vue new file mode 100644 index 0000000..3ed3900 --- /dev/null +++ b/activity/luckycollage/prolist.vue @@ -0,0 +1,192 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/refund.vue b/activity/luckycollage/refund.vue new file mode 100644 index 0000000..5cb7f2e --- /dev/null +++ b/activity/luckycollage/refund.vue @@ -0,0 +1,100 @@ + + + + \ No newline at end of file diff --git a/activity/luckycollage/team.vue b/activity/luckycollage/team.vue new file mode 100644 index 0000000..367f7c3 --- /dev/null +++ b/activity/luckycollage/team.vue @@ -0,0 +1,443 @@ + + + + \ No newline at end of file diff --git a/activity/luntan/detail.vue b/activity/luntan/detail.vue new file mode 100644 index 0000000..e36f162 --- /dev/null +++ b/activity/luntan/detail.vue @@ -0,0 +1,1179 @@ + + + + diff --git a/activity/luntan/fatie.vue b/activity/luntan/fatie.vue new file mode 100644 index 0000000..deed96b --- /dev/null +++ b/activity/luntan/fatie.vue @@ -0,0 +1,253 @@ + + + + \ No newline at end of file diff --git a/activity/luntan/ltlist.vue b/activity/luntan/ltlist.vue new file mode 100644 index 0000000..9e5a586 --- /dev/null +++ b/activity/luntan/ltlist.vue @@ -0,0 +1,188 @@ + + + + \ No newline at end of file diff --git a/activity/luntan/pinglun.vue b/activity/luntan/pinglun.vue new file mode 100644 index 0000000..1ac7084 --- /dev/null +++ b/activity/luntan/pinglun.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/common.css b/activity/peisong/common.css new file mode 100644 index 0000000..bdf3c75 --- /dev/null +++ b/activity/peisong/common.css @@ -0,0 +1,12 @@ +.tabbar{height: auto; position: relative;} +.tabbar-icon {width: 50rpx;height: 50rpx;} +.tabbar-bar {display: flex;flex-direction: row;width: 100%;height:100rpx;position: fixed;bottom: 0;padding:10rpx 0 0 0;background: #fff;font-size: 24rpx;color: #999;border-top: 1px solid #e5e5e5;z-index: 8;box-sizing:content-box} +.tabbar-item {flex: 1;text-align: center;overflow: hidden;} +.tabbar-image-box {height: 54rpx;margin-bottom: 4rpx;} +.tabbar-text {line-height: 30rpx;font-size: 24rpx;color:#222222} +.tabbar-text.active{color:#06A051} +.tabbar-bot{height:110rpx;width:100%;box-sizing:content-box} +@supports(bottom: env(safe-area-inset-bottom)){ + .tabbar-bot{padding-bottom:env(safe-area-inset-bottom);} + .tabbar-bar{padding-bottom:env(safe-area-inset-bottom);} +} \ No newline at end of file diff --git a/activity/peisong/dating.vue b/activity/peisong/dating.vue new file mode 100644 index 0000000..75b8a65 --- /dev/null +++ b/activity/peisong/dating.vue @@ -0,0 +1,321 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/moneylog.vue b/activity/peisong/moneylog.vue new file mode 100644 index 0000000..4186f8d --- /dev/null +++ b/activity/peisong/moneylog.vue @@ -0,0 +1,140 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/my.vue b/activity/peisong/my.vue new file mode 100644 index 0000000..905c254 --- /dev/null +++ b/activity/peisong/my.vue @@ -0,0 +1,217 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/orderdetail.vue b/activity/peisong/orderdetail.vue new file mode 100644 index 0000000..bbcb067 --- /dev/null +++ b/activity/peisong/orderdetail.vue @@ -0,0 +1,334 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/orderlist.vue b/activity/peisong/orderlist.vue new file mode 100644 index 0000000..317639a --- /dev/null +++ b/activity/peisong/orderlist.vue @@ -0,0 +1,330 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/setaliaccount.vue b/activity/peisong/setaliaccount.vue new file mode 100644 index 0000000..01ce7ce --- /dev/null +++ b/activity/peisong/setaliaccount.vue @@ -0,0 +1,73 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/setinfo.vue b/activity/peisong/setinfo.vue new file mode 100644 index 0000000..6076cfd --- /dev/null +++ b/activity/peisong/setinfo.vue @@ -0,0 +1,159 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/setweixin.vue b/activity/peisong/setweixin.vue new file mode 100644 index 0000000..dac5c5a --- /dev/null +++ b/activity/peisong/setweixin.vue @@ -0,0 +1,72 @@ + + + + \ No newline at end of file diff --git a/activity/peisong/withdraw.vue b/activity/peisong/withdraw.vue new file mode 100644 index 0000000..ddd956e --- /dev/null +++ b/activity/peisong/withdraw.vue @@ -0,0 +1,192 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/buy.vue b/activity/scoreshop/buy.vue new file mode 100644 index 0000000..df5953d --- /dev/null +++ b/activity/scoreshop/buy.vue @@ -0,0 +1,593 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/commentlist.vue b/activity/scoreshop/commentlist.vue new file mode 100644 index 0000000..5177367 --- /dev/null +++ b/activity/scoreshop/commentlist.vue @@ -0,0 +1,125 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/index.vue b/activity/scoreshop/index.vue new file mode 100644 index 0000000..fdbc9de --- /dev/null +++ b/activity/scoreshop/index.vue @@ -0,0 +1,231 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/orderdetail.vue b/activity/scoreshop/orderdetail.vue new file mode 100644 index 0000000..0a85a16 --- /dev/null +++ b/activity/scoreshop/orderdetail.vue @@ -0,0 +1,372 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/orderlist.vue b/activity/scoreshop/orderlist.vue new file mode 100644 index 0000000..36b3823 --- /dev/null +++ b/activity/scoreshop/orderlist.vue @@ -0,0 +1,231 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/poster.vue b/activity/scoreshop/poster.vue new file mode 100644 index 0000000..49c2519 --- /dev/null +++ b/activity/scoreshop/poster.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/activity/scoreshop/product.vue b/activity/scoreshop/product.vue new file mode 100644 index 0000000..cb33222 --- /dev/null +++ b/activity/scoreshop/product.vue @@ -0,0 +1,1271 @@ + + + + diff --git a/activity/scoreshop/prolist.vue b/activity/scoreshop/prolist.vue new file mode 100644 index 0000000..210be9b --- /dev/null +++ b/activity/scoreshop/prolist.vue @@ -0,0 +1,514 @@ + + + + \ No newline at end of file diff --git a/activity/scoreshop/refund.vue b/activity/scoreshop/refund.vue new file mode 100644 index 0000000..b13b06b --- /dev/null +++ b/activity/scoreshop/refund.vue @@ -0,0 +1,96 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/buy.vue b/activity/seckill/buy.vue new file mode 100644 index 0000000..f435bde --- /dev/null +++ b/activity/seckill/buy.vue @@ -0,0 +1,733 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/commentlist.vue b/activity/seckill/commentlist.vue new file mode 100644 index 0000000..211c7a7 --- /dev/null +++ b/activity/seckill/commentlist.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/index.vue b/activity/seckill/index.vue new file mode 100644 index 0000000..cca6e64 --- /dev/null +++ b/activity/seckill/index.vue @@ -0,0 +1,183 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/orderdetail.vue b/activity/seckill/orderdetail.vue new file mode 100644 index 0000000..fbec3e2 --- /dev/null +++ b/activity/seckill/orderdetail.vue @@ -0,0 +1,330 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/orderlist.vue b/activity/seckill/orderlist.vue new file mode 100644 index 0000000..57895f0 --- /dev/null +++ b/activity/seckill/orderlist.vue @@ -0,0 +1,214 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/product.vue b/activity/seckill/product.vue new file mode 100644 index 0000000..11ba160 --- /dev/null +++ b/activity/seckill/product.vue @@ -0,0 +1,689 @@ + + + + \ No newline at end of file diff --git a/activity/seckill/refund.vue b/activity/seckill/refund.vue new file mode 100644 index 0000000..edf0cb3 --- /dev/null +++ b/activity/seckill/refund.vue @@ -0,0 +1,91 @@ + + + + \ No newline at end of file diff --git a/activity/shortvideo/detail.nvue b/activity/shortvideo/detail.nvue new file mode 100644 index 0000000..02bec32 --- /dev/null +++ b/activity/shortvideo/detail.nvue @@ -0,0 +1,1896 @@ + + + + diff --git a/activity/shortvideo/index.vue b/activity/shortvideo/index.vue new file mode 100644 index 0000000..85276c6 --- /dev/null +++ b/activity/shortvideo/index.vue @@ -0,0 +1,196 @@ + + + + \ No newline at end of file diff --git a/activity/shortvideo/myupload.vue b/activity/shortvideo/myupload.vue new file mode 100644 index 0000000..5009e86 --- /dev/null +++ b/activity/shortvideo/myupload.vue @@ -0,0 +1,164 @@ + + + + \ No newline at end of file diff --git a/activity/shortvideo/uploadvideo.vue b/activity/shortvideo/uploadvideo.vue new file mode 100644 index 0000000..3ce6277 --- /dev/null +++ b/activity/shortvideo/uploadvideo.vue @@ -0,0 +1,244 @@ + + + + \ No newline at end of file diff --git a/activity/toupiao/baoming.vue b/activity/toupiao/baoming.vue new file mode 100644 index 0000000..db43725 --- /dev/null +++ b/activity/toupiao/baoming.vue @@ -0,0 +1,190 @@ + + + + \ No newline at end of file diff --git a/activity/toupiao/detail.vue b/activity/toupiao/detail.vue new file mode 100644 index 0000000..3236155 --- /dev/null +++ b/activity/toupiao/detail.vue @@ -0,0 +1,313 @@ + + + + \ No newline at end of file diff --git a/activity/toupiao/index.vue b/activity/toupiao/index.vue new file mode 100644 index 0000000..970c3d2 --- /dev/null +++ b/activity/toupiao/index.vue @@ -0,0 +1,380 @@ + + + + \ No newline at end of file diff --git a/activity/toupiao/phb.vue b/activity/toupiao/phb.vue new file mode 100644 index 0000000..ed55882 --- /dev/null +++ b/activity/toupiao/phb.vue @@ -0,0 +1,168 @@ + + + + \ No newline at end of file diff --git a/activity/toupiao/shuoming.vue b/activity/toupiao/shuoming.vue new file mode 100644 index 0000000..e2288a9 --- /dev/null +++ b/activity/toupiao/shuoming.vue @@ -0,0 +1,190 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/buy.vue b/activity/tuangou/buy.vue new file mode 100644 index 0000000..d78a1e6 --- /dev/null +++ b/activity/tuangou/buy.vue @@ -0,0 +1,736 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/commentlist.vue b/activity/tuangou/commentlist.vue new file mode 100644 index 0000000..a5f9d6f --- /dev/null +++ b/activity/tuangou/commentlist.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/orderdetail.vue b/activity/tuangou/orderdetail.vue new file mode 100644 index 0000000..797ab77 --- /dev/null +++ b/activity/tuangou/orderdetail.vue @@ -0,0 +1,338 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/orderlist.vue b/activity/tuangou/orderlist.vue new file mode 100644 index 0000000..063a53a --- /dev/null +++ b/activity/tuangou/orderlist.vue @@ -0,0 +1,215 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/product.vue b/activity/tuangou/product.vue new file mode 100644 index 0000000..5b6c716 --- /dev/null +++ b/activity/tuangou/product.vue @@ -0,0 +1,753 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/prolist.vue b/activity/tuangou/prolist.vue new file mode 100644 index 0000000..6e8bb32 --- /dev/null +++ b/activity/tuangou/prolist.vue @@ -0,0 +1,333 @@ + + + + \ No newline at end of file diff --git a/activity/tuangou/refund.vue b/activity/tuangou/refund.vue new file mode 100644 index 0000000..cece4c3 --- /dev/null +++ b/activity/tuangou/refund.vue @@ -0,0 +1,91 @@ + + + + \ No newline at end of file diff --git a/activity/workorder/detail.vue b/activity/workorder/detail.vue new file mode 100644 index 0000000..c073fb4 --- /dev/null +++ b/activity/workorder/detail.vue @@ -0,0 +1,152 @@ + + + + \ No newline at end of file diff --git a/activity/workorder/form/formdetail.vue b/activity/workorder/form/formdetail.vue new file mode 100644 index 0000000..2e488ad --- /dev/null +++ b/activity/workorder/form/formdetail.vue @@ -0,0 +1,132 @@ + + + + \ No newline at end of file diff --git a/activity/workorder/form/formpay.vue b/activity/workorder/form/formpay.vue new file mode 100644 index 0000000..308faf9 --- /dev/null +++ b/activity/workorder/form/formpay.vue @@ -0,0 +1,180 @@ + + + + \ No newline at end of file diff --git a/activity/workorder/index.vue b/activity/workorder/index.vue new file mode 100644 index 0000000..bd4cf5c --- /dev/null +++ b/activity/workorder/index.vue @@ -0,0 +1,366 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/buy.vue b/activity/yuyue/buy.vue new file mode 100644 index 0000000..10ffcb6 --- /dev/null +++ b/activity/yuyue/buy.vue @@ -0,0 +1,530 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/commentdp.vue b/activity/yuyue/commentdp.vue new file mode 100644 index 0000000..0e24c01 --- /dev/null +++ b/activity/yuyue/commentdp.vue @@ -0,0 +1,186 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/commentlist.vue b/activity/yuyue/commentlist.vue new file mode 100644 index 0000000..25bf34e --- /dev/null +++ b/activity/yuyue/commentlist.vue @@ -0,0 +1,127 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/commentps.vue b/activity/yuyue/commentps.vue new file mode 100644 index 0000000..8e1c156 --- /dev/null +++ b/activity/yuyue/commentps.vue @@ -0,0 +1,186 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/common.css b/activity/yuyue/common.css new file mode 100644 index 0000000..bdf3c75 --- /dev/null +++ b/activity/yuyue/common.css @@ -0,0 +1,12 @@ +.tabbar{height: auto; position: relative;} +.tabbar-icon {width: 50rpx;height: 50rpx;} +.tabbar-bar {display: flex;flex-direction: row;width: 100%;height:100rpx;position: fixed;bottom: 0;padding:10rpx 0 0 0;background: #fff;font-size: 24rpx;color: #999;border-top: 1px solid #e5e5e5;z-index: 8;box-sizing:content-box} +.tabbar-item {flex: 1;text-align: center;overflow: hidden;} +.tabbar-image-box {height: 54rpx;margin-bottom: 4rpx;} +.tabbar-text {line-height: 30rpx;font-size: 24rpx;color:#222222} +.tabbar-text.active{color:#06A051} +.tabbar-bot{height:110rpx;width:100%;box-sizing:content-box} +@supports(bottom: env(safe-area-inset-bottom)){ + .tabbar-bot{padding-bottom:env(safe-area-inset-bottom);} + .tabbar-bar{padding-bottom:env(safe-area-inset-bottom);} +} \ No newline at end of file diff --git a/activity/yuyue/dating.vue b/activity/yuyue/dating.vue new file mode 100644 index 0000000..dd06885 --- /dev/null +++ b/activity/yuyue/dating.vue @@ -0,0 +1,320 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/hexiao.vue b/activity/yuyue/hexiao.vue new file mode 100644 index 0000000..ead44b7 --- /dev/null +++ b/activity/yuyue/hexiao.vue @@ -0,0 +1,254 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/jdorderdetail.vue b/activity/yuyue/jdorderdetail.vue new file mode 100644 index 0000000..1955244 --- /dev/null +++ b/activity/yuyue/jdorderdetail.vue @@ -0,0 +1,317 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/jdorderlist.vue b/activity/yuyue/jdorderlist.vue new file mode 100644 index 0000000..0d169d9 --- /dev/null +++ b/activity/yuyue/jdorderlist.vue @@ -0,0 +1,341 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/login.vue b/activity/yuyue/login.vue new file mode 100644 index 0000000..861b691 --- /dev/null +++ b/activity/yuyue/login.vue @@ -0,0 +1,116 @@ + + + + + \ No newline at end of file diff --git a/activity/yuyue/logistics.vue b/activity/yuyue/logistics.vue new file mode 100644 index 0000000..2e33220 --- /dev/null +++ b/activity/yuyue/logistics.vue @@ -0,0 +1,259 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/moneylog.vue b/activity/yuyue/moneylog.vue new file mode 100644 index 0000000..b4bae85 --- /dev/null +++ b/activity/yuyue/moneylog.vue @@ -0,0 +1,140 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/my.vue b/activity/yuyue/my.vue new file mode 100644 index 0000000..dbe52d8 --- /dev/null +++ b/activity/yuyue/my.vue @@ -0,0 +1,223 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/orderdetail.vue b/activity/yuyue/orderdetail.vue new file mode 100644 index 0000000..fbb65d5 --- /dev/null +++ b/activity/yuyue/orderdetail.vue @@ -0,0 +1,444 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/orderlist.vue b/activity/yuyue/orderlist.vue new file mode 100644 index 0000000..a076711 --- /dev/null +++ b/activity/yuyue/orderlist.vue @@ -0,0 +1,232 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/peodetail.vue b/activity/yuyue/peodetail.vue new file mode 100644 index 0000000..3684fe0 --- /dev/null +++ b/activity/yuyue/peodetail.vue @@ -0,0 +1,229 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/peodetail2.vue b/activity/yuyue/peodetail2.vue new file mode 100644 index 0000000..78abbff --- /dev/null +++ b/activity/yuyue/peodetail2.vue @@ -0,0 +1,203 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/peolist.vue b/activity/yuyue/peolist.vue new file mode 100644 index 0000000..4ec33d0 --- /dev/null +++ b/activity/yuyue/peolist.vue @@ -0,0 +1,229 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/peolist2.vue b/activity/yuyue/peolist2.vue new file mode 100644 index 0000000..69c45b4 --- /dev/null +++ b/activity/yuyue/peolist2.vue @@ -0,0 +1,292 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/product.vue b/activity/yuyue/product.vue new file mode 100644 index 0000000..6784f42 --- /dev/null +++ b/activity/yuyue/product.vue @@ -0,0 +1,797 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/product2.vue b/activity/yuyue/product2.vue new file mode 100644 index 0000000..80e80a2 --- /dev/null +++ b/activity/yuyue/product2.vue @@ -0,0 +1,621 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/prolist.vue b/activity/yuyue/prolist.vue new file mode 100644 index 0000000..95c21e7 --- /dev/null +++ b/activity/yuyue/prolist.vue @@ -0,0 +1,312 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/refund.vue b/activity/yuyue/refund.vue new file mode 100644 index 0000000..03de7bb --- /dev/null +++ b/activity/yuyue/refund.vue @@ -0,0 +1,85 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/search.vue b/activity/yuyue/search.vue new file mode 100644 index 0000000..3b72a91 --- /dev/null +++ b/activity/yuyue/search.vue @@ -0,0 +1,286 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/selectpeople.vue b/activity/yuyue/selectpeople.vue new file mode 100644 index 0000000..d69ff12 --- /dev/null +++ b/activity/yuyue/selectpeople.vue @@ -0,0 +1,102 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/setaliaccount.vue b/activity/yuyue/setaliaccount.vue new file mode 100644 index 0000000..01ce7ce --- /dev/null +++ b/activity/yuyue/setaliaccount.vue @@ -0,0 +1,73 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/setinfo.vue b/activity/yuyue/setinfo.vue new file mode 100644 index 0000000..9f0bc1c --- /dev/null +++ b/activity/yuyue/setinfo.vue @@ -0,0 +1,159 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/setpwd.vue b/activity/yuyue/setpwd.vue new file mode 100644 index 0000000..8054538 --- /dev/null +++ b/activity/yuyue/setpwd.vue @@ -0,0 +1,110 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/setweixin.vue b/activity/yuyue/setweixin.vue new file mode 100644 index 0000000..dac5c5a --- /dev/null +++ b/activity/yuyue/setweixin.vue @@ -0,0 +1,72 @@ + + + + \ No newline at end of file diff --git a/activity/yuyue/withdraw.vue b/activity/yuyue/withdraw.vue new file mode 100644 index 0000000..580e7d5 --- /dev/null +++ b/activity/yuyue/withdraw.vue @@ -0,0 +1,193 @@ + + + + \ No newline at end of file diff --git a/activity/yx/kouling.vue b/activity/yx/kouling.vue new file mode 100644 index 0000000..2f145a5 --- /dev/null +++ b/activity/yx/kouling.vue @@ -0,0 +1,73 @@ + + + + \ No newline at end of file diff --git a/admin/common.css b/admin/common.css new file mode 100644 index 0000000..13c748b --- /dev/null +++ b/admin/common.css @@ -0,0 +1,12 @@ +.tabbar{height: auto; position: relative;} +.tabbar-icon {width: 50rpx;height: 50rpx;} +.tabbar-bar {display: flex;flex-direction: row;width: 100%;height:100rpx;position: fixed;bottom: 0;padding:10rpx 0 0 0;background: #fff;font-size: 24rpx;color: #999;border-top: 1px solid #e5e5e5;z-index: 999999;box-sizing:content-box} +.tabbar-item {flex: 1;text-align: center;overflow: hidden;} +.tabbar-image-box {height: 54rpx;margin-bottom: 4rpx;} +.tabbar-text {line-height: 30rpx;font-size: 24rpx;color:#222222} +.tabbar-text.active{color:#FC5729} +.tabbar-bot{height:110rpx;width:100%;box-sizing:content-box} +@supports(bottom: env(safe-area-inset-bottom)){ + .tabbar-bot{padding-bottom:env(safe-area-inset-bottom);} + .tabbar-bar{padding-bottom:env(safe-area-inset-bottom);} +} diff --git a/admin/finance/bmoneylog.vue b/admin/finance/bmoneylog.vue new file mode 100644 index 0000000..730fa86 --- /dev/null +++ b/admin/finance/bmoneylog.vue @@ -0,0 +1,121 @@ + + + + \ No newline at end of file diff --git a/admin/finance/bwithdraw.vue b/admin/finance/bwithdraw.vue new file mode 100644 index 0000000..6d71258 --- /dev/null +++ b/admin/finance/bwithdraw.vue @@ -0,0 +1,196 @@ + + + + \ No newline at end of file diff --git a/admin/finance/bwithdrawlog.vue b/admin/finance/bwithdrawlog.vue new file mode 100644 index 0000000..4b3a42c --- /dev/null +++ b/admin/finance/bwithdrawlog.vue @@ -0,0 +1,122 @@ + + + + \ No newline at end of file diff --git a/admin/finance/commissionlog.vue b/admin/finance/commissionlog.vue new file mode 100644 index 0000000..688e731 --- /dev/null +++ b/admin/finance/commissionlog.vue @@ -0,0 +1,147 @@ + + + + \ No newline at end of file diff --git a/admin/finance/comwithdrawdetail.vue b/admin/finance/comwithdrawdetail.vue new file mode 100644 index 0000000..7e093e6 --- /dev/null +++ b/admin/finance/comwithdrawdetail.vue @@ -0,0 +1,190 @@ + + + + \ No newline at end of file diff --git a/admin/finance/comwithdrawlog.vue b/admin/finance/comwithdrawlog.vue new file mode 100644 index 0000000..93bae3f --- /dev/null +++ b/admin/finance/comwithdrawlog.vue @@ -0,0 +1,161 @@ + + + + \ No newline at end of file diff --git a/admin/finance/index.vue b/admin/finance/index.vue new file mode 100644 index 0000000..50fc49d --- /dev/null +++ b/admin/finance/index.vue @@ -0,0 +1,220 @@ + + + + \ No newline at end of file diff --git a/admin/finance/moneylog.vue b/admin/finance/moneylog.vue new file mode 100644 index 0000000..00b1331 --- /dev/null +++ b/admin/finance/moneylog.vue @@ -0,0 +1,147 @@ + + + + \ No newline at end of file diff --git a/admin/finance/rechargelog.vue b/admin/finance/rechargelog.vue new file mode 100644 index 0000000..0080222 --- /dev/null +++ b/admin/finance/rechargelog.vue @@ -0,0 +1,148 @@ + + + + \ No newline at end of file diff --git a/admin/finance/txset.vue b/admin/finance/txset.vue new file mode 100644 index 0000000..a75c623 --- /dev/null +++ b/admin/finance/txset.vue @@ -0,0 +1,116 @@ + + + + \ No newline at end of file diff --git a/admin/finance/withdrawdetail.vue b/admin/finance/withdrawdetail.vue new file mode 100644 index 0000000..47b1bd9 --- /dev/null +++ b/admin/finance/withdrawdetail.vue @@ -0,0 +1,187 @@ + + + + \ No newline at end of file diff --git a/admin/finance/withdrawlog.vue b/admin/finance/withdrawlog.vue new file mode 100644 index 0000000..e10d071 --- /dev/null +++ b/admin/finance/withdrawlog.vue @@ -0,0 +1,160 @@ + + + + \ No newline at end of file diff --git a/admin/finance/yuebaolog.vue b/admin/finance/yuebaolog.vue new file mode 100644 index 0000000..4923026 --- /dev/null +++ b/admin/finance/yuebaolog.vue @@ -0,0 +1,146 @@ + + + + \ No newline at end of file diff --git a/admin/finance/yuebaowithdrawdetail.vue b/admin/finance/yuebaowithdrawdetail.vue new file mode 100644 index 0000000..1bc644f --- /dev/null +++ b/admin/finance/yuebaowithdrawdetail.vue @@ -0,0 +1,187 @@ + + + + \ No newline at end of file diff --git a/admin/finance/yuebaowithdrawlog.vue b/admin/finance/yuebaowithdrawlog.vue new file mode 100644 index 0000000..acff018 --- /dev/null +++ b/admin/finance/yuebaowithdrawlog.vue @@ -0,0 +1,160 @@ + + + + \ No newline at end of file diff --git a/admin/form/formdetail.vue b/admin/form/formdetail.vue new file mode 100644 index 0000000..213e167 --- /dev/null +++ b/admin/form/formdetail.vue @@ -0,0 +1,165 @@ + + + + \ No newline at end of file diff --git a/admin/form/formlog.vue b/admin/form/formlog.vue new file mode 100644 index 0000000..6407d47 --- /dev/null +++ b/admin/form/formlog.vue @@ -0,0 +1,118 @@ + + + + \ No newline at end of file diff --git a/admin/hexiao/hexiao.vue b/admin/hexiao/hexiao.vue new file mode 100644 index 0000000..cf4c32c --- /dev/null +++ b/admin/hexiao/hexiao.vue @@ -0,0 +1,366 @@ + + + + \ No newline at end of file diff --git a/admin/hexiao/record.vue b/admin/hexiao/record.vue new file mode 100644 index 0000000..a6f85a7 --- /dev/null +++ b/admin/hexiao/record.vue @@ -0,0 +1,142 @@ + + + + \ No newline at end of file diff --git a/admin/images/arrow-green.png b/admin/images/arrow-green.png new file mode 100644 index 0000000..4e2f4e3 Binary files /dev/null and b/admin/images/arrow-green.png differ diff --git a/admin/images/arrow-white.png b/admin/images/arrow-white.png new file mode 100644 index 0000000..51b51ca Binary files /dev/null and b/admin/images/arrow-white.png differ diff --git a/admin/images/arrowdown.png b/admin/images/arrowdown.png new file mode 100644 index 0000000..a40a306 Binary files /dev/null and b/admin/images/arrowdown.png differ diff --git a/admin/images/arrowright.png b/admin/images/arrowright.png new file mode 100644 index 0000000..c3bab18 Binary files /dev/null and b/admin/images/arrowright.png differ diff --git a/admin/images/commissionlog.png b/admin/images/commissionlog.png new file mode 100644 index 0000000..9527885 Binary files /dev/null and b/admin/images/commissionlog.png differ diff --git a/admin/images/comwithdrawlog.png b/admin/images/comwithdrawlog.png new file mode 100644 index 0000000..5b35420 Binary files /dev/null and b/admin/images/comwithdrawlog.png differ diff --git a/admin/images/face-icon.png b/admin/images/face-icon.png new file mode 100644 index 0000000..5222b46 Binary files /dev/null and b/admin/images/face-icon.png differ diff --git a/admin/images/finance.png b/admin/images/finance.png new file mode 100644 index 0000000..74c6936 Binary files /dev/null and b/admin/images/finance.png differ diff --git a/admin/images/finance2.png b/admin/images/finance2.png new file mode 100644 index 0000000..4fbd2c4 Binary files /dev/null and b/admin/images/finance2.png differ diff --git a/admin/images/ico-scan.png b/admin/images/ico-scan.png new file mode 100644 index 0000000..5a75298 Binary files /dev/null and b/admin/images/ico-scan.png differ diff --git a/admin/images/member.png b/admin/images/member.png new file mode 100644 index 0000000..7e95fd6 Binary files /dev/null and b/admin/images/member.png differ diff --git a/admin/images/member2.png b/admin/images/member2.png new file mode 100644 index 0000000..ff4359a Binary files /dev/null and b/admin/images/member2.png differ diff --git a/admin/images/moneylog.png b/admin/images/moneylog.png new file mode 100644 index 0000000..b502a4c Binary files /dev/null and b/admin/images/moneylog.png differ diff --git a/admin/images/msg-pic.png b/admin/images/msg-pic.png new file mode 100644 index 0000000..f0c36a3 Binary files /dev/null and b/admin/images/msg-pic.png differ diff --git a/admin/images/my.png b/admin/images/my.png new file mode 100644 index 0000000..a97dbbc Binary files /dev/null and b/admin/images/my.png differ diff --git a/admin/images/my2.png b/admin/images/my2.png new file mode 100644 index 0000000..ed64086 Binary files /dev/null and b/admin/images/my2.png differ diff --git a/admin/images/order.png b/admin/images/order.png new file mode 100644 index 0000000..e0dd741 Binary files /dev/null and b/admin/images/order.png differ diff --git a/admin/images/order1.png b/admin/images/order1.png new file mode 100644 index 0000000..4e0a597 Binary files /dev/null and b/admin/images/order1.png differ diff --git a/admin/images/order2.png b/admin/images/order2.png new file mode 100644 index 0000000..664321e Binary files /dev/null and b/admin/images/order2.png differ diff --git a/admin/images/order3.png b/admin/images/order3.png new file mode 100644 index 0000000..bb54805 Binary files /dev/null and b/admin/images/order3.png differ diff --git a/admin/images/order4.png b/admin/images/order4.png new file mode 100644 index 0000000..6efb753 Binary files /dev/null and b/admin/images/order4.png differ diff --git a/admin/images/rechargelog.png b/admin/images/rechargelog.png new file mode 100644 index 0000000..4a740dd Binary files /dev/null and b/admin/images/rechargelog.png differ diff --git a/admin/images/withdrawlog.png b/admin/images/withdrawlog.png new file mode 100644 index 0000000..91abf95 Binary files /dev/null and b/admin/images/withdrawlog.png differ diff --git a/admin/images/zixun.png b/admin/images/zixun.png new file mode 100644 index 0000000..ce1cdde Binary files /dev/null and b/admin/images/zixun.png differ diff --git a/admin/images/zixun2.png b/admin/images/zixun2.png new file mode 100644 index 0000000..571dadb Binary files /dev/null and b/admin/images/zixun2.png differ diff --git a/admin/index/businessqr.vue b/admin/index/businessqr.vue new file mode 100644 index 0000000..f3b4934 --- /dev/null +++ b/admin/index/businessqr.vue @@ -0,0 +1,41 @@ + + + + \ No newline at end of file diff --git a/admin/index/index.vue b/admin/index/index.vue new file mode 100644 index 0000000..e096426 --- /dev/null +++ b/admin/index/index.vue @@ -0,0 +1,490 @@ + + + + \ No newline at end of file diff --git a/admin/index/login.vue b/admin/index/login.vue new file mode 100644 index 0000000..a4283be --- /dev/null +++ b/admin/index/login.vue @@ -0,0 +1,118 @@ + + + + + \ No newline at end of file diff --git a/admin/index/recharge.vue b/admin/index/recharge.vue new file mode 100644 index 0000000..8f8a708 --- /dev/null +++ b/admin/index/recharge.vue @@ -0,0 +1,139 @@ + + + + \ No newline at end of file diff --git a/admin/index/setinfo.vue b/admin/index/setinfo.vue new file mode 100644 index 0000000..77059bb --- /dev/null +++ b/admin/index/setinfo.vue @@ -0,0 +1,342 @@ + + + + \ No newline at end of file diff --git a/admin/index/setpwd.vue b/admin/index/setpwd.vue new file mode 100644 index 0000000..ce9d25f --- /dev/null +++ b/admin/index/setpwd.vue @@ -0,0 +1,110 @@ + + + + \ No newline at end of file diff --git a/admin/index/withdraw.vue b/admin/index/withdraw.vue new file mode 100644 index 0000000..f696ae1 --- /dev/null +++ b/admin/index/withdraw.vue @@ -0,0 +1,158 @@ + + + + \ No newline at end of file diff --git a/admin/kefu/index.vue b/admin/kefu/index.vue new file mode 100644 index 0000000..3f716dc --- /dev/null +++ b/admin/kefu/index.vue @@ -0,0 +1,222 @@ + + + + \ No newline at end of file diff --git a/admin/kefu/message.vue b/admin/kefu/message.vue new file mode 100644 index 0000000..d678753 --- /dev/null +++ b/admin/kefu/message.vue @@ -0,0 +1,305 @@ + + + \ No newline at end of file diff --git a/admin/login/index.vue b/admin/login/index.vue new file mode 100644 index 0000000..67a832e --- /dev/null +++ b/admin/login/index.vue @@ -0,0 +1,87 @@ + + + + \ No newline at end of file diff --git a/admin/member/detail.vue b/admin/member/detail.vue new file mode 100644 index 0000000..d8abf6a --- /dev/null +++ b/admin/member/detail.vue @@ -0,0 +1,238 @@ + + + + \ No newline at end of file diff --git a/admin/member/index.vue b/admin/member/index.vue new file mode 100644 index 0000000..530fdb5 --- /dev/null +++ b/admin/member/index.vue @@ -0,0 +1,173 @@ + + + + \ No newline at end of file diff --git a/admin/order/collageorder.vue b/admin/order/collageorder.vue new file mode 100644 index 0000000..44a3f3b --- /dev/null +++ b/admin/order/collageorder.vue @@ -0,0 +1,173 @@ + + + + \ No newline at end of file diff --git a/admin/order/collageorderdetail.vue b/admin/order/collageorderdetail.vue new file mode 100644 index 0000000..6f2dabc --- /dev/null +++ b/admin/order/collageorderdetail.vue @@ -0,0 +1,695 @@ + + + + \ No newline at end of file diff --git a/admin/order/kanjiaorder.vue b/admin/order/kanjiaorder.vue new file mode 100644 index 0000000..985a3a1 --- /dev/null +++ b/admin/order/kanjiaorder.vue @@ -0,0 +1,163 @@ + + + + \ No newline at end of file diff --git a/admin/order/kanjiaorderdetail.vue b/admin/order/kanjiaorderdetail.vue new file mode 100644 index 0000000..1b7dfe5 --- /dev/null +++ b/admin/order/kanjiaorderdetail.vue @@ -0,0 +1,674 @@ + + + + \ No newline at end of file diff --git a/admin/order/luckycollageorder.vue b/admin/order/luckycollageorder.vue new file mode 100644 index 0000000..ccc2222 --- /dev/null +++ b/admin/order/luckycollageorder.vue @@ -0,0 +1,173 @@ + + + + \ No newline at end of file diff --git a/admin/order/luckycollageorderdetail.vue b/admin/order/luckycollageorderdetail.vue new file mode 100644 index 0000000..acc6ae4 --- /dev/null +++ b/admin/order/luckycollageorderdetail.vue @@ -0,0 +1,695 @@ + + + + \ No newline at end of file diff --git a/admin/order/maidanlog.vue b/admin/order/maidanlog.vue new file mode 100644 index 0000000..401fbb0 --- /dev/null +++ b/admin/order/maidanlog.vue @@ -0,0 +1,147 @@ + + + + \ No newline at end of file diff --git a/admin/order/scoreshoporder.vue b/admin/order/scoreshoporder.vue new file mode 100644 index 0000000..c54c82b --- /dev/null +++ b/admin/order/scoreshoporder.vue @@ -0,0 +1,218 @@ + + + + \ No newline at end of file diff --git a/admin/order/scoreshoporderdetail.vue b/admin/order/scoreshoporderdetail.vue new file mode 100644 index 0000000..2f961af --- /dev/null +++ b/admin/order/scoreshoporderdetail.vue @@ -0,0 +1,698 @@ + + + + \ No newline at end of file diff --git a/admin/order/seckill2order.vue b/admin/order/seckill2order.vue new file mode 100644 index 0000000..7c6ead6 --- /dev/null +++ b/admin/order/seckill2order.vue @@ -0,0 +1,151 @@ + + + + \ No newline at end of file diff --git a/admin/order/seckill2orderdetail.vue b/admin/order/seckill2orderdetail.vue new file mode 100644 index 0000000..5b637f6 --- /dev/null +++ b/admin/order/seckill2orderdetail.vue @@ -0,0 +1,687 @@ + + + + \ No newline at end of file diff --git a/admin/order/seckillorder.vue b/admin/order/seckillorder.vue new file mode 100644 index 0000000..831c7ef --- /dev/null +++ b/admin/order/seckillorder.vue @@ -0,0 +1,163 @@ + + + + \ No newline at end of file diff --git a/admin/order/seckillorderdetail.vue b/admin/order/seckillorderdetail.vue new file mode 100644 index 0000000..8004265 --- /dev/null +++ b/admin/order/seckillorderdetail.vue @@ -0,0 +1,673 @@ + + + + \ No newline at end of file diff --git a/admin/order/shopRefundOrder.vue b/admin/order/shopRefundOrder.vue new file mode 100644 index 0000000..f3eae77 --- /dev/null +++ b/admin/order/shopRefundOrder.vue @@ -0,0 +1,167 @@ + + + + \ No newline at end of file diff --git a/admin/order/shopRefundOrderDetail.vue b/admin/order/shopRefundOrderDetail.vue new file mode 100644 index 0000000..cc7b1bc --- /dev/null +++ b/admin/order/shopRefundOrderDetail.vue @@ -0,0 +1,366 @@ + + + + \ No newline at end of file diff --git a/admin/order/shoporder.vue b/admin/order/shoporder.vue new file mode 100644 index 0000000..5b4e650 --- /dev/null +++ b/admin/order/shoporder.vue @@ -0,0 +1,184 @@ + + + + \ No newline at end of file diff --git a/admin/order/shoporderdetail.vue b/admin/order/shoporderdetail.vue new file mode 100644 index 0000000..33edcf7 --- /dev/null +++ b/admin/order/shoporderdetail.vue @@ -0,0 +1,713 @@ + + + + \ No newline at end of file diff --git a/admin/order/tuangouorder.vue b/admin/order/tuangouorder.vue new file mode 100644 index 0000000..7194004 --- /dev/null +++ b/admin/order/tuangouorder.vue @@ -0,0 +1,155 @@ + + + + \ No newline at end of file diff --git a/admin/order/tuangouorderdetail.vue b/admin/order/tuangouorderdetail.vue new file mode 100644 index 0000000..822eb3b --- /dev/null +++ b/admin/order/tuangouorderdetail.vue @@ -0,0 +1,695 @@ + + + + \ No newline at end of file diff --git a/admin/order/yuyueorder.vue b/admin/order/yuyueorder.vue new file mode 100644 index 0000000..f2a6963 --- /dev/null +++ b/admin/order/yuyueorder.vue @@ -0,0 +1,185 @@ + + + + \ No newline at end of file diff --git a/admin/order/yuyueorderdetail.vue b/admin/order/yuyueorderdetail.vue new file mode 100644 index 0000000..981e798 --- /dev/null +++ b/admin/order/yuyueorderdetail.vue @@ -0,0 +1,560 @@ + + + + \ No newline at end of file diff --git a/admin/product/edit.vue b/admin/product/edit.vue new file mode 100644 index 0000000..22d1eae --- /dev/null +++ b/admin/product/edit.vue @@ -0,0 +1,1000 @@ + + + + \ No newline at end of file diff --git a/admin/product/index.vue b/admin/product/index.vue new file mode 100644 index 0000000..710b782 --- /dev/null +++ b/admin/product/index.vue @@ -0,0 +1,180 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/booking.vue b/admin/restaurant/booking.vue new file mode 100644 index 0000000..e7d061f --- /dev/null +++ b/admin/restaurant/booking.vue @@ -0,0 +1,244 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/bookingTableList.vue b/admin/restaurant/bookingTableList.vue new file mode 100644 index 0000000..379b049 --- /dev/null +++ b/admin/restaurant/bookingTableList.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/admin/restaurant/bookingorder.vue b/admin/restaurant/bookingorder.vue new file mode 100644 index 0000000..bb0feab --- /dev/null +++ b/admin/restaurant/bookingorder.vue @@ -0,0 +1,167 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/bookingorderdetail.vue b/admin/restaurant/bookingorderdetail.vue new file mode 100644 index 0000000..d41e97c --- /dev/null +++ b/admin/restaurant/bookingorderdetail.vue @@ -0,0 +1,483 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/category/edit.vue b/admin/restaurant/category/edit.vue new file mode 100644 index 0000000..2aa2de8 --- /dev/null +++ b/admin/restaurant/category/edit.vue @@ -0,0 +1,156 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/category/index.vue b/admin/restaurant/category/index.vue new file mode 100644 index 0000000..230f5e2 --- /dev/null +++ b/admin/restaurant/category/index.vue @@ -0,0 +1,141 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/depositorder.vue b/admin/restaurant/depositorder.vue new file mode 100644 index 0000000..c745ef3 --- /dev/null +++ b/admin/restaurant/depositorder.vue @@ -0,0 +1,181 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/depositorderdetail.vue b/admin/restaurant/depositorderdetail.vue new file mode 100644 index 0000000..f07d625 --- /dev/null +++ b/admin/restaurant/depositorderdetail.vue @@ -0,0 +1,154 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/product/edit.vue b/admin/restaurant/product/edit.vue new file mode 100644 index 0000000..420d4da --- /dev/null +++ b/admin/restaurant/product/edit.vue @@ -0,0 +1,854 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/product/index.vue b/admin/restaurant/product/index.vue new file mode 100644 index 0000000..620e23d --- /dev/null +++ b/admin/restaurant/product/index.vue @@ -0,0 +1,160 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/queue.vue b/admin/restaurant/queue.vue new file mode 100644 index 0000000..51ea381 --- /dev/null +++ b/admin/restaurant/queue.vue @@ -0,0 +1,250 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/queueCategory.vue b/admin/restaurant/queueCategory.vue new file mode 100644 index 0000000..0b9b19a --- /dev/null +++ b/admin/restaurant/queueCategory.vue @@ -0,0 +1,128 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/queueCategoryEdit.vue b/admin/restaurant/queueCategoryEdit.vue new file mode 100644 index 0000000..72c6e08 --- /dev/null +++ b/admin/restaurant/queueCategoryEdit.vue @@ -0,0 +1,150 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/shoporder.vue b/admin/restaurant/shoporder.vue new file mode 100644 index 0000000..9dc9990 --- /dev/null +++ b/admin/restaurant/shoporder.vue @@ -0,0 +1,164 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/shoporderEdit.vue b/admin/restaurant/shoporderEdit.vue new file mode 100644 index 0000000..a7b0391 --- /dev/null +++ b/admin/restaurant/shoporderEdit.vue @@ -0,0 +1,217 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/shoporderdetail.vue b/admin/restaurant/shoporderdetail.vue new file mode 100644 index 0000000..144c30d --- /dev/null +++ b/admin/restaurant/shoporderdetail.vue @@ -0,0 +1,458 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/table.vue b/admin/restaurant/table.vue new file mode 100644 index 0000000..7046a3b --- /dev/null +++ b/admin/restaurant/table.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/admin/restaurant/tableCategory.vue b/admin/restaurant/tableCategory.vue new file mode 100644 index 0000000..7bb3a2d --- /dev/null +++ b/admin/restaurant/tableCategory.vue @@ -0,0 +1,119 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/tableCategoryEdit.vue b/admin/restaurant/tableCategoryEdit.vue new file mode 100644 index 0000000..3495cc7 --- /dev/null +++ b/admin/restaurant/tableCategoryEdit.vue @@ -0,0 +1,151 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/tableEdit.vue b/admin/restaurant/tableEdit.vue new file mode 100644 index 0000000..8979b46 --- /dev/null +++ b/admin/restaurant/tableEdit.vue @@ -0,0 +1,176 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/tableWaiter.vue b/admin/restaurant/tableWaiter.vue new file mode 100644 index 0000000..420d512 --- /dev/null +++ b/admin/restaurant/tableWaiter.vue @@ -0,0 +1,194 @@ + + + + + diff --git a/admin/restaurant/tableWaiterDetail.vue b/admin/restaurant/tableWaiterDetail.vue new file mode 100644 index 0000000..dbfb045 --- /dev/null +++ b/admin/restaurant/tableWaiterDetail.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/admin/restaurant/tableWaiterPay.vue b/admin/restaurant/tableWaiterPay.vue new file mode 100644 index 0000000..c250cdd --- /dev/null +++ b/admin/restaurant/tableWaiterPay.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/admin/restaurant/takeawayorder.vue b/admin/restaurant/takeawayorder.vue new file mode 100644 index 0000000..bf89779 --- /dev/null +++ b/admin/restaurant/takeawayorder.vue @@ -0,0 +1,165 @@ + + + + \ No newline at end of file diff --git a/admin/restaurant/takeawayorderdetail.vue b/admin/restaurant/takeawayorderdetail.vue new file mode 100644 index 0000000..cbe538c --- /dev/null +++ b/admin/restaurant/takeawayorderdetail.vue @@ -0,0 +1,611 @@ + + + + \ No newline at end of file diff --git a/admin/shortvideo/myupload.vue b/admin/shortvideo/myupload.vue new file mode 100644 index 0000000..8ea250b --- /dev/null +++ b/admin/shortvideo/myupload.vue @@ -0,0 +1,164 @@ + + + + \ No newline at end of file diff --git a/admin/shortvideo/uploadvideo.vue b/admin/shortvideo/uploadvideo.vue new file mode 100644 index 0000000..ea88f51 --- /dev/null +++ b/admin/shortvideo/uploadvideo.vue @@ -0,0 +1,244 @@ + + + + \ No newline at end of file diff --git a/admin/workorder/add.vue b/admin/workorder/add.vue new file mode 100644 index 0000000..75058ba --- /dev/null +++ b/admin/workorder/add.vue @@ -0,0 +1,358 @@ + + + + \ No newline at end of file diff --git a/admin/workorder/formlog.vue b/admin/workorder/formlog.vue new file mode 100644 index 0000000..1657caa --- /dev/null +++ b/admin/workorder/formlog.vue @@ -0,0 +1,180 @@ + + + + \ No newline at end of file diff --git a/admin/workorder/myformdetail.vue b/admin/workorder/myformdetail.vue new file mode 100644 index 0000000..fed4db7 --- /dev/null +++ b/admin/workorder/myformdetail.vue @@ -0,0 +1,246 @@ + + + + \ No newline at end of file diff --git a/admin/workorder/record.vue b/admin/workorder/record.vue new file mode 100644 index 0000000..4b32e6d --- /dev/null +++ b/admin/workorder/record.vue @@ -0,0 +1,262 @@ + + + + \ No newline at end of file diff --git a/androidPrivacy.json b/androidPrivacy.json new file mode 100644 index 0000000..621b564 --- /dev/null +++ b/androidPrivacy.json @@ -0,0 +1,14 @@ +{ + "version" : "1", + "prompt" : "template", + "title" : "服务协议和隐私政策", + "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept" : "同意并接受", + "buttonRefuse" : "暂不同意", + "second" : { + "title" : "确认提示", + "message" : "  进入应用前,你需先同意《服务协议》《隐私政策》,否则将退出应用。", + "buttonAccept" : "同意并继续", + "buttonRefuse" : "退出应用" + } +} diff --git a/common.css b/common.css new file mode 100644 index 0000000..4fc4631 --- /dev/null +++ b/common.css @@ -0,0 +1,76 @@ +view{box-sizing: border-box;overflow:visible} +text{box-sizing: border-box;} +input{box-sizing: border-box;} +image{box-sizing: border-box;} +picker{box-sizing: border-box;} +icon{box-sizing: border-box;} +label{box-sizing: border-box;} +textarea{box-sizing: border-box;} +video{box-sizing: border-box;} +scroll-view{box-sizing: border-box;} + +page{font-size:28rpx;background:#f6f6f6} + +button {padding-left: 0;padding-right: 0;background-color: transparent;font-size: 28rpx;border:0;border-radius: 0;overflow: visible;} +button::after {border: none;} +.button-view {text-align: left;font-size: 28rpx;line-height: 1.4;} +.button-view::after {width: 0;height: 0;} +.button-view-hover {background-color: transparent;} + +.tabbarbot{bottom:110rpx !important} +@supports (bottom: env(safe-area-inset-bottom)){ + .tabbarbot{margin-bottom:env(safe-area-inset-bottom);} +} +@supports (bottom: env(safe-area-inset-bottom)){ + .notabbarbot{padding-bottom:env(safe-area-inset-bottom) !important;} +} +@supports (bottom: env(safe-area-inset-bottom)){ + .notabbarbot2{bottom:env(safe-area-inset-bottom) !important;} +} +.flex {display: flex;} +.flex1 {flex-grow: 1;flex-shrink: 1;} +.flex0 {flex-grow: 0;flex-shrink: 0;} +.flex-row {display: flex;flex-direction: row;} +.flex-col{display: flex;flex-direction: column;} +.flex-x-center{display: flex;justify-content: center;} +.flex-y-center{display: flex;align-items: center;} +.flex-y-bottom{display: flex;align-items: flex-end;} + +.popup__container{position: fixed;bottom: 0;left: 0;right: 0;width:100%;height:auto;z-index:10;background:#fff} +.popup__overlay{position: fixed;bottom: 0;left: 0;right: 0;width:100%;height: 100%;z-index: 11;opacity:0.3;background:#000} +.popup__modal{width: 100%;position: absolute;bottom: 0;color: #3d4145;overflow-x: hidden;overflow-y: hidden;opacity:1;padding-bottom:20rpx;background: #fff;border-radius:20rpx 20rpx 0 0;z-index:12;min-height:600rpx;max-height:1000rpx;} +.popup__title{text-align: center;padding:30rpx;position: relative;position:relative} +.popup__title-text{font-size:32rpx} +.popup__close{position:absolute;top:34rpx;right:34rpx} +.popup__content{width:100%;max-height:880rpx;overflow-y:scroll;padding:20rpx 0;} + +.wxfaceimg{width:50rpx;height:50rpx} +.copyright{width:100%;line-height:40rpx;color:#C9C9C9;font-size:26rpx;text-align:center;white-space:pre;padding:30rpx 0} + +/* 自己添加的-- */ +.flex {display: flex;} +.flex1 {flex: 1;} +.j-center {justify-content: center;} +.j-between {justify-content: space-between;} +.j-around {justify-content: space-around;} +.j-evenly {justify-content: space-evenly;} +.flex-colum{flex-direction: column;} +.flex-w{flex-wrap: wrap;} +.al-item-center {align-items: center;} +.al-item-fn{align-items: flex-end;} +.font-w {font-weight: bold;} +.fs12 {font-size: 24rpx;} +.color-gray {color: #999;} +.color-white{color: #fff;} +.bg-color-white {background-color: #fff;} +.border-rius-r {border-radius: 1000rpx;} +.border-rius-5 {border-radius: 10rpx;} +.border-rius-10 {border-radius: 20rpx;} +.overflow-hd {overflow: hidden;} +.text-center{text-align: center;} +.text-overflow-tx {text-overflow: ellipsis;white-space: nowrap;overflow: hidden;} +.text-overflow-line { display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;word-wrap: break-word;word-break: break-all;} +.position-r{position: relative;} +.position-a{position: absolute;} +.position-f{position: fixed;} +.position-center{left: 50%;top: 50%;transform: translate(-50%, -50%);} \ No newline at end of file diff --git a/components/buydialog-tuangou/buydialog-tuangou.vue b/components/buydialog-tuangou/buydialog-tuangou.vue new file mode 100644 index 0000000..159a98a --- /dev/null +++ b/components/buydialog-tuangou/buydialog-tuangou.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/components/buydialog/buydialog.vue b/components/buydialog/buydialog.vue new file mode 100644 index 0000000..c400636 --- /dev/null +++ b/components/buydialog/buydialog.vue @@ -0,0 +1,518 @@ + + + \ No newline at end of file diff --git a/components/cart-full/cart-full.vue b/components/cart-full/cart-full.vue new file mode 100644 index 0000000..a0920fa --- /dev/null +++ b/components/cart-full/cart-full.vue @@ -0,0 +1,300 @@ + + + + + \ No newline at end of file diff --git a/components/couponlist/couponlist.vue b/components/couponlist/couponlist.vue new file mode 100644 index 0000000..a2ede6f --- /dev/null +++ b/components/couponlist/couponlist.vue @@ -0,0 +1,119 @@ + + + \ No newline at end of file diff --git a/components/dd-search/dd-search.vue b/components/dd-search/dd-search.vue new file mode 100644 index 0000000..bc1bfbb --- /dev/null +++ b/components/dd-search/dd-search.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/components/dd-tab/dd-tab.vue b/components/dd-tab/dd-tab.vue new file mode 100644 index 0000000..02c7394 --- /dev/null +++ b/components/dd-tab/dd-tab.vue @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/components/diary-falls-list/diary-falls-list.vue b/components/diary-falls-list/diary-falls-list.vue new file mode 100644 index 0000000..7a0c1db --- /dev/null +++ b/components/diary-falls-list/diary-falls-list.vue @@ -0,0 +1,443 @@ + + + + + \ No newline at end of file diff --git a/components/dp-article/dp-article.vue b/components/dp-article/dp-article.vue new file mode 100644 index 0000000..b8d4bb6 --- /dev/null +++ b/components/dp-article/dp-article.vue @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/components/dp-banner/dp-banner.vue b/components/dp-banner/dp-banner.vue new file mode 100644 index 0000000..d2634f3 --- /dev/null +++ b/components/dp-banner/dp-banner.vue @@ -0,0 +1,88 @@ + + + \ No newline at end of file diff --git a/components/dp-blank/dp-blank.vue b/components/dp-blank/dp-blank.vue new file mode 100644 index 0000000..3bf5921 --- /dev/null +++ b/components/dp-blank/dp-blank.vue @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/components/dp-business/dp-business.vue b/components/dp-business/dp-business.vue new file mode 100644 index 0000000..9bdc2b6 --- /dev/null +++ b/components/dp-business/dp-business.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/components/dp-button/dp-button.vue b/components/dp-button/dp-button.vue new file mode 100644 index 0000000..962b8f2 --- /dev/null +++ b/components/dp-button/dp-button.vue @@ -0,0 +1,30 @@ + + + \ No newline at end of file diff --git a/components/dp-collage/dp-collage.vue b/components/dp-collage/dp-collage.vue new file mode 100644 index 0000000..9644c2a --- /dev/null +++ b/components/dp-collage/dp-collage.vue @@ -0,0 +1,125 @@ + + + \ No newline at end of file diff --git a/components/dp-coupon/dp-coupon.vue b/components/dp-coupon/dp-coupon.vue new file mode 100644 index 0000000..08686ac --- /dev/null +++ b/components/dp-coupon/dp-coupon.vue @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/components/dp-cover/dp-cover.vue b/components/dp-cover/dp-cover.vue new file mode 100644 index 0000000..ae42bf5 --- /dev/null +++ b/components/dp-cover/dp-cover.vue @@ -0,0 +1,33 @@ + + + \ No newline at end of file diff --git a/components/dp-cube/dp-cube.vue b/components/dp-cube/dp-cube.vue new file mode 100644 index 0000000..73974b1 --- /dev/null +++ b/components/dp-cube/dp-cube.vue @@ -0,0 +1,34 @@ + + + \ No newline at end of file diff --git a/components/dp-dhlist/dp-dhlist.vue b/components/dp-dhlist/dp-dhlist.vue new file mode 100644 index 0000000..9c2e43e --- /dev/null +++ b/components/dp-dhlist/dp-dhlist.vue @@ -0,0 +1,42 @@ + + + \ No newline at end of file diff --git a/components/dp-form/dp-form.vue b/components/dp-form/dp-form.vue new file mode 100644 index 0000000..8832573 --- /dev/null +++ b/components/dp-form/dp-form.vue @@ -0,0 +1,350 @@ + + + + \ No newline at end of file diff --git a/pages/business/blist.vue b/pages/business/blist.vue new file mode 100644 index 0000000..1035645 --- /dev/null +++ b/pages/business/blist.vue @@ -0,0 +1,327 @@ + + + + \ No newline at end of file diff --git a/pages/business/clist.vue b/pages/business/clist.vue new file mode 100644 index 0000000..10813ea --- /dev/null +++ b/pages/business/clist.vue @@ -0,0 +1,227 @@ + + + + \ No newline at end of file diff --git a/pages/business/clist2.vue b/pages/business/clist2.vue new file mode 100644 index 0000000..4df81b6 --- /dev/null +++ b/pages/business/clist2.vue @@ -0,0 +1,255 @@ + + + + \ No newline at end of file diff --git a/pages/business/commentlist.vue b/pages/business/commentlist.vue new file mode 100644 index 0000000..ae473e8 --- /dev/null +++ b/pages/business/commentlist.vue @@ -0,0 +1,154 @@ + + + + \ No newline at end of file diff --git a/pages/business/index.vue b/pages/business/index.vue new file mode 100644 index 0000000..7663907 --- /dev/null +++ b/pages/business/index.vue @@ -0,0 +1,669 @@ + + + + \ No newline at end of file diff --git a/pages/business/main.vue b/pages/business/main.vue new file mode 100644 index 0000000..7d0ca11 --- /dev/null +++ b/pages/business/main.vue @@ -0,0 +1,103 @@ + + + \ No newline at end of file diff --git a/pages/coupon/coupondetail.vue b/pages/coupon/coupondetail.vue new file mode 100644 index 0000000..d28697b --- /dev/null +++ b/pages/coupon/coupondetail.vue @@ -0,0 +1,451 @@ + + + + \ No newline at end of file diff --git a/pages/coupon/couponlist.vue b/pages/coupon/couponlist.vue new file mode 100644 index 0000000..1501499 --- /dev/null +++ b/pages/coupon/couponlist.vue @@ -0,0 +1,272 @@ + + + + + \ No newline at end of file diff --git a/pages/coupon/mycoupon.vue b/pages/coupon/mycoupon.vue new file mode 100644 index 0000000..7a64951 --- /dev/null +++ b/pages/coupon/mycoupon.vue @@ -0,0 +1,245 @@ + + + + \ No newline at end of file diff --git a/pages/form/formdetail.vue b/pages/form/formdetail.vue new file mode 100644 index 0000000..2e488ad --- /dev/null +++ b/pages/form/formdetail.vue @@ -0,0 +1,132 @@ + + + + \ No newline at end of file diff --git a/pages/form/formlog.vue b/pages/form/formlog.vue new file mode 100644 index 0000000..71e8540 --- /dev/null +++ b/pages/form/formlog.vue @@ -0,0 +1,117 @@ + + + + \ No newline at end of file diff --git a/pages/form/formpay.vue b/pages/form/formpay.vue new file mode 100644 index 0000000..308faf9 --- /dev/null +++ b/pages/form/formpay.vue @@ -0,0 +1,180 @@ + + + + \ No newline at end of file diff --git a/pages/index/about.vue b/pages/index/about.vue new file mode 100644 index 0000000..ec2cdbc --- /dev/null +++ b/pages/index/about.vue @@ -0,0 +1,67 @@ + + + \ No newline at end of file diff --git a/pages/index/bind.vue b/pages/index/bind.vue new file mode 100644 index 0000000..aa54046 --- /dev/null +++ b/pages/index/bind.vue @@ -0,0 +1,42 @@ + + + diff --git a/pages/index/getpwd.vue b/pages/index/getpwd.vue new file mode 100644 index 0000000..6c85a62 --- /dev/null +++ b/pages/index/getpwd.vue @@ -0,0 +1,179 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue new file mode 100644 index 0000000..a9707fd --- /dev/null +++ b/pages/index/index.vue @@ -0,0 +1,914 @@ + + + diff --git a/pages/index/login.vue b/pages/index/login.vue new file mode 100644 index 0000000..50446a7 --- /dev/null +++ b/pages/index/login.vue @@ -0,0 +1,612 @@ + + + + + \ No newline at end of file diff --git a/pages/index/main.vue b/pages/index/main.vue new file mode 100644 index 0000000..b1dc399 --- /dev/null +++ b/pages/index/main.vue @@ -0,0 +1,120 @@ + + + \ No newline at end of file diff --git a/pages/index/reg.vue b/pages/index/reg.vue new file mode 100644 index 0000000..f42bbfb --- /dev/null +++ b/pages/index/reg.vue @@ -0,0 +1,448 @@ + + + + + \ No newline at end of file diff --git a/pages/index/webView.vue b/pages/index/webView.vue new file mode 100644 index 0000000..68d8f5d --- /dev/null +++ b/pages/index/webView.vue @@ -0,0 +1,26 @@ + + + diff --git a/pages/index/webView2.vue b/pages/index/webView2.vue new file mode 100644 index 0000000..91d90e1 --- /dev/null +++ b/pages/index/webView2.vue @@ -0,0 +1,54 @@ + + + diff --git a/pages/kefu/index.vue b/pages/kefu/index.vue new file mode 100644 index 0000000..e88d4a0 --- /dev/null +++ b/pages/kefu/index.vue @@ -0,0 +1,328 @@ + + + \ No newline at end of file diff --git a/pages/lipin/dhlog.vue b/pages/lipin/dhlog.vue new file mode 100644 index 0000000..dff582f --- /dev/null +++ b/pages/lipin/dhlog.vue @@ -0,0 +1,118 @@ + + + + \ No newline at end of file diff --git a/pages/lipin/index.vue b/pages/lipin/index.vue new file mode 100644 index 0000000..29ed486 --- /dev/null +++ b/pages/lipin/index.vue @@ -0,0 +1,87 @@ + + + + \ No newline at end of file diff --git a/pages/lipin/prodh.vue b/pages/lipin/prodh.vue new file mode 100644 index 0000000..45e80b9 --- /dev/null +++ b/pages/lipin/prodh.vue @@ -0,0 +1,640 @@ + + + + \ No newline at end of file diff --git a/pages/order/commentdp.vue b/pages/order/commentdp.vue new file mode 100644 index 0000000..049718c --- /dev/null +++ b/pages/order/commentdp.vue @@ -0,0 +1,186 @@ + + + + \ No newline at end of file diff --git a/pages/order/commentps.vue b/pages/order/commentps.vue new file mode 100644 index 0000000..60eab61 --- /dev/null +++ b/pages/order/commentps.vue @@ -0,0 +1,186 @@ + + + + \ No newline at end of file diff --git a/pages/order/detail.vue b/pages/order/detail.vue new file mode 100644 index 0000000..b2b9b08 --- /dev/null +++ b/pages/order/detail.vue @@ -0,0 +1,723 @@ + + + + \ No newline at end of file diff --git a/pages/order/invoice.vue b/pages/order/invoice.vue new file mode 100644 index 0000000..387440c --- /dev/null +++ b/pages/order/invoice.vue @@ -0,0 +1,292 @@ + + + + + diff --git a/pages/order/logistics.vue b/pages/order/logistics.vue new file mode 100644 index 0000000..e71394e --- /dev/null +++ b/pages/order/logistics.vue @@ -0,0 +1,332 @@ + + + + \ No newline at end of file diff --git a/pages/order/orderlist.vue b/pages/order/orderlist.vue new file mode 100644 index 0000000..fc5c884 --- /dev/null +++ b/pages/order/orderlist.vue @@ -0,0 +1,441 @@ + + + + \ No newline at end of file diff --git a/pages/order/refund.vue b/pages/order/refund.vue new file mode 100644 index 0000000..29325fb --- /dev/null +++ b/pages/order/refund.vue @@ -0,0 +1,323 @@ + + + + \ No newline at end of file diff --git a/pages/order/refundDetail.vue b/pages/order/refundDetail.vue new file mode 100644 index 0000000..cad2091 --- /dev/null +++ b/pages/order/refundDetail.vue @@ -0,0 +1,242 @@ + + + + \ No newline at end of file diff --git a/pages/order/refundSelect.vue b/pages/order/refundSelect.vue new file mode 100644 index 0000000..bcdee21 --- /dev/null +++ b/pages/order/refundSelect.vue @@ -0,0 +1,159 @@ + + + + \ No newline at end of file diff --git a/pages/order/refundlist.vue b/pages/order/refundlist.vue new file mode 100644 index 0000000..e4bd0bc --- /dev/null +++ b/pages/order/refundlist.vue @@ -0,0 +1,183 @@ + + + + \ No newline at end of file diff --git a/pages/pay/pay.vue b/pages/pay/pay.vue new file mode 100644 index 0000000..1ef5a4d --- /dev/null +++ b/pages/pay/pay.vue @@ -0,0 +1,862 @@ + + + + \ No newline at end of file diff --git a/pages/pay/transfer.vue b/pages/pay/transfer.vue new file mode 100644 index 0000000..6f6e152 --- /dev/null +++ b/pages/pay/transfer.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/pages/shop/cart.vue b/pages/shop/cart.vue new file mode 100644 index 0000000..00a91ad --- /dev/null +++ b/pages/shop/cart.vue @@ -0,0 +1,782 @@ + + + + \ No newline at end of file diff --git a/pages/shop/category1.vue b/pages/shop/category1.vue new file mode 100644 index 0000000..9403827 --- /dev/null +++ b/pages/shop/category1.vue @@ -0,0 +1,57 @@ + + + + \ No newline at end of file diff --git a/pages/shop/category2.vue b/pages/shop/category2.vue new file mode 100644 index 0000000..1477ebb --- /dev/null +++ b/pages/shop/category2.vue @@ -0,0 +1,148 @@ + + + + \ No newline at end of file diff --git a/pages/shop/category3.vue b/pages/shop/category3.vue new file mode 100644 index 0000000..605a340 --- /dev/null +++ b/pages/shop/category3.vue @@ -0,0 +1,142 @@ + + + + \ No newline at end of file diff --git a/pages/shop/category4.vue b/pages/shop/category4.vue new file mode 100644 index 0000000..61d2a56 --- /dev/null +++ b/pages/shop/category4.vue @@ -0,0 +1,124 @@ + + + + \ No newline at end of file diff --git a/pages/shop/classify.vue b/pages/shop/classify.vue new file mode 100644 index 0000000..10b2a5c --- /dev/null +++ b/pages/shop/classify.vue @@ -0,0 +1,1040 @@ + + + + diff --git a/pages/shop/commentlist.vue b/pages/shop/commentlist.vue new file mode 100644 index 0000000..5002b0e --- /dev/null +++ b/pages/shop/commentlist.vue @@ -0,0 +1,162 @@ + + + + \ No newline at end of file diff --git a/pages/shop/fastbuy.vue b/pages/shop/fastbuy.vue new file mode 100644 index 0000000..0be5ca5 --- /dev/null +++ b/pages/shop/fastbuy.vue @@ -0,0 +1,296 @@ + + + + \ No newline at end of file diff --git a/pages/shop/fastbuy2.vue b/pages/shop/fastbuy2.vue new file mode 100644 index 0000000..dcf240d --- /dev/null +++ b/pages/shop/fastbuy2.vue @@ -0,0 +1,542 @@ + + + + \ No newline at end of file diff --git a/pages/shop/mendian.vue b/pages/shop/mendian.vue new file mode 100644 index 0000000..0957cec --- /dev/null +++ b/pages/shop/mendian.vue @@ -0,0 +1,178 @@ + + + + \ No newline at end of file diff --git a/pages/shop/product.vue b/pages/shop/product.vue new file mode 100644 index 0000000..ab0302e --- /dev/null +++ b/pages/shop/product.vue @@ -0,0 +1,1798 @@ + + + + diff --git a/pages/shop/prolist.vue b/pages/shop/prolist.vue new file mode 100644 index 0000000..aff4d64 --- /dev/null +++ b/pages/shop/prolist.vue @@ -0,0 +1,378 @@ + + + + \ No newline at end of file diff --git a/pages/shop/search.vue b/pages/shop/search.vue new file mode 100644 index 0000000..a730c36 --- /dev/null +++ b/pages/shop/search.vue @@ -0,0 +1,649 @@ + + + + \ No newline at end of file diff --git a/pages/shop/shop_list.vue b/pages/shop/shop_list.vue new file mode 100644 index 0000000..d92d758 --- /dev/null +++ b/pages/shop/shop_list.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/pages/sign/index.vue b/pages/sign/index.vue new file mode 100644 index 0000000..1e83a1b --- /dev/null +++ b/pages/sign/index.vue @@ -0,0 +1,129 @@ + + + + \ No newline at end of file diff --git a/pages/sign/signrecord.vue b/pages/sign/signrecord.vue new file mode 100644 index 0000000..9f6f30b --- /dev/null +++ b/pages/sign/signrecord.vue @@ -0,0 +1,114 @@ + + + + \ No newline at end of file diff --git a/pages/store/detail.vue b/pages/store/detail.vue new file mode 100644 index 0000000..571fb9d --- /dev/null +++ b/pages/store/detail.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/pages/yuebao/withdraw.vue b/pages/yuebao/withdraw.vue new file mode 100644 index 0000000..3197368 --- /dev/null +++ b/pages/yuebao/withdraw.vue @@ -0,0 +1,242 @@ + + + + \ No newline at end of file diff --git a/pages/yuebao/yuebaolog.vue b/pages/yuebao/yuebaolog.vue new file mode 100644 index 0000000..ad90139 --- /dev/null +++ b/pages/yuebao/yuebaolog.vue @@ -0,0 +1,143 @@ + + + + \ No newline at end of file diff --git a/pagesA/article/artlist.vue b/pagesA/article/artlist.vue new file mode 100644 index 0000000..843acd1 --- /dev/null +++ b/pagesA/article/artlist.vue @@ -0,0 +1,209 @@ + + + + \ No newline at end of file diff --git a/pagesA/article/detail.vue b/pagesA/article/detail.vue new file mode 100644 index 0000000..b8cd5f6 --- /dev/null +++ b/pagesA/article/detail.vue @@ -0,0 +1,237 @@ + + + + \ No newline at end of file diff --git a/pagesA/article/pinglun.vue b/pagesA/article/pinglun.vue new file mode 100644 index 0000000..abc65d0 --- /dev/null +++ b/pagesA/article/pinglun.vue @@ -0,0 +1,135 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/areafenhong.vue b/pagesA/commission/areafenhong.vue new file mode 100644 index 0000000..6da7440 --- /dev/null +++ b/pagesA/commission/areafenhong.vue @@ -0,0 +1,170 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/commissionlog.vue b/pagesA/commission/commissionlog.vue new file mode 100644 index 0000000..4eb40b9 --- /dev/null +++ b/pagesA/commission/commissionlog.vue @@ -0,0 +1,141 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/commissionlogMendian.vue b/pagesA/commission/commissionlogMendian.vue new file mode 100644 index 0000000..8334240 --- /dev/null +++ b/pagesA/commission/commissionlogMendian.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/downorder.vue b/pagesA/commission/downorder.vue new file mode 100644 index 0000000..bdcf144 --- /dev/null +++ b/pagesA/commission/downorder.vue @@ -0,0 +1,145 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/fenhong.vue b/pagesA/commission/fenhong.vue new file mode 100644 index 0000000..65052d9 --- /dev/null +++ b/pagesA/commission/fenhong.vue @@ -0,0 +1,170 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/fhlog.vue b/pagesA/commission/fhlog.vue new file mode 100644 index 0000000..ba28237 --- /dev/null +++ b/pagesA/commission/fhlog.vue @@ -0,0 +1,120 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/fhorder.vue b/pagesA/commission/fhorder.vue new file mode 100644 index 0000000..dd73b96 --- /dev/null +++ b/pagesA/commission/fhorder.vue @@ -0,0 +1,174 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/index.vue b/pagesA/commission/index.vue new file mode 100644 index 0000000..160edbb --- /dev/null +++ b/pagesA/commission/index.vue @@ -0,0 +1,321 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/mysameline.vue b/pagesA/commission/mysameline.vue new file mode 100644 index 0000000..8741411 --- /dev/null +++ b/pagesA/commission/mysameline.vue @@ -0,0 +1,241 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/myteam.vue b/pagesA/commission/myteam.vue new file mode 100644 index 0000000..0fa1c48 --- /dev/null +++ b/pagesA/commission/myteam.vue @@ -0,0 +1,279 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/myteamline.vue b/pagesA/commission/myteamline.vue new file mode 100644 index 0000000..504470b --- /dev/null +++ b/pagesA/commission/myteamline.vue @@ -0,0 +1,241 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/orderMendian.vue b/pagesA/commission/orderMendian.vue new file mode 100644 index 0000000..b964712 --- /dev/null +++ b/pagesA/commission/orderMendian.vue @@ -0,0 +1,139 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/orderYeji.vue b/pagesA/commission/orderYeji.vue new file mode 100644 index 0000000..6c135fe --- /dev/null +++ b/pagesA/commission/orderYeji.vue @@ -0,0 +1,121 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/poster.vue b/pagesA/commission/poster.vue new file mode 100644 index 0000000..7c19023 --- /dev/null +++ b/pagesA/commission/poster.vue @@ -0,0 +1,174 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/teamfenhong.vue b/pagesA/commission/teamfenhong.vue new file mode 100644 index 0000000..abce9f6 --- /dev/null +++ b/pagesA/commission/teamfenhong.vue @@ -0,0 +1,170 @@ + + + + \ No newline at end of file diff --git a/pagesA/commission/withdraw.vue b/pagesA/commission/withdraw.vue new file mode 100644 index 0000000..dab3a96 --- /dev/null +++ b/pagesA/commission/withdraw.vue @@ -0,0 +1,207 @@ + + + + \ No newline at end of file diff --git a/pagesA/jinText/index.vue b/pagesA/jinText/index.vue new file mode 100644 index 0000000..48d48ea --- /dev/null +++ b/pagesA/jinText/index.vue @@ -0,0 +1,8 @@ + + + + + diff --git a/pagesA/money/moneylog.vue b/pagesA/money/moneylog.vue new file mode 100644 index 0000000..80b6c16 --- /dev/null +++ b/pagesA/money/moneylog.vue @@ -0,0 +1,155 @@ + + + + \ No newline at end of file diff --git a/pagesA/money/recharge.vue b/pagesA/money/recharge.vue new file mode 100644 index 0000000..ef4170d --- /dev/null +++ b/pagesA/money/recharge.vue @@ -0,0 +1,170 @@ + + + + \ No newline at end of file diff --git a/pagesA/money/rechargeToMember.vue b/pagesA/money/rechargeToMember.vue new file mode 100644 index 0000000..104e449 --- /dev/null +++ b/pagesA/money/rechargeToMember.vue @@ -0,0 +1,177 @@ + + + + \ No newline at end of file diff --git a/pagesA/money/withdraw.vue b/pagesA/money/withdraw.vue new file mode 100644 index 0000000..5ffbd2f --- /dev/null +++ b/pagesA/money/withdraw.vue @@ -0,0 +1,203 @@ + + + + \ No newline at end of file diff --git a/pagesA/shop/buy.vue b/pagesA/shop/buy.vue new file mode 100644 index 0000000..f41e0a3 --- /dev/null +++ b/pagesA/shop/buy.vue @@ -0,0 +1,1646 @@ + + + + \ No newline at end of file diff --git a/restaurant/booking/detail.vue b/restaurant/booking/detail.vue new file mode 100644 index 0000000..a095bca --- /dev/null +++ b/restaurant/booking/detail.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/restaurant/booking/orderlist.vue b/restaurant/booking/orderlist.vue new file mode 100644 index 0000000..bdb26c6 --- /dev/null +++ b/restaurant/booking/orderlist.vue @@ -0,0 +1,140 @@ + + + + \ No newline at end of file diff --git a/restaurant/booking/tableList.vue b/restaurant/booking/tableList.vue new file mode 100644 index 0000000..7c84229 --- /dev/null +++ b/restaurant/booking/tableList.vue @@ -0,0 +1,157 @@ + + + + + diff --git a/restaurant/deposit/add.vue b/restaurant/deposit/add.vue new file mode 100644 index 0000000..107d353 --- /dev/null +++ b/restaurant/deposit/add.vue @@ -0,0 +1,161 @@ + + + + \ No newline at end of file diff --git a/restaurant/deposit/orderdetail.vue b/restaurant/deposit/orderdetail.vue new file mode 100644 index 0000000..e8e11ca --- /dev/null +++ b/restaurant/deposit/orderdetail.vue @@ -0,0 +1,213 @@ + + + + \ No newline at end of file diff --git a/restaurant/deposit/orderlist.vue b/restaurant/deposit/orderlist.vue new file mode 100644 index 0000000..4b0763c --- /dev/null +++ b/restaurant/deposit/orderlist.vue @@ -0,0 +1,167 @@ + + + + \ No newline at end of file diff --git a/restaurant/queue/index.vue b/restaurant/queue/index.vue new file mode 100644 index 0000000..c99be15 --- /dev/null +++ b/restaurant/queue/index.vue @@ -0,0 +1,221 @@ + + + + \ No newline at end of file diff --git a/restaurant/queue/quhao.vue b/restaurant/queue/quhao.vue new file mode 100644 index 0000000..9c087fc --- /dev/null +++ b/restaurant/queue/quhao.vue @@ -0,0 +1,293 @@ + + + + \ No newline at end of file diff --git a/restaurant/queue/record.vue b/restaurant/queue/record.vue new file mode 100644 index 0000000..f3e756f --- /dev/null +++ b/restaurant/queue/record.vue @@ -0,0 +1,128 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/buy.vue b/restaurant/shop/buy.vue new file mode 100644 index 0000000..e08a33c --- /dev/null +++ b/restaurant/shop/buy.vue @@ -0,0 +1,537 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/comment.vue b/restaurant/shop/comment.vue new file mode 100644 index 0000000..ebec30e --- /dev/null +++ b/restaurant/shop/comment.vue @@ -0,0 +1,196 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/commentdp.vue b/restaurant/shop/commentdp.vue new file mode 100644 index 0000000..8fac6bd --- /dev/null +++ b/restaurant/shop/commentdp.vue @@ -0,0 +1,185 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/commentlist.vue b/restaurant/shop/commentlist.vue new file mode 100644 index 0000000..30cbd55 --- /dev/null +++ b/restaurant/shop/commentlist.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/commentps.vue b/restaurant/shop/commentps.vue new file mode 100644 index 0000000..9ebb888 --- /dev/null +++ b/restaurant/shop/commentps.vue @@ -0,0 +1,185 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/index.vue b/restaurant/shop/index.vue new file mode 100644 index 0000000..0293de2 --- /dev/null +++ b/restaurant/shop/index.vue @@ -0,0 +1,523 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/logistics.vue b/restaurant/shop/logistics.vue new file mode 100644 index 0000000..ebe7ce1 --- /dev/null +++ b/restaurant/shop/logistics.vue @@ -0,0 +1,299 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/orderdetail.vue b/restaurant/shop/orderdetail.vue new file mode 100644 index 0000000..cbb33d6 --- /dev/null +++ b/restaurant/shop/orderdetail.vue @@ -0,0 +1,424 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/orderlist.vue b/restaurant/shop/orderlist.vue new file mode 100644 index 0000000..1191fc5 --- /dev/null +++ b/restaurant/shop/orderlist.vue @@ -0,0 +1,220 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/product.vue b/restaurant/shop/product.vue new file mode 100644 index 0000000..1a3141c --- /dev/null +++ b/restaurant/shop/product.vue @@ -0,0 +1,619 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/refund.vue b/restaurant/shop/refund.vue new file mode 100644 index 0000000..2a7220c --- /dev/null +++ b/restaurant/shop/refund.vue @@ -0,0 +1,97 @@ + + + + \ No newline at end of file diff --git a/restaurant/shop/search.vue b/restaurant/shop/search.vue new file mode 100644 index 0000000..3622fd9 --- /dev/null +++ b/restaurant/shop/search.vue @@ -0,0 +1,344 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/blist.vue b/restaurant/takeaway/blist.vue new file mode 100644 index 0000000..a09de96 --- /dev/null +++ b/restaurant/takeaway/blist.vue @@ -0,0 +1,283 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/buy.vue b/restaurant/takeaway/buy.vue new file mode 100644 index 0000000..c8a9fff --- /dev/null +++ b/restaurant/takeaway/buy.vue @@ -0,0 +1,754 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/comment.vue b/restaurant/takeaway/comment.vue new file mode 100644 index 0000000..3b67ea7 --- /dev/null +++ b/restaurant/takeaway/comment.vue @@ -0,0 +1,196 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/commentdp.vue b/restaurant/takeaway/commentdp.vue new file mode 100644 index 0000000..78fd454 --- /dev/null +++ b/restaurant/takeaway/commentdp.vue @@ -0,0 +1,185 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/commentlist.vue b/restaurant/takeaway/commentlist.vue new file mode 100644 index 0000000..d38a048 --- /dev/null +++ b/restaurant/takeaway/commentlist.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/commentps.vue b/restaurant/takeaway/commentps.vue new file mode 100644 index 0000000..5fc8d3c --- /dev/null +++ b/restaurant/takeaway/commentps.vue @@ -0,0 +1,185 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/index.vue b/restaurant/takeaway/index.vue new file mode 100644 index 0000000..9e5d2b1 --- /dev/null +++ b/restaurant/takeaway/index.vue @@ -0,0 +1,506 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/logistics.vue b/restaurant/takeaway/logistics.vue new file mode 100644 index 0000000..e3ccdf7 --- /dev/null +++ b/restaurant/takeaway/logistics.vue @@ -0,0 +1,299 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/orderdetail.vue b/restaurant/takeaway/orderdetail.vue new file mode 100644 index 0000000..1ea2a77 --- /dev/null +++ b/restaurant/takeaway/orderdetail.vue @@ -0,0 +1,425 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/orderlist.vue b/restaurant/takeaway/orderlist.vue new file mode 100644 index 0000000..087ee14 --- /dev/null +++ b/restaurant/takeaway/orderlist.vue @@ -0,0 +1,237 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/product.vue b/restaurant/takeaway/product.vue new file mode 100644 index 0000000..47abde2 --- /dev/null +++ b/restaurant/takeaway/product.vue @@ -0,0 +1,618 @@ + + + + \ No newline at end of file diff --git a/restaurant/takeaway/refund.vue b/restaurant/takeaway/refund.vue new file mode 100644 index 0000000..2d0921e --- /dev/null +++ b/restaurant/takeaway/refund.vue @@ -0,0 +1,97 @@ + + + + \ No newline at end of file diff --git a/siteinfo.js b/siteinfo.js new file mode 100644 index 0000000..f785d64 --- /dev/null +++ b/siteinfo.js @@ -0,0 +1 @@ +var siteinfo = {"uniacid":"1","siteroot":"https://jh.xingtongworld.com"};module.exports = siteinfo; diff --git a/sitemap.json b/sitemap.json new file mode 100644 index 0000000..ca02add --- /dev/null +++ b/sitemap.json @@ -0,0 +1,7 @@ +{ + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", + "rules": [{ + "action": "allow", + "page": "*" + }] +} \ No newline at end of file diff --git a/static/che.png b/static/che.png new file mode 100644 index 0000000..42324f9 Binary files /dev/null and b/static/che.png differ diff --git a/static/css/iconfont.css b/static/css/iconfont.css new file mode 100644 index 0000000..48429b0 --- /dev/null +++ b/static/css/iconfont.css @@ -0,0 +1,316 @@ +@font-face { + font-family: "iconfont"; /* Project id 3283948 */ + src: url('@/static/css/iconfont.ttf?t=1664274166791') format('truetype'); +} +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-shouye2:before { + content: "\e8c6"; +} + +.icon-kefu1:before { + content: "\e753"; +} + +.icon-jian:before { + content: "\e636"; +} + +.icon-shouye1:before { + content: "\e61e"; +} + +.icon-a-Fill11:before { + content: "\e611"; +} + +.icon-pailie:before { + content: "\e663"; +} + +.icon-shipailie:before { + content: "\e7a9"; +} + +.icon-nvsheng:before { + content: "\e633"; +} + +.icon-wode:before { + content: "\e634"; +} + +.icon-dianpuguanli:before { + content: "\e635"; +} + +.icon-wode1:before { + content: "\e6a2"; +} + +.icon-jianjie-03:before { + content: "\e6a3"; +} + +.icon-dangao:before { + content: "\e71d"; +} + +.icon-a-Fill1:before { + content: "\e60f"; +} + +.icon-shipin:before { + content: "\e6a8"; +} + +.icon-title-desc:before { + content: "\e60e"; +} + +.icon-bofang1:before { + content: "\e610"; +} + +.icon-icon-clock:before { + content: "\e607"; +} + +.icon-icon-location:before { + content: "\e608"; +} + +.icon-icon-phone:before { + content: "\e609"; +} + +.icon-icon-themes-coupon:before { + content: "\e60a"; +} + +.icon-rilitianchong:before { + content: "\e6ae"; +} + +.icon-dianzan:before { + content: "\e8ad"; +} + +.icon-sousuo:before { + content: "\e624"; +} + +.icon-dianzan1:before { + content: "\e8c3"; +} + +.icon-shaixuan:before { + content: "\e60b"; +} + +.icon-jiahao:before { + content: "\e606"; +} + +.icon-gouwuche3:before { + content: "\e6ab"; +} + +.icon-youjiantou:before { + content: "\e605"; +} + +.icon-shuaxin:before { + content: "\e64e"; +} + +.icon-shoucangjia:before { + content: "\e620"; +} + +.icon-bianji:before { + content: "\e680"; +} + +.icon-caogaoxiang:before { + content: "\e604"; +} + +.icon-lujing136:before { + content: "\e66a"; +} + +.icon-qianbi:before { + content: "\e6041"; +} + +.icon-bofang:before { + content: "\e87c"; +} + +.icon-zhuanfa:before { + content: "\e63d"; +} + +.icon-tupianjiazaishibai:before { + content: "\ec0d"; +} + +.icon-xiaoxi:before { + content: "\e622"; +} + +.icon-shang:before { + content: "\e722"; +} + +.icon-shangpin:before { + content: "\e64f"; +} + +.icon-jinghao:before { + content: "\e7ff"; +} + +.icon-aixin_shixin:before { + content: "\eca1"; +} + +.icon-aixin:before { + content: "\eca2"; +} + +.icon-new:before { + content: "\ae604"; +} + +.icon-icon--:before { + content: "\e738"; +} + +.icon-shucai:before { + content: "\ae609"; +} + +.icon-xia:before { + content: "\e63c"; +} + +.icon-shanchu1:before { + content: "\e7e2"; +} + +.icon-shanchu:before { + content: "\e60c"; +} + +.icon-danbianjiantou:before { + content: "\ae607"; +} + +.icon-danbianjiantou1:before { + content: "\ae608"; +} + +.icon-dianpu1:before { + content: "\e602"; +} + +.icon-Collection:before { + content: "\e60d"; +} + +.icon-shoucang:before { + content: "\e621"; +} + +.icon-31shijian:before { + content: "\e601"; +} + +.icon-didian:before { + content: "\e61a1"; +} + +.icon-dianhua:before { + content: "\e88b"; +} + +.icon-xiasanjiao:before { + content: "\e630"; +} + +.icon-shouye:before { + content: "\e751"; +} + +.icon-kefu:before { + content: "\ec2e"; +} + +.icon-shipintianchong:before { + content: "\e690"; +} + +.icon-gouwuche1:before { + content: "\e62c"; +} + +.icon-fenxiang:before { + content: "\e623"; +} + +.icon-gouwuche:before { + content: "\e63b"; +} + +.icon-dianpu:before { + content: "\e629"; +} + +.icon-jiantou_shangxiaqiehuan_o:before { + content: "\eb90"; +} + +.icon-shangxiajiantou:before { + content: "\e67f"; +} + +.icon-weizhi1:before { + content: "\e603"; +} + +.icon-icon_arrow_left:before { + content: "\e62e"; +} + +.icon-31dianhua:before { + content: "\e600"; +} + +.icon-shijian:before { + content: "\e6061"; +} + +.icon-weizhi:before { + content: "\e6701"; +} + +.icon-weizhi-copy:before { + content: "\e6042"; +} + +.icon-search:before { + content: "\e7b4"; +} + +.icon-arrow-right:before { + content: "\e743"; +} + diff --git a/static/css/iconfont.ttf b/static/css/iconfont.ttf new file mode 100644 index 0000000..d68ad62 Binary files /dev/null and b/static/css/iconfont.ttf differ diff --git a/static/img/gouwuche.png b/static/img/gouwuche.png new file mode 100644 index 0000000..9cf0d7c Binary files /dev/null and b/static/img/gouwuche.png differ diff --git a/store/index.js b/store/index.js new file mode 100644 index 0000000..ab2138e --- /dev/null +++ b/store/index.js @@ -0,0 +1,53 @@ +import Vue from 'vue' +import Vuex from 'vuex' + +Vue.use(Vuex) + +export default new Vuex.Store({ + state: { + opt: {}, + sign: '', + pagecontentList: [], + navHeightTop: '', + navFixed: false, + heardHeight: 0 + }, + getters: { + getOpt: (state) => state.opt, + getSign: (state) => state.sign, + getpagecontent: (state) => state.pagecontentList, + getNavHeightTop: (state) => state.navHeightTop, + getNavFixed: (state) => state.navFixed, + getHeardHeight: (state) => state.heardHeight + }, + mutations: { + setOpt: (state, opt) => (state.opt = opt), + setSign: (state, sign) => (state.sign = sign), + setpagecontent(state, pagecontent) { + state.pagecontentList = pagecontent + }, + setNavHeightTop: (state, navHeightTop) => (state.navHeightTop = navHeightTop), + setNavFixed: (state, navFixed) => (state.navFixed = navFixed), + setHeardHeight: (state, height) => (state.heardHeight = height), + }, + actions: { + acOpt(context, opt) { + context.commit('setOpt', opt) + }, + acSign(context, sign) { + context.commit('setSign', sign) + }, + acPagecontent(context, pagecontent) { + context.commit('setpagecontent', pagecontent) + }, + acNavHeightTop(context, navHeightTop) { + context.commit('setNavHeightTop', navHeightTop) + }, + acNavFixed(context, navFixed) { + context.commit('setNavFixed', navFixed) + }, + acHeardHeight(context, height) { + context.commit('setHeardHeight', height) + } + }, +}) diff --git a/uni_modules/uni-datetime-picker/changelog.md b/uni_modules/uni-datetime-picker/changelog.md new file mode 100644 index 0000000..9611a30 --- /dev/null +++ b/uni_modules/uni-datetime-picker/changelog.md @@ -0,0 +1,89 @@ +## 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/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/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue new file mode 100644 index 0000000..3d2dbea --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue @@ -0,0 +1,185 @@ + + + + + diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue new file mode 100644 index 0000000..da46e60 --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue @@ -0,0 +1,898 @@ + + + + + diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json new file mode 100644 index 0000000..cc76311 --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json @@ -0,0 +1,19 @@ +{ + "uni-datetime-picker.selectDate": "select date", + "uni-datetime-picker.selectTime": "select time", + "uni-datetime-picker.selectDateTime": "select datetime", + "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-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" +} diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js new file mode 100644 index 0000000..de7509c --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js @@ -0,0 +1,8 @@ +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/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json new file mode 100644 index 0000000..7bc7405 --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json @@ -0,0 +1,19 @@ +{ + "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-calender.SUN": "日", + "uni-calender.MON": "一", + "uni-calender.TUE": "二", + "uni-calender.WED": "三", + "uni-calender.THU": "四", + "uni-calender.FRI": "五", + "uni-calender.SAT": "六" +} diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json new file mode 100644 index 0000000..7d37043 --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json @@ -0,0 +1,19 @@ +{ + "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-calender.SUN": "日", + "uni-calender.MON": "一", + "uni-calender.TUE": "二", + "uni-calender.WED": "三", + "uni-calender.THU": "四", + "uni-calender.FRI": "五", + "uni-calender.SAT": "六" +} diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js new file mode 100644 index 0000000..9601aba --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js @@ -0,0 +1,45 @@ +// #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 \ No newline at end of file diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue new file mode 100644 index 0000000..699aa63 --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue @@ -0,0 +1,927 @@ + + + + + diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue new file mode 100644 index 0000000..fb6f8da --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue @@ -0,0 +1,1002 @@ + + + + diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js new file mode 100644 index 0000000..efa5773 --- /dev/null +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js @@ -0,0 +1,410 @@ +class Calendar { + constructor({ + date, + selected, + startDate, + endDate, + range, + // multipleStatus + } = {}) { + // 当前日期 + this.date = this.getDate(new Date()) // 当前初入日期 + // 打点信息 + this.selected = selected || []; + // 范围开始 + this.startDate = startDate + // 范围结束 + this.endDate = endDate + this.range = range + // 多选状态 + this.cleanMultipleStatus() + // 每周日期 + this.weeks = {} + // this._getWeek(this.date.fullDate) + // this.multipleStatus = multipleStatus + this.lastHover = false + } + /** + * 设置日期 + * @param {Object} date + */ + setDate(date) { + this.selectDate = this.getDate(date) + this._getWeek(this.selectDate.fullDate) + } + + /** + * 清理多选状态 + */ + cleanMultipleStatus() { + this.multipleStatus = { + before: '', + after: '', + data: [] + } + } + + /** + * 重置开始日期 + */ + resetSatrtDate(startDate) { + // 范围开始 + this.startDate = startDate + + } + + /** + * 重置结束日期 + */ + resetEndDate(endDate) { + // 范围结束 + this.endDate = endDate + } + + /** + * 获取任意时间 + */ + getDate(date, AddDayCount = 0, str = 'day') { + if (!date) { + date = new Date() + } + if (typeof date !== 'object') { + date = date.replace(/-/g, '/') + } + const dd = new Date(date) + switch (str) { + case 'day': + dd.setDate(dd.getDate() + AddDayCount) // 获取AddDayCount天后的日期 + break + case 'month': + if (dd.getDate() === 31) { + dd.setDate(dd.getDate() + AddDayCount) + } else { + dd.setMonth(dd.getMonth() + AddDayCount) // 获取AddDayCount天后的日期 + } + break + case 'year': + dd.setFullYear(dd.getFullYear() + AddDayCount) // 获取AddDayCount天后的日期 + break + } + const y = dd.getFullYear() + const m = dd.getMonth() + 1 < 10 ? '0' + (dd.getMonth() + 1) : dd.getMonth() + 1 // 获取当前月份的日期,不足10补0 + const d = dd.getDate() < 10 ? '0' + dd.getDate() : dd.getDate() // 获取当前几号,不足10补0 + return { + fullDate: y + '-' + m + '-' + d, + year: y, + month: m, + date: d, + day: dd.getDay() + } + } + + + /** + * 获取上月剩余天数 + */ + _getLastMonthDays(firstDay, full) { + let dateArr = [] + for (let i = firstDay; i > 0; i--) { + const beforeDate = new Date(full.year, full.month - 1, -i + 1).getDate() + dateArr.push({ + date: beforeDate, + month: full.month - 1, + disable: true + }) + } + return dateArr + } + /** + * 获取本月天数 + */ + _currentMonthDys(dateData, full) { + let dateArr = [] + let fullDate = this.date.fullDate + for (let i = 1; i <= dateData; i++) { + let isinfo = false + let nowDate = full.year + '-' + (full.month < 10 ? + full.month : full.month) + '-' + (i < 10 ? + '0' + i : i) + // 是否今天 + let isDay = fullDate === nowDate + // 获取打点信息 + let info = this.selected && this.selected.find((item) => { + if (this.dateEqual(nowDate, item.date)) { + return item + } + }) + + // 日期禁用 + let disableBefore = true + let disableAfter = true + if (this.startDate) { + // let dateCompBefore = this.dateCompare(this.startDate, fullDate) + // disableBefore = this.dateCompare(dateCompBefore ? this.startDate : fullDate, nowDate) + disableBefore = this.dateCompare(this.startDate, nowDate) + } + + if (this.endDate) { + // let dateCompAfter = this.dateCompare(fullDate, this.endDate) + // disableAfter = this.dateCompare(nowDate, dateCompAfter ? this.endDate : fullDate) + disableAfter = this.dateCompare(nowDate, this.endDate) + } + let multiples = this.multipleStatus.data + let checked = false + let multiplesStatus = -1 + if (this.range) { + if (multiples) { + multiplesStatus = multiples.findIndex((item) => { + return this.dateEqual(item, nowDate) + }) + } + if (multiplesStatus !== -1) { + checked = true + } + } + let data = { + fullDate: nowDate, + year: full.year, + date: i, + multiple: this.range ? checked : false, + beforeMultiple: this.isLogicBefore(nowDate, this.multipleStatus.before, this.multipleStatus.after), + afterMultiple: this.isLogicAfter(nowDate, this.multipleStatus.before, this.multipleStatus.after), + month: full.month, + disable: !(disableBefore && disableAfter), + isDay, + userChecked: false + } + if (info) { + data.extraInfo = info + } + + dateArr.push(data) + } + return dateArr + } + /** + * 获取下月天数 + */ + _getNextMonthDays(surplus, full) { + let dateArr = [] + for (let i = 1; i < surplus + 1; i++) { + dateArr.push({ + date: i, + month: Number(full.month) + 1, + disable: true + }) + } + return dateArr + } + + /** + * 获取当前日期详情 + * @param {Object} date + */ + getInfo(date) { + if (!date) { + date = new Date() + } + const dateInfo = this.canlender.find(item => item.fullDate === this.getDate(date).fullDate) + return dateInfo + } + + /** + * 比较时间大小 + */ + dateCompare(startDate, endDate) { + // 计算截止时间 + startDate = new Date(startDate.replace('-', '/').replace('-', '/')) + // 计算详细项的截止时间 + endDate = new Date(endDate.replace('-', '/').replace('-', '/')) + if (startDate <= endDate) { + return true + } else { + return false + } + } + + /** + * 比较时间是否相等 + */ + dateEqual(before, after) { + // 计算截止时间 + before = new Date(before.replace('-', '/').replace('-', '/')) + // 计算详细项的截止时间 + after = new Date(after.replace('-', '/').replace('-', '/')) + if (before.getTime() - after.getTime() === 0) { + return true + } else { + return false + } + } + + /** + * 比较真实起始日期 + */ + + isLogicBefore(currentDay, before, after) { + let logicBefore = before + if (before && after) { + logicBefore = this.dateCompare(before, after) ? before : after + } + return this.dateEqual(logicBefore, currentDay) + } + + isLogicAfter(currentDay, before, after) { + let logicAfter = after + if (before && after) { + logicAfter = this.dateCompare(before, after) ? after : before + } + return this.dateEqual(logicAfter, currentDay) + } + + /** + * 获取日期范围内所有日期 + * @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.getDate(new Date(parseInt(k))).fullDate) + } + return arr + } + + /** + * 获取多选状态 + */ + setMultiple(fullDate) { + let { + before, + after + } = this.multipleStatus + if (!this.range) return + 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.lastHover = false + } else { + this.multipleStatus.after = fullDate + if (this.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._getWeek(fullDate) + } + + /** + * 鼠标 hover 更新多选状态 + */ + setHoverMultiple(fullDate) { + let { + before, + after + } = this.multipleStatus + + if (!this.range) return + if (this.lastHover) return + + if (!before) { + this.multipleStatus.before = fullDate + } else { + this.multipleStatus.after = fullDate + if (this.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._getWeek(fullDate) + } + + /** + * 更新默认值多选状态 + */ + setDefaultMultiple(before, after) { + this.multipleStatus.before = before + this.multipleStatus.after = after + if (before && after) { + if (this.dateCompare(before, after)) { + this.multipleStatus.data = this.geDateAll(before, after); + this._getWeek(after) + } else { + this.multipleStatus.data = this.geDateAll(after, before); + this._getWeek(before) + } + } + } + + /** + * 获取每周数据 + * @param {Object} dateData + */ + _getWeek(dateData) { + const { + fullDate, + year, + month, + date, + day + } = this.getDate(dateData) + let firstDay = new Date(year, month - 1, 1).getDay() + let currentDay = new Date(year, month, 0).getDate() + let dates = { + lastMonthDays: this._getLastMonthDays(firstDay, this.getDate(dateData)), // 上个月末尾几天 + currentMonthDys: this._currentMonthDys(currentDay, this.getDate(dateData)), // 本月天数 + nextMonthDays: [], // 下个月开始几天 + weeks: [] + } + let canlender = [] + const surplus = 42 - (dates.lastMonthDays.length + dates.currentMonthDys.length) + dates.nextMonthDays = this._getNextMonthDays(surplus, this.getDate(dateData)) + canlender = canlender.concat(dates.lastMonthDays, dates.currentMonthDys, dates.nextMonthDays) + let weeks = {} + // 拼接数组 上个月开始几天 + 本月天数+ 下个月开始几天 + for (let i = 0; i < canlender.length; i++) { + if (i % 7 === 0) { + weeks[parseInt(i / 7)] = new Array(7) + } + weeks[parseInt(i / 7)][i % 7] = canlender[i] + } + this.canlender = canlender + this.weeks = weeks + } + + //静态方法 + // static init(date) { + // if (!this.instance) { + // this.instance = new Calendar(date); + // } + // return this.instance; + // } +} + + +export default Calendar diff --git a/uni_modules/uni-datetime-picker/package.json b/uni_modules/uni-datetime-picker/package.json new file mode 100644 index 0000000..0e44103 --- /dev/null +++ b/uni_modules/uni-datetime-picker/package.json @@ -0,0 +1,90 @@ +{ + "id": "uni-datetime-picker", + "displayName": "uni-datetime-picker 日期选择器", + "version": "2.2.4", + "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": { + "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": "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/uni_modules/uni-datetime-picker/readme.md b/uni_modules/uni-datetime-picker/readme.md new file mode 100644 index 0000000..162fbef --- /dev/null +++ b/uni_modules/uni-datetime-picker/readme.md @@ -0,0 +1,21 @@ + + +> `重要通知:组件升级更新 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/uni_modules/uni-icons/changelog.md b/uni_modules/uni-icons/changelog.md new file mode 100644 index 0000000..6449885 --- /dev/null +++ b/uni_modules/uni-icons/changelog.md @@ -0,0 +1,22 @@ +## 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/uni_modules/uni-icons/components/uni-icons/icons.js b/uni_modules/uni-icons/components/uni-icons/icons.js new file mode 100644 index 0000000..7889936 --- /dev/null +++ b/uni_modules/uni-icons/components/uni-icons/icons.js @@ -0,0 +1,1169 @@ +export default { + "id": "2852637", + "name": "uniui图标库", + "font_family": "uniicons", + "css_prefix_text": "uniui-", + "description": "", + "glyphs": [ + { + "icon_id": "25027049", + "name": "yanse", + "font_class": "color", + "unicode": "e6cf", + "unicode_decimal": 59087 + }, + { + "icon_id": "25027048", + "name": "wallet", + "font_class": "wallet", + "unicode": "e6b1", + "unicode_decimal": 59057 + }, + { + "icon_id": "25015720", + "name": "settings-filled", + "font_class": "settings-filled", + "unicode": "e6ce", + "unicode_decimal": 59086 + }, + { + "icon_id": "25015434", + "name": "shimingrenzheng-filled", + "font_class": "auth-filled", + "unicode": "e6cc", + "unicode_decimal": 59084 + }, + { + "icon_id": "24934246", + "name": "shop-filled", + "font_class": "shop-filled", + "unicode": "e6cd", + "unicode_decimal": 59085 + }, + { + "icon_id": "24934159", + "name": "staff-filled-01", + "font_class": "staff-filled", + "unicode": "e6cb", + "unicode_decimal": 59083 + }, + { + "icon_id": "24932461", + "name": "VIP-filled", + "font_class": "vip-filled", + "unicode": "e6c6", + "unicode_decimal": 59078 + }, + { + "icon_id": "24932462", + "name": "plus_circle_fill", + "font_class": "plus-filled", + "unicode": "e6c7", + "unicode_decimal": 59079 + }, + { + "icon_id": "24932463", + "name": "folder_add-filled", + "font_class": "folder-add-filled", + "unicode": "e6c8", + "unicode_decimal": 59080 + }, + { + "icon_id": "24932464", + "name": "yanse-filled", + "font_class": "color-filled", + "unicode": "e6c9", + "unicode_decimal": 59081 + }, + { + "icon_id": "24932465", + "name": "tune-filled", + "font_class": "tune-filled", + "unicode": "e6ca", + "unicode_decimal": 59082 + }, + { + "icon_id": "24932455", + "name": "a-rilidaka-filled", + "font_class": "calendar-filled", + "unicode": "e6c0", + "unicode_decimal": 59072 + }, + { + "icon_id": "24932456", + "name": "notification-filled", + "font_class": "notification-filled", + "unicode": "e6c1", + "unicode_decimal": 59073 + }, + { + "icon_id": "24932457", + "name": "wallet-filled", + "font_class": "wallet-filled", + "unicode": "e6c2", + "unicode_decimal": 59074 + }, + { + "icon_id": "24932458", + "name": "paihangbang-filled", + "font_class": "medal-filled", + "unicode": "e6c3", + "unicode_decimal": 59075 + }, + { + "icon_id": "24932459", + "name": "gift-filled", + "font_class": "gift-filled", + "unicode": "e6c4", + "unicode_decimal": 59076 + }, + { + "icon_id": "24932460", + "name": "fire-filled", + "font_class": "fire-filled", + "unicode": "e6c5", + "unicode_decimal": 59077 + }, + { + "icon_id": "24928001", + "name": "refreshempty", + "font_class": "refreshempty", + "unicode": "e6bf", + "unicode_decimal": 59071 + }, + { + "icon_id": "24926853", + "name": "location-ellipse", + "font_class": "location-filled", + "unicode": "e6af", + "unicode_decimal": 59055 + }, + { + "icon_id": "24926735", + "name": "person-filled", + "font_class": "person-filled", + "unicode": "e69d", + "unicode_decimal": 59037 + }, + { + "icon_id": "24926703", + "name": "personadd-filled", + "font_class": "personadd-filled", + "unicode": "e698", + "unicode_decimal": 59032 + }, + { + "icon_id": "24923351", + "name": "back", + "font_class": "back", + "unicode": "e6b9", + "unicode_decimal": 59065 + }, + { + "icon_id": "24923352", + "name": "forward", + "font_class": "forward", + "unicode": "e6ba", + "unicode_decimal": 59066 + }, + { + "icon_id": "24923353", + "name": "arrowthinright", + "font_class": "arrow-right", + "unicode": "e6bb", + "unicode_decimal": 59067 + }, + { + "icon_id": "24923353", + "name": "arrowthinright", + "font_class": "arrowthinright", + "unicode": "e6bb", + "unicode_decimal": 59067 + }, + { + "icon_id": "24923354", + "name": "arrowthinleft", + "font_class": "arrow-left", + "unicode": "e6bc", + "unicode_decimal": 59068 + }, + { + "icon_id": "24923354", + "name": "arrowthinleft", + "font_class": "arrowthinleft", + "unicode": "e6bc", + "unicode_decimal": 59068 + }, + { + "icon_id": "24923355", + "name": "arrowthinup", + "font_class": "arrow-up", + "unicode": "e6bd", + "unicode_decimal": 59069 + }, + { + "icon_id": "24923355", + "name": "arrowthinup", + "font_class": "arrowthinup", + "unicode": "e6bd", + "unicode_decimal": 59069 + }, + { + "icon_id": "24923356", + "name": "arrowthindown", + "font_class": "arrow-down", + "unicode": "e6be", + "unicode_decimal": 59070 + },{ + "icon_id": "24923356", + "name": "arrowthindown", + "font_class": "arrowthindown", + "unicode": "e6be", + "unicode_decimal": 59070 + }, + { + "icon_id": "24923349", + "name": "arrowdown", + "font_class": "bottom", + "unicode": "e6b8", + "unicode_decimal": 59064 + },{ + "icon_id": "24923349", + "name": "arrowdown", + "font_class": "arrowdown", + "unicode": "e6b8", + "unicode_decimal": 59064 + }, + { + "icon_id": "24923346", + "name": "arrowright", + "font_class": "right", + "unicode": "e6b5", + "unicode_decimal": 59061 + }, + { + "icon_id": "24923346", + "name": "arrowright", + "font_class": "arrowright", + "unicode": "e6b5", + "unicode_decimal": 59061 + }, + { + "icon_id": "24923347", + "name": "arrowup", + "font_class": "top", + "unicode": "e6b6", + "unicode_decimal": 59062 + }, + { + "icon_id": "24923347", + "name": "arrowup", + "font_class": "arrowup", + "unicode": "e6b6", + "unicode_decimal": 59062 + }, + { + "icon_id": "24923348", + "name": "arrowleft", + "font_class": "left", + "unicode": "e6b7", + "unicode_decimal": 59063 + }, + { + "icon_id": "24923348", + "name": "arrowleft", + "font_class": "arrowleft", + "unicode": "e6b7", + "unicode_decimal": 59063 + }, + { + "icon_id": "24923334", + "name": "eye", + "font_class": "eye", + "unicode": "e651", + "unicode_decimal": 58961 + }, + { + "icon_id": "24923335", + "name": "eye-filled", + "font_class": "eye-filled", + "unicode": "e66a", + "unicode_decimal": 58986 + }, + { + "icon_id": "24923336", + "name": "eye-slash", + "font_class": "eye-slash", + "unicode": "e6b3", + "unicode_decimal": 59059 + }, + { + "icon_id": "24923337", + "name": "eye-slash-filled", + "font_class": "eye-slash-filled", + "unicode": "e6b4", + "unicode_decimal": 59060 + }, + { + "icon_id": "24923305", + "name": "info-filled", + "font_class": "info-filled", + "unicode": "e649", + "unicode_decimal": 58953 + }, + { + "icon_id": "24923299", + "name": "reload-01", + "font_class": "reload", + "unicode": "e6b2", + "unicode_decimal": 59058 + }, + { + "icon_id": "24923195", + "name": "mic_slash_fill", + "font_class": "micoff-filled", + "unicode": "e6b0", + "unicode_decimal": 59056 + }, + { + "icon_id": "24923165", + "name": "map-pin-ellipse", + "font_class": "map-pin-ellipse", + "unicode": "e6ac", + "unicode_decimal": 59052 + }, + { + "icon_id": "24923166", + "name": "map-pin", + "font_class": "map-pin", + "unicode": "e6ad", + "unicode_decimal": 59053 + }, + { + "icon_id": "24923167", + "name": "location", + "font_class": "location", + "unicode": "e6ae", + "unicode_decimal": 59054 + }, + { + "icon_id": "24923064", + "name": "starhalf", + "font_class": "starhalf", + "unicode": "e683", + "unicode_decimal": 59011 + }, + { + "icon_id": "24923065", + "name": "star", + "font_class": "star", + "unicode": "e688", + "unicode_decimal": 59016 + }, + { + "icon_id": "24923066", + "name": "star-filled", + "font_class": "star-filled", + "unicode": "e68f", + "unicode_decimal": 59023 + }, + { + "icon_id": "24899646", + "name": "a-rilidaka", + "font_class": "calendar", + "unicode": "e6a0", + "unicode_decimal": 59040 + }, + { + "icon_id": "24899647", + "name": "fire", + "font_class": "fire", + "unicode": "e6a1", + "unicode_decimal": 59041 + }, + { + "icon_id": "24899648", + "name": "paihangbang", + "font_class": "medal", + "unicode": "e6a2", + "unicode_decimal": 59042 + }, + { + "icon_id": "24899649", + "name": "font", + "font_class": "font", + "unicode": "e6a3", + "unicode_decimal": 59043 + }, + { + "icon_id": "24899650", + "name": "gift", + "font_class": "gift", + "unicode": "e6a4", + "unicode_decimal": 59044 + }, + { + "icon_id": "24899651", + "name": "link", + "font_class": "link", + "unicode": "e6a5", + "unicode_decimal": 59045 + }, + { + "icon_id": "24899652", + "name": "notification", + "font_class": "notification", + "unicode": "e6a6", + "unicode_decimal": 59046 + }, + { + "icon_id": "24899653", + "name": "staff", + "font_class": "staff", + "unicode": "e6a7", + "unicode_decimal": 59047 + }, + { + "icon_id": "24899654", + "name": "VIP", + "font_class": "vip", + "unicode": "e6a8", + "unicode_decimal": 59048 + }, + { + "icon_id": "24899655", + "name": "folder_add", + "font_class": "folder-add", + "unicode": "e6a9", + "unicode_decimal": 59049 + }, + { + "icon_id": "24899656", + "name": "tune", + "font_class": "tune", + "unicode": "e6aa", + "unicode_decimal": 59050 + }, + { + "icon_id": "24899657", + "name": "shimingrenzheng", + "font_class": "auth", + "unicode": "e6ab", + "unicode_decimal": 59051 + }, + { + "icon_id": "24899565", + "name": "person", + "font_class": "person", + "unicode": "e699", + "unicode_decimal": 59033 + }, + { + "icon_id": "24899566", + "name": "email-filled", + "font_class": "email-filled", + "unicode": "e69a", + "unicode_decimal": 59034 + }, + { + "icon_id": "24899567", + "name": "phone-filled", + "font_class": "phone-filled", + "unicode": "e69b", + "unicode_decimal": 59035 + }, + { + "icon_id": "24899568", + "name": "phone", + "font_class": "phone", + "unicode": "e69c", + "unicode_decimal": 59036 + }, + { + "icon_id": "24899570", + "name": "email", + "font_class": "email", + "unicode": "e69e", + "unicode_decimal": 59038 + }, + { + "icon_id": "24899571", + "name": "personadd", + "font_class": "personadd", + "unicode": "e69f", + "unicode_decimal": 59039 + }, + { + "icon_id": "24899558", + "name": "chatboxes-filled", + "font_class": "chatboxes-filled", + "unicode": "e692", + "unicode_decimal": 59026 + }, + { + "icon_id": "24899559", + "name": "contact", + "font_class": "contact", + "unicode": "e693", + "unicode_decimal": 59027 + }, + { + "icon_id": "24899560", + "name": "chatbubble-filled", + "font_class": "chatbubble-filled", + "unicode": "e694", + "unicode_decimal": 59028 + }, + { + "icon_id": "24899561", + "name": "contact-filled", + "font_class": "contact-filled", + "unicode": "e695", + "unicode_decimal": 59029 + }, + { + "icon_id": "24899562", + "name": "chatboxes", + "font_class": "chatboxes", + "unicode": "e696", + "unicode_decimal": 59030 + }, + { + "icon_id": "24899563", + "name": "chatbubble", + "font_class": "chatbubble", + "unicode": "e697", + "unicode_decimal": 59031 + }, + { + "icon_id": "24881290", + "name": "upload-filled", + "font_class": "upload-filled", + "unicode": "e68e", + "unicode_decimal": 59022 + }, + { + "icon_id": "24881292", + "name": "upload", + "font_class": "upload", + "unicode": "e690", + "unicode_decimal": 59024 + }, + { + "icon_id": "24881293", + "name": "weixin", + "font_class": "weixin", + "unicode": "e691", + "unicode_decimal": 59025 + }, + { + "icon_id": "24881274", + "name": "compose", + "font_class": "compose", + "unicode": "e67f", + "unicode_decimal": 59007 + }, + { + "icon_id": "24881275", + "name": "qq", + "font_class": "qq", + "unicode": "e680", + "unicode_decimal": 59008 + }, + { + "icon_id": "24881276", + "name": "download-filled", + "font_class": "download-filled", + "unicode": "e681", + "unicode_decimal": 59009 + }, + { + "icon_id": "24881277", + "name": "pengyouquan", + "font_class": "pyq", + "unicode": "e682", + "unicode_decimal": 59010 + }, + { + "icon_id": "24881279", + "name": "sound", + "font_class": "sound", + "unicode": "e684", + "unicode_decimal": 59012 + }, + { + "icon_id": "24881280", + "name": "trash-filled", + "font_class": "trash-filled", + "unicode": "e685", + "unicode_decimal": 59013 + }, + { + "icon_id": "24881281", + "name": "sound-filled", + "font_class": "sound-filled", + "unicode": "e686", + "unicode_decimal": 59014 + }, + { + "icon_id": "24881282", + "name": "trash", + "font_class": "trash", + "unicode": "e687", + "unicode_decimal": 59015 + }, + { + "icon_id": "24881284", + "name": "videocam-filled", + "font_class": "videocam-filled", + "unicode": "e689", + "unicode_decimal": 59017 + }, + { + "icon_id": "24881285", + "name": "spinner-cycle", + "font_class": "spinner-cycle", + "unicode": "e68a", + "unicode_decimal": 59018 + }, + { + "icon_id": "24881286", + "name": "weibo", + "font_class": "weibo", + "unicode": "e68b", + "unicode_decimal": 59019 + }, + { + "icon_id": "24881288", + "name": "videocam", + "font_class": "videocam", + "unicode": "e68c", + "unicode_decimal": 59020 + }, + { + "icon_id": "24881289", + "name": "download", + "font_class": "download", + "unicode": "e68d", + "unicode_decimal": 59021 + }, + { + "icon_id": "24879601", + "name": "help", + "font_class": "help", + "unicode": "e679", + "unicode_decimal": 59001 + }, + { + "icon_id": "24879602", + "name": "navigate-filled", + "font_class": "navigate-filled", + "unicode": "e67a", + "unicode_decimal": 59002 + }, + { + "icon_id": "24879603", + "name": "plusempty", + "font_class": "plusempty", + "unicode": "e67b", + "unicode_decimal": 59003 + }, + { + "icon_id": "24879604", + "name": "smallcircle", + "font_class": "smallcircle", + "unicode": "e67c", + "unicode_decimal": 59004 + }, + { + "icon_id": "24879605", + "name": "minus-filled", + "font_class": "minus-filled", + "unicode": "e67d", + "unicode_decimal": 59005 + }, + { + "icon_id": "24879606", + "name": "micoff", + "font_class": "micoff", + "unicode": "e67e", + "unicode_decimal": 59006 + }, + { + "icon_id": "24879588", + "name": "closeempty", + "font_class": "closeempty", + "unicode": "e66c", + "unicode_decimal": 58988 + }, + { + "icon_id": "24879589", + "name": "clear", + "font_class": "clear", + "unicode": "e66d", + "unicode_decimal": 58989 + }, + { + "icon_id": "24879590", + "name": "navigate", + "font_class": "navigate", + "unicode": "e66e", + "unicode_decimal": 58990 + }, + { + "icon_id": "24879591", + "name": "minus", + "font_class": "minus", + "unicode": "e66f", + "unicode_decimal": 58991 + }, + { + "icon_id": "24879592", + "name": "image", + "font_class": "image", + "unicode": "e670", + "unicode_decimal": 58992 + }, + { + "icon_id": "24879593", + "name": "mic", + "font_class": "mic", + "unicode": "e671", + "unicode_decimal": 58993 + }, + { + "icon_id": "24879594", + "name": "paperplane", + "font_class": "paperplane", + "unicode": "e672", + "unicode_decimal": 58994 + }, + { + "icon_id": "24879595", + "name": "close", + "font_class": "close", + "unicode": "e673", + "unicode_decimal": 58995 + }, + { + "icon_id": "24879596", + "name": "help-filled", + "font_class": "help-filled", + "unicode": "e674", + "unicode_decimal": 58996 + }, + { + "icon_id": "24879597", + "name": "plus-filled", + "font_class": "paperplane-filled", + "unicode": "e675", + "unicode_decimal": 58997 + }, + { + "icon_id": "24879598", + "name": "plus", + "font_class": "plus", + "unicode": "e676", + "unicode_decimal": 58998 + }, + { + "icon_id": "24879599", + "name": "mic-filled", + "font_class": "mic-filled", + "unicode": "e677", + "unicode_decimal": 58999 + }, + { + "icon_id": "24879600", + "name": "image-filled", + "font_class": "image-filled", + "unicode": "e678", + "unicode_decimal": 59000 + }, + { + "icon_id": "24855900", + "name": "locked-filled", + "font_class": "locked-filled", + "unicode": "e668", + "unicode_decimal": 58984 + }, + { + "icon_id": "24855901", + "name": "info", + "font_class": "info", + "unicode": "e669", + "unicode_decimal": 58985 + }, + { + "icon_id": "24855903", + "name": "locked", + "font_class": "locked", + "unicode": "e66b", + "unicode_decimal": 58987 + }, + { + "icon_id": "24855884", + "name": "camera-filled", + "font_class": "camera-filled", + "unicode": "e658", + "unicode_decimal": 58968 + }, + { + "icon_id": "24855885", + "name": "chat-filled", + "font_class": "chat-filled", + "unicode": "e659", + "unicode_decimal": 58969 + }, + { + "icon_id": "24855886", + "name": "camera", + "font_class": "camera", + "unicode": "e65a", + "unicode_decimal": 58970 + }, + { + "icon_id": "24855887", + "name": "circle", + "font_class": "circle", + "unicode": "e65b", + "unicode_decimal": 58971 + }, + { + "icon_id": "24855888", + "name": "checkmarkempty", + "font_class": "checkmarkempty", + "unicode": "e65c", + "unicode_decimal": 58972 + }, + { + "icon_id": "24855889", + "name": "chat", + "font_class": "chat", + "unicode": "e65d", + "unicode_decimal": 58973 + }, + { + "icon_id": "24855890", + "name": "circle-filled", + "font_class": "circle-filled", + "unicode": "e65e", + "unicode_decimal": 58974 + }, + { + "icon_id": "24855891", + "name": "flag", + "font_class": "flag", + "unicode": "e65f", + "unicode_decimal": 58975 + }, + { + "icon_id": "24855892", + "name": "flag-filled", + "font_class": "flag-filled", + "unicode": "e660", + "unicode_decimal": 58976 + }, + { + "icon_id": "24855893", + "name": "gear-filled", + "font_class": "gear-filled", + "unicode": "e661", + "unicode_decimal": 58977 + }, + { + "icon_id": "24855894", + "name": "home", + "font_class": "home", + "unicode": "e662", + "unicode_decimal": 58978 + }, + { + "icon_id": "24855895", + "name": "home-filled", + "font_class": "home-filled", + "unicode": "e663", + "unicode_decimal": 58979 + }, + { + "icon_id": "24855896", + "name": "gear", + "font_class": "gear", + "unicode": "e664", + "unicode_decimal": 58980 + }, + { + "icon_id": "24855897", + "name": "smallcircle-filled", + "font_class": "smallcircle-filled", + "unicode": "e665", + "unicode_decimal": 58981 + }, + { + "icon_id": "24855898", + "name": "map-filled", + "font_class": "map-filled", + "unicode": "e666", + "unicode_decimal": 58982 + }, + { + "icon_id": "24855899", + "name": "map", + "font_class": "map", + "unicode": "e667", + "unicode_decimal": 58983 + }, + { + "icon_id": "24855825", + "name": "refresh-filled", + "font_class": "refresh-filled", + "unicode": "e656", + "unicode_decimal": 58966 + }, + { + "icon_id": "24855826", + "name": "refresh", + "font_class": "refresh", + "unicode": "e657", + "unicode_decimal": 58967 + }, + { + "icon_id": "24855808", + "name": "cloud-upload", + "font_class": "cloud-upload", + "unicode": "e645", + "unicode_decimal": 58949 + }, + { + "icon_id": "24855809", + "name": "cloud-download-filled", + "font_class": "cloud-download-filled", + "unicode": "e646", + "unicode_decimal": 58950 + }, + { + "icon_id": "24855810", + "name": "cloud-download", + "font_class": "cloud-download", + "unicode": "e647", + "unicode_decimal": 58951 + }, + { + "icon_id": "24855811", + "name": "cloud-upload-filled", + "font_class": "cloud-upload-filled", + "unicode": "e648", + "unicode_decimal": 58952 + }, + { + "icon_id": "24855813", + "name": "redo", + "font_class": "redo", + "unicode": "e64a", + "unicode_decimal": 58954 + }, + { + "icon_id": "24855814", + "name": "images-filled", + "font_class": "images-filled", + "unicode": "e64b", + "unicode_decimal": 58955 + }, + { + "icon_id": "24855815", + "name": "undo-filled", + "font_class": "undo-filled", + "unicode": "e64c", + "unicode_decimal": 58956 + }, + { + "icon_id": "24855816", + "name": "more", + "font_class": "more", + "unicode": "e64d", + "unicode_decimal": 58957 + }, + { + "icon_id": "24855817", + "name": "more-filled", + "font_class": "more-filled", + "unicode": "e64e", + "unicode_decimal": 58958 + }, + { + "icon_id": "24855818", + "name": "undo", + "font_class": "undo", + "unicode": "e64f", + "unicode_decimal": 58959 + }, + { + "icon_id": "24855819", + "name": "images", + "font_class": "images", + "unicode": "e650", + "unicode_decimal": 58960 + }, + { + "icon_id": "24855821", + "name": "paperclip", + "font_class": "paperclip", + "unicode": "e652", + "unicode_decimal": 58962 + }, + { + "icon_id": "24855822", + "name": "settings", + "font_class": "settings", + "unicode": "e653", + "unicode_decimal": 58963 + }, + { + "icon_id": "24855823", + "name": "search", + "font_class": "search", + "unicode": "e654", + "unicode_decimal": 58964 + }, + { + "icon_id": "24855824", + "name": "redo-filled", + "font_class": "redo-filled", + "unicode": "e655", + "unicode_decimal": 58965 + }, + { + "icon_id": "24841702", + "name": "list", + "font_class": "list", + "unicode": "e644", + "unicode_decimal": 58948 + }, + { + "icon_id": "24841489", + "name": "mail-open-filled", + "font_class": "mail-open-filled", + "unicode": "e63a", + "unicode_decimal": 58938 + }, + { + "icon_id": "24841491", + "name": "hand-thumbsdown-filled", + "font_class": "hand-down-filled", + "unicode": "e63c", + "unicode_decimal": 58940 + }, + { + "icon_id": "24841492", + "name": "hand-thumbsdown", + "font_class": "hand-down", + "unicode": "e63d", + "unicode_decimal": 58941 + }, + { + "icon_id": "24841493", + "name": "hand-thumbsup-filled", + "font_class": "hand-up-filled", + "unicode": "e63e", + "unicode_decimal": 58942 + }, + { + "icon_id": "24841494", + "name": "hand-thumbsup", + "font_class": "hand-up", + "unicode": "e63f", + "unicode_decimal": 58943 + }, + { + "icon_id": "24841496", + "name": "heart-filled", + "font_class": "heart-filled", + "unicode": "e641", + "unicode_decimal": 58945 + }, + { + "icon_id": "24841498", + "name": "mail-open", + "font_class": "mail-open", + "unicode": "e643", + "unicode_decimal": 58947 + }, + { + "icon_id": "24841488", + "name": "heart", + "font_class": "heart", + "unicode": "e639", + "unicode_decimal": 58937 + }, + { + "icon_id": "24839963", + "name": "loop", + "font_class": "loop", + "unicode": "e633", + "unicode_decimal": 58931 + }, + { + "icon_id": "24839866", + "name": "pulldown", + "font_class": "pulldown", + "unicode": "e632", + "unicode_decimal": 58930 + }, + { + "icon_id": "24813798", + "name": "scan", + "font_class": "scan", + "unicode": "e62a", + "unicode_decimal": 58922 + }, + { + "icon_id": "24813786", + "name": "bars", + "font_class": "bars", + "unicode": "e627", + "unicode_decimal": 58919 + }, + { + "icon_id": "24813788", + "name": "cart-filled", + "font_class": "cart-filled", + "unicode": "e629", + "unicode_decimal": 58921 + }, + { + "icon_id": "24813790", + "name": "checkbox", + "font_class": "checkbox", + "unicode": "e62b", + "unicode_decimal": 58923 + }, + { + "icon_id": "24813791", + "name": "checkbox-filled", + "font_class": "checkbox-filled", + "unicode": "e62c", + "unicode_decimal": 58924 + }, + { + "icon_id": "24813794", + "name": "shop", + "font_class": "shop", + "unicode": "e62f", + "unicode_decimal": 58927 + }, + { + "icon_id": "24813795", + "name": "headphones", + "font_class": "headphones", + "unicode": "e630", + "unicode_decimal": 58928 + }, + { + "icon_id": "24813796", + "name": "cart", + "font_class": "cart", + "unicode": "e631", + "unicode_decimal": 58929 + } + ] +} diff --git a/uni_modules/uni-icons/components/uni-icons/uni-icons.vue b/uni_modules/uni-icons/components/uni-icons/uni-icons.vue new file mode 100644 index 0000000..86e7444 --- /dev/null +++ b/uni_modules/uni-icons/components/uni-icons/uni-icons.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/uni_modules/uni-icons/components/uni-icons/uniicons.css b/uni_modules/uni-icons/components/uni-icons/uniicons.css new file mode 100644 index 0000000..2f56eab --- /dev/null +++ b/uni_modules/uni-icons/components/uni-icons/uniicons.css @@ -0,0 +1,663 @@ +.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-gift-filled:before { + content: "\e6c4"; +} + +.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-back:before { + content: "\e6b9"; +} + +.uniui-forward:before { + content: "\e6ba"; +} + +.uniui-arrow-right:before { + content: "\e6bb"; +} + +.uniui-arrowthinright:before { + content: "\e6bb"; +} + +.uniui-arrow-left:before { + content: "\e6bc"; +} + +.uniui-arrowthinleft:before { + content: "\e6bc"; +} + +.uniui-arrow-up:before { + content: "\e6bd"; +} + +.uniui-arrowthinup:before { + content: "\e6bd"; +} + +.uniui-arrow-down:before { + content: "\e6be"; +} + +.uniui-arrowthindown:before { + content: "\e6be"; +} + +.uniui-bottom:before { + content: "\e6b8"; +} + +.uniui-arrowdown:before { + content: "\e6b8"; +} + +.uniui-right:before { + content: "\e6b5"; +} + +.uniui-arrowright:before { + content: "\e6b5"; +} + +.uniui-top:before { + content: "\e6b6"; +} + +.uniui-arrowup:before { + content: "\e6b6"; +} + +.uniui-left:before { + content: "\e6b7"; +} + +.uniui-arrowleft:before { + content: "\e6b7"; +} + +.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-cart-filled:before { + content: "\e629"; +} + +.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/uni_modules/uni-icons/components/uni-icons/uniicons.ttf b/uni_modules/uni-icons/components/uni-icons/uniicons.ttf new file mode 100644 index 0000000..835f33b Binary files /dev/null and b/uni_modules/uni-icons/components/uni-icons/uniicons.ttf differ diff --git a/uni_modules/uni-icons/package.json b/uni_modules/uni-icons/package.json new file mode 100644 index 0000000..d1c4e77 --- /dev/null +++ b/uni_modules/uni-icons/package.json @@ -0,0 +1,86 @@ +{ + "id": "uni-icons", + "displayName": "uni-icons 图标", + "version": "1.3.5", + "description": "图标组件,用于展示移动端常见的图标,可自定义颜色、大小。", + "keywords": [ + "uni-ui", + "uniui", + "icon", + "图标" +], + "repository": "https://github.com/dcloudio/uni-ui", + "engines": { + "HBuilderX": "^3.2.14" + }, + "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"], + "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" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/uni-icons/readme.md b/uni_modules/uni-icons/readme.md new file mode 100644 index 0000000..86234ba --- /dev/null +++ b/uni_modules/uni-icons/readme.md @@ -0,0 +1,8 @@ +## Icons 图标 +> **组件名:uni-icons** +> 代码块: `uIcons` + +用于展示 icons 图标 。 + +### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-icons) +#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 diff --git a/uni_modules/uni-scss/changelog.md b/uni_modules/uni-scss/changelog.md new file mode 100644 index 0000000..b863bb0 --- /dev/null +++ b/uni_modules/uni-scss/changelog.md @@ -0,0 +1,8 @@ +## 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/uni_modules/uni-scss/index.scss b/uni_modules/uni-scss/index.scss new file mode 100644 index 0000000..1744a5f --- /dev/null +++ b/uni_modules/uni-scss/index.scss @@ -0,0 +1 @@ +@import './styles/index.scss'; diff --git a/uni_modules/uni-scss/package.json b/uni_modules/uni-scss/package.json new file mode 100644 index 0000000..7cc0ccb --- /dev/null +++ b/uni_modules/uni-scss/package.json @@ -0,0 +1,82 @@ +{ + "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/uni_modules/uni-scss/readme.md b/uni_modules/uni-scss/readme.md new file mode 100644 index 0000000..b7d1c25 --- /dev/null +++ b/uni_modules/uni-scss/readme.md @@ -0,0 +1,4 @@ +`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/uni_modules/uni-scss/styles/index.scss b/uni_modules/uni-scss/styles/index.scss new file mode 100644 index 0000000..ffac4fe --- /dev/null +++ b/uni_modules/uni-scss/styles/index.scss @@ -0,0 +1,7 @@ +@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/uni_modules/uni-scss/styles/setting/_border.scss b/uni_modules/uni-scss/styles/setting/_border.scss new file mode 100644 index 0000000..12a11c3 --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_border.scss @@ -0,0 +1,3 @@ +.uni-border { + border: 1px $uni-border-1 solid; +} \ No newline at end of file diff --git a/uni_modules/uni-scss/styles/setting/_color.scss b/uni_modules/uni-scss/styles/setting/_color.scss new file mode 100644 index 0000000..1ededd9 --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_color.scss @@ -0,0 +1,66 @@ + +// 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/uni_modules/uni-scss/styles/setting/_radius.scss b/uni_modules/uni-scss/styles/setting/_radius.scss new file mode 100644 index 0000000..9a0428b --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_radius.scss @@ -0,0 +1,55 @@ +@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/uni_modules/uni-scss/styles/setting/_space.scss b/uni_modules/uni-scss/styles/setting/_space.scss new file mode 100644 index 0000000..3c89528 --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_space.scss @@ -0,0 +1,56 @@ + +@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/uni_modules/uni-scss/styles/setting/_styles.scss b/uni_modules/uni-scss/styles/setting/_styles.scss new file mode 100644 index 0000000..689afec --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_styles.scss @@ -0,0 +1,167 @@ +/* #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/uni_modules/uni-scss/styles/setting/_text.scss b/uni_modules/uni-scss/styles/setting/_text.scss new file mode 100644 index 0000000..a34d08f --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_text.scss @@ -0,0 +1,24 @@ +@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/uni_modules/uni-scss/styles/setting/_variables.scss b/uni_modules/uni-scss/styles/setting/_variables.scss new file mode 100644 index 0000000..557d3d7 --- /dev/null +++ b/uni_modules/uni-scss/styles/setting/_variables.scss @@ -0,0 +1,146 @@ +// @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/uni_modules/uni-scss/styles/tools/functions.scss b/uni_modules/uni-scss/styles/tools/functions.scss new file mode 100644 index 0000000..ac6f63e --- /dev/null +++ b/uni_modules/uni-scss/styles/tools/functions.scss @@ -0,0 +1,19 @@ +// 合并 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/uni_modules/uni-scss/theme.scss b/uni_modules/uni-scss/theme.scss new file mode 100644 index 0000000..80ee62f --- /dev/null +++ b/uni_modules/uni-scss/theme.scss @@ -0,0 +1,31 @@ +// 间距基础倍数 +$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/uni_modules/uni-scss/variables.scss b/uni_modules/uni-scss/variables.scss new file mode 100644 index 0000000..1c062d4 --- /dev/null +++ b/uni_modules/uni-scss/variables.scss @@ -0,0 +1,62 @@ +@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/uni_modules/uni-swipe-action/changelog.md b/uni_modules/uni-swipe-action/changelog.md new file mode 100644 index 0000000..c007cb5 --- /dev/null +++ b/uni_modules/uni-swipe-action/changelog.md @@ -0,0 +1,41 @@ +## 1.3.7(2022-06-06) +- 修复 vue3 下使用组件不能正常运行的Bug +## 1.3.6(2022-05-31) +- 修复 h5端点击click触发两次的Bug +## 1.3.5(2022-05-23) +- 修复 isPC 找不到的Bug +## 1.3.4(2022-05-19) +- 修复 在 nvue 下 disabled 失效的bug +## 1.3.3(2022-03-31) +- 修复 按钮字体大小不能设置的bug +## 1.3.2(2022-03-16) +- 修复 h5和app端下报el错误的bug +## 1.3.1(2022-03-07) +- 修复 HBuilderX 1.4.X 版本中,h5和app端下报错的bug +## 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-swipe-action](https://uniapp.dcloud.io/component/uniui/uni-swipe-action) +## 1.2.4(2021-08-20) +- 优化 close-all 方法 +## 1.2.3(2021-08-20) +- 新增 close-all 方法,关闭所有已打开的组件 +## 1.2.2(2021-08-17) +- 新增 resize() 方法,在非微信小程序、h5、app-vue端出现不能滑动的问题的时候,重置组件 +- 修复 app 端偶尔出现类似 Page[x][-x,xx;-x,xx,x,x-x] 的问题 +- 优化 微信小程序、h5、app-vue 滑动逻辑,避免出现动态新增组件后不能滑动的问题 +## 1.2.1(2021-07-30) +- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) +- 修复 跨页面修改组件数据 ,导致不能滑动的问题 +## 1.1.10(2021-06-17) +- 修复 按钮点击执行两次的bug +## 1.1.9(2021-05-12) +- 新增 项目示例地址 +## 1.1.8(2021-03-26) +- 修复 微信小程序 nv_navigator is not defined 报错的bug +## 1.1.7(2021-02-05) +- 调整为uni_modules目录规范 +- 新增 左侧滑动 +- 新增 插槽使用方式 +- 新增 threshold 属性,可以控制滑动缺省值 +- 优化 长列表滚动性能 +- 修复 滚动页面时触发组件滑动的Bug diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/bindingx.js b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/bindingx.js new file mode 100644 index 0000000..755c97c --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/bindingx.js @@ -0,0 +1,302 @@ +let bindIngXMixins = {} + +// #ifdef APP-NVUE +const BindingX = uni.requireNativePlugin('bindingx'); +const dom = uni.requireNativePlugin('dom'); +const animation = uni.requireNativePlugin('animation'); + +bindIngXMixins = { + data() { + return {} + }, + + watch: { + show(newVal) { + if (this.autoClose) return + if (this.stop) return + this.stop = true + if (newVal) { + this.open(newVal) + } else { + this.close() + } + }, + leftOptions() { + this.getSelectorQuery() + this.init() + }, + rightOptions(newVal) { + this.init() + } + }, + created() { + this.swipeaction = this.getSwipeAction() + if (this.swipeaction.children !== undefined) { + this.swipeaction.children.push(this) + } + }, + mounted() { + this.box = this.getEl(this.$refs['selector-box--hock']) + this.selector = this.getEl(this.$refs['selector-content--hock']); + this.leftButton = this.getEl(this.$refs['selector-left-button--hock']); + this.rightButton = this.getEl(this.$refs['selector-right-button--hock']); + this.init() + }, + // beforeDestroy() { + // this.swipeaction.children.forEach((item, index) => { + // if (item === this) { + // this.swipeaction.children.splice(index, 1) + // } + // }) + // }, + methods: { + init() { + this.$nextTick(() => { + this.x = 0 + this.button = { + show: false + } + setTimeout(() => { + this.getSelectorQuery() + }, 200) + }) + }, + onClick(index, item, position) { + this.$emit('click', { + content: item, + index, + position + }) + }, + touchstart(e) { + // fix by mehaotian 禁止滑动 + if (this.disabled) return + // 每次只触发一次,避免多次监听造成闪烁 + if (this.stop) return + this.stop = true + if (this.autoClose) { + this.swipeaction.closeOther(this) + } + + const leftWidth = this.button.left.width + const rightWidth = this.button.right.width + let expression = this.range(this.x, -rightWidth, leftWidth) + let leftExpression = this.range(this.x - leftWidth, -leftWidth, 0) + let rightExpression = this.range(this.x + rightWidth, 0, rightWidth) + + this.eventpan = BindingX.bind({ + anchor: this.box, + eventType: 'pan', + props: [{ + element: this.selector, + property: 'transform.translateX', + expression + }, { + element: this.leftButton, + property: 'transform.translateX', + expression: leftExpression + }, { + element: this.rightButton, + property: 'transform.translateX', + expression: rightExpression + }, ] + }, (e) => { + // nope + if (e.state === 'end') { + this.x = e.deltaX + this.x; + this.isclick = true + this.bindTiming(e.deltaX) + } + }); + }, + touchend(e) { + if (this.isopen !== 'none' && !this.isclick) { + this.open('none') + } + }, + bindTiming(x) { + const left = this.x + const leftWidth = this.button.left.width + const rightWidth = this.button.right.width + const threshold = this.threshold + if (!this.isopen || this.isopen === 'none') { + if (left > threshold) { + this.open('left') + } else if (left < -threshold) { + this.open('right') + } else { + this.open('none') + } + } else { + if ((x > -leftWidth && x < 0) || x > rightWidth) { + if ((x > -threshold && x < 0) || (x - rightWidth > threshold)) { + this.open('left') + } else { + this.open('none') + } + } else { + if ((x < threshold && x > 0) || (x + leftWidth < -threshold)) { + this.open('right') + } else { + this.open('none') + } + } + } + }, + + /** + * 移动范围 + * @param {Object} num + * @param {Object} mix + * @param {Object} max + */ + range(num, mix, max) { + return `min(max(x+${num}, ${mix}), ${max})` + }, + + /** + * 开启swipe + */ + open(type) { + this.animation(type) + }, + + /** + * 关闭swipe + */ + close() { + this.animation('none') + }, + + /** + * 开启关闭动画 + * @param {Object} type + */ + animation(type) { + const time = 300 + const leftWidth = this.button.left.width + const rightWidth = this.button.right.width + if (this.eventpan && this.eventpan.token) { + BindingX.unbind({ + token: this.eventpan.token, + eventType: 'pan' + }) + } + + switch (type) { + case 'left': + Promise.all([ + this.move(this.selector, leftWidth), + this.move(this.leftButton, 0), + this.move(this.rightButton, rightWidth * 2) + ]).then(() => { + this.setEmit(leftWidth, type) + }) + break + case 'right': + Promise.all([ + this.move(this.selector, -rightWidth), + this.move(this.leftButton, -leftWidth * 2), + this.move(this.rightButton, 0) + ]).then(() => { + this.setEmit(-rightWidth, type) + }) + break + default: + Promise.all([ + this.move(this.selector, 0), + this.move(this.leftButton, -leftWidth), + this.move(this.rightButton, rightWidth) + ]).then(() => { + this.setEmit(0, type) + }) + + } + }, + setEmit(x, type) { + const leftWidth = this.button.left.width + const rightWidth = this.button.right.width + this.isopen = this.isopen || 'none' + this.stop = false + this.isclick = false + // 只有状态不一致才会返回结果 + if (this.isopen !== type && this.x !== x) { + if (type === 'left' && leftWidth > 0) { + this.$emit('change', 'left') + } + if (type === 'right' && rightWidth > 0) { + this.$emit('change', 'right') + } + if (type === 'none') { + this.$emit('change', 'none') + } + } + this.x = x + this.isopen = type + }, + move(ref, value) { + return new Promise((resolve, reject) => { + animation.transition(ref, { + styles: { + transform: `translateX(${value})`, + }, + duration: 150, //ms + timingFunction: 'linear', + needLayout: false, + delay: 0 //ms + }, function(res) { + resolve(res) + }) + }) + + }, + + /** + * 获取ref + * @param {Object} el + */ + getEl(el) { + return el.ref + }, + /** + * 获取节点信息 + */ + getSelectorQuery() { + Promise.all([ + this.getDom('left'), + this.getDom('right'), + ]).then((data) => { + let show = 'none' + if (this.autoClose) { + show = 'none' + } else { + show = this.show + } + + if (show === 'none') { + // this.close() + } else { + this.open(show) + } + + }) + + }, + getDom(str) { + return new Promise((resolve, reject) => { + dom.getComponentRect(this.$refs[`selector-${str}-button--hock`], (data) => { + if (data) { + this.button[str] = data.size + resolve(data) + } else { + reject() + } + }) + }) + } + } +} + +// #endif + +export default bindIngXMixins diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/isPC.js b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/isPC.js new file mode 100644 index 0000000..917cb48 --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/isPC.js @@ -0,0 +1,12 @@ +export function isPC() { + var userAgentInfo = navigator.userAgent; + var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; + var flag = true; + for (let v = 0; v < Agents.length - 1; v++) { + if (userAgentInfo.indexOf(Agents[v]) > 0) { + flag = false; + break; + } + } + return flag; +} diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpalipay.js b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpalipay.js new file mode 100644 index 0000000..43cd56b --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpalipay.js @@ -0,0 +1,193 @@ +export default { + data() { + return { + x: 0, + transition: false, + width: 0, + viewWidth: 0, + swipeShow: 0 + } + }, + watch: { + show(newVal) { + if (this.autoClose) return + if (newVal && newVal !== 'none') { + this.transition = true + this.open(newVal) + } else { + this.close() + } + } + }, + created() { + this.swipeaction = this.getSwipeAction() + if (this.swipeaction.children !== undefined) { + this.swipeaction.children.push(this) + } + }, + mounted() { + this.isopen = false + setTimeout(() => { + this.getQuerySelect() + }, 50) + }, + methods: { + appTouchStart(e) { + const { + clientX + } = e.changedTouches[0] + this.clientX = clientX + this.timestamp = new Date().getTime() + }, + appTouchEnd(e, index, item, position) { + const { + clientX + } = e.changedTouches[0] + // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题 + let diff = Math.abs(this.clientX - clientX) + let time = (new Date().getTime()) - this.timestamp + if (diff < 40 && time < 300) { + this.$emit('click', { + content: item, + index, + position + }) + } + }, + /** + * 移动触发 + * @param {Object} e + */ + onChange(e) { + this.moveX = e.detail.x + this.isclose = false + }, + touchstart(e) { + this.transition = false + this.isclose = true + this.autoClose && this.swipeaction.closeOther(this) + }, + touchmove(e) {}, + touchend(e) { + // 0的位置什么都不执行 + if (this.isclose && this.isopen === 'none') return + if (this.isclose && this.isopen !== 'none') { + this.transition = true + this.close() + } else { + this.move(this.moveX + this.leftWidth) + } + }, + + /** + * 移动 + * @param {Object} moveX + */ + move(moveX) { + // 打开关闭的处理逻辑不太一样 + this.transition = true + // 未打开状态 + if (!this.isopen || this.isopen === 'none') { + if (moveX > this.threshold) { + this.open('left') + } else if (moveX < -this.threshold) { + this.open('right') + } else { + this.close() + } + } else { + if (moveX < 0 && moveX < this.rightWidth) { + const rightX = this.rightWidth + moveX + if (rightX < this.threshold) { + this.open('right') + } else { + this.close() + } + } else if (moveX > 0 && moveX < this.leftWidth) { + const leftX = this.leftWidth - moveX + if (leftX < this.threshold) { + this.open('left') + } else { + this.close() + } + } + + } + + }, + + /** + * 打开 + */ + open(type) { + this.x = this.moveX + this.animation(type) + }, + + /** + * 关闭 + */ + close() { + this.x = this.moveX + // TODO 解决 x 值不更新的问题,所以会多触发一次 nextTick ,待优化 + this.$nextTick(() => { + this.x = -this.leftWidth + if (this.isopen !== 'none') { + this.$emit('change', 'none') + } + this.isopen = 'none' + }) + }, + + /** + * 执行结束动画 + * @param {Object} type + */ + animation(type) { + this.$nextTick(() => { + if (type === 'left') { + this.x = 0 + } else { + this.x = -this.rightWidth - this.leftWidth + } + + if (this.isopen !== type) { + this.$emit('change', type) + } + this.isopen = type + }) + + }, + getSlide(x) {}, + getQuerySelect() { + const query = uni.createSelectorQuery().in(this); + query.selectAll('.movable-view--hock').boundingClientRect(data => { + this.leftWidth = data[1].width + this.rightWidth = data[2].width + this.width = data[0].width + this.viewWidth = this.width + this.rightWidth + this.leftWidth + if (this.leftWidth === 0) { + // TODO 疑似bug ,初始化的时候如果x 是0,会导致移动位置错误,所以让元素超出一点 + this.x = -0.1 + } else { + this.x = -this.leftWidth + } + this.moveX = this.x + this.$nextTick(() => { + this.swipeShow = 1 + }) + + if (!this.buttonWidth) { + this.disabledView = true + } + + if (this.autoClose) return + if (this.show !== 'none') { + this.transition = true + this.open(this.shows) + } + }).exec(); + + } + } +} diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpother.js b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpother.js new file mode 100644 index 0000000..9a8bcbb --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpother.js @@ -0,0 +1,259 @@ +let otherMixins = {} + +// #ifndef APP-PLUS|| MP-WEIXIN || H5 +const MIN_DISTANCE = 10; +otherMixins = { + data() { + // TODO 随机生生元素ID,解决百度小程序获取同一个元素位置信息的bug + const elClass = `Uni_${Math.ceil(Math.random() * 10e5).toString(36)}` + return { + uniShow: false, + left: 0, + buttonShow: 'none', + ani: false, + moveLeft: '', + elClass + } + }, + watch: { + show(newVal) { + if (this.autoClose) return + this.openState(newVal) + }, + left() { + this.moveLeft = `translateX(${this.left}px)` + }, + buttonShow(newVal) { + if (this.autoClose) return + this.openState(newVal) + }, + leftOptions() { + this.init() + }, + rightOptions() { + this.init() + } + }, + mounted() { + this.swipeaction = this.getSwipeAction() + if (this.swipeaction.children !== undefined) { + this.swipeaction.children.push(this) + } + this.init() + }, + methods: { + init() { + clearTimeout(this.timer) + this.timer = setTimeout(() => { + this.getSelectorQuery() + }, 100) + // 移动距离 + this.left = 0 + this.x = 0 + }, + + closeSwipe(e) { + if (!this.autoClose) return + this.swipeaction.closeOther(this) + }, + appTouchStart(e) { + const { + clientX + } = e.changedTouches[0] + this.clientX = clientX + this.timestamp = new Date().getTime() + }, + appTouchEnd(e, index, item, position) { + const { + clientX + } = e.changedTouches[0] + // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题 + let diff = Math.abs(this.clientX - clientX) + let time = (new Date().getTime()) - this.timestamp + if (diff < 40 && time < 300) { + this.$emit('click', { + content: item, + index, + position + }) + } + }, + touchstart(e) { + if (this.disabled) return + this.ani = false + this.x = this.left || 0 + this.stopTouchStart(e) + this.autoClose && this.closeSwipe() + }, + touchmove(e) { + if (this.disabled) return + // 是否可以滑动页面 + this.stopTouchMove(e); + if (this.direction !== 'horizontal') { + return; + } + this.move(this.x + this.deltaX) + return false + }, + touchend() { + if (this.disabled) return + this.moveDirection(this.left) + }, + /** + * 设置移动距离 + * @param {Object} value + */ + move(value) { + value = value || 0 + const leftWidth = this.leftWidth + const rightWidth = this.rightWidth + // 获取可滑动范围 + this.left = this.range(value, -rightWidth, leftWidth); + }, + + /** + * 获取范围 + * @param {Object} num + * @param {Object} min + * @param {Object} max + */ + range(num, min, max) { + return Math.min(Math.max(num, min), max); + }, + /** + * 移动方向判断 + * @param {Object} left + * @param {Object} value + */ + moveDirection(left) { + const threshold = this.threshold + const isopen = this.isopen || 'none' + const leftWidth = this.leftWidth + const rightWidth = this.rightWidth + if (this.deltaX === 0) { + this.openState('none') + return + } + if ((isopen === 'none' && rightWidth > 0 && -left > threshold) || (isopen !== 'none' && rightWidth > + 0 && rightWidth + + left < threshold)) { + // right + this.openState('right') + } else if ((isopen === 'none' && leftWidth > 0 && left > threshold) || (isopen !== 'none' && leftWidth > + 0 && + leftWidth - left < threshold)) { + // left + this.openState('left') + } else { + // default + this.openState('none') + } + }, + + /** + * 开启状态 + * @param {Boolean} type + */ + openState(type) { + const leftWidth = this.leftWidth + const rightWidth = this.rightWidth + let left = '' + this.isopen = this.isopen ? this.isopen : 'none' + switch (type) { + case "left": + left = leftWidth + break + case "right": + left = -rightWidth + break + default: + left = 0 + } + + + if (this.isopen !== type) { + this.throttle = true + this.$emit('change', type) + } + + this.isopen = type + // 添加动画类 + this.ani = true + this.$nextTick(() => { + this.move(left) + }) + // 设置最终移动位置,理论上只要进入到这个函数,肯定是要打开的 + }, + close() { + this.openState('none') + }, + getDirection(x, y) { + if (x > y && x > MIN_DISTANCE) { + return 'horizontal'; + } + if (y > x && y > MIN_DISTANCE) { + return 'vertical'; + } + return ''; + }, + + /** + * 重置滑动状态 + * @param {Object} event + */ + resetTouchStatus() { + this.direction = ''; + this.deltaX = 0; + this.deltaY = 0; + this.offsetX = 0; + this.offsetY = 0; + }, + + /** + * 设置滑动开始位置 + * @param {Object} event + */ + stopTouchStart(event) { + this.resetTouchStatus(); + const touch = event.touches[0]; + this.startX = touch.clientX; + this.startY = touch.clientY; + }, + + /** + * 滑动中,是否禁止打开 + * @param {Object} event + */ + stopTouchMove(event) { + const touch = event.touches[0]; + this.deltaX = touch.clientX - this.startX; + this.deltaY = touch.clientY - this.startY; + this.offsetX = Math.abs(this.deltaX); + this.offsetY = Math.abs(this.deltaY); + this.direction = this.direction || this.getDirection(this.offsetX, this.offsetY); + }, + + getSelectorQuery() { + const views = uni.createSelectorQuery().in(this) + views + .selectAll('.' + this.elClass) + .boundingClientRect(data => { + if (data.length === 0) return + let show = 'none' + if (this.autoClose) { + show = 'none' + } else { + show = this.show + } + this.leftWidth = data[0].width || 0 + this.rightWidth = data[1].width || 0 + this.buttonShow = show + }) + .exec() + } + } +} + +// #endif + +export default otherMixins diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpwxs.js b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpwxs.js new file mode 100644 index 0000000..435e0fb --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpwxs.js @@ -0,0 +1,83 @@ +let mpMixins = {} +let is_pc = null +// #ifdef H5 +import { + isPC +} from "./isPC" +is_pc = isPC() +// #endif +// #ifdef APP-VUE|| MP-WEIXIN || H5 + +mpMixins = { + data() { + return { + is_show: 'none' + } + }, + watch: { + show(newVal) { + this.is_show = this.show + } + }, + created() { + this.swipeaction = this.getSwipeAction() + if (this.swipeaction.children !== undefined) { + this.swipeaction.children.push(this) + } + }, + mounted() { + this.is_show = this.show + }, + methods: { + // wxs 中调用 + closeSwipe(e) { + if (!this.autoClose) return + this.swipeaction.closeOther(this) + }, + + change(e) { + this.$emit('change', e.open) + if (this.is_show !== e.open) { + this.is_show = e.open + } + }, + + appTouchStart(e) { + if (is_pc) return + const { + clientX + } = e.changedTouches[0] + this.clientX = clientX + this.timestamp = new Date().getTime() + }, + appTouchEnd(e, index, item, position) { + if (is_pc) return + const { + clientX + } = e.changedTouches[0] + // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题 + let diff = Math.abs(this.clientX - clientX) + let time = (new Date().getTime()) - this.timestamp + if (diff < 40 && time < 300) { + this.$emit('click', { + content: item, + index, + position + }) + } + }, + onClickForPC(index, item, position) { + if (!is_pc) return + // #ifdef H5 + this.$emit('click', { + content: item, + index, + position + }) + // #endif + } + } +} + +// #endif +export default mpMixins diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/render.js b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/render.js new file mode 100644 index 0000000..78f0ec6 --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/render.js @@ -0,0 +1,270 @@ +const MIN_DISTANCE = 10; +export default { + showWatch(newVal, oldVal, ownerInstance, instance, self) { + var state = self.state + var $el = ownerInstance.$el || ownerInstance.$vm && ownerInstance.$vm.$el + if (!$el) return + this.getDom(instance, ownerInstance, self) + if (newVal && newVal !== 'none') { + this.openState(newVal, instance, ownerInstance, self) + return + } + + if (state.left) { + this.openState('none', instance, ownerInstance, self) + } + this.resetTouchStatus(instance, self) + }, + + /** + * 开始触摸操作 + * @param {Object} e + * @param {Object} ins + */ + touchstart(e, ownerInstance, self) { + let instance = e.instance; + let disabled = instance.getDataset().disabled + let state = self.state; + this.getDom(instance, ownerInstance, self) + // fix by mehaotian, TODO 兼容 app-vue 获取dataset为字符串 , h5 获取 为 undefined 的问题,待框架修复 + disabled = this.getDisabledType(disabled) + if (disabled) return + // 开始触摸时移除动画类 + instance.requestAnimationFrame(function() { + instance.removeClass('ani'); + ownerInstance.callMethod('closeSwipe'); + }) + + // 记录上次的位置 + state.x = state.left || 0 + // 计算滑动开始位置 + this.stopTouchStart(e, ownerInstance, self) + }, + + /** + * 开始滑动操作 + * @param {Object} e + * @param {Object} ownerInstance + */ + touchmove(e, ownerInstance, self) { + let instance = e.instance; + // 删除之后已经那不到实例了 + if (!instance) return; + let disabled = instance.getDataset().disabled + let state = self.state + // fix by mehaotian, TODO 兼容 app-vue 获取dataset为字符串 , h5 获取 为 undefined 的问题,待框架修复 + disabled = this.getDisabledType(disabled) + if (disabled) return + // 是否可以滑动页面 + this.stopTouchMove(e, self); + if (state.direction !== 'horizontal') { + return; + } + if (e.preventDefault) { + // 阻止页面滚动 + e.preventDefault() + } + let x = state.x + state.deltaX + this.move(x, instance, ownerInstance, self) + }, + + /** + * 结束触摸操作 + * @param {Object} e + * @param {Object} ownerInstance + */ + touchend(e, ownerInstance, self) { + let instance = e.instance; + let disabled = instance.getDataset().disabled + let state = self.state + // fix by mehaotian, TODO 兼容 app-vue 获取dataset为字符串 , h5 获取 为 undefined 的问题,待框架修复 + disabled = this.getDisabledType(disabled) + + if (disabled) return + // 滑动过程中触摸结束,通过阙值判断是开启还是关闭 + // fixed by mehaotian 定时器解决点击按钮,touchend 触发比 click 事件时机早的问题 ,主要是 ios13 + this.moveDirection(state.left, instance, ownerInstance, self) + + }, + + /** + * 设置移动距离 + * @param {Object} value + * @param {Object} instance + * @param {Object} ownerInstance + */ + move(value, instance, ownerInstance, self) { + value = value || 0 + let state = self.state + let leftWidth = state.leftWidth + let rightWidth = state.rightWidth + // 获取可滑动范围 + state.left = this.range(value, -rightWidth, leftWidth); + instance.requestAnimationFrame(function() { + instance.setStyle({ + transform: 'translateX(' + state.left + 'px)', + '-webkit-transform': 'translateX(' + state.left + 'px)' + }) + }) + + }, + + /** + * 获取元素信息 + * @param {Object} instance + * @param {Object} ownerInstance + */ + getDom(instance, ownerInstance, self) { + var state = self.state + var $el = ownerInstance.$el || ownerInstance.$vm && ownerInstance.$vm.$el + var leftDom = $el.querySelector('.button-group--left') + var rightDom = $el.querySelector('.button-group--right') + + state.leftWidth = leftDom.offsetWidth || 0 + state.rightWidth = rightDom.offsetWidth || 0 + state.threshold = instance.getDataset().threshold + }, + + getDisabledType(value) { + return (typeof(value) === 'string' ? JSON.parse(value) : value) || false; + }, + + /** + * 获取范围 + * @param {Object} num + * @param {Object} min + * @param {Object} max + */ + range(num, min, max) { + return Math.min(Math.max(num, min), max); + }, + + + /** + * 移动方向判断 + * @param {Object} left + * @param {Object} value + * @param {Object} ownerInstance + * @param {Object} ins + */ + moveDirection(left, ins, ownerInstance, self) { + var state = self.state + var threshold = state.threshold + var position = state.position + var isopen = state.isopen || 'none' + var leftWidth = state.leftWidth + var rightWidth = state.rightWidth + if (state.deltaX === 0) { + this.openState('none', ins, ownerInstance, self) + return + } + if ((isopen === 'none' && rightWidth > 0 && -left > threshold) || (isopen !== 'none' && rightWidth > 0 && + rightWidth + + left < threshold)) { + // right + this.openState('right', ins, ownerInstance, self) + } else if ((isopen === 'none' && leftWidth > 0 && left > threshold) || (isopen !== 'none' && leftWidth > 0 && + leftWidth - left < threshold)) { + // left + this.openState('left', ins, ownerInstance, self) + } else { + // default + this.openState('none', ins, ownerInstance, self) + } + }, + + + /** + * 开启状态 + * @param {Boolean} type + * @param {Object} ins + * @param {Object} ownerInstance + */ + openState(type, ins, ownerInstance, self) { + let state = self.state + let leftWidth = state.leftWidth + let rightWidth = state.rightWidth + let left = '' + state.isopen = state.isopen ? state.isopen : 'none' + switch (type) { + case "left": + left = leftWidth + break + case "right": + left = -rightWidth + break + default: + left = 0 + } + + // && !state.throttle + + if (state.isopen !== type) { + state.throttle = true + ownerInstance.callMethod('change', { + open: type + }) + + } + + state.isopen = type + // 添加动画类 + ins.requestAnimationFrame(() => { + ins.addClass('ani'); + this.move(left, ins, ownerInstance, self) + }) + }, + + + getDirection(x, y) { + if (x > y && x > MIN_DISTANCE) { + return 'horizontal'; + } + if (y > x && y > MIN_DISTANCE) { + return 'vertical'; + } + return ''; + }, + + /** + * 重置滑动状态 + * @param {Object} event + */ + resetTouchStatus(instance, self) { + let state = self.state; + state.direction = ''; + state.deltaX = 0; + state.deltaY = 0; + state.offsetX = 0; + state.offsetY = 0; + }, + + /** + * 设置滑动开始位置 + * @param {Object} event + */ + stopTouchStart(event, ownerInstance, self) { + let instance = event.instance; + let state = self.state + this.resetTouchStatus(instance, self); + var touch = event.touches[0]; + state.startX = touch.clientX; + state.startY = touch.clientY; + }, + + /** + * 滑动中,是否禁止打开 + * @param {Object} event + */ + stopTouchMove(event, self) { + let instance = event.instance; + let state = self.state; + let touch = event.touches[0]; + + state.deltaX = touch.clientX - state.startX; + state.deltaY = touch.clientY - state.startY; + state.offsetY = Math.abs(state.deltaY); + state.offsetX = Math.abs(state.deltaX); + state.direction = state.direction || this.getDirection(state.offsetX, state.offsetY); + } +} diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.vue b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.vue new file mode 100644 index 0000000..d79c297 --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.vue @@ -0,0 +1,347 @@ + + + + + + diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action-item/wx.wxs b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/wx.wxs new file mode 100644 index 0000000..b394244 --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action-item/wx.wxs @@ -0,0 +1,341 @@ +var MIN_DISTANCE = 10; + +/** + * 判断当前是否为H5、app-vue + */ +var IS_HTML5 = false +if (typeof window === 'object') IS_HTML5 = true + +/** + * 监听页面内值的变化,主要用于动态开关swipe-action + * @param {Object} newValue + * @param {Object} oldValue + * @param {Object} ownerInstance + * @param {Object} instance + */ +function showWatch(newVal, oldVal, ownerInstance, instance) { + var state = instance.getState() + getDom(instance, ownerInstance) + if (newVal && newVal !== 'none') { + openState(newVal, instance, ownerInstance) + return + } + + if (state.left) { + openState('none', instance, ownerInstance) + } + resetTouchStatus(instance) +} + +/** + * 开始触摸操作 + * @param {Object} e + * @param {Object} ins + */ +function touchstart(e, ownerInstance) { + var instance = e.instance; + var disabled = instance.getDataset().disabled + var state = instance.getState(); + getDom(instance, ownerInstance) + // fix by mehaotian, TODO 兼容 app-vue 获取dataset为字符串 , h5 获取 为 undefined 的问题,待框架修复 + disabled = (typeof(disabled) === 'string' ? JSON.parse(disabled) : disabled) || false; + if (disabled) return + // 开始触摸时移除动画类 + instance.requestAnimationFrame(function() { + instance.removeClass('ani'); + ownerInstance.callMethod('closeSwipe'); + }) + + // 记录上次的位置 + state.x = state.left || 0 + // 计算滑动开始位置 + stopTouchStart(e, ownerInstance) +} + +/** + * 开始滑动操作 + * @param {Object} e + * @param {Object} ownerInstance + */ +function touchmove(e, ownerInstance) { + var instance = e.instance; + var disabled = instance.getDataset().disabled + var state = instance.getState() + // fix by mehaotian, TODO 兼容 app-vue 获取dataset为字符串 , h5 获取 为 undefined 的问题,待框架修复 + disabled = (typeof(disabled) === 'string' ? JSON.parse(disabled) : disabled) || false; + if (disabled) return + // 是否可以滑动页面 + stopTouchMove(e); + if (state.direction !== 'horizontal') { + return; + } + + if (e.preventDefault) { + // 阻止页面滚动 + e.preventDefault() + } + + move(state.x + state.deltaX, instance, ownerInstance) +} + +/** + * 结束触摸操作 + * @param {Object} e + * @param {Object} ownerInstance + */ +function touchend(e, ownerInstance) { + var instance = e.instance; + var disabled = instance.getDataset().disabled + var state = instance.getState() + // fix by mehaotian, TODO 兼容 app-vue 获取dataset为字符串 , h5 获取 为 undefined 的问题,待框架修复 + disabled = (typeof(disabled) === 'string' ? JSON.parse(disabled) : disabled) || false; + + if (disabled) return + // 滑动过程中触摸结束,通过阙值判断是开启还是关闭 + // fixed by mehaotian 定时器解决点击按钮,touchend 触发比 click 事件时机早的问题 ,主要是 ios13 + moveDirection(state.left, instance, ownerInstance) + +} + +/** + * 设置移动距离 + * @param {Object} value + * @param {Object} instance + * @param {Object} ownerInstance + */ +function move(value, instance, ownerInstance) { + value = value || 0 + var state = instance.getState() + var leftWidth = state.leftWidth + var rightWidth = state.rightWidth + // 获取可滑动范围 + state.left = range(value, -rightWidth, leftWidth); + instance.requestAnimationFrame(function() { + instance.setStyle({ + transform: 'translateX(' + state.left + 'px)', + '-webkit-transform': 'translateX(' + state.left + 'px)' + }) + }) + +} + +/** + * 获取元素信息 + * @param {Object} instance + * @param {Object} ownerInstance + */ +function getDom(instance, ownerInstance) { + var state = instance.getState() + var leftDom = ownerInstance.selectComponent('.button-group--left') + var rightDom = ownerInstance.selectComponent('.button-group--right') + var leftStyles = { + width: 0 + } + var rightStyles = { + width: 0 + } + leftStyles = leftDom.getBoundingClientRect() + rightStyles = rightDom.getBoundingClientRect() + + state.leftWidth = leftStyles.width || 0 + state.rightWidth = rightStyles.width || 0 + state.threshold = instance.getDataset().threshold +} + +/** + * 获取范围 + * @param {Object} num + * @param {Object} min + * @param {Object} max + */ +function range(num, min, max) { + return Math.min(Math.max(num, min), max); +} + + +/** + * 移动方向判断 + * @param {Object} left + * @param {Object} value + * @param {Object} ownerInstance + * @param {Object} ins + */ +function moveDirection(left, ins, ownerInstance) { + var state = ins.getState() + var threshold = state.threshold + var position = state.position + var isopen = state.isopen || 'none' + var leftWidth = state.leftWidth + var rightWidth = state.rightWidth + if (state.deltaX === 0) { + openState('none', ins, ownerInstance) + return + } + if ((isopen === 'none' && rightWidth > 0 && -left > threshold) || (isopen !== 'none' && rightWidth > 0 && + rightWidth + + left < threshold)) { + // right + openState('right', ins, ownerInstance) + } else if ((isopen === 'none' && leftWidth > 0 && left > threshold) || (isopen !== 'none' && leftWidth > 0 && + leftWidth - left < threshold)) { + // left + openState('left', ins, ownerInstance) + } else { + // default + openState('none', ins, ownerInstance) + } +} + + +/** + * 开启状态 + * @param {Boolean} type + * @param {Object} ins + * @param {Object} ownerInstance + */ +function openState(type, ins, ownerInstance) { + var state = ins.getState() + var leftWidth = state.leftWidth + var rightWidth = state.rightWidth + var left = '' + state.isopen = state.isopen ? state.isopen : 'none' + switch (type) { + case "left": + left = leftWidth + break + case "right": + left = -rightWidth + break + default: + left = 0 + } + + // && !state.throttle + + if (state.isopen !== type) { + state.throttle = true + ownerInstance.callMethod('change', { + open: type + }) + + } + + state.isopen = type + // 添加动画类 + ins.requestAnimationFrame(function() { + ins.addClass('ani'); + move(left, ins, ownerInstance) + }) + // 设置最终移动位置,理论上只要进入到这个函数,肯定是要打开的 +} + + +function getDirection(x, y) { + if (x > y && x > MIN_DISTANCE) { + return 'horizontal'; + } + if (y > x && y > MIN_DISTANCE) { + return 'vertical'; + } + return ''; +} + +/** + * 重置滑动状态 + * @param {Object} event + */ +function resetTouchStatus(instance) { + var state = instance.getState(); + state.direction = ''; + state.deltaX = 0; + state.deltaY = 0; + state.offsetX = 0; + state.offsetY = 0; +} + +/** + * 设置滑动开始位置 + * @param {Object} event + */ +function stopTouchStart(event) { + var instance = event.instance; + var state = instance.getState(); + resetTouchStatus(instance); + var touch = event.touches[0]; + if (IS_HTML5 && isPC()) { + touch = event; + } + state.startX = touch.clientX; + state.startY = touch.clientY; +} + +/** + * 滑动中,是否禁止打开 + * @param {Object} event + */ +function stopTouchMove(event) { + var instance = event.instance; + var state = instance.getState(); + var touch = event.touches[0]; + if (IS_HTML5 && isPC()) { + touch = event; + } + state.deltaX = touch.clientX - state.startX; + state.deltaY = touch.clientY - state.startY; + state.offsetY = Math.abs(state.deltaY); + state.offsetX = Math.abs(state.deltaX); + state.direction = state.direction || getDirection(state.offsetX, state.offsetY); +} + +function isPC() { + var userAgentInfo = navigator.userAgent; + var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; + var flag = true; + for (var v = 0; v < Agents.length - 1; v++) { + if (userAgentInfo.indexOf(Agents[v]) > 0) { + flag = false; + break; + } + } + return flag; +} + +var movable = false + +function mousedown(e, ins) { + if (!IS_HTML5) return + if (!isPC()) return + touchstart(e, ins) + movable = true +} + +function mousemove(e, ins) { + if (!IS_HTML5) return + if (!isPC()) return + if (!movable) return + touchmove(e, ins) +} + +function mouseup(e, ins) { + if (!IS_HTML5) return + if (!isPC()) return + touchend(e, ins) + movable = false +} + +function mouseleave(e, ins) { + if (!IS_HTML5) return + if (!isPC()) return + movable = false +} + +module.exports = { + showWatch: showWatch, + touchstart: touchstart, + touchmove: touchmove, + touchend: touchend, + mousedown: mousedown, + mousemove: mousemove, + mouseup: mouseup, + mouseleave: mouseleave +} diff --git a/uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.vue b/uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.vue new file mode 100644 index 0000000..4971782 --- /dev/null +++ b/uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/uni_modules/uni-swipe-action/package.json b/uni_modules/uni-swipe-action/package.json new file mode 100644 index 0000000..c8998d9 --- /dev/null +++ b/uni_modules/uni-swipe-action/package.json @@ -0,0 +1,87 @@ +{ + "id": "uni-swipe-action", + "displayName": "uni-swipe-action 滑动操作", + "version": "1.3.7", + "description": "SwipeAction 滑动操作操作组件", + "keywords": [ + "", + "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"], + "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" + }, + "快应用": { + "华为": "y", + "联盟": "u" + }, + "Vue": { + "vue2": "y", + "vue3": "y" + } + } + } + } +} diff --git a/uni_modules/uni-swipe-action/readme.md b/uni_modules/uni-swipe-action/readme.md new file mode 100644 index 0000000..93a5cac --- /dev/null +++ b/uni_modules/uni-swipe-action/readme.md @@ -0,0 +1,11 @@ + + +## SwipeAction 滑动操作 +> **组件名:uni-swipe-action** +> 代码块: `uSwipeAction`、`uSwipeActionItem` + + +通过滑动触发选项的容器 + +### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-swipe-action) +#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file