@@ -3,15 +3,13 @@
<TopHeader>
<div class="title">
<div class="title-1">大模型基地</div>
<!-- <div class="title-2">
<a target="_blank" href="">
<span>中国NLP大模型总部基地启动仪式</span>
<i class="el-icon-video-play"></i>
</a>
</div> -->
<div class="tab-c">
<div class="tab" :class="tabIndex == '1' ? 'focused' : ''" @click="changeTab(1)">大模型</div>
<div class="tab" :class="tabIndex == '2' ? 'focused' : ''" @click="changeTab(2)">相关工具系统</div>
</div>
</div>
</TopHeader>
<div>
<div v-if="tabIndex == '1'" >
<div class="model-category-c" :class="index % 2 == 0 ? 'model-category-c-bg' : ''" v-for="(item, index) in list"
:key="index">
<div class="model-category ui container">
@@ -65,6 +63,23 @@
</div>
</div>
</div>
<div v-if="tabIndex == '2'">
<div class="tool-c">
<div class="tool-list ui container">
<div class="model-tool-list">
<a class="model-tool" :class="`tool-bg-${index + 1}`" :href="item.href" target="_blank"
v-for="(item, index) in tools">
<div class="tool-title">{{ item.name }}</div>
</a>
</div>
</div>
</div>
<div class="model-category-c">
<div class="ui container model-category-more">
<div class="more-model">更多大模型工具系统接入中...</div>
</div>
</div>
</div>
</div>
</template>
@@ -74,6 +89,7 @@ import TopHeader from '../components/TopHeader.vue';
export default {
data() {
return {
tabIndex: '1',
list: [{
name: '鹏程·盘古大模型',
logo: 'https://openi.pcl.ac.cn/repo-avatars/34812-90a3a6045581fa11522237766a4db6b3',
@@ -262,11 +278,22 @@ export default {
detail: true,
detailUrl: 'https://openi.pcl.ac.cn/FoundationModel/Wenzhong/modelmanage/show_model',
}]
}]
}],
tools: [{
name: '启智飞轮标注系统',
href: 'https://pangu-alpha.pcl.ac.cn/dialog',
}, {
name: '盘古适配GCU',
href: 'https://openi.pcl.ac.cn/Enflame/GCU_Pytorch_pangu',
}],
};
},
components: { TopHeader, },
methods: {},
methods: {
changeTab(tab) {
this.tabIndex = tab;
}
},
beforeMount() { },
mounted() { },
beforeDestroy() { },
@@ -297,6 +324,30 @@ export default {
color: rgba(16, 16, 16, 1);
}
}
.tab-c {
display: flex;
align-items: center;
justify-content: center;
margin-top: 16px;
.tab {
margin: 0 10px;
color: rgb(5, 127, 255);
border: 1px solid rgb(5, 127, 255);
height: 40px;
min-width: 132px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
&.focused {
color: rgb(255, 255, 255);
background: rgb(5, 127, 255);
}
}
}
}
.model-category-c {
@@ -445,4 +496,42 @@ export default {
justify-content: center;
}
}
.tool-c {
display: flex;
align-items: center;
background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%221%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%220%22%20gradientTransform%3D%22matrix(0.11899999999999993%2C%201.217%2C%20-0.0901857098765432%2C%200.11899999999999993%2C%200.269%2C%20-0.22)%22%3E%3Cstop%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%220.47%22%20offset%3D%220%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%23e5e7eb%22%20stop-opacity%3D%220.3%22%20offset%3D%221%22%3E%3C%2Fstop%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%231)%22%3E%3C%2Frect%3E%3C%2Fsvg%3E");
padding: 65px 0;
.tool-list {
.model-tool-list {
display: flex;
align-items: center;
justify-content: center;
.model-tool {
width: 310px;
height: 130px;
display: flex;
align-items: center;
justify-content: center;
margin: 10px 20px;
.tool-title {
font-size: 20px;
color: rgb(255, 255, 255);
}
}
}
}
}
.tool-bg-1 {
background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%221%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%220%22%20gradientTransform%3D%22null%22%3E%3Cstop%20stop-color%3D%22%236bcbb5%22%20stop-opacity%3D%221%22%20offset%3D%220%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%238799e4%22%20stop-opacity%3D%221%22%20offset%3D%221%22%3E%3C%2Fstop%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%231)%22%3E%3C%2Frect%3E%3C%2Fsvg%3E");
}
.tool-bg-2 {
background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%221%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%220%22%20gradientTransform%3D%22matrix(0.9919999999999999%2C%200.803%2C%20-0.14121436004162333%2C%200.9919999999999999%2C%200%2C%200)%22%3E%3Cstop%20stop-color%3D%22%23e2ad71%22%20stop-opacity%3D%221%22%20offset%3D%220%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%23f9b96f%22%20stop-opacity%3D%221%22%20offset%3D%220.5%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%23f57d34%22%20stop-opacity%3D%221%22%20offset%3D%220.99%22%3E%3C%2Fstop%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%231)%22%3E%3C%2Frect%3E%3C%2Fsvg%3E");
}
</style>