|
@@ -22,21 +22,21 @@
|
|
|
<view class="wztitle">{{item.name}}</view>
|
|
|
<view class="wztime">{{item.CreateTime.slice(0,10)}}</view>
|
|
|
</view>
|
|
|
- <view class="mainwzline" v-if="recommendList[index+1]" @click="goDetail3(recommendList[index+1])" >
|
|
|
+ <view class="mainwzline" v-if="recommendList[index+1]" @click="goDetailswp(recommendList[index+1])" >
|
|
|
<view class="mainwzImgBox">
|
|
|
<img :src="recommendList[index+1].logoImg" alt="" class="mainwzImg">
|
|
|
</view>
|
|
|
<view class="wztitle">{{recommendList[index+1].name}}</view>
|
|
|
<view class="wztime">{{recommendList[index+1].CreateTime.slice(0,10)}}</view>
|
|
|
</view>
|
|
|
- <view class="mainwzline" v-if="recommendList[index+2]" @click="goDetail3(recommendList[index+2])" >
|
|
|
+ <view class="mainwzline" v-if="recommendList[index+2]" @click="goDetailswp(recommendList[index+2])" >
|
|
|
<view class="mainwzImgBox">
|
|
|
<img :src="recommendList[index+2].logoImg" alt="" class="mainwzImg">
|
|
|
</view>
|
|
|
<view class="wztitle">{{recommendList[index+2].name}}</view>
|
|
|
<view class="wztime">{{recommendList[index+2].CreateTime.slice(0,10)}}</view>
|
|
|
</view>
|
|
|
- <view class="mainwzline mainwzlineR" v-if="recommendList[index+3]" @click="goDetail3(recommendList[index+3])" >
|
|
|
+ <view class="mainwzline mainwzlineR" v-if="recommendList[index+3]" @click="goDetailswp(recommendList[index+3])" >
|
|
|
<view class="mainwzImgBox">
|
|
|
<img :src="recommendList[index+3].logoImg" alt="" class="mainwzImg">
|
|
|
</view>
|
|
@@ -301,8 +301,8 @@
|
|
|
}) */
|
|
|
},
|
|
|
goDetail2(wz,item){
|
|
|
- /* console.log(item)
|
|
|
- console.log(wz) */
|
|
|
+ console.log(item)
|
|
|
+ console.log(wz)
|
|
|
if (wz.type == 1) {
|
|
|
this.newgroupingcode=wz.code;
|
|
|
var newgroupingdata={
|
|
@@ -326,6 +326,12 @@
|
|
|
this.newgroupingListShow=false;
|
|
|
this.newsearchShow=false;
|
|
|
this.newDetailID=wz.id;
|
|
|
+ var item={
|
|
|
+ categoryName:item.name,
|
|
|
+ twoName:'',
|
|
|
+ comment:item.comment,
|
|
|
+ code:item.code
|
|
|
+ }
|
|
|
this.newDetailItem=item;
|
|
|
}
|
|
|
|
|
@@ -392,7 +398,7 @@
|
|
|
this.newgroupingdata=newgroupingdata
|
|
|
},
|
|
|
goDetailswp(item){
|
|
|
-
|
|
|
+ //console.log(itme)
|
|
|
this.indexShow=false;
|
|
|
this.listShow=false;
|
|
|
this.newDetailShow=true;
|
|
@@ -803,6 +809,7 @@
|
|
|
line-height: 33px;
|
|
|
padding-top: 20px;
|
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
|
+ padding-bottom: 10px;
|
|
|
}
|
|
|
.comment{
|
|
|
text-align: center;
|
|
@@ -811,7 +818,7 @@
|
|
|
color: #999999;
|
|
|
line-height: 20px;
|
|
|
width: 500px;
|
|
|
- padding-top: 10px;
|
|
|
+
|
|
|
margin: 0 auto;
|
|
|
|
|
|
}
|