Merge pull request 'gdpao' (#255) from gyh into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/255
This commit is contained in:
gyh 2020-08-19 19:25:14 +08:00
commit c4821f888f
15 changed files with 18 additions and 15 deletions

View File

@ -15,7 +15,7 @@
<image :src="item.member_avatar"></image> <image :src="item.member_avatar"></image>
<text>{{ item.member_nickname }}</text> <text>{{ item.member_nickname }}</text>
</view> </view>
<image src="/static/image/common/4.png" @click.stop="showAction"></image> <image class="img-imp" src="/static/image/common/4.png" @click.stop="showAction"></image>
<view class="action" v-if="show == item.article_id"> <view class="action" v-if="show == item.article_id">
<view class="bubble"> <view class="bubble">
<view @click.stop="articleLike"> <view @click.stop="articleLike">
@ -105,6 +105,7 @@
>image{ >image{
width: 37rpx; width: 37rpx;
height: 8rpx; height: 8rpx;
padding: 20rpx;
} }
.action { .action {
z-index: 19; z-index: 19;

View File

@ -52,7 +52,7 @@
<view class="comment-list-box"> <view class="comment-list-box">
<view class="comment-list-header"> <view class="comment-list-header">
<image class="avatar" :src="item.member_avatar" mode=""></image> <image class="avatar" :src="item.member_avatar" mode=""></image>
<view> <view class="comment-title-info">
<text class="comment-title">{{ item.member_nickname }}</text> <text class="comment-title">{{ item.member_nickname }}</text>
<text class="comment-time">{{ item.create_time }}</text> <text class="comment-time">{{ item.create_time }}</text>
</view> </view>
@ -679,6 +679,10 @@
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 50%; border-radius: 50%;
} }
.comment-title-info {
justify-content: space-between;
}
.comment-title { .comment-title {
font-size: 26rpx; font-size: 26rpx;

View File

@ -39,7 +39,7 @@
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
<swiper-item> <swiper-item>
<scroll-view style="width:100%;height:100%" scroll-y="true" @scrolltolower="swiperBottom"> <scroll-view style="width:100%;height:100%" scroll-y="true" @scrolltolower="swiperBottomLive(e)">
<view class="box"> <view class="box">
<u-swiper mode="dot" :list="zhiboImageSwiper" name="adv_code" @click="clickSImage($event, 2)"></u-swiper> <u-swiper mode="dot" :list="zhiboImageSwiper" name="adv_code" @click="clickSImage($event, 2)"></u-swiper>
<view class="list"> <view class="list">
@ -270,9 +270,6 @@
darenItem darenItem
}, },
onShow() { onShow() {
this.page = 1;
if (this.page != 1) {
}
console.log(this.imService.status) console.log(this.imService.status)
if(!this.imService.status && this.$store.state.hasLogin){ if(!this.imService.status && this.$store.state.hasLogin){
const user = uni.getStorageSync('user_info'); const user = uni.getStorageSync('user_info');
@ -417,7 +414,7 @@
dianji(a) { dianji(a) {
// console.log(a); // console.log(a);
if (a.type == "change") { if (a.type == "change") {
this.num = a.detail.current this.num = a.detail.current;
} else { } else {
this.num = a; this.num = a;
} }
@ -427,16 +424,18 @@
if (this.num == 0) { if (this.num == 0) {
this.page = 1; this.page = 1;
this.articleList = []; this.articleList = [];
this.status = "loadmore"; this.status = "nomore";
this.getArticlelist(); this.getArticlelist();
this.getSwiper(); this.getSwiper();
} else if (this.num == 1) { } else if (this.num == 1) {
this.live_page = 1; this.live_page = 1;
this.status_live = "nomore";
this.getZhiBoSwiper(); // this.getZhiBoSwiper(); //
this.tabLiveList(); this.tabLiveList();
} else if (this.num == 2) { } else if (this.num == 2) {
this.follow_page = 0; this.follow_page = 0;
this.fansList = []; this.fansList = [];
this.status_1 = "nomore";
if (this.hasLogin) { if (this.hasLogin) {
this.getFollowList(); // this.getFollowList(); //
} }
@ -463,9 +462,9 @@
} else { } else {
this.articleList = this.articleList.concat(res.data.list); this.articleList = this.articleList.concat(res.data.list);
} }
this.page++;
} }
}) })
console.log(this.page);
}, },
// //
updateList() { updateList() {
@ -476,12 +475,11 @@
}, },
// //
swiperBottom(e) { swiperBottom(e) {
if(this.num == 0){ this.page++;
this.getArticlelist(); this.getArticlelist();
}else if(this.num == 1){ },
this.tabLiveList(); swiperBottomLive() {
} this.tabLiveList();
// console.log(e);
}, },
swiperTop() { swiperTop() {
// uni.startPullDownRefresh(); // uni.startPullDownRefresh();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB