瀏覽代碼

deploy

master
Soleilw 1 年之前
父節點
當前提交
fdbcf9742f

dist/assets/index-Cuc7GVU8.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
dist/index.html 查看文件

<link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>菊城人才市场后台管理</title> <title>菊城人才市场后台管理</title>
<script type="module" crossorigin src="/assets/index-BsnYnB_M.js"></script>
<script type="module" crossorigin src="/assets/index-Cuc7GVU8.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DSahY579.css"> <link rel="stylesheet" crossorigin href="/assets/index-DSahY579.css">
</head> </head>
<body> <body>

+ 5
- 0
src/views/information/article/columns/index.ts 查看文件

title: '文章名', title: '文章名',
dataIndex: 'title' dataIndex: 'title'
}, },
{
title: '封面图',
dataIndex: 'cover_img',
slots: { customRender: 'image' },
},
{ {
title: '置顶', title: '置顶',
dataIndex: 'stick_top', dataIndex: 'stick_top',

+ 4
- 1
src/views/information/article/index.vue 查看文件

<a-c-operation @refresh="clearData"></a-c-operation> <a-c-operation @refresh="clearData"></a-c-operation>
<a-c-table :data="commomParams.table.data" :columns="commomParams.table.columns" :pagination="commomParams.page" <a-c-table :data="commomParams.table.data" :columns="commomParams.table.columns" :pagination="commomParams.page"
@page="getPage" :loading="loading"> @page="getPage" :loading="loading">
<template #image="{ record }">
<image-container :need="true" :imgObj="{src: imageprefix + record.cover_img,width: '50px',height: '50px', mode: 'fill'}"></image-container>
</template>
<template #stick_top="{ record }"> <template #stick_top="{ record }">
<a-tag color="success" v-if="record.stick_top == 1">置顶</a-tag> <a-tag color="success" v-if="record.stick_top == 1">置顶</a-tag>
</template> </template>
import { useCommon } from '@/hooks/useCommon'; import { useCommon } from '@/hooks/useCommon';
import { cols } from '@/views/information/article/columns'; import { cols } from '@/views/information/article/columns';
import { message } from 'ant-design-vue'; import { message } from 'ant-design-vue';
let { store, commomParams, showModal, showOtherModal1 } = useCommon();
let { store, commomParams, showModal, showOtherModal1,imageprefix } = useCommon();
let loading = ref<Boolean>(true); let loading = ref<Boolean>(true);
onMounted(() => { onMounted(() => {
getData(commomParams.value.search); getData(commomParams.value.search);

Loading…
取消
儲存