diff --git a/pages.json b/pages.json index 33ecda36cb15ffb82541a5657314065d8a9481b7..a57c8c922e42cb336571bc3ea476694c1bdef2f2 100644 --- a/pages.json +++ b/pages.json @@ -42,16 +42,6 @@ "navigationBarBackgroundColor":"#2F85FC", "navigationBarTextStyle":"white" } - },{ - "path":"pages/login/login", - "style":{ - "navigationBarTitleText":"登录" - } - },{ - "path":"pages/reg/reg", - "style":{ - "navigationBarTitleText":"注册" - } },{ "path":"pages/uni-feedback/uni-feedback", "style":{ @@ -122,6 +112,58 @@ "style":{ "navigationStyle":"custom" } + },{ + "path":"uni_modules/login-page/pages/index/index", + "style":{ + "navigationBarTitleText":"", + "navigationBarBackgroundColor":"#FFFFFF", + "app-plus":{ + "titleNView":{ + "buttons":[{ + "text":"帮助" + }] + } + } + } + },{ + "path":"uni_modules/login-page/pages/index/phone-login", + "style":{ + "navigationBarTitleText":"", + "navigationBarBackgroundColor":"#FFFFFF", + "app-plus":{ + "titleNView":{ + "buttons":[{ + "text":"帮助" + }] + } + } + } + },{ + "path":"uni_modules/login-page/pages/index/pwd-login", + "style":{ + "navigationBarTitleText":"", + "navigationBarBackgroundColor":"#FFFFFF", + "app-plus":{ + "titleNView":{ + "buttons":[{ + "text":"帮助" + }] + } + } + } + },{ + "path":"uni_modules/login-page/pages/index/pwd-retrieve", + "style":{ + "navigationBarTitleText":"", + "navigationBarBackgroundColor":"#FFFFFF", + "app-plus":{ + "titleNView":{ + "buttons":[{ + "text":"帮助" + }] + } + } + } } ], "globalStyle": { diff --git a/uni_modules/login-page/changelog.md b/uni_modules/login-page/changelog.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/uni_modules/login-page/common/myStyle.css b/uni_modules/login-page/common/myStyle.css new file mode 100644 index 0000000000000000000000000000000000000000..19fba5cb5805354ac885c62aac2f6fa38f6f1585 --- /dev/null +++ b/uni_modules/login-page/common/myStyle.css @@ -0,0 +1,267 @@ +.flex{ + /* #ifndef APP-VUE */ + display: flex; + /* #endif */ +} +.w-750{ + width: 750rpx; +} +.w-630{ + width: 630rpx; +} +.w-400{ + width: 400rpx; +} +.w-375{ + width: 375rpx; +} +.flex-1{ + flex: 1; +} +.flex-column{ + flex-direction: column; +} +.flex-row{ + flex-direction: row; +} +.flex-wrap{ + flex-wrap: wrap; +} +.flex-nowrap{ + flex-wrap: nowrap; +} +.align-center{ + align-items: center; +} +.align-start{ + align-items: flex-start; +} +.align-end{ + align-items: flex-end; +} +.justify-center{ + justify-content: center; +} +.justify-start{ + justify-content: flex-start; +} +.justify-end{ + justify-content: flex-end; +} +.justify-between{ + justify-content: space-between; +} +.round{ + border-radius: 6rpx; +} +.round-0{ + border-radius: 0rpx; +} +.round-1{ + border-radius: 10rpx; +} +.p-1{ + padding: 10rpx; +} +.p-2{ + padding: 20rpx; +} +.p-3{ + padding: 30rpx; +} +.p-4{ + padding: 40rpx; +} +.p-5{ + padding: 50rpx; +} + +.px-1{ + padding-left: 10rpx; + padding-right: 10rpx; +} +.px-2{ + padding-left: 20rpx; + padding-right: 20rpx; +} +.px-3{ + padding-left: 30rpx; + padding-right: 30rpx; +} +.px-4{ + padding-left: 40rpx; + padding-right: 40rpx; +} +.px-5{ + padding-left: 50rpx; + padding-right: 50rpx; +} +.py-1{ + padding-top: 10rpx; + padding-bottom: 10rpx; +} +.py-2{ + padding-top: 20rpx; + padding-bottom: 20rpx; +} +.py-3{ + padding-top: 30rpx; + padding-bottom: 30rpx; +} +.py-4{ + padding-top: 40rpx; + padding-bottom: 40rpx; +} +.py-5{ + padding-top: 50rpx; + padding-bottom: 50rpx; +} +.pt-1{ + padding-top: 10rpx; +} +.pt-2{ + padding-top: 20rpx; +} +.pt-5{ + padding-top: 50rpx; +} + + +.m-1{ + margin: 10rpx; +} +.m-2{ + margin: 20rpx; +} +.m-3{ + margin: 30rpx; +} +.m-4{ + margin: 40rpx; +} +.m-5{ + margin: 50rpx; +} +.mt-2{ + margin-top: 20rpx; +} +.mt-5{ + margin-top: 50rpx; +} + +.mx-1{ + margin-left: 10rpx; + margin-right: 10rpx; +} +.mx-2{ + margin-left: 20rpx; + margin-right: 20rpx; +} +.mx-3{ + margin-left: 30rpx; + margin-right: 30rpx; +} +.mx-4{ + margin-left: 40rpx; + margin-right: 40rpx; +} +.mx-5{ + margin-left: 50rpx; + margin-right: 50rpx; +} +.my-1{ + margin-top: 10rpx; + margin-bottom: 10rpx; +} +.my-2{ + margin-top: 20rpx; + margin-bottom: 20rpx; +} +.my-3{ + margin-top: 30rpx; + margin-bottom: 30rpx; +} +.my-4{ + margin-top: 40rpx; + margin-bottom: 40rpx; +} +.my-5{ + margin-top: 50rpx; + margin-bottom: 50rpx; +} +.font-blod{ + font-weight: bold; +} +.font-bolder{ + font-weight: 900; +} +.font-lighter{ + font-weight: 100; +} +.font-normal{ + font-weight: normal; +} +.font-20{ + font-size: 20rpx; +} +.font-22{ + font-size: 22rpx; +} +.font-24{ + font-size: 24rpx; +} +.font-26{ + font-size: 26rpx; +} +.font-28{ + font-size: 28rpx; +} +.font-30{ + font-size: 30rpx; +} +.font-32{ + font-size: 32rpx; +} +.font-34{ + font-size: 34rpx; +} +.font-36{ + font-size: 36rpx; +} +.font-40{ + font-size: 40rpx; +} +.font-50{ + font-size: 50rpx; +} +.font-60{ + font-size: 60rpx; +} +.font-100{ + font-size: 100rpx; +} + +.text-white{ + color: #FFFFFF; +} +.text-sub{ + color: #8a8f8b; +} + +.bg-white{ + background-color: #FFFFFF; +} +.hover{ + opacity: 0.8; +} + +.border-test{ + /* #ifdef APP-NVUE */ + border-width: 1rpx; + border-color: #DD524D; + /* #endif */ + /* #ifndef APP-NVUE */ + border: 1rpx solid #DD524D; + box-sizing: border-box; + /* #endif */ +} \ No newline at end of file diff --git a/uni_modules/login-page/components/auth-btn/auth-btn.vue b/uni_modules/login-page/components/auth-btn/auth-btn.vue new file mode 100644 index 0000000000000000000000000000000000000000..c416cd52cc3a9971d4334e51676dc7116e36ed88 --- /dev/null +++ b/uni_modules/login-page/components/auth-btn/auth-btn.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/uni_modules/login-page/components/login-action-sheet/login-action-sheet.vue b/uni_modules/login-page/components/login-action-sheet/login-action-sheet.vue new file mode 100644 index 0000000000000000000000000000000000000000..6e70bdc146d8e301a1ae451cb466a9aef82dd1c8 --- /dev/null +++ b/uni_modules/login-page/components/login-action-sheet/login-action-sheet.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/uni_modules/login-page/components/login-ikonw/login-ikonw.vue b/uni_modules/login-page/components/login-ikonw/login-ikonw.vue new file mode 100644 index 0000000000000000000000000000000000000000..f1ac3e0e51ed980b2b1a99bf751370d6945735dd --- /dev/null +++ b/uni_modules/login-page/components/login-ikonw/login-ikonw.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/uni_modules/login-page/components/login-short-code/login-short-code.vue b/uni_modules/login-page/components/login-short-code/login-short-code.vue new file mode 100644 index 0000000000000000000000000000000000000000..c1e50d3a8b48a515190a1a48d38ac10894be14e1 --- /dev/null +++ b/uni_modules/login-page/components/login-short-code/login-short-code.vue @@ -0,0 +1,80 @@ + + + + + diff --git a/uni_modules/login-page/package.json b/uni_modules/login-page/package.json new file mode 100644 index 0000000000000000000000000000000000000000..f8d1bda286c1e9ac2751982e980c1cf70b479d06 --- /dev/null +++ b/uni_modules/login-page/package.json @@ -0,0 +1,76 @@ +{ + "id": "login-page", + "displayName": "login-page", + "version": "1.0.0", + "description": "login-page", + "keywords": [ + "login-page" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "category": [ + "前端页面模板", + "前端页面模板" + ], + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "", + "data": "", + "permissions": "" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "u", + "aliyun": "u" + }, + "client": { + "App": { + "app-vue": "u", + "app-nvue": "u" + }, + "H5-mobile": { + "Safari": "u", + "Android Browser": "u", + "微信浏览器(Android)": "u", + "QQ浏览器(Android)": "u" + }, + "H5-pc": { + "Chrome": "u", + "IE": "u", + "Edge": "u", + "Firefox": "u", + "Safari": "u" + }, + "小程序": { + "微信": "u", + "阿里": "u", + "百度": "u", + "字节跳动": "u", + "QQ": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/login-page/pages/index/index.nvue b/uni_modules/login-page/pages/index/index.nvue new file mode 100644 index 0000000000000000000000000000000000000000..b3edd128aee9bb8b87ff5874d29f84b7af34369d --- /dev/null +++ b/uni_modules/login-page/pages/index/index.nvue @@ -0,0 +1,79 @@ + + + + + diff --git a/uni_modules/login-page/pages/index/phone-login.nvue b/uni_modules/login-page/pages/index/phone-login.nvue new file mode 100644 index 0000000000000000000000000000000000000000..5e21c2d9238fe70b2e105905b892f65623cdccf1 --- /dev/null +++ b/uni_modules/login-page/pages/index/phone-login.nvue @@ -0,0 +1,122 @@ + + + + + diff --git a/uni_modules/login-page/pages/index/pwd-login.nvue b/uni_modules/login-page/pages/index/pwd-login.nvue new file mode 100644 index 0000000000000000000000000000000000000000..7c2dd20d61b922afa2bb2026eef69143638b141f --- /dev/null +++ b/uni_modules/login-page/pages/index/pwd-login.nvue @@ -0,0 +1,133 @@ + + + + + diff --git a/uni_modules/login-page/pages/index/pwd-retrieve.nvue b/uni_modules/login-page/pages/index/pwd-retrieve.nvue new file mode 100644 index 0000000000000000000000000000000000000000..0d6f7890ca25faddfd4a655774b8d0f50a79f1db --- /dev/null +++ b/uni_modules/login-page/pages/index/pwd-retrieve.nvue @@ -0,0 +1,110 @@ + + + + + diff --git a/uni_modules/login-page/readme.md b/uni_modules/login-page/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..1523e529679ac4c53da168a0e16a6972eab31046 --- /dev/null +++ b/uni_modules/login-page/readme.md @@ -0,0 +1 @@ +# login-page \ No newline at end of file diff --git a/uni_modules/login-page/static/login/img/apple.png b/uni_modules/login-page/static/login/img/apple.png new file mode 100644 index 0000000000000000000000000000000000000000..5fd31c621254aff8bfb08f497ff8cc04a063da5e Binary files /dev/null and b/uni_modules/login-page/static/login/img/apple.png differ diff --git a/uni_modules/login-page/static/login/img/qq.png b/uni_modules/login-page/static/login/img/qq.png new file mode 100644 index 0000000000000000000000000000000000000000..23b8d785e5821d7b13160cf471ec562fd423fc65 Binary files /dev/null and b/uni_modules/login-page/static/login/img/qq.png differ diff --git a/uni_modules/login-page/static/login/img/sinaweibo.png b/uni_modules/login-page/static/login/img/sinaweibo.png new file mode 100644 index 0000000000000000000000000000000000000000..3751cfbf835e39b2edbdd386d5662ff37e966119 Binary files /dev/null and b/uni_modules/login-page/static/login/img/sinaweibo.png differ diff --git a/uni_modules/login-page/static/login/img/univerify.png b/uni_modules/login-page/static/login/img/univerify.png new file mode 100644 index 0000000000000000000000000000000000000000..37bc8f202634ba50e03fd016cd4f40f4a1f5b47d Binary files /dev/null and b/uni_modules/login-page/static/login/img/univerify.png differ diff --git a/uni_modules/login-page/static/login/img/weixin.png b/uni_modules/login-page/static/login/img/weixin.png new file mode 100644 index 0000000000000000000000000000000000000000..b88faa6e295540c4da52c4d5ca8fbce10942074d Binary files /dev/null and b/uni_modules/login-page/static/login/img/weixin.png differ