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"> <keep-alive :include="cachedRoutes">
<component <component
:is="Component" :is="Component"
:key="route.name"
:cachedRoutes="cachedRoutes" :cachedRoutes="cachedRoutes"
/> />
</keep-alive> </keep-alive>

View File

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

View File

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

View File

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

View File

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