diff --git a/components/index/zhibo-item/index.vue b/components/index/zhibo-item/index.vue index 880a107..11dcc71 100644 --- a/components/index/zhibo-item/index.vue +++ b/components/index/zhibo-item/index.vue @@ -6,9 +6,9 @@ {{name}} - - - 1屏蔽用户 + + + 屏蔽用户 @@ -81,8 +81,20 @@ export default { rid:this.rid } }) - } + }, + articleAddShield() { + console.log(this.item) + this.$u.api.articleAddShield({ + member_id: this.item.user_id, + }).then(res => { + // console.log(res) + if(res.errCode == 0) { + this.$u.toast(res.message); + this.$emit("updateList"); + } + }) + }, }, - props:['name','image','url','zid','rid'] + props:['name','image','url','zid','rid','item'] } \ No newline at end of file diff --git a/pageB/search/searchGoods.vue b/pageB/search/searchGoods.vue index 0eb6f71..053a741 100644 --- a/pageB/search/searchGoods.vue +++ b/pageB/search/searchGoods.vue @@ -11,7 +11,7 @@ 好评 - + @@ -38,7 +38,8 @@ export default { scrollHeight: '', loadStatus: 'loadmore', timer: true, // 防止上拉加载短时间内多次调用, - value:"" + value:"", + top:0 } }, watch: { @@ -131,6 +132,7 @@ export default { switchCurrent(current) { this.page = 1 if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc; + this.top=0 this.ShopSearch() this.current = current; }, diff --git a/pages/index/index.vue b/pages/index/index.vue index ebe81d0..c9ec856 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,507 +1,508 @@ - - - + // margin-top: 30rpx; + } + + .list { + display: flex; + // height: 100vh; + // padding-bottom: 100rpx; + // margin-bottom: 50rpx; + } + } + + .tuijian { + width: 750rpx; + padding: 30rpx; + margin-left: -30rpx; + height: 400rpx; + background-color: #ececec; + + .title { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; + + .left { + display: flex; + align-items: center; + + >view { + width: 6rpx; + height: 30rpx; + background-color: #FF780F; + } + + >text { + font-size: 30rpx; + color: 30rpx; + margin-left: 14rpx; + } + } + + .right { + width: 14rpx; + height: 24rpx; + } + } + + .tuijianlist { + width: 100%; + height: 282rpx; + margin-top: 30rpx; + display: flex; + + >view:not(:last-child) { + margin-right: 23rpx; + } + } + } + .rec-list { + width: 100%; + .rec-box { + width: 100%; + .item { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + } + } + } + } + .no-data { + margin: 200rpx auto 0; + text-align: center; + } + + + + diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index cf05ced..031496c 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -26,7 +26,7 @@ {{ $store.state.hasLogin ? '想说点什么' : '请先登录'}} - + @@ -86,7 +86,7 @@ .shopimg{ width: 160rpx; height: 160rpx; - background-color: #0f0; + // background-color: #0f0; } @@ -158,7 +158,9 @@ height: 46rpx; position: fixed; bottom: 36rpx; - right: 154rpx; + // right: 154rpx; + right: 54rpx; + } .hottext{ font-size: 20rpx; @@ -275,7 +277,7 @@ left: 0; width: 308rpx; height: 58rpx; - background-color: #0f0; + background-color: #000; opacity: 0.4; border-radius: 29rpx; } @@ -460,7 +462,8 @@ export default { content : content } this.chatRoomService.sendMessages(this.room.id, message); - this.danmutext = "" + this.danmutext = "" + this.danmu = false }, whenNewMessage (message) {//新消息监听 // if(message.type == this.room.MessageType.PROP){