From 82babef77f3ba6cbf464d58040e48d49ba7d653e Mon Sep 17 00:00:00 2001 From: zmr900709 <1838875027@qq.com> Date: Mon, 8 Jun 2020 11:32:07 +0800 Subject: [PATCH] v --- components/umaskes/umaskes.vue | 35 ++++ pageA/bindinges/bindinges.vue | 286 +++++++++++++++++++++++++++++++++ pageA/login/login.vue | 160 +++++++++++++++--- pages.json | 11 ++ 4 files changed, 466 insertions(+), 26 deletions(-) create mode 100644 components/umaskes/umaskes.vue create mode 100644 pageA/bindinges/bindinges.vue diff --git a/components/umaskes/umaskes.vue b/components/umaskes/umaskes.vue new file mode 100644 index 0000000..c4e18f8 --- /dev/null +++ b/components/umaskes/umaskes.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/pageA/bindinges/bindinges.vue b/pageA/bindinges/bindinges.vue new file mode 100644 index 0000000..70d9d25 --- /dev/null +++ b/pageA/bindinges/bindinges.vue @@ -0,0 +1,286 @@ + + + + diff --git a/pageA/login/login.vue b/pageA/login/login.vue index 045cd52..82e6073 100644 --- a/pageA/login/login.vue +++ b/pageA/login/login.vue @@ -22,18 +22,34 @@ 《用户协议》 《隐私协议》 《使用协议》 - - + + 新用户点击注册 - 其他方式登录 + 其他方式登录 - - {{login}} + + {{login}} + + + + + + QQ登录 + + + + 微信登录 + + 取消 + + + @@ -46,18 +62,22 @@ disabled: false }], value: '', - login:'登录', + login: '登录', + show: false }; }, methods: { // 选中某个复选框时,由checkbox时触发 - checkboxChange(e) { - //console.log(e); - }, - // 选中任一checkbox时,由checkbox-group触发 - checkboxGroupChange(e) { - // console.log(e); - } + checkboxChange(e) { + //console.log(e); + }, + // 选中任一checkbox时,由checkbox-group触发 + checkboxGroupChange(e) { + // console.log(e); + }, + mask_u(){ + this.show = !this.show + }, } }; @@ -163,34 +183,122 @@ color: rgba(129, 188, 253, 1) !important; line-height: 36px; } + //单选框的样式 - .pact{ + .pact { position: relative; padding-left: 40rpx; } - .u-checkbox-group{ + + .u-checkbox-group { position: absolute; left: 0; top: 0; bottom: 0; margin: auto; } - .u-checkbox__icon--square{ - border-radius: 50rpx!important; + + .u-checkbox__icon--square { + border-radius: 50rpx !important; width: 22rpx; height: 22rpx; } - .u-btn{ - width:628rpx; - height:98rpx; - background:rgba(255,120,15,1)!important; - border-radius:49rpx; + + .u-btn { + width: 628rpx; + height: 98rpx; + background: rgba(255, 120, 15, 1) !important; + border-radius: 49rpx; margin: 0 auto; - font-size:36rpx; - color:rgba(255,255,255,1)!important; - line-height:36px; + font-size: 36rpx; + color: rgba(255, 255, 255, 1) !important; + line-height: 36px; border: 1px #ff780f solid; outline: none; - border-color: rgba(255,120,15,1)!important; + border-color: rgba(255, 120, 15, 1) !important; + } + + .warp { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + } + + .rect { + width: 558rpx; + height: 300rpx; + background-color: #fff; + border-radius: 20rpx; + overflow: hidden; + zoom: 1; + position: relative; + display: flex; + flex-wrap:wrap; + display: -webkit-flex; /* Safari */ + .rect_view{ + width: 100rpx; + height: 100rpx; + .image{ + width: 45rpx; + height: 53rpx; + display: inline-block; + + } + flex:1; + margin-top: 77rpx; + } + .rect_view:nth-child(2) image{ + width: 57rpx; + height: 45rpx; + } + + .rect_butoon{ + width: 100%; + position: absolute; + bottom: 0; + height: 85rpx; + text-align: center; + line-height: 85rpx; + border-top: 1px #999999 solid; + } + view{ + color: #666; + font-size:24rpx; + margin-top: 30rpx; + + } + } + .rect_view:nth-child(1) image,.rect_view:nth-child(1) view{ + float: right; + } + .rect_view:nth-child(1) image{ + margin-right: 20rpx; + } + .rect_view:nth-child(1){ + position: relative; + margin-right: 79rpx; + } + .rect_view:nth-child(1) view{ + position: absolute; + bottom: 0; + right: 0; + } + .rect_view:nth-child(2) image,.rect_view:nth-child(2) view{ + float: left; + } + .rect_view:nth-child(2) image{ + margin-left: 20rpx; + } + .rect_view:nth-child(2){ + position: relative; + } + .rect_view:nth-child(2) view{ + position: absolute; + bottom: 0; + left: 0; + } + uni-page-wrapper{ + background: #fff; } diff --git a/pages.json b/pages.json index b7781a2..133e747 100644 --- a/pages.json +++ b/pages.json @@ -6,6 +6,17 @@ { "root": "pageA", "pages": [ + { + "path": "bindinges/bindinges", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "app-plus": { + "titleNView": false, + "animationType": "slide-in-bottom" + } + } + }, { "path": "welcome/welcome", "style": {