|
|
|
@ -189,9 +189,9 @@
|
|
|
|
|
</script>
|
|
|
|
|
<template>
|
|
|
|
|
<view class="todoBox page-box">
|
|
|
|
|
<cc-newsTabs :tabArr="tabArr" :o_index="c_index" @tabChange="tabChange"></cc-newsTabs>
|
|
|
|
|
<cc-newsTabs class="ccTabs" style="position: fixed;top: 0px;" :tabArr="tabArr" :o_index="c_index" @tabChange="tabChange"></cc-newsTabs>
|
|
|
|
|
<swiper :current="c_index" @change="scroll_func" :style="{'--size':swiper_h+'px'}" class="swiper" circular :indicator-dots="false" :autoplay="false" >
|
|
|
|
|
<swiper-item v-for="(item1) in list_box" :key="item1">
|
|
|
|
|
<swiper-item v-for="(item1) in list_box" :key="item1" style="overflow: auto;">
|
|
|
|
|
<view class="todoBox">
|
|
|
|
|
<template v-if="item1.list.length>0" >
|
|
|
|
|
<view v-for="(item,i) in item1.list" @tap="handle_func(item,i)" :key="i" class="td-item swiper-item uni-bg-green">
|
|
|
|
@ -239,8 +239,15 @@
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.ccTabs{
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
}
|
|
|
|
|
.swiper{
|
|
|
|
|
height: var(--size);
|
|
|
|
|
margin-top: 80rpx;
|
|
|
|
|
}
|
|
|
|
|
.todoBox{
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|