Commit f1e10046 authored by 黄奎's avatar 黄奎

页面修改

parent 75cc4c51
This diff is collapsed.
...@@ -2341,6 +2341,7 @@ ...@@ -2341,6 +2341,7 @@
left: calc(0%) left: calc(0%)
} }
} }
.section-tour { .section-tour {
margin-bottom: 30px !important; margin-bottom: 30px !important;
padding: 30px 30px 0; padding: 30px 30px 0;
...@@ -2445,7 +2446,7 @@ ...@@ -2445,7 +2446,7 @@
.detail-content { .detail-content {
padding: 40px 0; padding: 40px 0;
font-size:16px; font-size: 16px;
line-height: 28px; line-height: 28px;
} }
...@@ -2594,7 +2595,7 @@ ...@@ -2594,7 +2595,7 @@
background-color: #6aa8c2; background-color: #6aa8c2;
color: #fff; color: #fff;
box-shadow: 0 0 3px 0 #4c4c4c73; box-shadow: 0 0 3px 0 #4c4c4c73;
cursor:pointer; cursor: pointer;
} }
.detail-banner-pic .items { .detail-banner-pic .items {
...@@ -2604,50 +2605,58 @@ ...@@ -2604,50 +2605,58 @@
height: 330px; height: 330px;
background-color: #fff; background-color: #fff;
} }
.detail-banner-pic .items .item {
.detail-banner-pic .items .item {
overflow: hidden; overflow: hidden;
padding: 25px; padding: 25px;
-webkit-transition: left .3s; -webkit-transition: left .3s;
-moz-transition: left .3s; -moz-transition: left .3s;
-o-transition: left .3s; -o-transition: left .3s;
transition: left .3s; transition: left .3s;
} }
.detail-banner-pic .items .item figure{
.detail-banner-pic .items .item figure {
margin: 0; margin: 0;
width: 100%; width: 100%;
height: 75%; height: 75%;
border-radius: 3px; border-radius: 3px;
box-shadow: 1px 1px 3px 1px rgba(99,99,99,.33) inset; box-shadow: 1px 1px 3px 1px rgba(99, 99, 99, .33) inset;
position: relative; position: relative;
} }
.detail-banner-pic .items .item b {
.detail-banner-pic .items .item b {
color: #6f6f6f; color: #6f6f6f;
max-height: 60px; max-height: 60px;
overflow: hidden; overflow: hidden;
margin-top: 10px; margin-top: 10px;
display: inline-block; display: inline-block;
font-weight: bold; font-weight: bold;
} }
.daily2 .daily-detail .detail-banner-pic .items>* {
.daily2 .daily-detail .detail-banner-pic .items>* {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
display: inline-block; display: inline-block;
height: 330px; height: 330px;
} }
.Style3_main .isHiden3{
height:700px; .Style3_main .isHiden3 {
overflow: hidden; height: 700px;
} overflow: hidden;
.provide-food i{ }
font-size:20px;
margin-right:6px; .provide-food i {
} font-size: 20px;
.style3_detail{ margin-right: 6px;
display:inline-block; }
margin-right:20px;
font-size:18px; .style3_detail {
} display: inline-block;
margin-right: 20px;
font-size: 18px;
}
</style> </style>
<template> <template>
<div class="Style3_main"> <div class="Style3_main">
...@@ -2676,7 +2685,8 @@ ...@@ -2676,7 +2685,8 @@
</div> </div>
<div :data-index="item.myIndex" :data-total="item.details.length" class="detail-banner-pic" v-if="index!=0"> <div :data-index="item.myIndex" :data-total="item.details.length" class="detail-banner-pic" v-if="index!=0">
<i class="iconfont iconpreviewleft arrow left" @click="getLeftIndex(item)"></i> <i class="iconfont iconpreviewleft arrow left" @click="getLeftIndex(item)"></i>
<i class="iconfont iconpreviewright arrow right" @click="getRightIndex(item)" style="right:0;left:auto;"></i> <i class="iconfont iconpreviewright arrow right" @click="getRightIndex(item)"
style="right:0;left:auto;"></i>
<div class="items"> <div class="items">
<div class="item" v-for="(subItem,subIndex) in item.details" :key="subIndex"> <div class="item" v-for="(subItem,subIndex) in item.details" :key="subIndex">
<figure> <figure>
...@@ -2733,20 +2743,19 @@ ...@@ -2733,20 +2743,19 @@
return { return {
trips: [], trips: [],
slide: 0, slide: 0,
isShow:false isShow: false
}; };
}, },
created() {}, created() {},
mounted() { mounted() {
console.log(this.tripList, 'triplistt');
this.init(); this.init();
if (localStorage.baseifo) { if (localStorage.baseifo) {
this.TripConfig = JSON.parse(window.localStorage.getItem('baseifo')); this.TripConfig = JSON.parse(window.localStorage.getItem('baseifo'));
} }
if(this.TripConfig.TripConfig.TripDayIsOpen==1){ if (this.TripConfig.TripConfig.TripDayIsOpen == 1) {
this.isShow=false; this.isShow = false;
}else{ } else {
this.isShow=true; this.isShow = true;
} }
}, },
...@@ -2955,11 +2964,9 @@ ...@@ -2955,11 +2964,9 @@
x.islast = (j + 1) == this.tripList.length x.islast = (j + 1) == this.tripList.length
this.$set(this.tripList, j, x) this.$set(this.tripList, j, x)
x.dateTime = this.setDate(j); x.dateTime = this.setDate(j);
x.myIndex=1; x.myIndex = 1;
}) })
this.trips = this.tripList this.trips = this.tripList
console.log(this.trips, 'tripsss');
}, },
setDate: function (j) { setDate: function (j) {
if (j === 0) { if (j === 0) {
...@@ -2996,18 +3003,18 @@ ...@@ -2996,18 +3003,18 @@
} }
}, },
//获取左边index //获取左边index
getLeftIndex(item){ getLeftIndex(item) {
item.myIndex-- item.myIndex--
if(item.myIndex<1){ if (item.myIndex < 1) {
item.myIndex=item.details.length; item.myIndex = item.details.length;
} }
this.$forceUpdate(); this.$forceUpdate();
}, },
//获取右边 //获取右边
getRightIndex(item){ getRightIndex(item) {
item.myIndex++; item.myIndex++;
if(item.myIndex>item.details.length){ if (item.myIndex > item.details.length) {
item.myIndex=1; item.myIndex = 1;
} }
this.$forceUpdate(); this.$forceUpdate();
} }
......
...@@ -194,9 +194,7 @@ ...@@ -194,9 +194,7 @@
return ""; return "";
} }
}, },
mounted() { mounted() {}
console.log(this.plugData, 'plugDataaaa');
}
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment