This commit is contained in:
魏啾 2024-02-26 11:47:08 +08:00
parent b37811ced5
commit 1667091380
1 changed files with 29 additions and 11 deletions

View File

@ -45,12 +45,12 @@
</div>
<div class="orderbox_right_top_item_tow">0</div>
</div>
<div class="orderbox_right_top_item">
<div class="orderbox_right_top_item" @click="stored = true">
<div class="orderbox_right_top_item_one">
<el-icon :size="24" style="color:#00b58d ;">
<Box />
</el-icon>
<span class="orderbox_right_top_item_onespan">储值会员</span>
<span class="orderbox_right_top_item_onespan">储值余额</span>
</div>
<div class="orderbox_right_top_item_tow">0</div>
</div>
@ -71,7 +71,17 @@
</div>
</div>
<el-dialog v-model="stored" title="Tips" width="500" :before-close="handleClose">
<span>This is a message</span>
<template #footer>
<div class="dialog-footer">
<el-button @click="stored = false">Cancel</el-button>
<el-button type="primary" @click="stored = false">
Confirm
</el-button>
</div>
</template>
</el-dialog>
</div>
</template>
@ -80,12 +90,18 @@ import { ref } from 'vue'
import { useRoute } from "vue-router"
import { ElMessage } from 'element-plus'
const route = useRoute()
console.log(route)
const itemboxshow = ref(false)
const handleClick = (Name) => {
console.log(Name)
}
const firstinput = ref('')//
const stored = ref(false)//
const handleClose = (done) => {
ElMessage.confirm('Are you sure to close this dialog?')
.then(() => {
done()
})
.catch(() => {
// catch error
})
}
const tableData = [
{
date: '2016-05-03',
@ -233,7 +249,8 @@ const tableData = [
margin-top: 10px;
justify-content: space-between;
}
// .orderbox_right_top_item::after:nth-child(1){
// .orderbox_right_top_item::after(1){
// position: absolute;
// top: 2px;
// content: '';
@ -311,4 +328,5 @@ const tableData = [
}
}</style>
}
</style>