反馈修改-0715

master
Lee-1203 2022-07-15 18:39:41 +08:00
parent 1473cb77ed
commit 621441e3f3
8 changed files with 16 additions and 18 deletions

View File

@ -230,22 +230,22 @@ page {background-color: #eaeaea;}
z-index: 99;
overflow-x: auto;
}
.nav-list-bg::-webkit-scrollbar{
.news-nav-bg::-webkit-scrollbar{
width: 0;
height: 0;
opacity: 0;
}
.nav-list-bg .pull-nav-btns{
.news-nav-bg .pull-nav-btns{
justify-content: start !important;
}
.nav-list-bg .pull-nav-btns .btn{
.news-nav-bg .pull-nav-btns .btn{
width: 180rpx !important;
margin: 0 20rpx !important;
}
.nav-list-bg .pull-nav-btns .btn:first-child{
.news-nav-bg .pull-nav-btns .btn:first-child{
margin-left: 0 !important;
}
.nav-list-bg .pull-nav-btns .btn:last-child{
.news-nav-bg .pull-nav-btns .btn:last-child{
margin-right: 0 !important;
}
.news-list-bg{

View File

@ -155,12 +155,11 @@
id:item.id,
src:item.cover,
title:item.title,
time:this.dateFormat(item.published_at.replace(/-/g,'/')),
time:this.dateFormat(item.created_at.replace(/-/g,'/')),
}
newArr.push(obj)
})
this.collectionList = this.collectionList.concat(newArr);
console.log(this.collectionList,1212121)
if(this.collectionList.length == this.total){
this.totalAll = this.total;
}

View File

@ -1,7 +1,7 @@
<template>
<view class="pad-b150">
<status-nav :ifReturn="false" navBarTitle="资讯" :marginBottom="0"></status-nav>
<view class="nav-list-bg" :style="{top:newTop+'px'}">
<view class="nav-list-bg news-nav-bg" :style="{top:newTop+'px'}">
<nav-tab :list="navTabList" :maxNum="5" @chooseEv="chooseEv" :newWidth="newWidth"></nav-tab>
</view>
<view class="news-list-bg" v-if="isLoading">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -792,22 +792,22 @@ page {background-color: #eaeaea;}
z-index: 99;
overflow-x: auto;
}
.nav-list-bg::-webkit-scrollbar{
.news-nav-bg::-webkit-scrollbar{
width: 0;
height: 0;
opacity: 0;
}
.nav-list-bg .pull-nav-btns{
.news-nav-bg .pull-nav-btns{
justify-content: start !important;
}
.nav-list-bg .pull-nav-btns .btn{
.news-nav-bg .pull-nav-btns .btn{
width: 180rpx !important;
margin: 0 20rpx !important;
}
.nav-list-bg .pull-nav-btns .btn:first-child{
.news-nav-bg .pull-nav-btns .btn:first-child{
margin-left: 0 !important;
}
.nav-list-bg .pull-nav-btns .btn:last-child{
.news-nav-bg .pull-nav-btns .btn:last-child{
margin-right: 0 !important;
}
.news-list-bg{

View File

@ -313,12 +313,11 @@ var _default = {
id: item.id,
src: item.cover,
title: item.title,
time: _this2.dateFormat(item.published_at.replace(/-/g, '/')) };
time: _this2.dateFormat(item.created_at.replace(/-/g, '/')) };
newArr.push(obj);
});
_this2.collectionList = _this2.collectionList.concat(newArr);
console.log(_this2.collectionList, 1212121);
if (_this2.collectionList.length == _this2.total) {
_this2.totalAll = _this2.total;
}

View File

@ -1 +1 @@
<view class="pad-b150"><status-nav vue-id="08fb4b62-1" ifReturn="{{false}}" navBarTitle="资讯" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="nav-list-bg" style="{{'top:'+(newTop+'px')+';'}}"><nav-tab vue-id="08fb4b62-2" list="{{navTabList}}" maxNum="{{5}}" newWidth="{{newWidth}}" data-event-opts="{{[['^chooseEv',[['chooseEv']]]]}}" bind:chooseEv="__e" bind:__l="__l"></nav-tab></view><block wx:if="{{isLoading}}"><view class="news-list-bg"><pull-list vue-id="08fb4b62-3" list="{{articleList}}" collection="{{0}}" data-event-opts="{{[['^toDetail',[['toArticleDetail']]]]}}" bind:toDetail="__e" bind:__l="__l"></pull-list></view></block><block wx:if="{{totalAll==total}}"><view class="more-txt">暂无更多内容</view></block><enter-cart vue-id="08fb4b62-4" bind:__l="__l"></enter-cart><foot-tab vue-id="08fb4b62-5" current="3" bind:__l="__l"></foot-tab></view>
<view class="pad-b150"><status-nav vue-id="08fb4b62-1" ifReturn="{{false}}" navBarTitle="资讯" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="nav-list-bg news-nav-bg" style="{{'top:'+(newTop+'px')+';'}}"><nav-tab vue-id="08fb4b62-2" list="{{navTabList}}" maxNum="{{5}}" newWidth="{{newWidth}}" data-event-opts="{{[['^chooseEv',[['chooseEv']]]]}}" bind:chooseEv="__e" bind:__l="__l"></nav-tab></view><block wx:if="{{isLoading}}"><view class="news-list-bg"><pull-list vue-id="08fb4b62-3" list="{{articleList}}" collection="{{0}}" data-event-opts="{{[['^toDetail',[['toArticleDetail']]]]}}" bind:toDetail="__e" bind:__l="__l"></pull-list></view></block><block wx:if="{{totalAll==total}}"><view class="more-txt">暂无更多内容</view></block><enter-cart vue-id="08fb4b62-4" bind:__l="__l"></enter-cart><foot-tab vue-id="08fb4b62-5" current="3" bind:__l="__l"></foot-tab></view>