Commit 1848c430 authored by anxixi's avatar anxixi

话题相关功能

parent 8e91a5a8
......@@ -1918,11 +1918,12 @@ i {
.foutdiv{
min-height: 600px;
background: #ffffff;
width: 1200px;
margin: 0 auto;
width: 100%;
}
.divlayoutchild{
margin-top: 25px;
margin: 25px auto;
width: 1200px;
>div{
display: -webkit-flex;/*新版本语法:chrome 21+*/
display: -webkit-box;/*老版本语法:Safari,iOS,Android browser,old Webkit browser*/
......
......@@ -327,6 +327,10 @@
}
},
tabstate(path){
if(path == '/topictype'){
this.index_hover = 4;
return
}
for(let i in this.indextab){
if(path == this.indextab[i].path || path == this.indextab[i].pathchild){
this.index_hover = this.indextab[i].id
......@@ -406,7 +410,7 @@
.topright{
line-height: 30px;
position: absolute;
right: 60px;
right: 0px;
top: 16px;
color:#1A1A1E;
}
......
......@@ -5,7 +5,7 @@
<p style="margin-top: -150px;font-size: 34px;color: #ffffff">{{$t('topNav.cooperationcase')}}</p>
<p style="margin-top: 20px;font-size: 18px;color: #C8CBE0">{{$t('Otherjson.caseson')}}&nbsp;&nbsp;&nbsp;&nbsp;{{$t('Otherjson.dynamics')}}</p>
</div>
<div :class="showsd?'divclasschild':'divclass'">
<div :class="showsd?'divclasschild':'divclass'" style="width: 1200px;margin: 0 auto">
<div>
<div v-for="(item,index) in datajson" :key="index" @click="!showsd?$router.push({path:'/casedetails',query:{entid:item.id}}):$router.push({path:'/casedetailschild',query:{entid:item.id}})">
<img :src="item.images" alt="图片">
......
......@@ -389,7 +389,9 @@
.divclasschild{
margin: 25px 120px 0;
width: 1200px;
margin: 0 auto;
padding: 25px 0;
height: 100%;
position: relative;
>div:nth-child(1){
......
......@@ -316,7 +316,8 @@
<style scoped lang="scss">
.divclasschild{
margin: 25px 120px 0;
width: 1200px;
margin: 25px auto;
}
.condition_top{
......
......@@ -161,7 +161,7 @@
<p v-if="item.readCount">{{item.readCountStr}} {{$t('activityInfo.viewCount')}}</p>
</div>
</div>
<div style="text-align: center;margin-top: 20px;">
<div style="text-align: center;margin-top: 25px;">
<span v-if="userInfo&&userInfo.empId!=item.createdBy||!userInfo">
<span style="color: #0ABB87;padding: 6px 20px;border: 1px solid #0ABB87;border-radius: 20px;" v-if="item.isJoin==1&&item.activityState != 3">{{$t('activityInfo.hasApply')}}</span>
<span v-if="item.activityState == 2&&item.isJoin==2"><el-button type="primary" @click="handleApply(item)" round plain size="mini" style="width: 90px;font-size: 14px;"><i style="font-weight: bold">{{$t('activityInfo.freeApply')}}</i></el-button></span>
......
......@@ -3,8 +3,8 @@
<div style="bottom:100px;" class="hendtop" @click="handleScrollTop" v-if="positions">
<i style="font-size: 24px;color: #9197B4;" class="iconfont icon-dingbu"></i>
</div>
<div style="height: 200px;position: relative;" >
<img :src="$i18n.locale=='zh-CN'?require('../../assets/img/industryzh.png'):require('../../assets/img/industryen.png')" style="width: 100%;height: 200px;">
<div class="backimg" :style="{backgroundImage:'url('+($i18n.locale=='zh-CN'?require('../../assets/img/industryzh.png'):require('../../assets/img/industryen.png'))+')'}">
</div>
<div class="divlayoutchild">
<div>
......@@ -402,6 +402,13 @@
width: 50px;
}
}
.backimg{
width: 100%;
height: 200px;
position: relative;
background-size: 100% 200px;
background-repeat: no-repeat;
}
.contentlist_li{
/*cursor: pointer;*/
border-bottom: 1px solid #E9EAF3;
......
......@@ -56,7 +56,7 @@
</p>
<div style="padding-left: 15px;font-size: 12px;width: calc(100% - 100px);">
<p class="gendisplay">
<span class="ellipsisFont1" style="color:#1A1A1E;font-size: 14px;font-weight: bold;max-width: calc(100% - 50px);height: 18px;overflow: hidden;">#{{itemchild.topicTitle}}#</span>
<span class="ellipsisFont1" style="color:#1A1A1E;font-size: 14px;font-weight: bold;max-width: calc(100% - 10px);height: 18px;overflow: hidden;">#{{itemchild.topicTitle}}#</span>
<i v-if="itemchild.isOpenReward == 1" class="iconfont icon-hongbao-" style="color: #FF5D5D;font-size: 17px;"></i>
</p>
<div style="line-height: 24px;margin-top: 5px;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment