|
@@ -1,7 +1,13 @@
|
|
<template>
|
|
<template>
|
|
<div class="share">
|
|
<div class="share">
|
|
<div class="preview">
|
|
<div class="preview">
|
|
- <div class="preview-area"></div>
|
|
|
|
|
|
+ <div class="phone-top"></div>
|
|
|
|
+ <div class="phone-center"></div>
|
|
|
|
+ <div class="content">
|
|
|
|
+ <div class="phone-status"></div>
|
|
|
|
+ <div class="preview-area"></div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="phone-bottom"></div>
|
|
</div>
|
|
</div>
|
|
<div class="setting">
|
|
<div class="setting">
|
|
<img class="share-close" src="../assets/images/share-close.png" alt="" @click="closeBtn">
|
|
<img class="share-close" src="../assets/images/share-close.png" alt="" @click="closeBtn">
|
|
@@ -81,13 +87,49 @@ export default {
|
|
.preview {
|
|
.preview {
|
|
flex-grow: 2;
|
|
flex-grow: 2;
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ flex-direction: column;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-items: center;
|
|
- .preview-area {
|
|
|
|
- width: 340px;
|
|
|
|
|
|
+ .phone-top {
|
|
|
|
+ width: 341px;
|
|
|
|
+ height: 83px;
|
|
|
|
+ background: url(../assets/images/phone-model-top.png) center no-repeat;
|
|
|
|
+ background-size: cover;
|
|
|
|
+ }
|
|
|
|
+ .phone-center {
|
|
|
|
+ position: relative;
|
|
|
|
+ width: 346px;
|
|
|
|
+ height: 530px;
|
|
|
|
+ background: url(../assets/images/phone-model-center.png) repeat-y;
|
|
|
|
+ background-size: cover;
|
|
|
|
+ }
|
|
|
|
+ .content {
|
|
|
|
+ position: absolute;
|
|
|
|
+ width: 298px;
|
|
height: 530px;
|
|
height: 530px;
|
|
- border: 1px solid #d6d6d6;
|
|
|
|
- background: red;
|
|
|
|
|
|
+ .phone-status {
|
|
|
|
+ margin-left: -2px;
|
|
|
|
+ margin-top: -2px;
|
|
|
|
+ width: 300px;
|
|
|
|
+ height: 50px;
|
|
|
|
+ background: url(../assets/images/phone-model-status.png) repeat-y;
|
|
|
|
+ background-size: cover;
|
|
|
|
+ }
|
|
|
|
+ .preview-area {
|
|
|
|
+ position: relative;
|
|
|
|
+ margin-left: -1px;
|
|
|
|
+ width: 298px;
|
|
|
|
+ height: 480px;
|
|
|
|
+ border: 1px solid #000;
|
|
|
|
+ border-top: 0px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .phone-bottom {
|
|
|
|
+ width: 342px;
|
|
|
|
+ height: 87px;
|
|
|
|
+ background: url(../assets/images/phone-model-bottom.png) center no-repeat;
|
|
|
|
+ background-size: cover;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.setting {
|
|
.setting {
|