Commit e5a35ad7 authored by huangyuanyuan's avatar huangyuanyuan

修改跳转,默认图片,首页样式

parent 5e6ac95a
...@@ -77,10 +77,7 @@ ...@@ -77,10 +77,7 @@
width:98px!important; width:98px!important;
position: relative; position: relative;
} }
.Home .Home_top .tag_right .chooseticketul li .el-input__prefix{
right: 5px;
width: 20px;
}
.Home .Home_top .tag_right .chooseticketul .el-input__inner{ .Home .Home_top .tag_right .chooseticketul .el-input__inner{
border:none; border:none;
...@@ -113,9 +110,7 @@ ...@@ -113,9 +110,7 @@
width: 100px!important; width: 100px!important;
position: relative; position: relative;
} }
.Home .Home_top .tag_right .visaul_li li .el-input__prefix{
right:0px;
}
.Home .el-input__inner { .Home .el-input__inner {
border-radius: 0px; border-radius: 0px;
} }
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
</li> </li>
<li style="margin-left:25px;"> <li style="margin-left:25px;">
<p class="pfR" style="font-size:16px;">{{dataInfo.departureName}}-{{dataInfo.destinationNames}}/{{dataInfo.playDays}}天*定制游</p> <p class="pfR" style="font-size:16px;">{{dataInfo.departureName}}-{{dataInfo.destinationNames}}/{{dataInfo.playDays}}天*定制游</p>
<p> 价格:<span class="pfR" style="color:#FB8F0F;font-size:22px">{{dataInfo.budget}}</span>人/起</p> <p> 价格:<span class="pfR" style="color:#FB8F0F;font-size:22px">{{dataInfo.planPrice}}</span>人/起</p>
<p> <p>
<span><em>行程描述</em>{{dataInfo.travelSummary}}</span> <span><em>行程描述</em>{{dataInfo.travelSummary}}</span>
<span><em>参团人数</em>{{dataInfo.childrenNumber+dataInfo.audltNumber}}人({{dataInfo.audltNumber}}{{dataInfo.childrenNumber}}小)</span> <span><em>参团人数</em>{{dataInfo.childrenNumber+dataInfo.audltNumber}}人({{dataInfo.audltNumber}}{{dataInfo.childrenNumber}}小)</span>
...@@ -258,7 +258,10 @@ ...@@ -258,7 +258,10 @@
<p v-if="index==0" style="font-size:16px;"><span>景点</span></p> <p v-if="index==0" style="font-size:16px;"><span>景点</span></p>
<div v-if="im==0" v-for="(img,im) in Scen.childItem.imaArray" :key="img.url" style="font-size:14px;margin-top:20px;overflow:auto"> <div v-if="im==0" v-for="(img,im) in Scen.childItem.imaArray" :key="img.url" style="font-size:14px;margin-top:20px;overflow:auto">
<img :src="img.url" style="width:200px;height:133px;float:left;" alt=""> <!-- <img :onerror="defaultImg" :src="img.url" style="width:200px;height:133px;float:left;" alt="">
-->
<img v-if="!img.url" src="../../assets/img/default.png" style="width:200px;height:133px;float:left;" alt="">
<img v-else :src="img.url" style="width:200px;height:133px;float:left;" alt="">
<div style="float:left;margin-left:20px;width:719px"> <div style="float:left;margin-left:20px;width:719px">
<p><span style="color:#5F95E8;font-size:16px;margin-bottom:13px">{{Scen.childItem.couponsName}}</span></p> <p><span style="color:#5F95E8;font-size:16px;margin-bottom:13px">{{Scen.childItem.couponsName}}</span></p>
<p v-if="Scen.childItem.description" v-html="Scen.childItem.description"></p> <p v-if="Scen.childItem.description" v-html="Scen.childItem.description"></p>
...@@ -351,6 +354,8 @@ import DesignScheme from '@/components/DependentTravel/DesignScheme' ...@@ -351,6 +354,8 @@ import DesignScheme from '@/components/DependentTravel/DesignScheme'
export default { export default {
data () { data () {
return { return {
defaultImg: 'this.src="' + require('assets/img/default.png') + '"',
desshow:false, desshow:false,
desLoad:false, desLoad:false,
actice_step:0, actice_step:0,
...@@ -458,6 +463,9 @@ export default { ...@@ -458,6 +463,9 @@ export default {
</script> </script>
<style> <style>
.CustomizedTourism .desstatus .icon-more{
transform:rotateX(180deg);
}
.CustomizedTourism .cutomdes{ .CustomizedTourism .cutomdes{
transition: all linear 0.5s; transition: all linear 0.5s;
} }
......
...@@ -148,7 +148,10 @@ ...@@ -148,7 +148,10 @@
<p v-if="index==0" style="font-size:16px;"><span>景点</span></p> <p v-if="index==0" style="font-size:16px;"><span>景点</span></p>
<div v-if="im==0" v-for="(img,im) in Scen.childItem.imaArray" :key="img.url" style="font-size:14px;margin-top:20px;overflow:auto"> <div v-if="im==0" v-for="(img,im) in Scen.childItem.imaArray" :key="img.url" style="font-size:14px;margin-top:20px;overflow:auto">
<img :src="img.url" style="width:200px;height:133px;float:left;" alt=""> <!-- <img :onerror="defaultImg" :src="img.url" style="width:200px;height:133px;float:left;" alt=""> -->
<img v-if="!img.url" src="../../assets/img/default.png" style="width:200px;height:133px;float:left;" alt="">
<img v-else :src="img.url" style="width:200px;height:133px;float:left;" alt="">
<div style="float:left;margin-left:20px;width:719px"> <div style="float:left;margin-left:20px;width:719px">
<p><span style="color:#5F95E8;font-size:16px;margin-bottom:13px">{{Scen.childItem.couponsName}}</span></p> <p><span style="color:#5F95E8;font-size:16px;margin-bottom:13px">{{Scen.childItem.couponsName}}</span></p>
<p v-if="Scen.childItem.description" v-html="Scen.childItem.description"></p> <p v-if="Scen.childItem.description" v-html="Scen.childItem.description"></p>
...@@ -223,6 +226,7 @@ ...@@ -223,6 +226,7 @@
export default { export default {
data () { data () {
return { return {
defaultImg: 'this.src="' + require('../../assets/img/default.png') + '"',
desshow:-1, desshow:-1,
msg:{ msg:{
pageIndex:1, pageIndex:1,
...@@ -282,6 +286,10 @@ export default { ...@@ -282,6 +286,10 @@ export default {
}, },
showStatus(index,item){ showStatus(index,item){
if(this.desshow==index){
this.desshow=-1;
return;
}
this.desshow=index; this.desshow=index;
let msg={}; let msg={};
msg.configId=item.configId; msg.configId=item.configId;
...@@ -356,6 +364,9 @@ export default { ...@@ -356,6 +364,9 @@ export default {
} }
.DesignScheme .desstatus{ .DesignScheme .desstatus{
color: #EE4454!important; color: #EE4454!important;
}
.DesignScheme .desstatus .icon-more{
transform:rotateX(180deg);
} }
.DesignScheme .commonHover{ .DesignScheme .commonHover{
padding:10px; padding:10px;
...@@ -475,8 +486,8 @@ export default { ...@@ -475,8 +486,8 @@ export default {
.DesignScheme .icon-more{ .DesignScheme .icon-more{
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
transform:rotateX(180deg);
} }
.DesignScheme .choose_span span:hover{ .DesignScheme .choose_span span:hover{
background: #EE4454; background: #EE4454;
color: #fff; color: #fff;
......
...@@ -227,7 +227,10 @@ export default { ...@@ -227,7 +227,10 @@ export default {
} }
}, },
created(){ created(){
if(this.$route.query.lineteamId){
this.listmsg.lineId=this.$route.query.lineteamId;
console.log("this.listmsg.lineId",this.listmsg.lineId)
}
}, },
mounted() { mounted() {
// this.GetVisaCountry(); // this.GetVisaCountry();
...@@ -350,6 +353,7 @@ export default { ...@@ -350,6 +353,7 @@ export default {
if(this.companyId!=-1){ if(this.companyId!=-1){
this.apipost('b2b_get_GetFreeSearchItem',{'companyId':this.companyId},r=>{ this.apipost('b2b_get_GetFreeSearchItem',{'companyId':this.companyId},r=>{
this.linesList=r.data.data.lineTeam; this.linesList=r.data.data.lineTeam;
console.log("this.linesList",this.linesList)
this.startCityList=r.data.data.startCity; this.startCityList=r.data.data.startCity;
this.tripDayList=r.data.data.tripDay; this.tripDayList=r.data.data.tripDay;
},null) },null)
...@@ -381,8 +385,13 @@ export default { ...@@ -381,8 +385,13 @@ export default {
this.total=res.data.data.count; this.total=res.data.data.count;
this.datalist.forEach(item=>{ this.datalist.forEach(item=>{
item.imgCover=JSON.parse(item.imgCover) item.imgCover=JSON.parse(item.imgCover);
if(item.priceTags){
item.priceTags=item.priceTags.split(",");
}
}) })
console.log(this.datalist)
}else{ }else{
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<span>出发日期</span> <span>出发日期</span>
<span class="iconfont icon-vertical_line"></span> <span class="iconfont icon-vertical_line"></span>
<span> <span>
<el-date-picker clear-icon="" style="width:100%" size="small" <el-date-picker prefix-icon=" " style="width:100%" size="small"
v-model="visa_form.value1" v-model="visa_form.value1"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
type="date" type="date"
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<span>返回日期</span> <span>返回日期</span>
<span class="iconfont icon-vertical_line"></span> <span class="iconfont icon-vertical_line"></span>
<span> <span>
<el-date-picker style="width:100%" size="small" <el-date-picker prefix-icon=" " style="width:100%" size="small"
v-model="visa_form.value1" v-model="visa_form.value1"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
type="date" type="date"
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
<li>入住日</li> <li>入住日</li>
<li><span class="iconfont icon-vertical_line"></span></li> <li><span class="iconfont icon-vertical_line"></span></li>
<li> <li>
<el-date-picker style="width:100%" size="small" <el-date-picker prefix-icon=" " style="width:100%" size="small"
v-model="visa_form.value1" v-model="visa_form.value1"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
type="date" type="date"
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
<li>离店日</li> <li>离店日</li>
<li><span class="iconfont icon-vertical_line"></span></li> <li><span class="iconfont icon-vertical_line"></span></li>
<li> <li>
<el-date-picker style="width:100%" size="small" <el-date-picker prefix-icon=" " style="width:100%" size="small"
v-model="visa_form.value1" v-model="visa_form.value1"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
type="date" type="date"
......
...@@ -81,8 +81,8 @@ ...@@ -81,8 +81,8 @@
<el-col :span='12'> <el-col :span='12'>
<el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: '/heel',query:{} }">自由行</el-breadcrumb-item> <el-breadcrumb-item :to="{ path: '/heel',query:{} }">自由行</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: '/search',query:{'keywords':'','lineId':dataList.lineName} }">{{dataList.lineName}}</el-breadcrumb-item> <!-- <el-breadcrumb-item :to="{ path: '/search',query:{'keywords':'','lineId':dataList.lineName} }">{{dataList.lineName}}</el-breadcrumb-item> -->
<el-breadcrumb-item :to="{ path: '/search',query:{'keywords':'','lineId':dataList.lineName,'lineteamId':dataList.ltName} }">{{dataList.ltName}}</el-breadcrumb-item> <el-breadcrumb-item :to="{ path: '/IndependentList',query:{'lineteamId':dataList.lineteamId} }">{{dataList.ltName}}</el-breadcrumb-item>
<el-breadcrumb-item>{{dataList.title}}</el-breadcrumb-item> <el-breadcrumb-item>{{dataList.title}}</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</el-col> </el-col>
...@@ -935,6 +935,7 @@ export default { ...@@ -935,6 +935,7 @@ export default {
this.clickDate = data.currentPriceInfo && data.currentPriceInfo.startDate ? data.currentPriceInfo.startDate : ''; this.clickDate = data.currentPriceInfo && data.currentPriceInfo.startDate ? data.currentPriceInfo.startDate : '';
this.FlightList = data.currentPriceInfo && data.currentPriceInfo.priceFlight ? data.currentPriceInfo.priceFlight : ''; this.FlightList = data.currentPriceInfo && data.currentPriceInfo.priceFlight ? data.currentPriceInfo.priceFlight : '';
this.dataList = data; this.dataList = data;
// console.log("deThree",this.dataList)
this.toDayObj = this.priceList && this.priceList.length>0?this.priceList[0]:null; this.toDayObj = this.priceList && this.priceList.length>0?this.priceList[0]:null;
this.imgCover = JSON.parse(this.dataList.imgCover); this.imgCover = JSON.parse(this.dataList.imgCover);
this.showType = this.feature.featureType; this.showType = this.feature.featureType;
......
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