|
@@ -1,59 +1,68 @@
|
|
<template>
|
|
<template>
|
|
- <div>
|
|
|
|
- <div class="container" :style="{ height: bodyHeight }">
|
|
|
|
- <layoutHeader style="height: 10%"></layoutHeader>
|
|
|
|
- <div class="main">
|
|
|
|
- <div class="footer_text">
|
|
|
|
- <img class="text_img" src="@/assets/img/phoneImg/logo-le.png" alt="" />
|
|
|
|
- <span class="text_first"
|
|
|
|
- >以城之名,诠释优雅文艺的当代生活面貌, 南岸,充满了文艺和休闲的气候,人们的生活面貌也处处是惊喜。
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div class="container" :style="{ height: bodyHeight }">
|
|
|
|
+ <layoutHeader style="height: 10%"></layoutHeader>
|
|
|
|
+ <div class="main">
|
|
|
|
+ <div class="footer_text">
|
|
|
|
+ <img class="text_img" src="@/assets/img/phoneImg/logo-le.png" alt=""/>
|
|
|
|
+ <span class="text_first"
|
|
|
|
+ >以城之名,诠释优雅文艺的当代生活面貌, 南岸,充满了文艺和休闲的气候,人们的生活面貌也处处是惊喜。
|
|
</span>
|
|
</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bottom_img">
|
|
|
|
+ <div class="bottom_once">
|
|
|
|
+ <div class="img_ons" @click="toRecreation">
|
|
|
|
+ <img class="img_move" src="@/assets/img/phoneImg/组46.png" alt=""/>
|
|
|
|
+ <span class="img_text">展演信息</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="img_ons">
|
|
|
|
+ <img class="img_move" src="@/assets/img/phoneImg/组46(1).png" alt=""/>
|
|
|
|
+ <span class="img_text">运动健身</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="img_ons">
|
|
|
|
+ <span class="img_text"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bottom_once">
|
|
|
|
+ <div class="img_ons">
|
|
|
|
+ <img class="img_move" src="@/assets/img/pcImg/组46(2).png" alt=""/>
|
|
|
|
+ <span class="img_text">文化场馆</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="img_ons">
|
|
|
|
+ <img class="img_move" src="@/assets/img/pcImg/组46(3).png" alt=""/>
|
|
|
|
+ <span class="img_text">温泉之都</span>
|
|
</div>
|
|
</div>
|
|
- <div class="bottom_img">
|
|
|
|
- <div class="bottom_once">
|
|
|
|
- <div class="img_ons" @click="toRecreation">
|
|
|
|
- <img class="img_move" src="@/assets/img/phoneImg/组46.png" alt="" />
|
|
|
|
- <span class="img_text">展演信息</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="img_ons">
|
|
|
|
- <img class="img_move" src="@/assets/img/phoneImg/组46(1).png" alt="" />
|
|
|
|
- <span class="img_text">运动健身</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="img_ons">
|
|
|
|
- <span class="img_text"></span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="bottom_once">
|
|
|
|
- <div class="img_ons">
|
|
|
|
- <img class="img_move" src="@/assets/img/pcImg/组46(2).png" alt="" />
|
|
|
|
- <span class="img_text">文化场馆</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="img_ons">
|
|
|
|
- <img class="img_move" src="@/assets/img/pcImg/组46(3).png" alt="" />
|
|
|
|
- <span class="img_text">温泉之都</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="img_ons">
|
|
|
|
- <img class="img_move" src="@/assets/img/pcImg/组46(4).png" alt="" />
|
|
|
|
- <span class="img_text">主题乐园</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="img_ons">
|
|
|
|
+ <img class="img_move" src="@/assets/img/pcImg/组46(4).png" alt=""/>
|
|
|
|
+ <span class="img_text">主题乐园</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import layoutHeader from '@/phone/components/layoutHeader.vue';
|
|
import layoutHeader from '@/phone/components/layoutHeader.vue';
|
|
import bodyHeightMixins from '@/mixins/bodyHeight';
|
|
import bodyHeightMixins from '@/mixins/bodyHeight';
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
- mixins: [bodyHeightMixins],
|
|
|
|
- components: {
|
|
|
|
- layoutHeader
|
|
|
|
- },
|
|
|
|
|
|
+ mixins: [bodyHeightMixins],
|
|
|
|
+ components: {
|
|
|
|
+ layoutHeader
|
|
|
|
+ },
|
|
|
|
+ mounted() {
|
|
|
|
+ let script = document.createElement('script');
|
|
|
|
+ script.type = "text/javascript";
|
|
|
|
+ script.src = "https://res.wx.qq.com/open/js/jweixin-1.3.2.js";
|
|
|
|
+ document.body.appendChild(script);
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
toRecreation() {
|
|
toRecreation() {
|
|
- this.$router.push("/phoneRecreation");
|
|
|
|
|
|
+ // this.$router.push("/phoneRecreation");
|
|
|
|
+ wx.miniProgram.navigateBack();
|
|
|
|
+ wx.miniProgram.postMessage({data: {from: '跳其他小程序'}})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -70,84 +79,88 @@ export default {
|
|
// top: 410% !important;
|
|
// top: 410% !important;
|
|
//}
|
|
//}
|
|
.container {
|
|
.container {
|
|
- position: relative;
|
|
|
|
|
|
+ position: relative;
|
|
|
|
+ width: 100%;
|
|
|
|
+ background-image: url('~@/assets/img/pcImg/矩形5拷贝11.png');
|
|
|
|
+ background-size: cover;
|
|
|
|
+
|
|
|
|
+ .main {
|
|
|
|
+ height: 90%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .footer_text {
|
|
|
|
+ display: flex;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 25%;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ align-items: flex-end;
|
|
|
|
+ padding-right: 55px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+
|
|
|
|
+ .text_img {
|
|
|
|
+ width: 414px;
|
|
|
|
+ height: 123px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .text_first {
|
|
|
|
+ width: 80vw;
|
|
|
|
+ height: 90px;
|
|
|
|
+ padding: 16px 18px;
|
|
|
|
+ margin-top: 24px;
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ color: #fff;
|
|
|
|
+ background-color: rgba(0, 0, 0, 0.14);
|
|
|
|
+ border-radius: 5px;
|
|
|
|
+ text-align: right;
|
|
|
|
+ text-overflow: ellipsis; // 溢出用省略号显示
|
|
|
|
+ -webkit-box-orient: vertical; // 设置伸缩盒子的子元素排列方式:从上到下垂直排列
|
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .bottom_img {
|
|
|
|
+ display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
- background-image: url('~@/assets/img/pcImg/矩形5拷贝11.png');
|
|
|
|
|
|
+ height: 40%;
|
|
|
|
+ padding-bottom: 40px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ background-image: url('~@/assets/img/pcImg/矩形1507.png');
|
|
background-size: cover;
|
|
background-size: cover;
|
|
- .main{
|
|
|
|
- height: 90%;
|
|
|
|
|
|
+ border-top: 1px dotted rgb(243 236 236 / 25%);
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ align-items: center;
|
|
|
|
+
|
|
|
|
+ .bottom_once {
|
|
display: flex;
|
|
display: flex;
|
|
- flex-direction: column;
|
|
|
|
|
|
+ width: 90%;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
- .footer_text {
|
|
|
|
- display: flex;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 25%;
|
|
|
|
- flex-direction: column;
|
|
|
|
- justify-content: flex-end;
|
|
|
|
- align-items: flex-end;
|
|
|
|
- padding-right: 55px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
-
|
|
|
|
- .text_img {
|
|
|
|
- width: 414px;
|
|
|
|
- height: 123px;
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
|
|
- .text_first {
|
|
|
|
- width: 80vw;
|
|
|
|
- height: 90px;
|
|
|
|
- padding: 16px 18px;
|
|
|
|
- margin-top: 24px;
|
|
|
|
- font-size: 18px;
|
|
|
|
- color: #fff;
|
|
|
|
- background-color: rgba(0, 0, 0, 0.14);
|
|
|
|
- border-radius: 5px;
|
|
|
|
- text-align: right;
|
|
|
|
- text-overflow: ellipsis; // 溢出用省略号显示
|
|
|
|
- -webkit-box-orient: vertical; // 设置伸缩盒子的子元素排列方式:从上到下垂直排列
|
|
|
|
- -webkit-line-clamp: 2;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ .img_ons {
|
|
|
|
+ display: flex;
|
|
|
|
+ width: 20vw;
|
|
|
|
+ color: #fff;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-top: 40px;
|
|
|
|
+ margin-bottom: 40px;
|
|
|
|
|
|
- .bottom_img {
|
|
|
|
- display: flex;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 40%;
|
|
|
|
- padding-bottom: 40px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- background-image: url('~@/assets/img/pcImg/矩形1507.png');
|
|
|
|
- background-size: cover;
|
|
|
|
- border-top: 1px dotted rgb(243 236 236 / 25%);
|
|
|
|
- flex-direction: column;
|
|
|
|
- justify-content: flex-end;
|
|
|
|
- align-items: center;
|
|
|
|
- .bottom_once {
|
|
|
|
- display: flex;
|
|
|
|
- width: 90%;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- }
|
|
|
|
|
|
+ .img_move {
|
|
|
|
+ width: 100px;
|
|
|
|
+ height: 100px;
|
|
}
|
|
}
|
|
|
|
|
|
- .img_ons {
|
|
|
|
- display: flex;
|
|
|
|
- width: 20vw;
|
|
|
|
- color: #fff;
|
|
|
|
- flex-direction: column;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- align-items: center;
|
|
|
|
- margin-top: 40px;
|
|
|
|
- margin-bottom: 40px;
|
|
|
|
-
|
|
|
|
- .img_move {
|
|
|
|
- width: 100px;
|
|
|
|
- height: 100px;
|
|
|
|
- }
|
|
|
|
- .img_text {
|
|
|
|
- margin-top: 24px;
|
|
|
|
- font-size: 30px;
|
|
|
|
- }
|
|
|
|
|
|
+ .img_text {
|
|
|
|
+ margin-top: 24px;
|
|
|
|
+ font-size: 30px;
|
|
}
|
|
}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|