123
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import HeaderTitle from '@/components/HeaderTitle.vue'
|
||||
import FooterNavigation from '@/components/FooterNavigation.vue'
|
||||
import MyList from '@/components/myList.vue'
|
||||
import router from '@/router'
|
||||
const emit = defineEmits(['view-type'])
|
||||
|
||||
onMounted(() => {
|
||||
@@ -25,10 +26,11 @@
|
||||
}
|
||||
loading.value = false
|
||||
if (list.length >= 50) finish.value = true
|
||||
}, 1500)
|
||||
}, 500)
|
||||
}
|
||||
const onRetrieveItem = (i: number) => {
|
||||
console.log('检索' + i)
|
||||
const onDetailsItem = (v) => {
|
||||
// console.log('检索' + i)
|
||||
router.push({ name: 'creation', query: { date: v.datetime } })
|
||||
}
|
||||
|
||||
const deleteItem = (i: number) => {
|
||||
@@ -47,10 +49,10 @@
|
||||
<img src="@/assets/images/workshop/posture/posture_1.png" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<span class="userID">User ID: {{ v.userID }}</span>
|
||||
<!-- <span class="userID">User ID: {{ v.userID }}</span> -->
|
||||
<span class="datetime">{{ v.datetime }}</span>
|
||||
<span class="lastopened">Last opened {{ v.lastopened }}</span>
|
||||
<button @click="onRetrieveItem(i)">Retrieve</button>
|
||||
<button @click="onDetailsItem(v)">Details</button>
|
||||
</div>
|
||||
<div class="delete" @click="deleteItem(i)"><SvgIcon name="delete2" size="30" /></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user