|
@@ -1,31 +1,50 @@
|
|
<template>
|
|
<template>
|
|
<div id="guide" @click="contactControl">
|
|
<div id="guide" @click="contactControl">
|
|
- <img id="background1" src="@/assets/images/demobackground.png" />
|
|
|
|
|
|
+ <img id="background1" src="@/assets/images/background.png" />
|
|
<div id="contact">
|
|
<div id="contact">
|
|
<img id="contactButton"
|
|
<img id="contactButton"
|
|
@click="isShowContact=!isShowContact"
|
|
@click="isShowContact=!isShowContact"
|
|
src="@/assets/images/contactbutton.png"/>
|
|
src="@/assets/images/contactbutton.png"/>
|
|
<div id="info" v-show="isShowContact">
|
|
<div id="info" v-show="isShowContact">
|
|
<img id="contactInfo" src="@/assets/images/contactinfo.png"/>
|
|
<img id="contactInfo" src="@/assets/images/contactinfo.png"/>
|
|
- <div id="phone"></div>
|
|
|
|
- <div id="email"></div>
|
|
|
|
- <div id="weChat"></div>
|
|
|
|
|
|
+ <div id="phone">
|
|
|
|
+ <div class="contact-title">
|
|
|
|
+ <img class="img-contact" src='@/assets/images/phoneIcon.png'/>
|
|
|
|
+ 商务合作电话:</div>
|
|
|
|
+ <div class="contact-content"
|
|
|
|
+ v-for="(phoneNumber,index) of phones"
|
|
|
|
+ :key="index">
|
|
|
|
+ {{phoneNumber}}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="email">
|
|
|
|
+ <div class="contact-title">
|
|
|
|
+ <img class="img-contact" src='@/assets/images/emailIcon.png'/>
|
|
|
|
+ 商务合作邮箱:</div>
|
|
|
|
+ <div class="contact-content">{{email}}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="weChat">
|
|
|
|
+ <div class="contact-title">
|
|
|
|
+ <img class="img-contact" src='@/assets/images/wechatIcon.png'/>
|
|
|
|
+ 商务合作微信:</div>
|
|
|
|
+ <div class="qrcode"><img src='@/assets/images/qrcode.png'/></div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div id="button"><p>点击看展</p></div>
|
|
|
|
- <template v-if="show">
|
|
|
|
- <div class="orther-button"></div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <guide-button></guide-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import GuideButton from './GuideButton.vue';
|
|
export default {
|
|
export default {
|
|
|
|
+ components: { GuideButton },
|
|
name: "GuidePage",
|
|
name: "GuidePage",
|
|
props: {},
|
|
props: {},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
isShowContact: false,
|
|
isShowContact: false,
|
|
|
|
+ phones:['13581625033(黎先生)','15733737800(刘小姐)'],
|
|
|
|
+ email:'sales@4dage.com',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -60,7 +79,16 @@ export default {
|
|
width: 3.6rem;
|
|
width: 3.6rem;
|
|
height: 3.6rem;
|
|
height: 3.6rem;
|
|
}
|
|
}
|
|
-#contact img{
|
|
|
|
|
|
+@media screen and (min-width:780px){
|
|
|
|
+ #contact {
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 0.5rem;
|
|
|
|
+ top: 1rem;
|
|
|
|
+ width: 3.6rem;
|
|
|
|
+ height: 3.6rem;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+#contactButton{
|
|
width:3.6rem;
|
|
width:3.6rem;
|
|
height:3.6rem;
|
|
height:3.6rem;
|
|
}
|
|
}
|
|
@@ -71,29 +99,80 @@ export default {
|
|
width:20.7rem;
|
|
width:20.7rem;
|
|
height:27.3rem;
|
|
height:27.3rem;
|
|
}
|
|
}
|
|
-#info img{
|
|
|
|
|
|
+#contactInfo{
|
|
width:100%;
|
|
width:100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
opacity: 0.8;
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
-#button {
|
|
|
|
- position: absolute;
|
|
|
|
- top: 47.1rem;
|
|
|
|
- left: 50%;
|
|
|
|
|
|
+#phone{
|
|
|
|
+ position:absolute;
|
|
|
|
+ top:2rem;
|
|
|
|
+ left:50%;
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
- width: 18.9rem;
|
|
|
|
- height: 4.3rem;
|
|
|
|
- background: linear-gradient(180deg, #d06814, transparent);
|
|
|
|
- border-radius: 6px;
|
|
|
|
- opacity: 0.8;
|
|
|
|
|
|
+ width:13.3rem;
|
|
|
|
+ height:4.4rem;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: space-between;
|
|
}
|
|
}
|
|
-#button p {
|
|
|
|
- display: block;
|
|
|
|
- text-align: center;
|
|
|
|
- font-weight: normal;
|
|
|
|
- color: #ffffff;
|
|
|
|
|
|
+#info .contact-title{
|
|
|
|
+ width: 9.8rem;
|
|
|
|
+ height: 1.3rem;
|
|
font-size: 1rem;
|
|
font-size: 1rem;
|
|
- font-family: "Microsoft YaHei", "serif";
|
|
|
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #D06814;
|
|
opacity: 1;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
+.contact-content{
|
|
|
|
+ position: relative;
|
|
|
|
+ left:2.5rem;
|
|
|
|
+ color:#ffffff;
|
|
|
|
+ font-size: 0.9rem;
|
|
|
|
+ text-align: left;
|
|
|
|
+}
|
|
|
|
+#email{
|
|
|
|
+ position:absolute;
|
|
|
|
+ top:11rem;
|
|
|
|
+ left:50%;
|
|
|
|
+ transform: translateX(-50%);
|
|
|
|
+ width:13.3rem;
|
|
|
|
+ height:3.1rem;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+}
|
|
|
|
+div.qrcode{
|
|
|
|
+ width:4.6rem;
|
|
|
|
+ height:4.6rem;
|
|
|
|
+}
|
|
|
|
+.qrcode>img{
|
|
|
|
+ position: relative;
|
|
|
|
+ width:100%;
|
|
|
|
+ left:2.5rem;
|
|
|
|
+ top:1.3rem
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+#weChat{
|
|
|
|
+ position:absolute;
|
|
|
|
+ top:18rem;
|
|
|
|
+ left:50%;
|
|
|
|
+ transform: translateX(-50%);
|
|
|
|
+ width:13.3rem;
|
|
|
|
+}
|
|
|
|
+img.img-contact{
|
|
|
|
+ width:1.4rem;
|
|
|
|
+ height:1.4rem;
|
|
|
|
+ vertical-align: sub;
|
|
|
|
+ margin-right:0.3rem;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+#guide-button{
|
|
|
|
+ position: absolute;
|
|
|
|
+ top:38.1rem;
|
|
|
|
+ left:50%;
|
|
|
|
+ width:18.9rem;
|
|
|
|
+ height:9.4rem;
|
|
|
|
+ transform: translateX(-50%);;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|