This commit is contained in:
devttl 2024-11-15 13:49:57 +08:00
parent a5a9007c4c
commit 32aefc54f8
3 changed files with 56 additions and 32 deletions

View File

@ -77,6 +77,36 @@
"en_name": "ProgrammerArea",
"icon": "lni lni-code",
"children": [
{
"name": "AI智能",
"en_name": "CodeHosting",
"web": [
{
"url": "https://tongyi.aliyun.com/",
"logo": "https://img.alicdn.com/imgextra/i1/O1CN01asLYeX1WhbsyEZn5u_!!6000000002820-55-tps-56-56.svg",
"title": "通义千问",
"desc": "阿里云"
},
{
"url": "https://www.doubao.com//",
"logo": "https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/doubao/logo-doubao-overflow.png",
"title": "豆包",
"desc": "字节跳动"
},
{
"url": "https://kimi.moonshot.cn/",
"logo": "https://statics.moonshot.cn/kimi-chat/favicon.ico",
"title": "Kimi",
"desc": "北京月之暗面科技有限公司"
},
{
"url": "https://chatgpt.com/",
"logo": "https://cdn.oaistatic.com/assets/apple-touch-icon-mz9nytnj.webp",
"title": "ChatGPT",
"desc": "OpenAI"
}
]
},
{
"name": "代码托管",
"en_name": "CodeHosting",

View File

@ -4,21 +4,21 @@
<i class="lni lni-tag" :id="transName(item)"></i>{{ transName(item) }}
</h4>
<div class="row">
<div class="col-sm-3" v-for="(web, idx) in item.web" :key="idx">
<div class="col-sm-3" v-for="(webitem, idx) in item.web" :key="idx">
<div class="xe-widget xe-conversations box2 label-info" title=""
@click="openweb(web.url)"
@click="openweb(webitem.url)"
data-toggle="tooltip"
data-placement="bottom"
:data-original-title="web.url">
:data-original-title="webitem.url">
<div class="xe-comment-entry">
<a class="xe-user-img">
<img :src="web.logo" class="lozad img-circle" width="40">
<img :src="webitem.logo" class="lozad img-circle" width="40" alt="">
</a>
<div class="xe-comment">
<a href="#" class="xe-user-name overflowClip_1">
<strong>{{web.title}}</strong>
<strong>{{ webitem.title }}</strong>
</a>
<p class="overflowClip_2">{{web.desc}}</p>
<p class="overflowClip_2">{{ webitem.desc }}</p>
</div>
</div>
</div>
@ -32,7 +32,7 @@
export default {
name: 'WebItem',
props: {
item: Object,
item: {web: []},
transName: Function
},
methods: {

View File

@ -9,11 +9,7 @@
<img src="../assets/images/logo@2x.png" width="100%" alt=""/>
</a>
<a href="javascript:void(0)" class="logo-collapsed">
<img
src="../assets/images/logo-collapsed@2x.png"
width="40"
alt=""
/>
<img src="../assets/images/logo-collapsed@2x.png" width="40" alt=""/>
</a>
</div>
<div class="mobile-menu-toggle visible-xs">
@ -50,9 +46,7 @@
<router-link to="/about">
<i class="lni lni-heart"></i>
<span class="tooltip-blue">关于本站</span>
<span class="label label-Primary pull-right hidden-collapsed"
></span
>
<span class="label label-Primary pull-right hidden-collapsed"></span>
</router-link>
</li>
</ul>