Commit abc323a1 authored by 张燕妮's avatar 张燕妮

样式修改

parent 9f45c4d2
......@@ -352,37 +352,37 @@
</div>
</div>
<!-- 竞猜排行-->
<div class="content_top" style="margin-top: 30px;">
<div class="topUpdateTitle" style="border-bottom: 1px solid #F2F2F2;padding-bottom: 13px;position: relative;">
<h4 style="cursor: pointer;" @click="handleMore('list','/guessRank',null)">竞猜排行</h4>
<div class="borderBottom40px"></div>
<span class="lookmoreBtns" style="font-size: 12px;">按参与次数</span>
<div style="position: absolute;left: 95px;top: -10px;cursor: pointer;" class="gendisplay">
<p class="guessranking" v-for="(item,index) in datelist" :key="index" @click="datetype(item.type)" :class="item.type == datetypes?'hover':''">
{{item.value}}
</p>
</div>
<!--<div class="content_top" style="margin-top: 30px;">-->
<!--<div class="topUpdateTitle" style="border-bottom: 1px solid #F2F2F2;padding-bottom: 13px;position: relative;">-->
<!--<h4 style="cursor: pointer;" @click="handleMore('list','/guessRank',null)">竞猜排行</h4>-->
<!--<div class="borderBottom40px"></div>-->
<!--<span class="lookmoreBtns" style="font-size: 12px;">按参与次数</span>-->
<!--<div style="position: absolute;left: 95px;top: -10px;cursor: pointer;" class="gendisplay">-->
<!--<p class="guessranking" v-for="(item,index) in datelist" :key="index" @click="datetype(item.type)" :class="item.type == datetypes?'hover':''">-->
<!--{{item.value}}-->
<!--</p>-->
<!--</div>-->
</div>
<div style="margin-top: 10px;">
<div v-for="(item,index) in hotGuessRankinglist" :key="index">
<div class="gendisplay" style="font-size: 12px;padding: 8px;color:#1A1A1E;font-weight: bold;" :style="index%2==1?'background: #F5F5F5;':''">
<div style="width: 210px;" class="gendisplay">
<img v-if="index == 0" style="width: 24px;height: 22px;margin-top: 5px;" src="../../../assets/img/rankingindex1.png" alt="">
<img v-if="index == 1" style="width: 24px;height: 22px;margin-top: 5px;" src="../../../assets/img/rankingindex2.png" alt="">
<img v-if="index == 2" style="width: 24px;height: 22px;margin-top: 5px;" src="../../../assets/img/rankingindex3.png" alt="">
<p style="line-height: 34px;width: 24px;text-align: center;" v-if="index>2">{{index+1}}</p>
<img @click="tohome(item.empId)" style="height: 34px;width: 34px;border-radius: 50%;margin: 0 20px;cursor: pointer;" :src="item.empLogo&&item.empLogo.length>1?item.empLogo:require('../../../assets/img/defaultlogo.png')" alt="">
<p class="ellipsisFont1 mouseHover" @click="tohome(item.empId)" style="width: 90px;height: 34px;overflow: hidden;line-height: 34px;cursor: pointer;">{{item.nickName}}</p>
</div>
<div class="gendisplay" style="width: calc(100% - 210px);text-align: right;line-height: 34px;font-weight: normal;">
<p style="width: calc(100% - 80px);text-align: left;">胜率:<i style="font-weight: bold;">{{item.winRate}}%</i></p>
<p style="margin-left: 15px;width: 110px;text-align: right;"><i style="color: #FF5D5D;font-weight: bold;">{{item.guessNum}}</i> 参与次数</p>
</div>
</div>
</div>
</div>
</div>
<!--</div>-->
<!--<div style="margin-top: 10px;">-->
<!--<div v-for="(item,index) in hotGuessRankinglist" :key="index">-->
<!--<div class="gendisplay" style="font-size: 12px;padding: 8px;color:#1A1A1E;font-weight: bold;" :style="index%2==1?'background: #F5F5F5;':''">-->
<!--<div style="width: 210px;" class="gendisplay">-->
<!--<img v-if="index == 0" style="width: 24px;height: 22px;margin-top: 5px;" src="../../../assets/img/rankingindex1.png" alt="">-->
<!--<img v-if="index == 1" style="width: 24px;height: 22px;margin-top: 5px;" src="../../../assets/img/rankingindex2.png" alt="">-->
<!--<img v-if="index == 2" style="width: 24px;height: 22px;margin-top: 5px;" src="../../../assets/img/rankingindex3.png" alt="">-->
<!--<p style="line-height: 34px;width: 24px;text-align: center;" v-if="index>2">{{index+1}}</p>-->
<!--<img @click="tohome(item.empId)" style="height: 34px;width: 34px;border-radius: 50%;margin: 0 20px;cursor: pointer;" :src="item.empLogo&&item.empLogo.length>1?item.empLogo:require('../../../assets/img/defaultlogo.png')" alt="">-->
<!--<p class="ellipsisFont1 mouseHover" @click="tohome(item.empId)" style="width: 90px;height: 34px;overflow: hidden;line-height: 34px;cursor: pointer;">{{item.nickName}}</p>-->
<!--</div>-->
<!--<div class="gendisplay" style="width: calc(100% - 210px);text-align: right;line-height: 34px;font-weight: normal;">-->
<!--<p style="width: calc(100% - 80px);text-align: left;">胜率:<i style="font-weight: bold;">{{item.winRate}}%</i></p>-->
<!--<p style="margin-left: 15px;width: 110px;text-align: right;"><i style="color: #FF5D5D;font-weight: bold;">{{item.guessNum}}</i> 参与次数</p>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!-- 行业报告-->
<div style="margin-top: 30px;">
<div class="content_top">
......@@ -849,7 +849,7 @@
<div v-if="$i18n.locale=='zh-CN'" class="indexfixed_right">
<p v-if="!isHasSign" @click="getintegralCode"><img src="../../../assets/img/indexSignin.png" style="width: 50px;height: 50px;" alt=""></p>
<p @click="toguesslist"><img src="../../../assets/img/mobile/jCImg@2x.png" style="width: 90px;height: 80px;" alt=""></p>
<!--<p @click="toguesslist"><img src="../../../assets/img/mobile/jCImg@2x.png" style="width: 90px;height: 80px;" alt=""></p>-->
<div>
<el-popover
placement="left"
......@@ -1254,7 +1254,7 @@
},
//行业报告
getIndexBaseReport(){
api.getIndexBaseReport(this.$i18n.locale=='zh-CN'?7:3).then((res) => {
api.getIndexBaseReport(this.$i18n.locale=='zh-CN'?18:3).then((res) => {
if (res.code == 0) {
this.reportList = res.result;
} else {
......@@ -1660,7 +1660,7 @@
if(this.$i18n.locale=='zh-CN'){
this.getIndexHotContentaxios();//热门信息
this.getIndexTopNArticle();//推荐文章
this.getselectGuessLeaderboardList();//竞猜排行
// this.getselectGuessLeaderboardList();//竞猜排行
}else{
this.getIndexBaseActivity();//推荐活动
this.getActiveInfoData();//动态信息
......
......@@ -14,8 +14,8 @@
<p>报告</p>
</div>
<div @click="handleMore(7,true)">
<p class="guessIcon"><i class="iconfont icon-jinbi" style="font-size: .4rem"></i></p>
<p>竞猜</p>
<p class="guessIcon"><i class="iconfont icon-wocanyudehuodong1" style="font-size: .4rem"></i></p>
<p>活动</p>
</div>
</div>
<div class="topSimpleWrapper" :class="!barFixed?'opacityClass':''" v-if="lang==1">
......@@ -23,7 +23,7 @@
<div @click="handleMore(6,true)">话题</div>
<div @click="handleMore(3,true)">资讯</div>
<div @click="handleMore(5,true)">报告</div>
<div @click="handleMore(7,true)">竞猜</div>
<div @click="handleMore(7,true)">活动</div>
</div>
<div class="rightInfo">
<i class="iconfont icon-iconsearch" @click="$router.push('/mobilesearch')"></i>
......@@ -529,11 +529,11 @@
</div>
</div>
<div class="intersetGuessFixed" v-if="lang==1">
<div class="guessBtn" @click="handleMore(8,true)">
<!--<div class="intersetGuessFixed" v-if="lang==1">-->
<!--<div class="guessBtn" @click="handleMore(8,true)">-->
</div>
</div>
<!--</div>-->
<!--</div>-->
</div>
</div>
</template>
......@@ -764,7 +764,7 @@
//查看更多
handleMore(data, flag) {
if (flag) {
var name = data == 1 ? "findCustomer" : data == 2 ? "findProject" : data == 3 ? data == 4 ? "Findevent" : "newsArticle" : data == 5 ? "industry" : data == 6 ? "topic" : data == 7 ? "guess" : data == 8 ? "index-guess-tips" : "index-sign-in-integral";
var name = data == 1 ? "findCustomer" : data == 2 ? "findProject" : data == 3 ? data == 4 ? "Findevent" : "newsArticle" : data == 5 ? "industry" : data == 6 ? "topic" : data == 7 ? "activity" : data == 8 ? "index-guess-tips" : "index-sign-in-integral";
this.tabMaiDianFunc(name, data);
}
},
......@@ -1727,7 +1727,7 @@
this.publicFun.setUserInfoCookie("ismobile", 1)
this.$router.push({path: "/articleList"});
}
else if (data == 4) {
else if (data == 4||data == 7) {
globalMsg.$emit('sendSelected', "activity");
this.$router.push({path: "/activitylist"});
}
......@@ -1737,9 +1737,7 @@
else if (data == 6) {
this.$router.push('/topicList');
}
else if (data == 7) {
this.$router.push('/guessList');
}
else if (data == 8) {
this.$router.push('/guessList');
} else if (data == 9) {
......
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