fix
This commit is contained in:
@@ -31,7 +31,7 @@ let httpIp = process.env.NODE_ENV == 'development' ? "" : "";
|
||||
|
||||
axios.defaults.baseURL = httpIp; //配置接口地址
|
||||
// console.log(axios.defaults.baseURL);
|
||||
// axios.defaults.baseURL = process.env.VUE_APP_BASE_URL; //配置接口地址
|
||||
axios.defaults.baseURL = process.env.VUE_APP_BASE_URL; //配置接口地址
|
||||
|
||||
// 创建取消令牌
|
||||
const CancelToken = axios.CancelToken;
|
||||
|
||||
@@ -297,7 +297,7 @@ export default defineComponent({
|
||||
url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-Manual-0705.pptx'
|
||||
}
|
||||
//打开视频
|
||||
// scaleVideo.init('https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4')
|
||||
// showViewVideo('https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4')
|
||||
const a = document.createElement('a');
|
||||
a.href = url;
|
||||
a.download = 'presentation.pptx'; // 下载的文件名
|
||||
|
||||
@@ -197,7 +197,7 @@ export default defineComponent({
|
||||
filter.isShowMark = false
|
||||
|
||||
filter.isNoData = false
|
||||
getPorfolio()
|
||||
// getPorfolio()
|
||||
let worksPage:any = document.querySelector('.works_page')
|
||||
let imgParent:any = document.querySelector('.works_page .page_loading')
|
||||
new IntersectionObserver(
|
||||
@@ -206,7 +206,7 @@ export default defineComponent({
|
||||
// console.log(entries[0]);
|
||||
if (!entries[0].intersectionRatio) return;
|
||||
filter.getListDate.page += 1
|
||||
getPorfolio()
|
||||
// getPorfolio()
|
||||
},
|
||||
// { root:worksPage }
|
||||
).observe(imgParent);
|
||||
@@ -272,6 +272,7 @@ export default defineComponent({
|
||||
// overflow: hidden;
|
||||
// height: 100%;
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
padding: 0 9rem;
|
||||
// min-width: 1440px;
|
||||
position: relative;
|
||||
@@ -318,9 +319,9 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
>img{
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
&.active{
|
||||
|
||||
Reference in New Issue
Block a user