|
@@ -9,7 +9,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="top">
|
|
<view class="top">
|
|
<view class="topName">{{topName}}</view>
|
|
<view class="topName">{{topName}}</view>
|
|
- <view class="comment">{{comment}}</view>
|
|
|
|
|
|
+ <view class="comment " v-if="comment">{{comment}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="main">
|
|
<view class="main">
|
|
<view class="dynamicCol">
|
|
<view class="dynamicCol">
|
|
@@ -24,29 +24,34 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cont2">
|
|
<view class="cont2">
|
|
- <view class="contf" v-if="qhIndex==2">
|
|
|
|
- <view class="mainwzline" v-for="(wz,wzindex) in list" :class="{'mainwzlineR':(wzindex+1)%4==0&&wzindex!=0}" @click="goDetail(wz)">
|
|
|
|
- <view class="mainwzImgBox">
|
|
|
|
- <img :src="wz.LogoImg" alt="" class="mainwzImg">
|
|
|
|
|
|
+ <view class="contBox">
|
|
|
|
+ <view class="contf" v-if="qhIndex==2&&list.length>0">
|
|
|
|
+ <view class="mainwzline" v-for="(wz,wzindex) in list" :class="{'mainwzlineR':(wzindex+1)%4==0&&wzindex!=0}" @click="goDetail(wz)">
|
|
|
|
+ <view class="mainwzImgBox">
|
|
|
|
+ <img :src="wz.LogoImg" alt="" class="mainwzImg">
|
|
|
|
+ </view>
|
|
|
|
+ <view class="wztitle">{{wz.Title}}</view>
|
|
|
|
+ <view class="wztime">2022-3-30</view>
|
|
</view>
|
|
</view>
|
|
- <view class="wztitle">{{wz.Title}}</view>
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="contL" v-if="qhIndex==1">
|
|
|
|
- <view class="wxLine" v-for="(wz,wzindex) in list" @click="goDetail(wz)">
|
|
|
|
- <view class="wzLineLeft">
|
|
|
|
- <image :src="wz.LogoImg" class="wzLeftIMg"></image>
|
|
|
|
- </view>
|
|
|
|
- <view class="wzLineRight">
|
|
|
|
- <view class="wzTitle">{{wz.Name}}</view>
|
|
|
|
- <view class="wzComment">{{wz.Comment}}</view>
|
|
|
|
|
|
+ <view class="contL" v-if="qhIndex==1&&list.length>0">
|
|
|
|
+ <view class="wxLine" v-for="(wz,wzindex) in list" @click="goDetail(wz)">
|
|
|
|
+ <view class="wzLineLeft">
|
|
|
|
+ <image :src="wz.LogoImg" class="wzLeftIMg"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="wzLineRight">
|
|
|
|
+ <view class="wzTitle2">{{wz.Title}}</view>
|
|
|
|
+ <view class="wzComment">{{wz.Comment}}</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="nodata" v-show="list.length==0">
|
|
|
|
+ <image src="../../static/pcimg/listnodata.png" mode="" class="nodataImg"></image>
|
|
|
|
+ <view class="nodataTitle">暂无数据</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view class="nodata" v-show="list.length==0">
|
|
|
|
- <image src="../../static/pcimg/listnodata.png" mode="" class="nodataImg"></image>
|
|
|
|
- <view class="nodataTitle">暂无数据</view>
|
|
|
|
- </view>
|
|
|
|
|
|
+
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -90,7 +95,10 @@
|
|
this.comment=opt.comment;
|
|
this.comment=opt.comment;
|
|
this.topCode=opt.code;
|
|
this.topCode=opt.code;
|
|
this.parentCode='';
|
|
this.parentCode='';
|
|
- this.getcategoryPageData()
|
|
|
|
|
|
+ this.getcategoryPageData();
|
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
|
+ title: this.topName
|
|
|
|
+ });
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
goDetail(wz){
|
|
goDetail(wz){
|
|
@@ -156,23 +164,32 @@
|
|
padding: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
+ .content{
|
|
|
|
+ background: #F4F5F7;
|
|
|
|
+ min-height: 100vh;
|
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
+ }
|
|
|
|
+ .contBox{
|
|
|
|
+ min-height: 58vh;
|
|
|
|
+ }
|
|
.gotopImg{
|
|
.gotopImg{
|
|
width: 60px;
|
|
width: 60px;
|
|
height: 60px;
|
|
height: 60px;
|
|
}
|
|
}
|
|
.gotop{
|
|
.gotop{
|
|
position: fixed;
|
|
position: fixed;
|
|
- right:15vh ;
|
|
|
|
- bottom: 100px;
|
|
|
|
|
|
+ right:5vh ;
|
|
|
|
+ bottom: 60px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.topName{
|
|
.topName{
|
|
text-align: center;
|
|
text-align: center;
|
|
- font-size: 20px;
|
|
|
|
|
|
+ font-size: 22px;
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
color: #3C3C3C;
|
|
color: #3C3C3C;
|
|
line-height: 33px;
|
|
line-height: 33px;
|
|
padding-top: 30px;
|
|
padding-top: 30px;
|
|
|
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
}
|
|
}
|
|
.comment{
|
|
.comment{
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -197,7 +214,7 @@
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
color: #3C3C3C;
|
|
color: #3C3C3C;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- line-height: 28px;
|
|
|
|
|
|
+ line-height: 32px;
|
|
}
|
|
}
|
|
.qhImg{
|
|
.qhImg{
|
|
width: 28px;
|
|
width: 28px;
|
|
@@ -208,32 +225,42 @@
|
|
.dynamicCol{
|
|
.dynamicCol{
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
+ padding:15px 20px;
|
|
|
|
+ border-radius: 8px;
|
|
}
|
|
}
|
|
.activeTab{
|
|
.activeTab{
|
|
color: #FF4F00;
|
|
color: #FF4F00;
|
|
}
|
|
}
|
|
.mainwzImg{
|
|
.mainwzImg{
|
|
- width: 276px;
|
|
|
|
- height: 184px;
|
|
|
|
|
|
+ width: 284px;
|
|
|
|
+ height: 160px;
|
|
}
|
|
}
|
|
.mainwzImgBox{
|
|
.mainwzImgBox{
|
|
- border-radius: 15px;
|
|
|
|
|
|
+ border-top-left-radius: 6px;
|
|
|
|
+ border-top-right-radius: 6px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- height: 184px;
|
|
|
|
- border: 1px solid #eeeeee;
|
|
|
|
|
|
+ height: 160px;
|
|
|
|
+ border: 1px solid #eeeeee;
|
|
}
|
|
}
|
|
.contf{
|
|
.contf{
|
|
display: flex;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
.mainwzline{
|
|
.mainwzline{
|
|
- width: 276px;
|
|
|
|
- height: 260px;
|
|
|
|
|
|
+ width: 284px;
|
|
|
|
+ height: 244px;
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
- margin-right: 32px;
|
|
|
|
|
|
+ margin-right: 21px;
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- border-radius: 15px;
|
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
+ }
|
|
|
|
+ .wztime{
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ color: #999999;
|
|
|
|
+ padding-left: 14px;
|
|
|
|
+ padding-top: 10px;
|
|
}
|
|
}
|
|
.mainwzline:hover{
|
|
.mainwzline:hover{
|
|
box-shadow: 0px 0px 16px 0px rgba(153, 153, 153, 0.2);
|
|
box-shadow: 0px 0px 16px 0px rgba(153, 153, 153, 0.2);
|
|
@@ -242,62 +269,79 @@
|
|
margin-right: 0px;
|
|
margin-right: 0px;
|
|
}
|
|
}
|
|
.wztitle{
|
|
.wztitle{
|
|
- width: 250px;
|
|
|
|
- font-size: 15px;
|
|
|
|
|
|
+ width: 256px;
|
|
|
|
+ font-size: 16px;
|
|
color: #333333;
|
|
color: #333333;
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
- height: 44px;
|
|
|
|
|
|
+ height: 22px;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
display: -webkit-box;
|
|
- -webkit-line-clamp: 2;
|
|
|
|
- line-clamp: 2;
|
|
|
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
|
+ line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-orient: vertical;
|
|
padding:0 13px ;
|
|
padding:0 13px ;
|
|
padding-top: 16px;
|
|
padding-top: 16px;
|
|
- font-weight: 600;
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
.wzLeftIMg{
|
|
.wzLeftIMg{
|
|
width: 200px;
|
|
width: 200px;
|
|
- height: 132px;
|
|
|
|
|
|
+ height: 112px;
|
|
|
|
+ }
|
|
|
|
+ .contL{
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ padding: 0 20px;
|
|
|
|
+
|
|
}
|
|
}
|
|
.wxLine{
|
|
.wxLine{
|
|
display: flex;
|
|
display: flex;
|
|
- padding: 20px 0;
|
|
|
|
|
|
+ padding: 20px 0px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #EEEEEE;
|
|
border-bottom: 1px solid #EEEEEE;
|
|
}
|
|
}
|
|
.wzLineLeft{
|
|
.wzLineLeft{
|
|
- border-radius: 10px;
|
|
|
|
|
|
+ border-radius: 6px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
width: 200px;
|
|
width: 200px;
|
|
- height: 132px;
|
|
|
|
|
|
+ height: 112px;
|
|
}
|
|
}
|
|
.wzLineRight{
|
|
.wzLineRight{
|
|
padding-left: 16px;
|
|
padding-left: 16px;
|
|
- width: 950px;
|
|
|
|
|
|
+ width: 788px;
|
|
}
|
|
}
|
|
- .wzTitle{
|
|
|
|
|
|
+ .wzTitle2{
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
- font-weight: 500;
|
|
|
|
color: #3C3C3C;
|
|
color: #3C3C3C;
|
|
|
|
+ width: 948px;
|
|
|
|
+ height: 20px;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ text-overflow: -o-ellipsis-lastline;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
|
+ line-clamp: 1;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
}
|
|
}
|
|
.wzComment{
|
|
.wzComment{
|
|
- font-size: 12px;
|
|
|
|
|
|
+ font-size: 14px;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
color: #999999;
|
|
color: #999999;
|
|
- line-height: 17px;
|
|
|
|
|
|
+ line-height: 20px;
|
|
padding-top: 10px;
|
|
padding-top: 10px;
|
|
- width: 980px;
|
|
|
|
- height: 100px;
|
|
|
|
|
|
+ width: 948px;
|
|
|
|
+ height: 80px;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
display: -webkit-box;
|
|
- -webkit-line-clamp: 6;
|
|
|
|
- line-clamp: 6;
|
|
|
|
|
|
+ -webkit-line-clamp: 4;
|
|
|
|
+ line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
}
|
|
.pageView{
|
|
.pageView{
|