|
|
@@ -2,15 +2,19 @@
|
|
|
<div class="home-page">
|
|
|
<div class="banner flex-center">
|
|
|
<div class="flex-between" style="width:100%">
|
|
|
- <div class="flex_1 flex-column-start-between" >
|
|
|
+ <div class="flex_1 flex-column-start-between mr20" >
|
|
|
<img :src="allyinqing" alt="" style="height:40px">
|
|
|
<img :src="aigongzuoliu" alt="" style="height:186px">
|
|
|
+ <!-- <div>
|
|
|
+ <div class="tansuowuxian">探索无线</div>
|
|
|
+ <div class="gradient-text-fallback" data-text="AI工作流">AI工作流</div>
|
|
|
+ </div> -->
|
|
|
<div class="font_size24 line_height30">
|
|
|
一站式发现、交易与运行自动化工作流。连接n8n、Coze、Dify 等主流平台,释放生产力潜能。
|
|
|
</div>
|
|
|
<img :src="userTotal" alt="" style="height:52px">
|
|
|
</div>
|
|
|
- <el-carousel height="522px" style="width: 777px;">
|
|
|
+ <el-carousel height="522px" style="width: 777px;" :autoplay="false" :interval="3000">
|
|
|
<el-carousel-item v-for="(item,index) in 3" :key="index">
|
|
|
<img
|
|
|
:src="`https://baomiai.oss-cn-shanghai.aliyuncs.com/static/banner-0${index+1}.png?v=0.0.1`"
|
|
|
@@ -94,7 +98,7 @@ import difyIcon from '@/assets/imgs/dify.png'
|
|
|
import fastgptIcon from '@/assets/imgs/FastGPT.png'
|
|
|
import detailIcon from '@/assets/imgs/detail.png'
|
|
|
import CourseCard from '@/components/course-card.vue'
|
|
|
-import { isLogin } from '@/utils/util.js'
|
|
|
+import { isLogin, openFullScreenLoading } from '@/utils/util.js'
|
|
|
|
|
|
import { getCategoryListTree } from '@/api/category.js'
|
|
|
import { getPublishList } from '@/api/publish.js'
|
|
|
@@ -191,9 +195,10 @@ const loadMore = async () => {
|
|
|
if (hasLoadedAll.value) {
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+ const loading = openFullScreenLoading();
|
|
|
searchFom.pageNum += 1;
|
|
|
const res = await getPublishList(searchFom)
|
|
|
+ loading.close();
|
|
|
if(res.code === 200){
|
|
|
list.value = [...list.value, ...res.rows || []];
|
|
|
total.value = res.total || 0;
|
|
|
@@ -211,6 +216,27 @@ defineExpose({
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
+.tansuowuxian,.gradient-text-fallback{
|
|
|
+ font-size: 80px;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+.gradient-text-fallback {
|
|
|
+ position: relative;
|
|
|
+ /* 基础文字颜色(降级方案) */
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
+
|
|
|
+.gradient-text-fallback::after {
|
|
|
+ content: attr(data-text);
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ background: linear-gradient(90deg, #0055FE, #C832FA);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ background-clip: text;
|
|
|
+ color: transparent;
|
|
|
+ z-index: 1;
|
|
|
+}
|
|
|
|
|
|
.banner {
|
|
|
// margin-top: 140px;
|
|
|
@@ -219,7 +245,6 @@ defineExpose({
|
|
|
.carousel-image {
|
|
|
width: 100%;
|
|
|
height: 522px;
|
|
|
- margin-left: 20px;
|
|
|
// object-fit: cover; // 保持比例填充整个容器
|
|
|
// object-position: center; // 居中显示
|
|
|
}
|