|
@@ -1,7 +1,7 @@
|
|
|
<script lang="ts" setup>
|
|
|
import { right } from '@/core/libs/svgs'
|
|
|
|
|
|
-defineProps({
|
|
|
+const props = defineProps({
|
|
|
customClass: {
|
|
|
type: String,
|
|
|
default: () => '',
|
|
@@ -16,6 +16,9 @@ defineProps({
|
|
|
required: false,
|
|
|
},
|
|
|
})
|
|
|
+const handleMore = async () => {
|
|
|
+ await uni.navigateTo({ url: props.path })
|
|
|
+}
|
|
|
</script>
|
|
|
<template>
|
|
|
<view class="flex justify-between items-center" :class="[customClass]">
|
|
@@ -25,6 +28,7 @@ defineProps({
|
|
|
<div
|
|
|
v-if="path"
|
|
|
class="text-right text-black/30 text-sm font-normal font-['PingFang SC'] leading-tight"
|
|
|
+ @click="handleMore"
|
|
|
>
|
|
|
查看全部
|
|
|
<wd-img :src="right" width="10" height="10"></wd-img>
|