-
zhangwei
2024-08-22 d5eb1ecff5d0236359c744b334cf30fcfdad1132
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<template>
    <view>
        <up-sticky bgColor="#fff">
            <up-subsection :list="list" :current="current4" activeColor="#f9ae3d"
                @change="sectionChange"></up-subsection>
            
        </up-sticky>
        <up-empty mode="order" icon="http://cdn.uviewui.com/uview/empty/order.png">
        </up-empty>
    </view>
</template>
 
<script setup>
    import {
        reactive,
        ref
    } from 'vue';
    const state = reactive({
        currentIdex: 0
    })
    const current4 = ref(0);
    const list = ref(['全部', '进行中', '已完成', '已取消']);
    
 
    const sectionChange=(index)=> {
        current4.value = index;
    }
</script>
 
<style>
 
</style>