This commit is contained in:
@@ -7,19 +7,16 @@
|
||||
:animated-time="10"
|
||||
name="tabs"
|
||||
direction="vertical"
|
||||
@change="tabChange"
|
||||
>
|
||||
@change="tabChange">
|
||||
<nut-tab-pane
|
||||
v-for="item in list"
|
||||
:title="(item.name as string)"
|
||||
:key="item.ID"
|
||||
>
|
||||
:key="item.ID">
|
||||
<view v-if="goodList.length > 0">
|
||||
<view
|
||||
class="list"
|
||||
v-for="(item, index) in (goodList as any)"
|
||||
:key="index"
|
||||
>
|
||||
:key="index">
|
||||
<view class="item">
|
||||
<img :src="item.cover" />
|
||||
<view class="right">
|
||||
@@ -46,9 +43,9 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import Taro from "@tarojs/taro";
|
||||
import { ref } from "vue";
|
||||
import { getCategoryList, getCategoryGoods } from "@/api/goods";
|
||||
import Taro from '@tarojs/taro';
|
||||
import {ref} from 'vue';
|
||||
import {getCategoryList, getCategoryGoods} from '@/api/goods';
|
||||
|
||||
const val = ref(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user