Commit f1e10046 authored by 黄奎's avatar 黄奎

页面修改

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