diff --git a/src/components/privacy-popup/index.scss b/src/components/privacy-popup/index.scss new file mode 100644 index 0000000..8cba003 --- /dev/null +++ b/src/components/privacy-popup/index.scss @@ -0,0 +1,47 @@ +@import 'wot-design-uni/components/wd-button/index.scss'; +:deep(.wd-privacy-popup) { + width: 600rpx; + padding: 0 24rpx; + box-sizing: border-box; + border-radius: 32rpx; + overflow: hidden; +} + +.wd-privacy-popup { + &__header { + width: 100%; + height: 128rpx; + line-height: 128rpx; + color: rgba(0, 0, 0, 0.85); + font-size: 30rpx; + padding: 0 12rpx; + box-sizing: border-box; + } + + &__container { + width: 100%; + box-sizing: border-box; + padding: 0 12rpx; + margin-bottom: 32rpx; + + font-size: 28rpx; + line-height: 1.8; + color: #3e3e3e; + text-align: left; + font-weight: 550; + &-protocol { + color: #4d80f0; + } + } + + &__footer { + display: flex; + justify-content: space-between; + padding-bottom: 36rpx; + + button { + border: none; + outline: none; + } + } +} \ No newline at end of file diff --git a/src/components/privacy-popup/privacy-popup.vue b/src/components/privacy-popup/privacy-popup.vue new file mode 100644 index 0000000..9bf9ec9 --- /dev/null +++ b/src/components/privacy-popup/privacy-popup.vue @@ -0,0 +1,144 @@ + + + + + + + diff --git a/src/layouts/default.vue b/src/layouts/default.vue index 768d875..cb3a720 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -3,6 +3,7 @@ + diff --git a/src/pages/about/components/request.vue b/src/pages/about/components/request.vue index d8a1e96..5e0dfc5 100644 --- a/src/pages/about/components/request.vue +++ b/src/pages/about/components/request.vue @@ -37,8 +37,8 @@