Merge branch 'dev_vite' of http://18.167.251.121:10003/aidlab/aida_front into dev_vite

This commit is contained in:
李志鹏
2026-04-29 17:20:25 +08:00
5 changed files with 10 additions and 4 deletions

View File

@@ -16,7 +16,6 @@
<keep-alive :include="cachedRoutes">
<component
:is="Component"
:key="route.name"
:cachedRoutes="cachedRoutes"
/>
</keep-alive>

View File

@@ -283,6 +283,7 @@ const routes: Array<RouteRecordRaw> = [
name: "myListingsSelectItem",
meta: {
enter: "all",
cache: true,
sellerHeaderTitle: "Select Collection",
sellerBreadcrumbs: [
myListingsBreadcrumb,

View File

@@ -221,6 +221,7 @@ defineExpose({
height: 3.2rem;
line-height: 3.2rem;
border-radius: 2rem;
cursor: pointer;
&.selected {
background-color: #000;
color: #fff;

View File

@@ -7,6 +7,10 @@ import { Https } from '@/tool/https'
import { useRoute } from 'vue-router'
import { useStore } from 'vuex'
// 定义组件名称
defineOptions({
name: 'myListingsSelectItem'
})
//const props = defineProps({
//})
//const emit = defineEmits([

View File

@@ -21,6 +21,7 @@ const fun = ref(null)
let deleteDraftsRef = ref(null)
const open = (data:any,deleteFun)=>{
console.log(data)
item.value = data
fun.value = deleteFun
emit('update:visible', true)
@@ -80,11 +81,11 @@ const { showAgain } = toRefs(data);
</div>
<div class="deleteContent">
<div class="img">
<img :src="item?.value?.cover" alt="">
<img :src="item?.cover" alt="">
</div>
<div class="detail">
<div class="name">{{ item?.value?.title }}</div>
<div class="price">HK${{ item?.value?.price }} · Draft</div>
<div class="name">{{ item?.title }}</div>
<div class="price">HK${{ item?.price }} · Draft</div>
</div>
</div>
<div class="btnBox">