尺寸调整
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
import request from '../utils/request'
|
||||||
|
|
||||||
|
const headers = {
|
||||||
|
'Content-Type': 'application/json;charsetset=UTF-8'
|
||||||
|
}
|
||||||
|
|
||||||
|
const getAudioInfo = (url: string) => {
|
||||||
|
return request({
|
||||||
|
url: '/common/audio-info',
|
||||||
|
method: 'GET',
|
||||||
|
params: { url: url },
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export { getAudioInfo }
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-menu router>
|
<el-menu router class="side_Style" :style="{ height: sideHeight }">
|
||||||
<el-menu-item v-for="(route, index) in current_routes" v-bind:key="index" v-bind:index="route.path"
|
<el-menu-item v-for="(route, index) in current_routes" v-bind:key="index" v-bind:index="route.path"
|
||||||
v-bind:title="route.meta?.name">{{ route.meta?.name }}</el-menu-item>
|
v-bind:title="route.meta?.name">{{ route.meta?.name }}</el-menu-item>
|
||||||
</el-menu>
|
</el-menu>
|
||||||
@@ -11,11 +11,18 @@
|
|||||||
import { RouteRecordRaw } from "vue-router";
|
import { RouteRecordRaw } from "vue-router";
|
||||||
import { store } from "../../store/index";
|
import { store } from "../../store/index";
|
||||||
import router from "../../router/index";
|
import router from "../../router/index";
|
||||||
|
import { onBeforeMount, ref } from 'vue';
|
||||||
let current_routes = router.options.routes[0].children;
|
let current_routes = router.options.routes[0].children;
|
||||||
|
|
||||||
|
|
||||||
|
let sideHeight = ref("")
|
||||||
|
onBeforeMount(() => {
|
||||||
|
sideHeight.value = window.innerHeight + 'px'
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
closeStyle {
|
.side_Style {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -1,14 +1,14 @@
|
|||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
import { Tables } from './table'
|
import { Tables } from './table'
|
||||||
|
|
||||||
export const store = defineStore(Tables.AccessRoutes, {
|
export const cloudStore = defineStore({
|
||||||
|
id: 'cloudStore',
|
||||||
state: () => {
|
state: () => {
|
||||||
return [
|
return {
|
||||||
{
|
tableData: 1,
|
||||||
current: 1,
|
showDocument: false,
|
||||||
name: 'xiaoman'
|
tableSize: 12
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
|
|
||||||
|
|||||||
@@ -22,9 +22,10 @@
|
|||||||
|
|
||||||
<el-table ref="multipleTableRef" :data="tableData" @selection-change="handleSelectionChange" style="width: 100%">
|
<el-table ref="multipleTableRef" :data="tableData" @selection-change="handleSelectionChange" style="width: 100%">
|
||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column type="index" label="index" width="180" />
|
<el-table-column type="index" label="index" width="80" />
|
||||||
<el-table-column prop="bk_type_name" label="分类" width="180" />
|
<el-table-column prop="bk_type_name" label="分类" width="100" />
|
||||||
<el-table-column prop="comment" label="名称" width="180" />
|
<el-table-column prop="comment" label="名称" width="180" />
|
||||||
|
<el-table-column prop="facvion" label="图标" width="60" />
|
||||||
<el-table-column class="click-icon" prop="url" label="url">
|
<el-table-column class="click-icon" prop="url" label="url">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span style="cursor: pointer" @click="openUrl(scope.row.url)">{{ scope.row.url }}</span>
|
<span style="cursor: pointer" @click="openUrl(scope.row.url)">{{ scope.row.url }}</span>
|
||||||
@@ -206,8 +207,9 @@ const doDelete = (delete_id: any) => {
|
|||||||
let query = delete_id
|
let query = delete_id
|
||||||
delete_bookmark(query).then(response => {
|
delete_bookmark(query).then(response => {
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
|
doSearch()
|
||||||
})
|
})
|
||||||
dialogVisible.value = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const closeDialog = () => {
|
const closeDialog = () => {
|
||||||
@@ -215,6 +217,7 @@ const closeDialog = () => {
|
|||||||
}
|
}
|
||||||
const doSubmit = () => {
|
const doSubmit = () => {
|
||||||
dialogFormVisible.value = false
|
dialogFormVisible.value = false
|
||||||
|
doSearch()
|
||||||
}
|
}
|
||||||
// 复制转换成功的数值,并提示 复制成功 信息
|
// 复制转换成功的数值,并提示 复制成功 信息
|
||||||
const copyNumber = (record: Bookmark) => {
|
const copyNumber = (record: Bookmark) => {
|
||||||
@@ -224,6 +227,7 @@ const copyNumber = (record: Bookmark) => {
|
|||||||
message: h('i', { style: 'color: teal' }, '复制成功'),
|
message: h('i', { style: 'color: teal' }, '复制成功'),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
doSearch()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user