feat(custom): build
This commit is contained in:
23
src/pages/search/index.vue
Normal file
23
src/pages/search/index.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import Taro from "@tarojs/taro";
|
||||
import MerList from "@/components/MerList.vue";
|
||||
|
||||
const classId = ref<null | number>(null);
|
||||
|
||||
Taro.useLoad((e) => {
|
||||
console.log(e);
|
||||
Taro.setNavigationBarTitle({
|
||||
title: e.name,
|
||||
});
|
||||
classId.value = Number(e.id);
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view>
|
||||
<MerList :classId="classId" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss"></style>
|
||||
Reference in New Issue
Block a user