diff --git a/src/components/auth/agreement.vue b/src/components/auth/agreement.vue new file mode 100644 index 0000000..cec3200 --- /dev/null +++ b/src/components/auth/agreement.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/src/components/layout/layout.vue b/src/components/layout/layout.vue index e4e60b8..ba22f28 100644 --- a/src/components/layout/layout.vue +++ b/src/components/layout/layout.vue @@ -9,14 +9,12 @@ backgroundColor: headerBackgroundColor, }" > - 成都市 - @@ -76,6 +74,10 @@ export default { type: String, default: "dark", }, + hasPaddingTop: { + type: Boolean, + default: true, + }, }, computed: { ...mapState({ @@ -92,7 +94,9 @@ export default { this.header.pt = 0; this.header.height = this.$utils.rpx2px(headerHeight * 2); // #endif - this.bodyPt = this.header.pt + this.header.height; + if (this.hasPaddingTop) { + this.bodyPt = this.header.pt + this.header.height; + } }, methods: { onClick() { diff --git a/src/components/widgets/checkbox.vue b/src/components/widgets/checkbox.vue new file mode 100644 index 0000000..c66f1e1 --- /dev/null +++ b/src/components/widgets/checkbox.vue @@ -0,0 +1,44 @@ + + + + + \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 9b9a347..8dbea52 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,5 +1,11 @@ { "pages": [ + { + "path": "pages/auth/auth", + "style": { + "navigationBarTitleText": "登录" + } + }, { "path": "pages/index/index", "style": { @@ -7,12 +13,6 @@ "enablePullDownRefresh": true } }, - { - "path": "pages/auth/auth", - "style": { - "navigationBarTitleText": "登录" - } - }, { "path": "pages/order/order", "style": { diff --git a/src/pages/auth/auth.vue b/src/pages/auth/auth.vue index 55dcff8..e7f0c09 100644 --- a/src/pages/auth/auth.vue +++ b/src/pages/auth/auth.vue @@ -1,24 +1,262 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/static/temp/auth/1.png b/src/static/temp/auth/1.png new file mode 100644 index 0000000..2f2d443 Binary files /dev/null and b/src/static/temp/auth/1.png differ