Commit 27621057 authored by 罗超's avatar 罗超

1

parent b3d32d17
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
<div class="page-content"> <div class="page-content">
<q-table :pagination="pagination" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table" <q-table :pagination="pagination" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table"
separator="none" :data="msg.SlideShowList" :columns="columns" row-key="name"> separator="none" :data="msg.SlideShowList" :columns="columns" row-key="name">
<template v-slot:top="props"> <template v-slot:body-cell-Image="props">
</template>
<template v-slot:body-cell-img="props">
<q-td> <q-td>
<div class="ItemImgDiv q-my-md">
<q-img :src="props.row.Image" spinner-color="white" style="height: 100%;height:100%" />
</div>
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
...@@ -156,7 +155,16 @@ ...@@ -156,7 +155,16 @@
} }
</script> </script>
<style lang="sass"> <style lang="sass" scoped>
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style> </style>
<style scoped>
.ItemImgDiv{
width: 118px;
height: 118px;
position: relative;
margin: 0 10px 10px 0;
display: inline-block;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment