|
|
@@ -3,7 +3,9 @@
|
|
|
<div alt="back" class="background"></div>
|
|
|
<div class="userinfo">
|
|
|
<img :src="info.icon_url" alt class="header-avatar" />
|
|
|
- <div class="header-nickname">{{info.nickname}}</div>
|
|
|
+ <div class="header-nickname">{{info.nickname}}
|
|
|
+ <div class="tag">客栈主页</div>
|
|
|
+ </div>
|
|
|
<div class="header-title">{{info.title}}</div>
|
|
|
<div class="count-infos">
|
|
|
<div class="info">
|
|
|
@@ -27,7 +29,7 @@
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading-category">
|
|
|
<div class="m-c-block flex space-between">
|
|
|
- <div class="heading-category " :class="{'active':item == 'article'}" @click="changeitem('article')">
|
|
|
+ <div class="heading-category " :class="{'active':item == 'article'}" @click="changeitem('article')">
|
|
|
<a href="#" title="文章">
|
|
|
文章({13})
|
|
|
</a>
|
|
|
@@ -52,7 +54,7 @@
|
|
|
</div>
|
|
|
<div class="article-list">
|
|
|
<!-- 有图 -->
|
|
|
- <div class="article align-center">
|
|
|
+ <div class="article flex">
|
|
|
<div class="article-left">
|
|
|
<div class="article-title">
|
|
|
{独家揭秘:腾讯千亿级参数分布式ML系统无量背后的秘密}
|
|
|
@@ -78,7 +80,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <img class="article-right" src="@/assets/quan/img/1.png">
|
|
|
+ <div class="article-right">
|
|
|
+ <img src="@/assets/quan/img/1.png">
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<!-- 无图 -->
|
|
|
@@ -111,13 +116,40 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="item == 'video'">
|
|
|
- <div class="btn-add" style="margin:10px auto">
|
|
|
+ <div class="btn-add" >
|
|
|
+ 添加视频
|
|
|
</div>
|
|
|
- <style lang='less' scoped>
|
|
|
+ <div class="video2">
|
|
|
+ <div class="video-box">
|
|
|
+ <div class="video-img">
|
|
|
+ <img class="img" src="http://local.proginn.com/Public/image_v3/1.png" alt="">
|
|
|
+ <div class="length">12:35</div>
|
|
|
+ <img class="play" src="http://local.proginn.com/Public/image_v3/icon/play.png">
|
|
|
+ </div>
|
|
|
+ <div class="video-detail">
|
|
|
+ <div class="video-des">千亿参数规模的模型已经被业界证明能够有效提高业务效果。如何高效训练出这样的模型</div>
|
|
|
+ <div class="video-info justify-between">
|
|
|
+ <div class="live-source align-center">
|
|
|
+ <img src="<?=STA_URL?>/image/icons/icon_hammer.png">
|
|
|
+ <div>{微生活}</div>
|
|
|
+ </div>
|
|
|
+ <div class="flex">
|
|
|
+ <div class="live-people gray-51 align-center">
|
|
|
+ <img class="see icon" src="<?=STA_URL?>/quan_v3/icon/paly_num.png?v=v<?=STA_VERSION?>">
|
|
|
+ <div>{1280}</div>
|
|
|
+ </div>
|
|
|
+ <div class="live-people live-zan gray-51 align-center">
|
|
|
+ <img class="see icon" src="<?=STA_URL?>/quan_v3/icon/zan.png?v=v<?=STA_VERSION?>">
|
|
|
+ <div>{345}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
|
|
|
- </style>
|
|
|
- <div class="article-list justify-between">
|
|
|
+ <div class="article-list web-video justify-between">
|
|
|
<div class="video-box">
|
|
|
<div class="video-img">
|
|
|
<img class="img" src="@/assets/quan/img/1.png" alt="">
|
|
|
@@ -178,6 +210,61 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div v-if="item == 'heji'">
|
|
|
+ <div class="btn-add" >
|
|
|
+ + 添加合集
|
|
|
+ </div>
|
|
|
+ <div class="article-list">
|
|
|
+ <div class="heji-box align-center justify-between">
|
|
|
+ <div class="heji-left">
|
|
|
+ <img src="@/assets/quan/img/1.png" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="heji-right">
|
|
|
+ <div class="heji-title">
|
|
|
+ 独家揭秘:腾讯千亿级参数分布式ML系统无量背后的秘密
|
|
|
+ </div>
|
|
|
+ <div class="gray-153 heji-con">
|
|
|
+ 千亿参数规模的模型已经被业界证明能够有效提高业务效果。如何高效训练出这样的模型?百 GB 级别的模型如何在线上实现毫秒级的响应?
|
|
|
+ </div>
|
|
|
+ <div class="heji-other justify-between align-center">
|
|
|
+ <div class="heji-pusher align-center">
|
|
|
+ <img class="heji-logo" src="@/assets/quan/img/1.png"></img>
|
|
|
+ <div class="heji-username" >test</div>
|
|
|
+ </div>
|
|
|
+ <div class="heji-other flex">
|
|
|
+ <div>文章(12)</div>
|
|
|
+ <div style="color:rgb(200,200,200);margin:0 15px">|</div>
|
|
|
+ <div>视频(34)</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="heji-box align-center justify-between">
|
|
|
+ <div class="heji-left">
|
|
|
+ <img src="@/assets/quan/img/1.png" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="heji-right">
|
|
|
+ <div class="heji-title">
|
|
|
+ 独家揭秘:腾讯千亿级参数分布式ML系统无量背后的秘密
|
|
|
+ </div>
|
|
|
+ <div class="gray-153 heji-con">
|
|
|
+ 千亿参数规模的模型已经被业界证明能够有效提高业务效果。如何高效训练出这样的模型?百 GB 级别的模型如何在线上实现毫秒级的响应?
|
|
|
+ </div>
|
|
|
+ <div class="heji-other justify-between align-center">
|
|
|
+ <div class="heji-pusher align-center">
|
|
|
+ <img class="heji-logo" src="@/assets/quan/img/1.png"></img>
|
|
|
+ <div class="heji-username" >test</div>
|
|
|
+ </div>
|
|
|
+ <div class="heji-other flex">
|
|
|
+ <div>文章(12)</div>
|
|
|
+ <div style="color:rgb(200,200,200);margin:0 15px">|</div>
|
|
|
+ <div>视频(34)</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<!-- <div class="arts-title">
|
|
|
一共
|
|
|
<span style="color: var(--mainColor);">{{idInfo.topics_count}}</span> 篇文章
|
|
|
@@ -278,7 +365,7 @@
|
|
|
isLoading: false,
|
|
|
noMore: false,
|
|
|
idInfo: {},
|
|
|
- item:'article'
|
|
|
+ item: 'heji'
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -294,7 +381,7 @@
|
|
|
this.getDetail();
|
|
|
},
|
|
|
methods: {
|
|
|
- changeitem(x){
|
|
|
+ changeitem(x) {
|
|
|
this.item = x
|
|
|
},
|
|
|
async getDetail() {
|
|
|
@@ -466,6 +553,71 @@
|
|
|
|
|
|
<style lang='less' scoped>
|
|
|
@max768: ~"(max-width: 768px)";
|
|
|
+ .heji-box{
|
|
|
+ padding:30px 0;
|
|
|
+ border-bottom:1px solid rgb(230,230,230) ;
|
|
|
+ box-shadow:0px 0px 0px 0px rgba(0,0,0,0.1);
|
|
|
+ }
|
|
|
+ .heji-other{
|
|
|
+ font-size:12px;
|
|
|
+ font-weight:500;
|
|
|
+ color:rgba(102,102,102,1);
|
|
|
+ line-height:17px;
|
|
|
+ }
|
|
|
+ .heji-logo{
|
|
|
+ width:24px;
|
|
|
+ height:24px;
|
|
|
+ border-radius:12px;
|
|
|
+ margin-right: 7px;
|
|
|
+ }
|
|
|
+ .heji-username{
|
|
|
+ font-size:12px;
|
|
|
+ font-weight:500;
|
|
|
+ color:rgba(34,34,34,1);
|
|
|
+ line-height:17px;
|
|
|
+ }
|
|
|
+ .heji-left>img{
|
|
|
+ width:154px;
|
|
|
+ height:114px;
|
|
|
+ object-fit: cover;
|
|
|
+ margin-right:10px;
|
|
|
+ }
|
|
|
+ .heji-right{
|
|
|
+ padding:5px 0;
|
|
|
+ width:537px;
|
|
|
+ }
|
|
|
+ .heji-height{
|
|
|
+ color:rgba(17,17,17,1);
|
|
|
+ line-height:25px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ .heji-con{
|
|
|
+ font-size:13px;
|
|
|
+ font-family:PingFangSC-Regular,PingFang SC;
|
|
|
+ font-weight:400;
|
|
|
+ color:rgba(153,153,153,1);
|
|
|
+ line-height:18px;
|
|
|
+ margin-bottom:20px;
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ .header-nickname{
|
|
|
+
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .tag{
|
|
|
+ width:59px;
|
|
|
+ position: absolute;
|
|
|
+ right:-66px;
|
|
|
+ top:0px;
|
|
|
+ height:21px;
|
|
|
+ background:rgba(255,181,60,1);
|
|
|
+ border-radius:2px;
|
|
|
+ font-size:12px;
|
|
|
+ font-weight:600;
|
|
|
+ color:rgba(255,255,255,1);
|
|
|
+ line-height:21px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
.video-box {
|
|
|
margin-bottom: 20px;
|
|
|
padding-bottom: 20px;
|
|
|
@@ -524,21 +676,25 @@
|
|
|
font-size: 12px;
|
|
|
margin-top: 12px;
|
|
|
}
|
|
|
- .video-detail{
|
|
|
- padding:0 10px;
|
|
|
- padding-bottom:20px;
|
|
|
- box-shadow:0px 3px 12px 0px rgba(8,27,50,0.05);
|
|
|
- border-radius:0px 0px 4px 4px;
|
|
|
- border:1px solid rgba(0,0,0,0.03)
|
|
|
+
|
|
|
+ .video-detail {
|
|
|
+ padding: 0 10px;
|
|
|
+ padding-bottom: 20px;
|
|
|
+ box-shadow: 0px 3px 12px 0px rgba(8, 27, 50, 0.05);
|
|
|
+ border-radius: 0px 0px 4px 4px;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.03)
|
|
|
}
|
|
|
- .video-other-box{
|
|
|
- margin-right:10px;
|
|
|
+
|
|
|
+ .video-other-box {
|
|
|
+ margin-right: 10px;
|
|
|
|
|
|
}
|
|
|
- .video-push-time{
|
|
|
- padding:0 5px;
|
|
|
- border-left: 1px solid rgba(153, 153, 153, 1) ;
|
|
|
+
|
|
|
+ .video-push-time {
|
|
|
+ padding: 0 5px;
|
|
|
+ border-left: 1px solid rgba(153, 153, 153, 1);
|
|
|
}
|
|
|
+
|
|
|
hr {
|
|
|
margin-bottom: 20px;
|
|
|
height: 1px;
|
|
|
@@ -565,7 +721,7 @@
|
|
|
}
|
|
|
|
|
|
.article-list {
|
|
|
- width: 738px;
|
|
|
+ width: 700px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
@@ -845,8 +1001,169 @@
|
|
|
padding-bottom: 10px;
|
|
|
border-bottom: 1px solid #f2f2f2;
|
|
|
}
|
|
|
-
|
|
|
+ .btn-add{
|
|
|
+ margin:20px 0;
|
|
|
+ }
|
|
|
@media @max768 {
|
|
|
+ .heji-title{
|
|
|
+ text-align: left;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .heji-con{
|
|
|
+ text-align: left;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .heji-left{
|
|
|
+ width:29%;
|
|
|
+ }
|
|
|
+ .heji-left>img{
|
|
|
+ width: 100%;
|
|
|
+ height:auto;
|
|
|
+ border-radius:1%;
|
|
|
+ }
|
|
|
+ .heji-right{
|
|
|
+ width:64%;
|
|
|
+ }
|
|
|
+ .web-video{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .video2{
|
|
|
+ margin-top:0.36rem;
|
|
|
+ width:100%;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .video-box{
|
|
|
+
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .video-img{
|
|
|
+ position: relative;
|
|
|
+ width:100%;
|
|
|
+ height:4rem;
|
|
|
+ }
|
|
|
+ .video-img .img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ object-fit: cover;
|
|
|
+ border-radius:0.08rem 0.08rem 0rem 0rem;
|
|
|
+
|
|
|
+ }
|
|
|
+ .video-des{
|
|
|
+ font-size:0.31rem;
|
|
|
+ font-family:PingFangSC-Regular,PingFang SC;
|
|
|
+ color:rgba(51,51,51,1);
|
|
|
+ line-height:0.4rem;
|
|
|
+ margin:0.21rem 0 0.22rem 0;
|
|
|
+ }
|
|
|
+ .video-detail{
|
|
|
+ padding:0.21rem 0.31rem;
|
|
|
+ box-shadow:0rem 0.06rem 0.25rem 0rem rgba(8,27,50,0.05);
|
|
|
+ border-radius:0rem 0rem 0.08rem 0.08rem;
|
|
|
+ }
|
|
|
+ .length {
|
|
|
+ position: absolute;
|
|
|
+ right: 10px;
|
|
|
+ bottom: 10px;
|
|
|
+ line-height: 22px;
|
|
|
+ background: rgba(0, 0, 0, 0.3);
|
|
|
+ border-radius: 11px;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
+ padding: 0 22px;
|
|
|
+ color:white;
|
|
|
+ }
|
|
|
+ .play{
|
|
|
+ position: absolute;
|
|
|
+ width:0.91rem !important;
|
|
|
+ height:0.91rem;
|
|
|
+ top:1.5rem;
|
|
|
+ left:3.2rem;
|
|
|
+ }
|
|
|
+ .live-zan{
|
|
|
+ margin-left: 0.25rem;
|
|
|
+ }
|
|
|
+ .article-left{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
+ .source{
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-top: 0.16rem;
|
|
|
+ }
|
|
|
+ .live-source >img{
|
|
|
+ width:0.36rem;
|
|
|
+ height:0.36rem;
|
|
|
+ }
|
|
|
+ .live-time{
|
|
|
+ border:0;
|
|
|
+ padding: 0;
|
|
|
+
|
|
|
+ }
|
|
|
+ .live-people{
|
|
|
+ padding:0
|
|
|
+ }
|
|
|
+ .article-desc{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .article-title{
|
|
|
+ font-size:0.3rem;
|
|
|
+ line-height:0.42rem;
|
|
|
+ }
|
|
|
+ .article-right{
|
|
|
+ width:29%;
|
|
|
+ }
|
|
|
+ .article-left{
|
|
|
+ width:69%;
|
|
|
+ margin-right:2%;
|
|
|
+ }
|
|
|
+ .article-list{
|
|
|
+ width:100%;
|
|
|
+ }
|
|
|
+ .article{
|
|
|
+ padding:0.38rem 0 0.4rem 0;
|
|
|
+ }
|
|
|
+ .content-box{
|
|
|
+ padding:0 0.18rem;
|
|
|
+ background-color: white;
|
|
|
+ }
|
|
|
+ .btn-add{
|
|
|
+ color:rgba(48, 142, 255, 1);
|
|
|
+ width:100%;
|
|
|
+ height:0.8rem;
|
|
|
+ line-height: 0.8rem;
|
|
|
+ background:rgba(48,142,255,0.1);
|
|
|
+ border-radius:0.08rem;
|
|
|
+ margin:0 auto;
|
|
|
+ }
|
|
|
+ .panel{
|
|
|
+ width:100%;
|
|
|
+ }
|
|
|
+ hr{
|
|
|
+ margin-bottom:10px;
|
|
|
+ }
|
|
|
+ .m-c-block{
|
|
|
+ width:100%;
|
|
|
+ line-height:0.9rem;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-around;
|
|
|
+ }
|
|
|
+ .background{
|
|
|
+ height:4rem;
|
|
|
+ }
|
|
|
+ button.focu-btn{
|
|
|
+ display: none ;
|
|
|
+ }
|
|
|
+ div.userinfo{
|
|
|
+ height: 3rem !important;
|
|
|
+ }
|
|
|
.community-u {
|
|
|
width: 100%;
|
|
|
margin-bottom: 0;
|