feat:增加oss路径全局配置

dev_img
wangaifang 3 months ago
parent 4d8142471c
commit 4fa7deba7e

@ -43,7 +43,7 @@ Vue.use(BootstrapVue);
Vue.use(Scrollspy);
Vue.config.productionTip = false;
Vue.prototype.$ossUrl = 'http://public-aaf-shenzhen-file.oss-cn-beijing.aliyuncs.com/webStatic/newCompany/';
new Vue({
router,
el: '#app',

@ -118,7 +118,7 @@
<div style="padding:0 100px;">
<div class="flx-justify-between serviceBox" style="margin-top:130px;">
<div class="serviceBoxTitle">
<span><img src="@/assets/images/business/overSea/service/LOGO1.png"></span>
<span><img :src="$ossUrl+'images/business/overSea/service/LOGO1.png'"></span>
<span>暂存中转服务</span>
</div>
<div class="serviceBoxContent">
@ -128,7 +128,7 @@
<div class="serviceBoxLine"></div>
<div class="flx-justify-between serviceBox" style="margin-top:60px;">
<div class="serviceBoxTitle">
<span><img src="@/assets/images/business/overSea/service/LOGO2.png"></span>
<span><img :src="$ossUrl+'images/business/overSea/service/LOGO2.png'"></span>
<span>一件代发</span>
</div>
<div class="serviceBoxContent">

@ -44,7 +44,7 @@
<div class="container" style="margin-top: 100px;margin-bottom: 40px;" >
<div class="flx-justify-around" style="width: 100%;">
<img src="@/assets/images/home/internetImages/title1.png" alt="">
<img :src="$ossUrl +'/home/internetImages/title1.png'" alt="">
<img src="@/assets/images/home/internetImages/title2.png" alt="">
<img src="@/assets/images/home/internetImages/title3.png" alt="">
<img src="@/assets/images/home/internetImages/title4.png" alt="">
@ -337,10 +337,10 @@ export default {
activeName: 'first', //tabs
activeIndex: 0, //
buttons: [
{ label: '海运下单',icon: require('@/assets/images/home/iconImages/Sea.png'),transportMode:'OCEAN' },
{ label: '空运下单',icon: require('@/assets/images/home/iconImages/Plane.png'),transportMode:'AIR' },
{ label: '铁运下单',icon: require('@/assets/images/home/iconImages/Railroad.png'),transportMode:'RAIL' },
{ label: '拖车下单',icon: require('@/assets/images/home/iconImages/Delivery.png'),transportMode:'ROAD' }
{ label: '海运下单',icon: this.$ossUrl+'images/home/iconImages/Sea.png',transportMode:'OCEAN' },
{ label: '空运下单',icon:this.$ossUrl+'images/home/iconImages/Plane.png',transportMode:'AIR' },
{ label: '铁运下单',icon: this.$ossUrl+'images/home/iconImages/Railroad.png',transportMode:'RAIL' },
{ label: '拖车下单',icon: this.$ossUrl+'images/home/iconImages/Delivery.png',transportMode:'ROAD' }
],
activeCardIndex: 0,
cards: [
@ -351,7 +351,7 @@ export default {
],
activeTogIndex:0,
buttonTogs: [
{ text: '美国空运专线', icon:require('@/assets/images/business/overSea/US.png'),},
{ text: '美国空运专线', icon:this.$ossUrl+'images/business/overSea/US.png',},
{ text: '欧盟空运专线',icon:require('@/assets/images/business/overSea/OM.jpg')},
{ text: '英国空运专线',icon:require('@/assets/images/business/overSea/GB.png')},
{ text: '加拿大空运专线', icon:require('@/assets/images/business/overSea/CA.png')},

Loading…
Cancel
Save