diff --git a/src/components/dynamicDiscuss.wpy b/src/components/dynamicDiscuss.wpy index 306ee0e..5065e01 100644 --- a/src/components/dynamicDiscuss.wpy +++ b/src/components/dynamicDiscuss.wpy @@ -13,6 +13,12 @@ z-index: 2222; } +.ui-triangle-icon{ + width: 8rpx; + height: 16rpx; + margin-left: 10rpx; +} + .ui-no-data{ text-align: center; padding-top: 200rpx; @@ -76,14 +82,6 @@ display: block; } -.referencesIcon { - width: 124rpx; - height: 36rpx; - display: block; - margin-left: 16rpx; - margin-top: 2rpx; -} - .ui-content{ word-break: break-all; } @@ -204,10 +202,55 @@ border-radius: 12rpx; } } + +.dialogs { + width: 100%; + z-index: 1111; + max-height: 670rpx; + background: #FFFFFF; + position: relative; + border-radius: 24rpx 24rpx 0rpx 0rpx!important; + + .cancelIcon{ + width: 28rpx; + height: 28rpx; + position: absolute; + right: 30rpx; + top: 30rpx; + } + + .ui-container{ + height: 600rpx; + padding: 30rpx 30rpx 100rpx 30rpx; + overflow-x: hidden; + overflow-y: scroll; + + .ui-like-member-pic{ + width: 70rpx; + height: 70rpx; + border-radius: 50%; + display: block; + } + + .ui-references-icon{ + width: 124rpx; + height: 36rpx; + display: block; + margin-left: 16rpx; + margin-top: 2rpx; + } + } +} diff --git a/src/components/dynamicList.wpy b/src/components/dynamicList.wpy index 372743a..46e634e 100644 --- a/src/components/dynamicList.wpy +++ b/src/components/dynamicList.wpy @@ -270,8 +270,8 @@ scroll-view { {{ item.commenter_count }} - - + + {{ item.liker_count }} @@ -350,15 +350,10 @@ scroll-view { vm.$emit('signInVerify') return } - let nowTime = new Date() vm.$post({url: `${service.host}/moment/${e.id}/like`}).then(({code}) => { wx.hideLoading() if (code == 0) { - vm.list[index].is_like = !vm.list[index].is_like - vm.list[index].liker_count = vm.list[index].liker_count + (vm.list[index].is_like ? 1 : -1) - if (vm.list[index].is_like) { - vm.gifurl = `${vm.gifurl}?${nowTime}` - } + vm.$emit('changListLiker', index) } }).catch(() => { wx.hideLoading() diff --git a/src/pages/dynamic/dynamicDetail.wpy b/src/pages/dynamic/dynamicDetail.wpy index e8336f0..c737c23 100644 --- a/src/pages/dynamic/dynamicDetail.wpy +++ b/src/pages/dynamic/dynamicDetail.wpy @@ -7,7 +7,7 @@ page {