Commit 4ca4eaee authored by libin's avatar libin

alt添加

parent 3ee1eb41
...@@ -64,6 +64,13 @@ ...@@ -64,6 +64,13 @@
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i> <i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-row>
<el-col :span="8">
<el-form-item label="alt">
<el-input v-model="form.alt" type="text" placeholder="请输入描述"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="海报背景" :style="{display:'block'}"> <el-form-item label="海报背景" :style="{display:'block'}">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
...@@ -201,6 +208,7 @@ ...@@ -201,6 +208,7 @@
fileList2:[], fileList2:[],
activeName2: '',//行程亮点 activeName2: '',//行程亮点
form: { form: {
alt:'',
id: undefined, id: undefined,
name: undefined,//营地名称 name: undefined,//营地名称
hot: 0,//营地热度 hot: 0,//营地热度
...@@ -360,6 +368,7 @@ ...@@ -360,6 +368,7 @@
latitude: this.campsiteObj.latitude, latitude: this.campsiteObj.latitude,
longitude: this.campsiteObj.longitude, longitude: this.campsiteObj.longitude,
posterBackground:this.form.posterBackground,//海报背景 posterBackground:this.form.posterBackground,//海报背景
alt:this.form.alt
}; };
console.log(params); console.log(params);
this.isExistCampsiteShop("create", params); this.isExistCampsiteShop("create", params);
...@@ -447,6 +456,7 @@ ...@@ -447,6 +456,7 @@
latitude: this.campsiteObj.latitude, latitude: this.campsiteObj.latitude,
longitude: this.campsiteObj.longitude, longitude: this.campsiteObj.longitude,
posterBackground:this.form.posterBackground,//海报背景 posterBackground:this.form.posterBackground,//海报背景
alt:this.form.alt,
}; };
console.log(params); console.log(params);
this.isExistCampsiteShop("update", params); this.isExistCampsiteShop("update", params);
...@@ -697,7 +707,8 @@ ...@@ -697,7 +707,8 @@
configure: '',//配套&收费 configure: '',//配套&收费
campsiteTagListVos: [],//营地类型 campsiteTagListVos: [],//营地类型
carouse:[],//banner轮播 carouse:[],//banner轮播
posterBackground:'' posterBackground:'',
alt:'',
}; };
this.showCampsiteVisible= false;//编辑营地地址 this.showCampsiteVisible= false;//编辑营地地址
} }
......
...@@ -148,6 +148,13 @@ ...@@ -148,6 +148,13 @@
<i v-else-if="!imgFlag" class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i> <i v-else-if="!imgFlag" class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-row>
<el-col :span="8">
<el-form-item label="alt">
<el-input v-model="form.alt" type="text" placeholder="请输入描述"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="海报背景" :style="{display:'block'}"> <el-form-item label="海报背景" :style="{display:'block'}">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
...@@ -290,6 +297,7 @@ import ElRow from "element-ui/packages/row/src/row"; ...@@ -290,6 +297,7 @@ import ElRow from "element-ui/packages/row/src/row";
fileList2:[], fileList2:[],
activeName2: '',//行程亮点 activeName2: '',//行程亮点
form: { form: {
alt:undefined,
childPrice: undefined,//儿童价 childPrice: undefined,//儿童价
isOutside:"0", isOutside:"0",
tourDepartVo:undefined,//type:0出发地 1途径地 2目的地 tourDepartVo:undefined,//type:0出发地 1途径地 2目的地
...@@ -561,6 +569,7 @@ import ElRow from "element-ui/packages/row/src/row"; ...@@ -561,6 +569,7 @@ import ElRow from "element-ui/packages/row/src/row";
priceDTOS: this.form.tourDepartTimeVo,//活动日期 priceDTOS: this.form.tourDepartTimeVo,//活动日期
tagDTOS: tagDTOS,//旅游标签 tagDTOS: tagDTOS,//旅游标签
posterBackground:this.form.posterBackground,//海报背景 posterBackground:this.form.posterBackground,//海报背景
alt: this.form.alt, //seo 标签优化
}; };
console.log(params); console.log(params);
goodsEdit(params).then(response => { goodsEdit(params).then(response => {
...@@ -706,6 +715,7 @@ import ElRow from "element-ui/packages/row/src/row"; ...@@ -706,6 +715,7 @@ import ElRow from "element-ui/packages/row/src/row";
priceDTOS: this.form.tourDepartTimeVo,//活动日期 priceDTOS: this.form.tourDepartTimeVo,//活动日期
tagDTOS: tagDTOS,//旅游标签 tagDTOS: tagDTOS,//旅游标签
posterBackground:this.form.posterBackground,//海报背景 posterBackground:this.form.posterBackground,//海报背景
alt:this.form.alt, //seo 标签优化
}; };
console.log(params); console.log(params);
this.isCreate = true; this.isCreate = true;
...@@ -1057,6 +1067,7 @@ import ElRow from "element-ui/packages/row/src/row"; ...@@ -1057,6 +1067,7 @@ import ElRow from "element-ui/packages/row/src/row";
bannerDTOS:[],//banner轮播 bannerDTOS:[],//banner轮播
tourDepartTimeVo:[],//活动时间 tourDepartTimeVo:[],//活动时间
posterBackground:'',//海报背景 posterBackground:'',//海报背景
alt:'',
}, },
this.showDestinationVisible= false,//编辑目的地 this.showDestinationVisible= false,//编辑目的地
this.showPathWayVisible= false,//编辑途径地 this.showPathWayVisible= false,//编辑途径地
......
...@@ -149,6 +149,13 @@ ...@@ -149,6 +149,13 @@
<i v-else-if="!imgFlag" class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i> <i v-else-if="!imgFlag" class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-row>
<el-col :span="8">
<el-form-item label="alt">
<el-input v-model="form.alt" type="text" placeholder="请输入描述"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="海报背景" :style="{display:'block'}"> <el-form-item label="海报背景" :style="{display:'block'}">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
...@@ -284,6 +291,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本 ...@@ -284,6 +291,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
fileList2:[], fileList2:[],
activeName2: '',//房车详情 activeName2: '',//房车详情
form: { form: {
alt:'',
pPrice:0,//普通会员 pPrice:0,//普通会员
hPrice:0,//黄金会员 hPrice:0,//黄金会员
zPrice:0,//钻石会员 zPrice:0,//钻石会员
...@@ -486,6 +494,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本 ...@@ -486,6 +494,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
hotSign: this.form.hotSign,//热门车型 hotSign: this.form.hotSign,//热门车型
rentDiscountStatus: this.form.rentDiscountStatus,//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值 rentDiscountStatus: this.form.rentDiscountStatus,//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
buyPrice: this.form.buyPrice,//购买价格 buyPrice: this.form.buyPrice,//购买价格
alt:this.form.alt,//seo 标签优化
}; };
if(this.form.rentDiscountStatus == 2){ if(this.form.rentDiscountStatus == 2){
params.rentDiscountPrice = this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice//租车优惠价格 固定优化价格 params.rentDiscountPrice = this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice//租车优惠价格 固定优化价格
...@@ -541,6 +550,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本 ...@@ -541,6 +550,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
rentDiscountStatus: this.form.rentDiscountStatus,//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值 rentDiscountStatus: this.form.rentDiscountStatus,//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
// rentDiscountPrice:this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice,//租车优惠价格 固定优化价格 // rentDiscountPrice:this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice,//租车优惠价格 固定优化价格
buyPrice: this.form.buyPrice,//购买价格 buyPrice: this.form.buyPrice,//购买价格
alt:this.form.alt,//seo 标签优化
}; };
if(this.form.rentDiscountStatus == 2){ if(this.form.rentDiscountStatus == 2){
params.rentDiscountPrice = this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice//租车优惠价格 固定优化价格 params.rentDiscountPrice = this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice//租车优惠价格 固定优化价格
...@@ -877,6 +887,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本 ...@@ -877,6 +887,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
rentDiscountPrice: "",//租车优惠价格 固定优化价格 rentDiscountPrice: "",//租车优惠价格 固定优化价格
buyPrice: 0,//购买价格 buyPrice: 0,//购买价格
posterBackground:'',//海报背景 posterBackground:'',//海报背景
alt:'',
} }
} }
} }
......
...@@ -75,6 +75,9 @@ ...@@ -75,6 +75,9 @@
<el-form-item> <el-form-item>
建议尺寸:1080*630 建议尺寸:1080*630
</el-form-item> </el-form-item>
<el-form-item label="alt">
<el-input v-model="form.alt" placeholder="请输入描述"></el-input>
</el-form-item>
<el-form-item label="跳转链接"> <el-form-item label="跳转链接">
<el-input v-model="form.url" placeholder="请输入跳转链接"></el-input> <el-input v-model="form.url" placeholder="请输入跳转链接"></el-input>
</el-form-item> </el-form-item>
...@@ -140,7 +143,8 @@ ...@@ -140,7 +143,8 @@
cover:"", cover:"",
type: "0", type: "0",
location: "0", location: "0",
platform: 1 platform: 1,
alt:""
}, },
listQuery: { listQuery: {
pageNo: 1, pageNo: 1,
......
...@@ -30,6 +30,13 @@ ...@@ -30,6 +30,13 @@
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i> <i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-row>
<el-col :span="8">
<el-form-item label="alt">
<el-input v-model="form.alt" type="text" placeholder="请输入描述"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="总人数" prop="limitNum"> <el-form-item label="总人数" prop="limitNum">
...@@ -195,6 +202,7 @@ ...@@ -195,6 +202,7 @@
fileList2:[], fileList2:[],
activeName2: '',//行程亮点 activeName2: '',//行程亮点
form: { form: {
alt:undefined,
id: undefined, id: undefined,
title: undefined,//营地名称 title: undefined,//营地名称
subtitle: undefined,//营地热度 subtitle: undefined,//营地热度
...@@ -336,6 +344,7 @@ create(formName){ ...@@ -336,6 +344,7 @@ create(formName){
set[formName].validate(valid => { set[formName].validate(valid => {
if (valid) { if (valid) {
let params = { let params = {
alt:this.form.alt,
id: this.form.id, id: this.form.id,
title: this.form.title,//营地名称 title: this.form.title,//营地名称
subtitle: this.form.subtitle,//营地热度 subtitle: this.form.subtitle,//营地热度
...@@ -395,6 +404,7 @@ create(formName){ ...@@ -395,6 +404,7 @@ create(formName){
if (valid) { if (valid) {
this.isCreate = true; this.isCreate = true;
let params = { let params = {
alt:this.form.alt,
id: this.form.id, id: this.form.id,
title: this.form.title,//营地名称 title: this.form.title,//营地名称
subtitle: this.form.subtitle,//营地热度 subtitle: this.form.subtitle,//营地热度
...@@ -574,6 +584,7 @@ create(formName){ ...@@ -574,6 +584,7 @@ create(formName){
this.fileList2=[]; this.fileList2=[];
this.activeName2= '';//营地详情 this.activeName2= '';//营地详情
this.form = { this.form = {
alt:undefined,
id: undefined, id: undefined,
title: undefined,//营地名称 title: undefined,//营地名称
subtitle: undefined,//营地热度 subtitle: undefined,//营地热度
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
</el-col> </el-col>
</el-row> </el-row>
<el-form-item label="封面图"> <el-form-item label="封面图">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
:headers="getHeaderWithToken" :headers="getHeaderWithToken"
...@@ -62,6 +61,13 @@ ...@@ -62,6 +61,13 @@
style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i> style="lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"></i>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-row>
<el-col :span="8">
<el-form-item label="alt">
<el-input v-model="form.alt" type="text" placeholder="请输入描述"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-tabs v-model="activeName" type="card"> <el-tabs v-model="activeName" type="card">
<el-tab-pane label="文章内容" name="first"> <el-tab-pane label="文章内容" name="first">
<div class="editor-container" v-if="activeName=='first'"> <div class="editor-container" v-if="activeName=='first'">
...@@ -141,7 +147,8 @@ ...@@ -141,7 +147,8 @@
epitome: undefined, epitome: undefined,
text:"", text:"",
author:undefined, author:undefined,
publisher:undefined publisher:undefined,
alt:undefined
}, },
rules: { rules: {
title: { title: {
...@@ -318,7 +325,8 @@ ...@@ -318,7 +325,8 @@
epitome: undefined, epitome: undefined,
text:"", text:"",
author:undefined, author:undefined,
publisher:undefined publisher:undefined,
alt:undefined
} }
} }
} }
......
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