|
|
@@ -37,6 +37,11 @@
|
|
|
<view class="box-2 fs-24 fc-41ABF5" @click="toSelectSchool()">逛其他学校</view>
|
|
|
</view>
|
|
|
|
|
|
+
|
|
|
+ <view class="">
|
|
|
+ {{JSON.stringify(err)}}
|
|
|
+ </view>
|
|
|
+
|
|
|
<view v-if="list.length === 0" class="scroll-view-css">
|
|
|
<EnBlank :customSrc='true'>
|
|
|
<template v-slot:blankImg>
|
|
|
@@ -73,11 +78,7 @@
|
|
|
<view class="">{{item.topic_name}}</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="card-5 flex-justify-space">
|
|
|
- <view class="align-items-center" @click.stop="share()">
|
|
|
- <image src="@/static/img/school/fx.png" mode=""></image>
|
|
|
- <view class="fs-24 fc-9">分享</view>
|
|
|
- </view>
|
|
|
+ <view class="card-5 flex-justify-around">
|
|
|
<view class="align-items-center" @click.stop="handUp(1,item)">
|
|
|
<uni-icons type="hand-up" size="22" :color="item.is_like==1?'#FD5C02':'#999'"></uni-icons>
|
|
|
<view class="fs-24 " :class="item.is_like==1?'fc-FD5C02':'fc-9'">{{item.like}}</view>
|
|
|
@@ -153,9 +154,9 @@
|
|
|
<view v-else class="scroll-view-css box-border-box plr-24">
|
|
|
<view class="list-box flex-justify-space" v-for="(item,i) in remarkData.list" :key="i">
|
|
|
<image class="list-box-img" :src="item.head_img" mode="scaleToFill"></image>
|
|
|
- <view class="flex-1">
|
|
|
+ <view class="flex-1 p-b-20">
|
|
|
<view class=" flex-justify-space">
|
|
|
- <view class="p-b-20 b-b-F9F9F9 mr-20">
|
|
|
+ <view class=" b-b-F9F9F9 mr-20">
|
|
|
<view class="fs-28 fw-400 fc-9 mb-8">
|
|
|
{{item.nickname}} <span v-if="item.is_author == 1" class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
|
|
|
</view>
|
|
|
@@ -169,6 +170,7 @@
|
|
|
<view class="fs-24 fw-400 mt-5" :class="item.is_like==1?'fc-FD5C02':'fc-9'">{{item.like}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view v-if="item.count>0" class="fs-24 fc-6 text-align-center mb-12">展开更多评论</view>
|
|
|
<!-- 回复 -->
|
|
|
<!-- <view class="list-box flex-justify-space" v-for="(info,index) in 1" :key="index">
|
|
|
<image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
|
|
|
@@ -249,6 +251,8 @@
|
|
|
content:'',
|
|
|
reply_id:'',
|
|
|
},
|
|
|
+
|
|
|
+ err:'',
|
|
|
}
|
|
|
},
|
|
|
onShow(){
|
|
|
@@ -369,9 +373,9 @@
|
|
|
this.isAJAX = false;
|
|
|
this.remarkData.list = [...this.remarkData.list,...res.data.items];
|
|
|
this.remarkData.total = res.data.total;
|
|
|
- // this.remarkData.list.forEach((v)=>{
|
|
|
- // v.isOpne = false;
|
|
|
- // })
|
|
|
+ this.remarkData.list.forEach((v)=>{
|
|
|
+ v.isOpne = false;
|
|
|
+ })
|
|
|
this.$refs.popmsg.open();
|
|
|
}
|
|
|
})
|
|
|
@@ -477,28 +481,6 @@
|
|
|
share(){
|
|
|
this.$refs.popshare.open();
|
|
|
},
|
|
|
- shareSelect(type){
|
|
|
- let pages = getCurrentPages();
|
|
|
- let currentPage = pages[pages.length - 1];
|
|
|
- let url = currentPage.route || currentPage.$route.path;
|
|
|
- uni.share({
|
|
|
- provider: "weixin",
|
|
|
- scene: "WXSceneTimeline",
|
|
|
- type: type,
|
|
|
- href: url,
|
|
|
- title: "君子校友",
|
|
|
- summary: "我正在使用君子校友小程序,邀请您一起体验",
|
|
|
- imageUrl: "https://sjz-school.oss-cn-chengdu.aliyuncs.com/logo.png",
|
|
|
- success:(res)=>{
|
|
|
- tools.success('分享成功')
|
|
|
- this.$refs.popshare.close();
|
|
|
- },
|
|
|
- fail:(err)=>{
|
|
|
- tools.error('分享失败')
|
|
|
- this.$refs.popshare.close();
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
|
|
|
|
|
|
toDet(item){
|