Commit b4a2a860 authored by 黄奎's avatar 黄奎

页面修改

parent ab499962
......@@ -60,15 +60,23 @@
:title="$t('pub.updateMsg')"></i></a>
<a :href='item.AdvertisingPicUrl' target="_blank" :download="$t('salesModule.AdvPic')+'.png'"><i class="el-icon-download"
:title="$t('objFill.xz')"></i></a> -->
<span @click="getPicList(index)"><i class="iconfont icon-view" title="查看原图"></i></span>
<span @click="clickDownLoad(item,1)"><i class="el-icon-download" title="旅小友二维码"></i></span>
<span @click="clickDownLoad(item,2)"><i class="el-icon-download" title="行程二维码"></i></span>
<!-- <span @click="clickDownLoad(item,2)"><i class="el-icon-download" title="行程二维码"></i></span> -->
<span @click="clickDownLoad(item,3)"><i class="el-icon-download" title="原图下载"></i></span>
<!-- <span @click="clickDownLoad(item,3)"><i class="el-icon-download" title="原图下载"></i></span> -->
<i class="el-icon-delete" :title="$t('system.ph_shanchu')" @click.stop="deleteItem(item.ID)"></i>
</div>
</div>
<div style="text-align:center;">
<el-button type="text" @click="clickDownLoad(item,2)">
行程广告图下载
</el-button>
<el-button type="text" @click="clickDownLoad(item,3)">
原图下载
</el-button>
</div>
</li>
</ul>
<div v-if='dataList.length==0' style='width:100%;margin-top:50px;text-align:center;color: #ccc;'>
......
......@@ -206,7 +206,8 @@
:before-upload="beforeUploadVideo" :show-file-list="false" :file-list="VideoStrList">
<el-button size="small" type="primary">{{$t('tips.dianjishanhcuan')}}</el-button>
</el-upload>
<el-button size="small" class="TC_ChoiceBtn" @click="checkType=2,addimg=true" type="primary">{{$t('fnc.xuanze')}}
<el-button size="small" class="TC_ChoiceBtn" @click="checkType=2,addimg=true" type="primary">
{{$t('fnc.xuanze')}}
</el-button>
</div>
<div style="text-align: center;" v-if="VideoStr">
......@@ -237,6 +238,9 @@
<div class="re-delte" @click.stop="addImgOpen(index)">
<i class="iconfont icon-img_cz"></i>
</div>
<div class="re-delte" @click.stop="viewImg(index)">
<i class="iconfont icon-view"></i>
</div>
</div>
</div>
</div>
......@@ -279,6 +283,14 @@
</div>
</el-upload>
</el-dialog>
<div v-if='picIsShow' class="viewBigPicLayer" @click="picIsShow=false">
<i class="el-icon-circle-close-outline clolseViewBigPicLayer" @click="picIsShow=false"></i>
<el-carousel height="600px" :initial-index='initialIndex' :interval="5000" trigger="click">
<el-carousel-item v-for="(item,index) in picObj" :key="index">
<div class="inlineDiv ownScrollbarStyle"><img :src="item" /></div>
</el-carousel-item>
</el-carousel>
</div>
</div>
</template>
<script>
......@@ -385,7 +397,10 @@
ColorName: this.$t('objFill.subjectcolor')[18],
ColorValue: '#6E4C43'
},
]
],
picIsShow: false,
picObj: [],
initialIndex: 0,
};
},
components: {
......@@ -394,7 +409,15 @@
GGMap: GGMap,
},
methods: {
//获取轮播路径
viewImg(index) {
this.picIsShow = true;
this.picObj = [];
this.initialIndex = index;
this.PostConfig.fileList.forEach(item => {
this.picObj.push(item.Url);
})
},
loadVideo: function () { // 输入地址
if (this.PostConfig.VideoStr)
this.VideoStr = this.VideoStr.indexOf('http') > -1 ? this.VideoStr : this.domainManager().ViittoFileUrl +
......@@ -494,7 +517,7 @@
obj.ID = 0;
obj.Path = this.$commonUtils.removeDomain(imgItem.Path);
obj.PicID = imgItem.ID;
obj.ShowPath = imgItem.Path ;
obj.ShowPath = imgItem.Path;
that.PostConfig.fileList[this.ChooseImgIndex].Url = obj.ShowPath;
});
} else {
......
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