diff --git a/src/App.vue b/src/App.vue index ba040a0..09d7dfa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,37 +1,18 @@ diff --git a/src/assets/images/close.png b/src/assets/images/close.png new file mode 100644 index 0000000..6acbf5b Binary files /dev/null and b/src/assets/images/close.png differ diff --git a/src/assets/images/dialog-bg.png b/src/assets/images/dialog-bg.png new file mode 100644 index 0000000..0247415 Binary files /dev/null and b/src/assets/images/dialog-bg.png differ diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss index 24ffcec..abbe80f 100644 --- a/src/assets/scss/common.scss +++ b/src/assets/scss/common.scss @@ -17,10 +17,10 @@ $designHeight: 1080; //px转为vw的函数 @function vw($px) { - @return math.div($px , $designWidth) * 100%; + @return math.div($px , $designWidth) * 100vw; } //px转为vh的函数 @function vh($px) { - @return math.div($px , $designHeight) * 100%; + @return math.div($px , $designHeight) * 100vh; } diff --git a/src/components/dialog.vue b/src/components/dialog.vue new file mode 100644 index 0000000..b9586d5 --- /dev/null +++ b/src/components/dialog.vue @@ -0,0 +1,123 @@ + + + \ No newline at end of file diff --git a/src/components/nav.vue b/src/components/nav.vue new file mode 100644 index 0000000..bf0df37 --- /dev/null +++ b/src/components/nav.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/style.css b/src/style.css deleted file mode 100644 index e69de29..0000000 diff --git a/src/style.scss b/src/style.scss index 9b5a9ca..8c4973b 100644 --- a/src/style.scss +++ b/src/style.scss @@ -5,6 +5,7 @@ padding: 0; overflow: hidden; color: rgba(221, 255, 253, 1); + user-select: none; } *{ margin: 0; diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 7793e1c..6a186e7 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,9 +1,10 @@