Commit ede096a5 authored by youjie's avatar youjie

no message

parent d1c27572
<template> <template>
<div class="UpgradedVersion-header absolute row-sb z-index1"> <div class="UpgradedVersion-header absolute row-sb z-index1">
<div class="UpgradedVersion-header-left relative row-aic" <div class="UpgradedVersion-header-left relative row-aic"
:style="{'background':backgroundImg}"> :style="{'background':TripColor}">
<img class="header-leftBj absolute z-index2" src="http://192.168.10.214:8130/Upload/NewTripFeature/logoBj.png"/> <img class="header-leftBj absolute z-index2" :src="backgroundImgBj1"/>
<img class="header-leftImg" src="http://192.168.10.214:8130/Upload/NewTripFeature/headerLogoTwo.png"/> <img class="header-leftImg" src="http://192.168.10.214:8130/Upload/NewTripFeature/headerLogoTwo.png"/>
</div> </div>
<div class="UpgradedVersion-header-right"> <div class="UpgradedVersion-header-right">
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
return { return {
first: '欧洲线', first: '欧洲线',
canEdit: true, canEdit: true,
backgroundImg: '' backgroundImg: '',
backgroundImgBj1: 'http://192.168.10.214:8130/Upload/NewTripFeature/logoBjOne.png',
backgroundImgBj2: 'http://192.168.10.214:8130/Upload/NewTripFeature/logoBjTwo.png'
}; };
}, },
methods: { methods: {
...@@ -37,8 +39,7 @@ ...@@ -37,8 +39,7 @@
watch: { watch: {
TripColor: { TripColor: {
handler(val, oldVal) { handler(val, oldVal) {
this.backgroundImg = `url('http://192.168.10.214:8130/Upload/NewTripFeature/logoBj.png') no-repeat right ${val}` // this.backgroundImg = `url('http://192.168.10.214:8130/Upload/NewTripFeature/logoBj.png') no-repeat right ${val}`
console.log(this.backgroundImg,'=======')
}, },
deep: false, deep: false,
immediate: true immediate: true
...@@ -70,7 +71,7 @@ ...@@ -70,7 +71,7 @@
margin-left: 19px; margin-left: 19px;
} }
.header-leftBj{ .header-leftBj{
left: 307px; left: 314px;
top: 0; top: 0;
width: 27px; width: 27px;
height: 100%; height: 100%;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<vEditDiv :canEdit='canEdit1' v-model="first1"></vEditDiv> <vEditDiv :canEdit='canEdit1' v-model="first1"></vEditDiv>
</div> </div>
<div class="UpgradedVersion-headerTitle-three absolute z-index1" <div class="UpgradedVersion-headerTitle-three absolute z-index1"
:style="{'background':TripColor}">&nbsp;</div> :style="{'background':backgroundColor}">&nbsp;</div>
<!-- <img class="UpgradedVersion-headerTitle-three absolute z-index1" <!-- <img class="UpgradedVersion-headerTitle-three absolute z-index1"
src="http://192.168.10.214:8130/Upload/NewTripFeature/textBj.png" /> --> src="http://192.168.10.214:8130/Upload/NewTripFeature/textBj.png" /> -->
</div> </div>
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
first1: '温泉.美食.叡山铁道秋枫漫游之旅', first1: '温泉.美食.叡山铁道秋枫漫游之旅',
canEdit: true, canEdit: true,
canEdit1: true, canEdit1: true,
backgroundColor: null
}; };
}, },
methods: { methods: {
...@@ -36,12 +37,13 @@ ...@@ -36,12 +37,13 @@
}, },
computed: {}, computed: {},
watch: { watch: {
// FeatureData: { TripColor: {
// handler(val, oldVal) { handler(val, oldVal) {
this.backgroundColor = this.hexToRgb(val,0.6)
// }, },
// deep: true deep: false,
// }, immediate: true
},
}, },
mounted() { mounted() {
......
<template> <template>
<div id="newFeatureBox3"> <div id="newFeatureBox3">
<!-- UpgradedVersion-introduceBj 介绍、宿 UpgradedVersion-otherBj 详情、食、景 --> <!-- UpgradedVersion-homebj 首页、介绍、食、宿、景 UpgradedVersion-otherBj 餐介绍 -->
<div class="UpgradedVersion-box UpgradedVersion-homebj relative" <div class="UpgradedVersion-box UpgradedVersion-homebj relative"
:class="{'UpgradedVersion-introduceBj':index==1,'UpgradedVersion-otherBj':index>1}" :class="{'UpgradedVersion-otherBj':index==2}"
v-for="(item,index) in 4"> v-for="(item,index) in 4">
<!-- logo --> <!-- logo -->
<Header :TripColor="TripColor"></Header> <Header :TripColor="TripColor"></Header>
......
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