This commit is contained in:
X1627315083
2024-07-08 16:43:36 +08:00
parent f123678467
commit 1e3a7049d8
3 changed files with 8 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ let httpIp = process.env.NODE_ENV == 'development' ? "" : "";
axios.defaults.baseURL = httpIp; //配置接口地址 axios.defaults.baseURL = httpIp; //配置接口地址
// console.log(axios.defaults.baseURL); // 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; const CancelToken = axios.CancelToken;

View File

@@ -297,7 +297,7 @@ export default defineComponent({
url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-Manual-0705.pptx' 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'); const a = document.createElement('a');
a.href = url; a.href = url;
a.download = 'presentation.pptx'; // 下载的文件名 a.download = 'presentation.pptx'; // 下载的文件名

View File

@@ -197,7 +197,7 @@ export default defineComponent({
filter.isShowMark = false filter.isShowMark = false
filter.isNoData = false filter.isNoData = false
getPorfolio() // getPorfolio()
let worksPage:any = document.querySelector('.works_page') let worksPage:any = document.querySelector('.works_page')
let imgParent:any = document.querySelector('.works_page .page_loading') let imgParent:any = document.querySelector('.works_page .page_loading')
new IntersectionObserver( new IntersectionObserver(
@@ -206,7 +206,7 @@ export default defineComponent({
// console.log(entries[0]); // console.log(entries[0]);
if (!entries[0].intersectionRatio) return; if (!entries[0].intersectionRatio) return;
filter.getListDate.page += 1 filter.getListDate.page += 1
getPorfolio() // getPorfolio()
}, },
// { root:worksPage } // { root:worksPage }
).observe(imgParent); ).observe(imgParent);
@@ -272,6 +272,7 @@ export default defineComponent({
// overflow: hidden; // overflow: hidden;
// height: 100%; // height: 100%;
height: auto; height: auto;
min-height: 100%;
padding: 0 9rem; padding: 0 9rem;
// min-width: 1440px; // min-width: 1440px;
position: relative; position: relative;
@@ -318,9 +319,9 @@ export default defineComponent({
} }
} }
>img{ >img{
position: absolute; position: relative;
inset: 0; left: 50%;
margin: auto; transform: translateX(-50%);
} }
} }
&.active{ &.active{