改为https
This commit is contained in:
parent
e39edd0028
commit
28003dc476
@ -6,7 +6,7 @@
|
||||
<template>
|
||||
<div id="passageroot" class="pageroot" v-if="psginfo">
|
||||
<div id="passagebanner" class="pagebanner">
|
||||
<img :src="`http://cms.yangprivate.site${psginfo.headimage.formats.large.url}`"
|
||||
<img :src="`https://cms.yangprivate.site${psginfo.headimage.formats.large.url}`"
|
||||
alt="" id="bannerimg"/>
|
||||
<div id="bannercontentfill"
|
||||
style="width: 100%;height: 100%;
|
||||
@ -60,7 +60,7 @@
|
||||
<div v-for="(item, index) in psginfo.images" :key="index"
|
||||
class="imglistitem"
|
||||
style="width: 100%; height: auto;">
|
||||
<img :src="`http://cms.yangprivate.site${item.formats.medium.url}`" alt="" />
|
||||
<img :src="`https://cms.yangprivate.site${item.formats.medium.url}`" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -76,7 +76,7 @@ export default {
|
||||
psginfo:null,
|
||||
error:null,
|
||||
isLoading: false,
|
||||
cmsroot: 'http://cms.yangprivate.site'
|
||||
cmsroot: 'https://cms.yangprivate.site'
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
:href="`/ExampleItem?id=${item.id}`"
|
||||
>
|
||||
<div class="listblock">
|
||||
<img :src="`http://cms.yangprivate.site${item.headimage.formats.thumbnail.url}`" alt="" />
|
||||
<img :src="`https://cms.yangprivate.site${item.headimage.formats.thumbnail.url}`" alt="" />
|
||||
<div class="itemtext">
|
||||
<span class="upspan">
|
||||
{{item.brandname_cn}}
|
||||
|
||||
@ -9,7 +9,7 @@ import 'bootstrap/dist/css/bootstrap.min.css'
|
||||
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
|
||||
|
||||
const app = createApp(App)
|
||||
axios.defaults.baseURL = 'http://cms.yangprivate.site'
|
||||
axios.defaults.baseURL = 'https://cms.yangprivate.site'
|
||||
// 全局挂载 axios,所有组件都可以 this.$axios 访问
|
||||
app.config.globalProperties.$axios = axios
|
||||
app.use(router).mount('#app')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user