bug修改
@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
let baseUrl = '/api/system/'
|
||||
export function getList() {
|
||||
return request({
|
||||
url: baseUrl+'level',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
let baseUrl = '/api/system/'
|
||||
export function getList() {
|
||||
return request({
|
||||
url: baseUrl+'province',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<b-container>
|
||||
<b-row v-for="(item,$index) in news" :key="$index" class="tz-news">
|
||||
<b-col sm="3">
|
||||
<b-img class="tz-news-img" fluid :src="item.img"/>
|
||||
</b-col>
|
||||
<b-col sm="6">
|
||||
<div v-html="item.content"></div>
|
||||
</b-col>
|
||||
<b-col sm="3">
|
||||
{{new Date(item.createTime).Format('yyyy-MM-dd hh:mm:ss')}}
|
||||
</b-col>
|
||||
</b-row>
|
||||
</b-container>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props:{
|
||||
news:{
|
||||
type: Array
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.tz-news-img{
|
||||
width: 8.5rem;
|
||||
height: 5.9375rem;
|
||||
}
|
||||
.tz-news{
|
||||
padding: 1rem;
|
||||
background: white;
|
||||
margin: 1rem;
|
||||
color: #666666;
|
||||
}
|
||||
.tz-news>div{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
</style>
|
After Width: | Height: | Size: 792 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 722 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 4.2 KiB |