fix 上传文件
This commit is contained in:
@@ -83,7 +83,7 @@ import {router} from "../router/index.js";
|
||||
import axios from "axios";
|
||||
|
||||
function test() {
|
||||
axios.get('/test').then(r => {
|
||||
axios.get('http://127.0.0.1:3050/test').then(r => {
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,16 +1,8 @@
|
||||
<template>
|
||||
<el-row>
|
||||
<el-col
|
||||
v-for="(o, index) in 1"
|
||||
:key="o"
|
||||
:span="8"
|
||||
:offset="index > 0 ? 2 : 0"
|
||||
>
|
||||
<div class="list">
|
||||
<div class="item" v-for="i in 10">
|
||||
<el-card :body-style="{ padding: '0px' }">
|
||||
<img
|
||||
src="https://puui.qpic.cn/vcover_vt_pic/0/ww18u675tfmhas61669188848910/260"
|
||||
class="image"
|
||||
/>
|
||||
<img src="https://puui.qpic.cn/vcover_vt_pic/0/ww18u675tfmhas61669188848910/260" class="image" />
|
||||
<div style="padding: 14px">
|
||||
<span>一念永恒</span>
|
||||
<div class="bottom">
|
||||
@@ -19,14 +11,23 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="scss">
|
||||
.list{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.item{
|
||||
width: 200px;
|
||||
margin: 5px;
|
||||
}
|
||||
}
|
||||
.time {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
@@ -49,4 +50,5 @@
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user